Article View: alt.privacy.anon-server
Article #279806Re: Socat vulnerability shows that crypto backdoors can be hard to spot
From: William Unruh
Date: Fri, 05 Feb 2016 02:51
Date: Fri, 05 Feb 2016 02:51
45 lines
3219 bytes
3219 bytes
On 2016-02-04, Anonymous <anonymous@foto.nl1.torservers.net> wrote: > In article <n9018u$ufq$1@dont-email.me> > William Unruh <unruh@invalid.ca> wrote: >> >> On 2016-02-04, Anonymous <anonymous@foto.nl1.torservers.net> wrote: >> > Developers of the Socat networking tool have fixed a >> > cryptographic flaw that left communications open to >> > eavesdropping for over a year. The error is so serious that >> > members of the security community believe it could be an >> > intentional backdoor. >> > >> > http://www.csoonline.com/article/3029369/security/socat- >> > vulnerability-shows-that-crypto-backdoors-can-be-hard-to- >> > spot.html?google_editors_picks=true >> > >> >> It contains a stupid statement. "Checking whether a 1024-bit number is >> prime is doable, but is not exactly straightforward." It is very >> straightforward, and very doable (RSA key generation does 10s to 100s in a >> very short time.) While probabilistic even deterministic checking is not >> that hard. Certainly the lesson is that a long term key should be >> checked by someone other than the proposer. > > Couldn't you just fix this yourself by generating a new key and > using it? Both sides need to use the same prime. In this case I guess they insist on both using their "prime" (which is public knowledge). But their prime was not prime meaning that deriving g^ab from g^a and g^b (all mod p, the so called prime) became easier. Ie, no they want you to use theirs. > >> I did not even know that DH would work with a non-prime key. RSA I >> believe would fall over if you used a non-prime key. I guess it does work. All you use p for is to generate a key which you can use in some other program (eg AES). In RSA you actually use the primes to encrypt, and if they are not primes, there is a chance (how big?) that the decryption of the encryption will not give the original message. >
Technical Details
Message-ID:
<n912n6$mhb$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<834691adcbb63f6e3789e9b6fb07cccd@foto.nl1.torservers.net> <n9018u$ufq$1@dont-email.me> <5c98a4563f131f8bf515b8bd0f40d260@foto.nl1.torservers.net>Show Full Headers
Complete Article Headers
Message-ID: <n912n6$mhb$2@dont-email.me> Subject: Re: Socat vulnerability shows that crypto backdoors can be hard to spot Date: Fri, 05 Feb 2016 02:51:18 +0000 From: William Unruh <unruh@invalid.ca> References: <834691adcbb63f6e3789e9b6fb07cccd@foto.nl1.torservers.net> <n9018u$ufq$1@dont-email.me> <5c98a4563f131f8bf515b8bd0f40d260@foto.nl1.torservers.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail Newsgroups: alt.hacker,alt.privacy.anon-server,comp.os.linux.advocacy,comp.sys.mac.system,alt.computer.security Organization: A noiseless patient Spider Lines: 45 Injection-Date: Fri, 5 Feb 2016 02:51:18 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="bce60fb4c4f81b126f867f22d396ac27"; logging-data="23083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+49kY+8wIbOVXYSWgPdGRw" User-Agent: slrn/1.0.1 (Linux) Cancel-Lock: sha1:x5HDiiIq8J27HPJMDyAZ6rXPpwo= X-Received-Body-CRC: 221729552 X-Received-Bytes: 3051