Thread View: alt.privacy.anon-server
24 messages
24 total messages
Started by Nomen Nescio
Tue, 24 Jul 2001 23:40
Is or isn't MD5 broken ? Let's find that out.
Author: Nomen Nescio
Date: Tue, 24 Jul 2001 23:40
Date: Tue, 24 Jul 2001 23:40
89 lines
5078 bytes
5078 bytes
-----BEGIN PGP SIGNED MESSAGE----- Is or isn't MD5 broken ? Let's find that out. =============================================== The is very hot & dense discussion currently in many forums about that subject. One group of many people are saying that MD5 is safe, other group of people are saying that MD5 is broken. I'm in the middle of that hot discussion, and probably many other users of classic PGP are at the same position, as I'm now. Both groups are basically saying that each group is right. That interpretation can't be physically true, as we all know. The algorithm is broken or it isn't, one way or another. The broken algorithm is not when, for example 1 round of 14 may be broken, or end result may be calculated when algorithm is reduced to 1 round from 14. I would like you to come to mutual agreement, what is the current documented and proven state of that algorithm. Let you put aside all the future and possibilities what could happen to MD5 when more power and more memory and more knowledge will be available. Please concentrate on today state of it and with proven, available and documented knowledge. All that hot and vocal exchange of epithets at each other, ============================================================ definitely are not providing any conclusion to that topic. And that hot and passionate communication is not helping any of the possible users of that classic technique. You may ask why is that of any importance to me or to any other person who is using PGP encryption ? The answer to that question is not very difficult to comprehend. I'm using classic PGP for almost 8 years, when PGP v23 will be regarded as classic to. PGP v262 is definitely regarded as classic. Many of you may know, but majority will don't know that classic PGP encryption is only supported by NYM anon server at MIT lab, xxxx@nym.alias.net service. The new v4 keys format introduced by new GUI in v5x [ correct me when I'm wrong, I'm not using these keys ] is not supported by NYM anon server at MIT lab, xxxx@nym.alias.net Is the quoted reason for that move from MIT based on some security related issues ? Any user of the most secure up to date ANON return email address service from NYM anon server at MIT lab, xxxx@nym.alias.net MUST use classic PGP v3 key format. That unquestionable requirement in principle means that only RSA, MD5 & IDEA algorithms must be used. The NYM anon server at MIT lab, xxxx@nym.alias.net is about several years old. That service is supported by, or is endorsed by MIT Computer Lab manager, Mr Schiller <jis@mit.edu> For the last 8 years or so, at my use of the MD5 algorithm, I didn't encounter any compromise of my security. It may be more appropriate to say, that I didn't receive any indication that my security has been compromised. I didn't read or find any dis-prove of that algorithm from creator of PGP, Mr Zimmermann, either. What I would like to get from that discussion, is to establish facts and not fantasy in respect of MD5, because I'm using it daily for myself & for my remailer. When you will support your argument, in one way or another, please don't ask people to go to the link provided by you, unless you will, and that it's my kind & polite request for you, ================================================= provide concise description why we should go and see and read that information at that link. In other words, provide concise summary and why that link is supporting your view. Be academically professional, please. I'm sure we can find the real and correct answer to my question very quickly, and once for all. Happy remailing in private & secure environments. Nycrem remailer admin. -----BEGIN PGP SIGNATURE----- Version: N/A iQCVAwUBO1y6gWBnkNnDf8E5AQH8EgQAnWZ1MofGb2xpeIcKkH9xwSH0zlRGPkZH g6gm+drOr3Wuol0rVLKmOY1alsRRgvaAurDU8Y4BbDYVKVhVdmRVjD+z/fs+8tlw EB/6xWN21o2pmCUeaAbtuxXyHMxqdV33aE4XVlTFNn/2DBhf0DgcxCnK2UVsAPcO WmDolEc9K0Q= =UHj9 -----END PGP SIGNATURE-----
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Wed, 25 Jul 2001 05:25
Date: Wed, 25 Jul 2001 05:25
60 lines
3519 bytes
3519 bytes
-----BEGIN PGP SIGNED MESSAGE-----
"Nomen Nescio" wrote:
> The [MD5] algorithm is broken or it isn't, one way or another.
> . . . I would like you to come to mutual agreement, what is
> the current documented and proven state of that algorithm.
Short answer: MD5 is not currently known to be broken, but it has
a weakness which has led many crypto gurus to worry that it could be
broken in the foreseeable future.
Longer answer:
MD5 (or any other hash function) would be "broken" if someone could
manage to come up with a procedure for doing either of the following
things:
(1) create a message which will hash to a predetermined value (that
is, come up with a hash value first, and then produce a message
that corresponds to that hash value); or
(2) create two messages which hash to the same value.
Up until now, as far as is publicly known, no one has succeeded in
doing either of thse things. Hence -- so far, at least -- MD5 isn't
broken -- or, if it is broken, whoever broke it isn't talking.
So, if all you care about is whether MD5 is publicly documented as
being broken or not, right now, then (by this criterion) you can go
ahead and consider MD5 totally safe to use.
Many crypto experts aren't satisfied with this, however. Although it
is true that no one has yet broken MD5 (and gone public about it!),
there are a known weakness in the compression function that forms
a building block of MD5. (See the reference below.) This doesn't
_necessarily_ mean that the same weakness exists in the full MD5 hash
function, but it does suggest that it might be possible for someone
to leverage the known weakness into a full-blown attack on MD5. As
a result, the experts would prefer not to keep using MD5 in future
encryption systems, just in case.
Reference: http://home.clara.net/scramdisk/pgpfaq.html#SubMD5Broke
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO15X/Um4X0z9+PxlAQGc8gf8CUj/ms3RlPoqHfuWlvSJUCdmcd8/jK41
aw+r0JerJnX6hMQpaIbaWEXTztt/ap/KArmch0TUB0mRVz441mLRqMyH2nhrEezZ
Ga6wg5rUPa3bsGtR8LyfY8AMQesdUP12YkBwN54cqlRK9R3VAJDV7HeL/7s8JruM
IhnOtB7hgIebLo/Hp2RHV+7ylabqbH3jsU+1xat9QDswtmYL99IFWtqhyswW/PkP
VX/sOAYXrWTZFT1VOEAWdy+saZ8+FBSG/gxXR488iGeEKZ6Pp2aEQ88tUwNKJ+Eg
RPFzn9nXHfFus35jfa7PlWmbiQINZKKbgu6IVlQXyX68Cq2uh8G3nQ==
=84XN
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Bill Unruh
Date: Wed, 25 Jul 2001 06:13
Date: Wed, 25 Jul 2001 06:13
19 lines
2087 bytes
2087 bytes
In <2f8f7b06d78fcb3431c8316991dcbe6f@dizum.com> Nomen Nescio <nobody@dizum.com> writes: >-----BEGIN PGP SIGNED MESSAGE----- >Is or isn't MD5 broken ? Let's find that out. >=============================================== Doberton showed that MD5 has a weakness in an abreviated version. This does not mean that MD5 is broken (ie that more than one message can be "easily" found with the same MD5 hash), but it makes people worry that it might be weak and might be breakable. That result is about 5 years old, and I have not heard more. If you are really concerned with security, such that your or someone elses life may depend on the hash being strong, then the suggestion is that you not use MD5. If you are sharing chocolate cake recipies, do not worry about it. If your correspondence must be kept secret for 20 years, probably do not use MD5. If it does not matter if it is broken 3 months from now, you probably should not worry. Noone can give you a definative answer. You have to decide on your own rish assessment and make your own decisions. since other hashes which do not seem to have the same weakness exist, why not use them?
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Wed, 25 Jul 2001 07:14
Date: Wed, 25 Jul 2001 07:14
12 lines
1594 bytes
1594 bytes
Bill Unruh wrote: > If you are sharing chocolate cake recipies, do not worry about it. > If your correspondence must be kept secret for 20 years, probably do not use MD5. I don't quite understand this. MD5 is a hash function, not a cipher. If you can forge signatures, you still can't break encrypted messages. -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: vedaal
Date: Wed, 25 Jul 2001 15:12
Date: Wed, 25 Jul 2001 15:12
87 lines
4432 bytes
4432 bytes
Johan Wevers <johanw@iae.nl> wrote in message news:<3B5E71F1.8481A543@iae.nl>...
> Bill Unruh wrote:
>
> > If you are sharing chocolate cake recipies, do not worry about it.
> > If your correspondence must be kept secret for 20 years, probably do not use MD5.
>
> I don't quite understand this. MD5 is a hash function, not a cipher. If you
> can forge signatures, you still can't break encrypted messages.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
as with most things that there is heated debate about,
the bottom line is that people really 'don't know for sure'.
{if they 'did', they could 'prove' it to the other side, and debate would
eventually end}
here is a quote from PRZ, from the pgp manual ('not' favorable to md5)
chapter: Phil Zimmermann on PGP,
section: About the message digest
"The message digest algorithm used by older versions of PGP is the MD5
Message Digest Algorithm, placed in the public domain by RSA Data Security,
Inc. MD5 is a 128-bit hash algorithm. In 1996, MD5 was all but broken by a
German cryptographer, Hans Dobbertin. Although MD5 was not completely
broken at that time, it was discovered to have such serious weaknesses that
no
one should keep using it to generate signatures. Further work in this area
might completely break it, allowing signatures to be forged. If you don’t
want
to someday find your PGP digital signature on a forged confession, you
might
be well advised to migrate to the new PGP DSS keys as your preferred method
for making digital signatures, because DSS uses SHA as its secure hash
algorithm."
Here is a quote from Handbook of Applied Cryptography that describes
what is required for a 'break' of MD5
http://www.cacr.math.uwaterloo.ca/hac/about/chap9.pdf, p370
"Collisions for MD5 (and similar hash functions) can thus be found in 2^64
operations
and without signifcant storage requirements"
About md5 already being broken:
(yes, for small time things, not to be extrapolated to md5 pgp signatures)
here is a site that has 'toolz' to break 'passwords' that are md5 hash
protected,
but only for 8 or so, characters,
nowhere near anything trying to find a match for an md5 signature
http://mdcr*ck.multimania.com/#abstract {substitute a for *}
fwiw, my 2 c:
a break of md5 may eventually happen, but somewhere around the time that a
2048 key
can be broken
people who know about pgp 'vulnerabilities' (Ralf Senderek) are still quite
happy
with md5
i continue to use md5 or ripemd 160, according to the preference of the
receiver,
and find them preferable to an nsa algorithm (sha-x)
hth,
vedaal
-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt _6_ ftp://ftp.zedz.net/pub/crypto/incoming/pgp658ckt06.zip
Comment: { Acts of Kindness better the World, and protect the Soul }
Comment: KeyID: 0x6A05A0B785306D25
Comment: Fingerprint: 96A6 5F71 1C43 8423 D9AE 02FD A711 97BA
iQEVAwUBO17gmGoFoLeFMG0lAQMeUAgAo2jouUJbdq5iYKqE1cLnuG0zJXlD63/m
4iaxYTNWNqF+x0Bgcgmw9AGJEk8jhpsvnjvTHuYk2FE/ELv7Si29hm3EBzJ3nv76
5RmbVc+Oqu+r2Mdr6R629mJinm5wpAvi4dPvMTTLQXnvU3vOJ1lgmaIfcuUxtspz
xdGdr+bTMfAl/ZIBCYEG4zdnAuf72CIY4ZPgH+Kw+JLQCLP03OhrwdAYyXabcIzl
GrmGaIpO4yMGaTPRVINoHa54cE/rhrzz9lTt68OyQaIAnIyBIIJEYoSU+R4a+CFy
fcgiBuPto8NFzaTc9MI1H06X20KBYCZREJQHArZPW8lABa1hrKaAsw==
=+ftK
-----END PGP SIGNATURE-----
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Sam Simpson
Date: Wed, 25 Jul 2001 19:45
Date: Wed, 25 Jul 2001 19:45
166 lines
8033 bytes
8033 bytes
In short I would present my argument as: 1) Schneier says "I am wary of using MD5". 2) Dobbertin said in 96 "Therefore we suggest that in the future MD5 should no longer be implemented in applications like signature schemes, where a collision-resistant hash function is required. According to our present knowledge, the best recommendations for alternatives to MD5 are SHA-1 and RIPEMD-160 3) RSA go so far as to say "collisions for these hash [MD5 & MD2] functions have not yet been discovered but this advance should be expected..." No public demonstration of breaking MD5 has been broken, but this is and expected advance. If you believe that the benefits of MD5 outway the down sides, then you need to educate yourself about current and future attacks (remember, attacks on signature schemes don't have to be made when the signature is made but can be made 5 years in the future). This isn't a black and white issue, as everyone's ideals and values are different. See further comments below: In article <2f8f7b06d78fcb3431c8316991dcbe6f@dizum.com>, "Nomen Nescio" <nobody@dizum.com> wrote: > > Is or isn't MD5 broken ? Let's find that out. > =============================================== > > The is very hot & dense discussion currently in many forums about that > subject. One group of many people are saying that MD5 is safe, other > group of people are saying that MD5 is broken. I'm in the middle of that > hot discussion, and probably many other users of classic PGP are at the > same position, as I'm now. Both groups are basically saying that each > group is right. This isn't an objective decision (e.g. there is no true or false answer, it depends on what you require from a crypto primitive). >That interpretation can't be physically true, as we all > know. The algorithm is broken or it isn't, one way or another. So DES wasn't broken the day before EFF cracked it? That's an interesting perspective, and one that Schneier comments on: "History has taught us: never underestimate the amount of money, time, and effort someone will expend to thwart a security system. It's always better to assume the worst. Assume your adversaries are better than they are. Assume science and technology will soon be able to do things they cannot yet. Give yourself a margin for error. Give yourself more security than you need today. When the unexpected happens, you'll be glad you did." Combining this statement with "I am wary of using MD5" doesn't inspire confidence I fear. > The > broken algorithm is not when, for example 1 round of 14 may be broken, > or end result may be calculated when algorithm is reduced to 1 round > from 14. I agree. > I would like you to come to mutual agreement, what is the current > documented and proven state of that algorithm. I don't believe our comments will make any difference. Who cares what people say in a.s.p? People do care what Dobbertin, Schneier, RSA Labs, B.Preneel, A.Bosselaers etc say, and they all recommend against MD5 and recommend SHA-1 and RIPEMD. > Let you put aside all the > future and possibilities what could happen to MD5 when more power and > more memory and more knowledge will be available. Please concentrate on > today state of it and with proven, available and documented knowledge. Again, I'll counter with the argument that "Was DES broken before the day EFF demonstrated it's possible?". Are 600-bit RSA keys broken? How about 650-bit keys? > All that hot and vocal exchange of epithets at each other, > ============================================================ > > definitely are not providing any conclusion to that topic. And that hot > and passionate communication is not helping any of the possible users of > that classic technique. > > You may ask why is that of any importance to me or to any other person > who is using PGP encryption ? > > The answer to that question is not very difficult to comprehend. I'm > using classic PGP for almost 8 years, when PGP v23 will be regarded as > classic to. PGP v262 is definitely regarded as classic. Many of you may > know, but majority will don't know that classic PGP encryption is only > supported by NYM anon server at MIT lab, xxxx@nym.alias.net service. > > The new v4 keys format introduced by new GUI in v5x [ correct me when > I'm wrong, I'm not using these keys ] is not supported by NYM anon > server at MIT lab, xxxx@nym.alias.net > > Is the quoted reason for that move from MIT based on some security > related issues ? Or because it's hard to write a remailer based on a new load of crypto primitives and an ever changing RFC? > Any user of the most secure up to date ANON return email address service > from NYM anon server at MIT lab, xxxx@nym.alias.net MUST use classic PGP > v3 key format. That unquestionable requirement in principle means that > only RSA, MD5 & IDEA algorithms must be used. > > The NYM anon server at MIT lab, xxxx@nym.alias.net is about several > years old. That service is supported by, or is endorsed by MIT Computer > Lab manager, Mr Schiller <jis@mit.edu> > > For the last 8 years or so, at my use of the MD5 algorithm, I didn't > encounter any compromise of my security. No one has had a DES key "broken in anger" to my knowledge. Would I recommend it to other users? No! Would you? > It may be more appropriate to > say, that I didn't receive any indication that my security has been > compromised. I didn't read or find any dis-prove of that algorithm from > creator of PGP, Mr Zimmermann, either. See Vendaal's helpful PRZ quote "...MD5 all but broken..." > What I would like to get from that discussion, is to establish facts and > not fantasy in respect of MD5, because I'm using it daily for myself & > for my remailer. > > When you will support your argument, in one way or another, please don't > ask people to go to the link provided by you, unless you will, I provided a link to my faq because that kind of answers all these questions. If you find that the FAQ is wrong, then I'll certainly change it immediately. > and that it's my kind & polite request for you, > ================================================= > > provide concise description why we should go and see and read that > information at that link. In other words, provide concise summary and > why that link is supporting your view. Be academically professional, > please. > > I'm sure we can find the real and correct answer to my question very > quickly, > and once for all. > > Happy remailing in private & secure environments. Nycrem remailer admin. -- Regards, Sam Simpson http://www.scramdisk.clara.net/ http://www.samsimpson.com/
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Thu, 26 Jul 2001 07:14
Date: Thu, 26 Jul 2001 07:14
24 lines
2272 bytes
2272 bytes
vedaal wrote:
>> I don't quite understand this. MD5 is a hash function, not a cipher. If you
>> can forge signatures, you still can't break encrypted messages.
> here is a quote from PRZ, from the pgp manual ('not' favorable to md5)
> chapter: Phil Zimmermann on PGP,
> section: About the message digest
>
> "The message digest algorithm used by older versions of PGP is the MD5
[...]
> one should keep using it to generate signatures.
Yes, a weak hash could make it possible to create fake signatures. But that
is still not the same as allowing someone to decrypt encrypted messages
without the key, which you suggested. I would consider breaking the encryption
much more worse than creating a fake signature, especially since the
organizations that have the possibility in doing things like this would
probably not let everyone know they can do it by forging a signature.
--
ir. J.C.A. Wevers // Physics and science fiction site:
johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Thu, 26 Jul 2001 07:17
Date: Thu, 26 Jul 2001 07:17
14 lines
1732 bytes
1732 bytes
Sam Simpson wrote: > So DES wasn't broken the day before EFF cracked it? Formally, DES is still not broken. This means that brute-forcing it is still the only known way to decrypt a DES encrypted message. However, with a 56 bit key brute-forcing has now become an attack that is possible in the real world. But DES is no more broken than 256 bit AES in this matter. It only takes longer for AES to brute-force it. -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: vedaal
Date: Thu, 26 Jul 2001 13:03
Date: Thu, 26 Jul 2001 13:03
54 lines
3195 bytes
3195 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Johan Wevers <johanw@iae.nl> wrote in message
news:<3B5FC363.1FCBBB2C@iae.nl>...
> Yes, a weak hash could make it possible to create fake signatures. But
> that is still not the same as allowing someone to decrypt encrypted
> messages
> without the key, which you suggested.
you are quite correct with regard to pgp,
although there is some concern about the passhprase being leaked if the
hash is broken:
see rfc 2440 bis section 3.7.2.1 Secret key encryption:
begin quoted section:
"An S2K specifier can be stored in the secret keyring to specify how to
convert the passphrase to a key that unlocks the secret.data. Older
versions of PGP just stored a cipher algorithm octet preceding the secret
data or a zero to indicate that the secret data was unencryoted. The MD5
hash function was always used to convert the passphrase to a key for the
specified cipher algorithm."
end quoted section.
unfortunately, some people mis-apply md5 to 'encrypt' passwords during
transit,
it is this fuction that can easily be cracked with the 'toolz' link on my
previous post.
even the 'toolz' site clearly states that their exploit is not due to a
'problem' in the md5 algorithm, but in an improper use of it to 'protect'
data, which it was not designed to do.
vedaal
-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt _6_ ftp://ftp.zedz.net/pub/crypto/incoming/pgp658ckt06.zip
Comment: { Acts of Kindness better the World, and protect the Soul }
Comment: KeyID: 0x6A05A0B785306D25
Comment: Fingerprint: 96A6 5F71 1C43 8423 D9AE 02FD A711 97BA
iQEVAwUBO2AUUWoFoLeFMG0lAQOZ9QgAr/EIz74yTLyH7sO3JsGz4+JoNJssG6ox
fVrYGXJ4YbznzsdVH3A+dnaINf6k/svL5V9OuXMxNBj48wVffWhA7bFfKSSMS1bC
CtG85rz6/LFcqIxsDIJXRnDdIX3FPDCElPQgfR7m5ABqmt5qve9n7IPFyAkEZaeX
+1VxgPaPZ4Kp03SGRFcFtB+1ptZUlcL8rHP6MCX49UA0Ksijz8YzN4koWdFlCYRl
UJ9RjZaUgYxwP+0gB5p4gazP1kQz43bcg/XjnBTHw2uWZ4bWj31rfTmePaWmbUEt
59V8YrSojyg6KMCWd1AMeaL/Nh5afbQxSPXXiAwX8dK5O5r35IVhMA==
=nSbo
-----END PGP SIGNATURE-----
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Thu, 26 Jul 2001 13:25
Date: Thu, 26 Jul 2001 13:25
27 lines
2421 bytes
2421 bytes
vedaal wrote: > you are quite correct with regard to pgp, > although there is some concern about the passhprase being leaked if the > hash is broken: > > see rfc 2440 bis section 3.7.2.1 Secret key encryption: > > begin quoted section: > > "An S2K specifier can be stored in the secret keyring to specify how to > convert the passphrase to a key that unlocks the secret.data. Older > versions of PGP just stored a cipher algorithm octet preceding the secret > data or a zero to indicate that the secret data was unencryoted. The MD5 > hash function was always used to convert the passphrase to a key for the > specified cipher algorithm." Hmmm. Does this mean that _if_ MD5 is broken, someone who gets your private keyring of a pgp 2.x version can decrypt your passphrase? I thought the passphrase of the secret key was stored nowhere by any version of pgp. Or is this about some hashvalue that is used to check if the passphrase is correct? -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: vedaal
Date: Thu, 26 Jul 2001 17:18
Date: Thu, 26 Jul 2001 17:18
47 lines
3030 bytes
3030 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Johan Wevers <johanw@iae.nl> wrote: in message
news:<3B5FC363.1FCBBB2C@iae.nl>...
>Hmmm. Does this mean that _if_ MD5 is broken, someone who gets your
>private keyring of a pgp 2.x version can decrypt your passphrase? I
>thought the
>passphrase of the secret key was stored nowhere by any version of pgp. Or
>is this about some hashvalue that is used to check if the passphrase is
>correct?
do not know enough about these details to give an accurate answer
have invited the author of the mdcr@ck tool, to try to make an rsa test
key,
and see if the tool provides a 'different' passphrase that allows for
signing
and decrypting with that key,
{and to post the results here }
if it does, then 'practically' , an md5 'break' allows for decryption of
messages if one has the key, but not the passphrase
have suggested a 6 character passphrase for the trial,
*if* it is 'succesful', then it is of considerable concern,
as 'interested parties' surely have enough computing power to try a
20 character passphrase
vedaal
-----BEGIN PGP SIGNATURE-----
Version: 6.5.8ckt _6_ ftp://ftp.zedz.net/pub/crypto/incoming/pgp658ckt06.zip
Comment: { Acts of Kindness better the World, and protect the Soul }
Comment: KeyID: 0x6A05A0B785306D25
Comment: Fingerprint: 96A6 5F71 1C43 8423 D9AE 02FD A711 97BA
iQEVAwUBO2BOtmoFoLeFMG0lAQOuaQf9ECEjBUiTdoc/Dv0b3BPZIbwoLIka3Siz
FicsgvTVB66fI7vOMydhUJI1qggbTMFhyL1x4yYQbiwWtypW7XZoSVZ7JY3xRz4a
pyFuwpZxaOkPxnjUj8asrW4qFEo+M30aL7O/N2FGxf2PQcJlonfxvQ0tSfhE1aKU
tXEcijXRio0NoieasyNRt6Ev2IYNh8BXTpvvM4KNdjx0WUxO9Ueijfj7F1DBYrY2
luyVz65vbCDMq1B4iZ4iCWGDFvJrR7o08qiDWVh7r2O7wER9HcQSIEXnFVBMSNIH
E6jML+PR3Qnh/c7iOFWbp6GI+u+dSvv+jVUIhRvwgHu5TVTvE9KOMw==
=lL2l
-----END PGP SIGNATURE-----
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Bill Unruh
Date: Thu, 26 Jul 2001 17:46
Date: Thu, 26 Jul 2001 17:46
7 lines
1314 bytes
1314 bytes
In <20010725.204544.601385644.1202@samsimpson.com> "Sam Simpson" <sam@samsimpson.com> writes: >So DES wasn't broken the day before EFF cracked it? DES has not been broken. What was demonstrated that computer power now allowed exhaustive search to find the key. Breaking means using a means other than exhaustive search to find the messages.
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Thu, 26 Jul 2001 22:14
Date: Thu, 26 Jul 2001 22:14
58 lines
3598 bytes
3598 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Johan Wevers wrote:
> Does this mean that _if_ MD5 is broken, someone who gets
> your private keyring of a pgp 2.x version can decrypt your
> passphrase?
I don't believe so. Here's why.
My understanding of how PGP 2.x handles the secret (private) key is
that it uses MD5 to hash your pass phrase into a 128-bit value, which
in turn is used as a symmetric key to encrypt (or decrypt) your secret
key data using IDEA.
In order to decrypt a secret key without the pass phrase, an attacker
would need to crack IDEA.
Even if MD5 were found to have collision weaknesses (i.e., if someone
could create a string corresponding to any arbitrarily chosen hash
value -- or if, given a string, someone could create a different string
with the same hash value), this would still not help an attacker to
determine _which_ hash value he needed to use in order to decrypt a
secret key.
And if an attacker _did_ somehow manage to figure out which 128-bit
hash value he needed to use, he wouldn't need to mess around with MD5;
he could just go ahead and use IDEA directly to decrypt the secret key,
without needing to know what pass phrase generated the hash value.
Now, if there turned out to be a weakness in MD5 that made the hash
values produced by this algorithm significantly less than completely
random in some cases -- e.g., if hashes of pass phrases consisting
only of printable ASCII characters were found to have some special
property -- _then_ it might be possible to exploit this weakness to
cut down the number of possible 128-bit IDEA keys that might have
been used to encrypt a secret key.
But, as far as I know, no one is aware of this kind of weakness in MD5,
and no one has suggested that the possibility of collision weaknesses
in MD5 might translate into this sort of problem.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2CWJ0m4X0z9+PxlAQHrYwf+JYZB4hY22D6FoPrb3oks4fJnmWINKmM9
joyrg4Um7Tt60g1mILXiPqjj2vlcU0VjIOd2/NkZfSWpinUI+qksyhzM6hR6vghE
JOJ/lOJj8cDTmkN+P/foWL+FzS4Gxq6JP9y4x/i9l+q3L4ik4poYm85bdfsKgF1i
Bd9VwoN4s7plePg7pYQ2fe31Ulb4Qc+XnLY5htHmt7vPYwhrbV+j1HBMAGE95Zw/
fZBBGUbhy3JdYZPGuZVzLB0tq3RjN8xAW5C7J+ZVrqvEu2n60x6vgQjF3TjhIFoZ
gVUiSj2IByETgasDdNgbOBqQxHxReL1zZ50aCSWzfBJOxVXr/SdQfg==
=gckj
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Thu, 26 Jul 2001 22:29
Date: Thu, 26 Jul 2001 22:29
52 lines
3349 bytes
3349 bytes
-----BEGIN PGP SIGNED MESSAGE-----
"vedaal" wrote:
> have invited the author of the mdcr@ck tool, to try to make
> an rsa test key, and see if the tool provides a 'different'
> passphrase that allows for signing and decrypting with that
> key, {and to post the results here }
If I understand what you're saying, success in this test would be the
same as showing that collisions can be found in MD5 (the full algorithm,
not just a part of it).
> if it does, then 'practically', an md5 'break' allows for
> decryption of messages if one has the key, but not the pass-
> phrase
No one really cares whether the attacker has managed to reconstruct the
authentic, original pass phrase, if he can come up with some other pass
phrase that works just as well.
> have suggested a 6 character passphrase for the trial, *if*
> it is 'successful', then it is of considerable concern, as
> 'interested parties' surely have enough computing power to
> try a 20 character passphrase
Successful brute-forcing of a six-character pass phrase doesn't really
prove anything -- unless the test manages to come up with two or more
pass phrases which all hash to the same 128-bit MD5 result (and if this
were the case with six-byte input values, I'm sure someone would have
noticed this degree of weakness in MD5 a long, long time ago).
Anyone who is using a six-character pass phrase in PGP either doesn't
understand what they're doing or doesn't really care about security.
Even a 20-character "plain English" pass phrase isn't worth much.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2CZp0m4X0z9+PxlAQF/Owf9FVhlIu7m8v/cnwJpFb2SX4jRb6CmD9Xs
Dmvzp380VeQV88RS9hH8Ta7p3q2AyrHtVDdy4vJCialfFI2p3r4UvGx2lrE56jLS
Pqu7rdszPGhTwjU1GJ69yj6/iMxsiOU3vORj6jpsO5nzPVGulFLuB+O7H2nhFNru
NYkX5TMkmjcN3Xpr1pP+2I69HtOHicyJYeYb9GPg7hTdAnVfnbc42h/GSmF6fLiU
qfKtaBD4SEh+mDotkgbGYGThOk/KMK5IklMfONf+amKSAUq2ezaL2HmM9ExsrFAo
S2EHP/e/SYQwSU+jsBgAemTYDlu4IFsjFrNJ10fJxAeVqXyAyMw2qw==
=Xq/w
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Thu, 26 Jul 2001 23:59
Date: Thu, 26 Jul 2001 23:59
44 lines
3059 bytes
3059 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Earlier, I wrote:
> In order to decrypt a secret key without the pass
> phrase, an attacker would need to crack IDEA.
I should probably have mentioned that if an attacker can MODIFY your
private key on your computer in a specific way, and then get a message
signed by you using the altered private key, there exists a way to
crack your private key. This attack was reported last March by V.
Klima and T. Rosa in the Czech Republic, and it was discussed at
length on the net for several weeks.
Of course, someone who can get enough access to your files on your
computer to modify your private keyring is clearly in a position to
do even nastier things to you. And the Klima/Rosa attack requires
the (unwitting) cooperation of the key owner; merely grabbing a copy
of someone's private key, without substituting a doctored version,
isn't good enough.
Some newer PGP versions (such as Lutz Donnerhacke's 2.6.3in build)
have incorporated additional tests on the private key parameters in
order to guard against attacks like this. However, again, anyone who
is in a position to mount this particular attack already has such a
high level of access to your computer that they could probably do
whatever they wanted to with your files anyway.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2Cu3Um4X0z9+PxlAQE95gf+Na1dVUZYW9iIcG0ZnTDTYQo+CY6jtD4k
xruNjkFcGEkB+br+oUTaKUklZjnXnl0p2wwbYUZDGOHS+t1V88SNYswerxi46HAR
65vYmIbEOELytSNzATOSeZREa7illPnnzY2GmO0cyChAL6sN3fhFz9MCYyng7F3p
8Dre+UE/9ylFE8jP8gMTttNesgwFk/NT/lS5zgRLoBRwO573VvhgzK73aAqY4zF+
zFIBmtrDJZmGhF7Gn7SQI2wqTVAfu8Ijb9s2gvw/CYtdChxiEmnZCAlFvSN3+lCI
sjSjg9LJG87wMTPHFbT9N1kHFSP2Tg17asDfJulBmH0iRL/UUUcrdw==
=Ubow
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Imad R. Faiad
Date: Fri, 27 Jul 2001 01:17
Date: Fri, 27 Jul 2001 01:17
80 lines
4202 bytes
4202 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hello Rich, You have explained well, there is a great difference between collision and cracking a hash function. Any hash function is subject to collisions, it's just a matter of how you roll the dice. Of course the more bits the less the likely hood of a collision. BTW, RSA have just announced their 2k bits key challenge. Just for the record, I think that whoever is going to break that challenge is going to do it by rolling the dice. The dice is a very powerful tool when you have a hard problem. Best Regards Imad R. Faiad On 26 Jul 2001 22:14:29 -0000, in alt.security.pgp richw@webcom.com (Rich Wales) wrote: >-----BEGIN PGP SIGNED MESSAGE----- > >Johan Wevers wrote: > > > Does this mean that _if_ MD5 is broken, someone who gets > > your private keyring of a pgp 2.x version can decrypt your > > passphrase? > >I don't believe so. Here's why. > >My understanding of how PGP 2.x handles the secret (private) key is >that it uses MD5 to hash your pass phrase into a 128-bit value, which >in turn is used as a symmetric key to encrypt (or decrypt) your secret >key data using IDEA. > >In order to decrypt a secret key without the pass phrase, an attacker >would need to crack IDEA. > >Even if MD5 were found to have collision weaknesses (i.e., if someone >could create a string corresponding to any arbitrarily chosen hash >value -- or if, given a string, someone could create a different string >with the same hash value), this would still not help an attacker to >determine _which_ hash value he needed to use in order to decrypt a >secret key. > >And if an attacker _did_ somehow manage to figure out which 128-bit >hash value he needed to use, he wouldn't need to mess around with MD5; >he could just go ahead and use IDEA directly to decrypt the secret key, >without needing to know what pass phrase generated the hash value. > >Now, if there turned out to be a weakness in MD5 that made the hash >values produced by this algorithm significantly less than completely >random in some cases -- e.g., if hashes of pass phrases consisting >only of printable ASCII characters were found to have some special >property -- _then_ it might be possible to exploit this weakness to >cut down the number of possible 128-bit IDEA keys that might have >been used to encrypt a secret key. > >But, as far as I know, no one is aware of this kind of weakness in MD5, >and no one has suggested that the possibility of collision weaknesses >in MD5 might translate into this sort of problem. -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQEVAwUBO2Ck57zDFxiDPxutAQGHFAf/aSq50KCohZ92/jpd23cpIBYrg/NXa3iI UZtut3PL3EYafoL0AY3ryd0Fw39qxygLVABGqQtgflA/jEDH0X/jbstL3vsBzzFK rDWBCMXjPe4ds2yuoHMyvNiecOX05gUGUSp2coZjT9FJ4ZKvFoMGXegvMKeLKXcn d03B8maiAcxdPm4pvFIUI5XD5i4J0/gmlBxNzigcpUDuH/PPvSZnuT/xPTv/nD0S IcYe1hrzTaJ3Hw3IG6lxFsek7/AAR5PajWhVy8hKnAlN+eTlPfqd6p7ygQ8rAj0q 7WxRHFxCw2s8sbr+mc8SBosiDilH0Szqm/EN4u/Nexo6KUPNLJAzww== =Xukr -----END PGP SIGNATURE-----
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Fri, 27 Jul 2001 06:49
Date: Fri, 27 Jul 2001 06:49
24 lines
2298 bytes
2298 bytes
Rich Wales wrote: > My understanding of how PGP 2.x handles the secret (private) key is > that it uses MD5 to hash your pass phrase into a 128-bit value, which > in turn is used as a symmetric key to encrypt (or decrypt) your secret > key data using IDEA. I knew that. In fact, I even use it myself in a program (but then with SHA1 and RC5). > In order to decrypt a secret key without the pass phrase, an attacker > would need to crack IDEA. I was thinking about how pgp can see if a passphrase is correct or not. If you just decrypt a key with a wrong passphrase you get garbage, but how does pgp detect this? Is there some hash of the unencrypted key stored? However, if there is, I assume it is also encrypted so attacking a key with a possibly broken MD5 and knowing this value would not work because you would have decrypted the key already to obtain the hash. -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Fri, 27 Jul 2001 16:18
Date: Fri, 27 Jul 2001 16:18
36 lines
2585 bytes
2585 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Johan Wevers wrote:
> I was thinking about how pgp can see if a passphrase is
> correct or not. If you just decrypt a key with a wrong
> passphrase you get garbage, but how does pgp detect this?
My understanding of the PGP 2.6.x code is that an incorrect pass phrase
is supposed to be detected because the "decrypted" key parameters will
not make sense together, and/or the checksum of the secret key data will
be wrong. (See the "readkeypacket" routine in keymgmt.c, and look for
"bad pass phrase" in the comments.)
> Is there some hash of the unencrypted key stored?
There is a 16-bit checksum of the secret key parameters. Note, though,
that this checksum offers little in the way of true protection against
attacks -- as was illustrated by the Klima/Rosa attack from last March.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2GUXkm4X0z9+PxlAQFyCAf9FaivbotVG9l7PwHEAxFtuxxZV7DYpMth
tEs6RvTWRZeMUNulfXbvrZGMZXL+1KThAosyOozhH2FKfKEKYAMFh8aw7IXYoFRu
1AsZBWctP16SCDzO+mZK+tFyvKetfFhK5veq/ml6IRUOUSxIvviqGCVmNLPtMRHU
2UsVF+tUDquoZmMFYF1Z6eweA/sqv7pv0C/swvM5xGgAuFlWgAuc9LOpXPjglq8b
Rb7cjt8DQiReJXILmbeYqQZ8xtWA1T3xmxQpWhq5oPA5ZAU8XXOZcYMsIZeD9JTY
d5A7K9nZxthagDZN+VoYpV8+0M38ruW8XPGoKApEmxy0bIyEzaiJFQ==
=HnVx
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Sam Simpson
Date: Sat, 28 Jul 2001 14:26
Date: Sat, 28 Jul 2001 14:26
40 lines
2818 bytes
2818 bytes
In article <9jpl2h$f5l$1@nntp.itservices.ubc.ca>, "Bill Unruh" <unruh@physics.ubc.ca> wrote: > In <20010725.204544.601385644.1202@samsimpson.com> "Sam Simpson" > <sam@samsimpson.com> writes: > >>So DES wasn't broken the day before EFF cracked it? > > DES has not been broken. What was demonstrated that computer power now > allowed exhaustive search to find the key. Breaking means using a means > other than exhaustive search to find the messages. My English could no doubt have been clearer, at the expense of brevity: 1) Several "instances" of DES have been broken. E.g. in near real-world deployment the key has been extracted from ciphertext. 2) DES is considered "functionally" broken, in as much as it is no longer sufficient to fulfull it's intended use. One can argue of course that a car engine than no longer runs isn't broken if the intended purpose is as a door-stop, but this definition is next to useless IMHO. As most know, I am strong proponent of 3DES and I do believe that DES is a strong construct, apart from keylength. > Breaking means using a means > other than exhaustive search to find the messages. If I encrypt a message with DES and someone reads the message (via any cryptographic means) then the message has been broken? The point I was trying to make is that an algorithm can't just be considered broken once someone has demonstrated it's possible. -- Regards, Sam Simpson http://www.scramdisk.clara.net/ http://www.samsimpson.com/
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Jony Rosenne
Date: Sun, 29 Jul 2001 10:43
Date: Sun, 29 Jul 2001 10:43
48 lines
3063 bytes
3063 bytes
Exhaustive search is useful when enough is known of the plaintext, such as the fact that it is English text. There are many situations where this is not the case. Jony "Sam Simpson" <sam@samsimpson.com> wrote in message news:20010728.152610.1504569917.8746@samsimpson.com... > In article <9jpl2h$f5l$1@nntp.itservices.ubc.ca>, "Bill Unruh" > <unruh@physics.ubc.ca> wrote: > > > In <20010725.204544.601385644.1202@samsimpson.com> "Sam Simpson" > > <sam@samsimpson.com> writes: > > > >>So DES wasn't broken the day before EFF cracked it? > > > > DES has not been broken. What was demonstrated that computer power now > > allowed exhaustive search to find the key. Breaking means using a means > > other than exhaustive search to find the messages. > > My English could no doubt have been clearer, at the expense of brevity: > > 1) Several "instances" of DES have been broken. E.g. in near real-world > deployment the key has been extracted from ciphertext. > > 2) DES is considered "functionally" broken, in as much as it is no longer > sufficient to fulfull it's intended use. One can argue of course that a > car engine than no longer runs isn't broken if the intended purpose is as > a door-stop, but this definition is next to useless IMHO. > > As most know, I am strong proponent of 3DES and I do believe that DES is > a strong construct, apart from keylength. > > > Breaking means using a means > > other than exhaustive search to find the messages. > > If I encrypt a message with DES and someone reads the message (via any > cryptographic means) then the message has been broken? > > The point I was trying to make is that an algorithm can't just be > considered broken once someone has demonstrated it's possible. > > -- > Regards, > > Sam Simpson > http://www.scramdisk.clara.net/ > http://www.samsimpson.com/
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Sam Simpson
Date: Sun, 29 Jul 2001 10:47
Date: Sun, 29 Jul 2001 10:47
68 lines
3745 bytes
3745 bytes
Asst Professor Wagner has written an interesting paper on this very topic, it's available on his homepage. It's fairly easy to judge a correct decryption by using statistical tools, even if the plaintext isn't english. In article <3b63e97d@news.bezeqint.net>, "Jony Rosenne" <rosenne@qsm.co.il> wrote: > Exhaustive search is useful when enough is known of the plaintext, such > as the fact that it is English text. There are many situations where > this is not the case. > > Jony > > "Sam Simpson" <sam@samsimpson.com> wrote in message > news:20010728.152610.1504569917.8746@samsimpson.com... >> In article <9jpl2h$f5l$1@nntp.itservices.ubc.ca>, "Bill Unruh" >> <unruh@physics.ubc.ca> wrote: >> >> > In <20010725.204544.601385644.1202@samsimpson.com> "Sam Simpson" >> > <sam@samsimpson.com> writes: >> > >> >>So DES wasn't broken the day before EFF cracked it? >> > >> > DES has not been broken. What was demonstrated that computer power >> > now allowed exhaustive search to find the key. Breaking means using a >> > means other than exhaustive search to find the messages. >> >> My English could no doubt have been clearer, at the expense of brevity: >> >> 1) Several "instances" of DES have been broken. E.g. in near >> real-world deployment the key has been extracted from ciphertext. >> >> 2) DES is considered "functionally" broken, in as much as it is no >> longer sufficient to fulfull it's intended use. One can argue of >> course that a car engine than no longer runs isn't broken if the >> intended purpose is as a door-stop, but this definition is next to >> useless IMHO. >> >> As most know, I am strong proponent of 3DES and I do believe that DES >> is a strong construct, apart from keylength. >> >> > Breaking means using a means >> > other than exhaustive search to find the messages. >> >> If I encrypt a message with DES and someone reads the message (via any >> cryptographic means) then the message has been broken? >> >> The point I was trying to make is that an algorithm can't just be >> considered broken once someone has demonstrated it's possible. >> >> -- >> Regards, >> >> Sam Simpson >> http://www.scramdisk.clara.net/ >> http://www.samsimpson.com/ > > -- Regards, Sam Simpson http://www.scramdisk.clara.net/ http://www.samsimpson.com/
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Johan Wevers
Date: Mon, 30 Jul 2001 06:57
Date: Mon, 30 Jul 2001 06:57
11 lines
1575 bytes
1575 bytes
Rich Wales wrote: > There is a 16-bit checksum of the secret key parameters. I hope this checksum is encrypted in the key? Otherwise it might leak key info if exposed. -- ir. J.C.A. Wevers // Physics and science fiction site: johanw@iae.nl // http://www.xs4all.nl/~johanw/index.html PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Rich Wales
Date: Mon, 30 Jul 2001 15:57
Date: Mon, 30 Jul 2001 15:57
51 lines
3273 bytes
3273 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Earlier, I wrote:
> > There is a 16-bit checksum of the secret key parameters.
Johan Wevers replied:
> I hope this checksum is encrypted in the key? Otherwise it
> might leak key info if exposed.
The checksum is =not= encrypted in version-3 ("classic" PGP 2.x) keys.
It =is= encrypted in version-4 keys.
The checksum doesn't necessarily expose key information directly, but
the fact that it isn't encrypted (in version-3 keys) makes it possible
for an attacker to discover the secret key if he can alter the victim's
secret key in a specific way, and then trick the victim into signing a
document using the altered key (Klima-Rosa attack; details can be found
at http://www.i.cz/en/onas/krypto.html).
Even though the checksum is encrypted in a version-4 secret key, Klima
and Rosa claim that it may still be possible to exploit the weakness of
the checksum algorithm to crack a version-4 key in a similar fashion.
Since the Klima-Rosa attack requires the attacker to be able to change
(not just look at) files on the victim's computer, most experts seem to
feel it is not a very practical attack, since anyone who has that level
of access to a PGP user's computer could easily do other, more nefarious
things (such as install a keyboard sniffer or an altered copy of PGP).
Still, Klima and Rosa recommend that the OpenPGP secret key format
should be changed to use a stronger hashing algorithm in place of the
simple 16-bit checksum currently being used.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2WD1Um4X0z9+PxlAQG/3Qf/Wx15RV35UXxBgylKhrmo1mHpdzHUE+HM
CiYFI3dcRi3lC81N587jDaRo/qvhHTrhc9/fqSTMPx2ok4/xKYnkwCIDnFTJgnw9
hX+QgflF6MOSPJyXF+ydy+e64poP18JZGxHjsgEgXAxl38t87YxYBDxuQaUERQ+N
ardmAXhmLBSklZVD3gIqHott4uEHaDTYjEhx8r8DfXW1pCYGuFiMzCZCEdnUZqNR
4UMjE+MO87g/g2txN5sY7V5v1Yswawd1QOb0hq711s7EBxMouTw3LJJgBV7D1yMS
zKPVqG/X9Bgwscr2/v7FKzLvhdtq6uhI4KgPQIrPuBFDkTRstGka4w==
=qY5l
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Re: Is or isn't MD5 broken ? Let's find that out.
Author: Dave Howe
Date: Mon, 30 Jul 2001 21:18
Date: Mon, 30 Jul 2001 21:18
22 lines
2627 bytes
2627 bytes
In our last episode (<alt.security.pgp>[30 Jul 2001 15:57:16 -0000]), richw@webcom.com (Rich Wales) said : >Since the Klima-Rosa attack requires the attacker to be able to change >(not just look at) files on the victim's computer, most experts seem to >feel it is not a very practical attack, since anyone who has that level >of access to a PGP user's computer could easily do other, more nefarious >things (such as install a keyboard sniffer or an altered copy of PGP). It is possible to construct attacks that give access to a private keyring without giving access to the software or the machine - they are pretty unlikely, but possible. Consider a shared server used to store PGP keyrings in a "home" directory; there are various ways (password compromise, server spoofing, poorly defined permissions) where a user either unable to access or physically remote from the user's machine and/or the server executables are held on may gain access to both the pgp keys and a spool of sent (signed) mail. So there *are* attacks, just not really likely ones. Oddly, a really security conscious user may be more at risk - one who (say) keeps his private key on a write-protected floppy and takes it home with him on an evening, may leave his floppy where an intruder with access to the home but not the office may compromise the key. --== DaveHowe ( is at) Bigfoot dot com ==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads