🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #279830

Re: Socat vulnerability shows that crypto backdoors can be hard to spot

#279830
From: Big Bad Bob
Date: Sat, 06 Feb 2016 02:07
66 lines
5158 bytes
On 02/05/16 13:15, William Unruh so wittily quipped:
> On 2016-02-05, Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> wrote:
>> On 02/04/16 18:51, William Unruh so wittily quipped:
>>> 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. 
>>
>> I suspect it's actually simpler than that - multiple key solutions for
>> non-prime [hence, non-secure]
>>
>>
> 
> Depends on how hard it is to find one of those solutions. If it for
> example only takes half the work to find one of two vs the time to find
> a unique one, that is hardly less secure. If there are or order e^p more
> solutions, then it would of course be trivial. But it is certainly
> somewhere in between. Does it depend on the size of the largest factor?
> the smallest factor? Ie, knowing g^a and g^b (mod p) how mush easier is
> it to find g^ab (mod p)  if p is composite than if it is prime?
> 
>>

yeah, some people that like mathematics for the sake of mathematics
might want to derive that.  Me, I just think in practical terms:  if it
takes half as many bots or half as many [stolen] cloudy threads to crack
my key, or it's done in HALF the time because multiple solutions exist
[due to use of non-prime], I think I'll take the extra few bits and use
primes...
Technical Details
Message-ID: <Z5Cdndw6QauMyCjLnZ2dnUU7-bOdnZ2d@earthlink.com>
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
References: <834691adcbb63f6e3789e9b6fb07cccd@foto.nl1.torservers.net> <n9018u$ufq$1@dont-email.me> <5c98a4563f131f8bf515b8bd0f40d260@foto.nl1.torservers.net> <n912n6$mhb$2@dont-email.me> <K86dnSFEdd6LaCnLnZ2dnUU7-bGdnZ2d@earthlink.com> <n933d4$j9l$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <Z5Cdndw6QauMyCjLnZ2dnUU7-bOdnZ2d@earthlink.com>
Subject: Re: Socat vulnerability shows that crypto backdoors can be hard to spot
Date: Fri, 05 Feb 2016 18:07:19 -0800
From: Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local>
References: <834691adcbb63f6e3789e9b6fb07cccd@foto.nl1.torservers.net> <n9018u$ufq$1@dont-email.me> <5c98a4563f131f8bf515b8bd0f40d260@foto.nl1.torservers.net> <n912n6$mhb$2@dont-email.me> <K86dnSFEdd6LaCnLnZ2dnUU7-bGdnZ2d@earthlink.com> <n933d4$j9l$1@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-mail
NNTP-Posting-Date: Fri, 05 Feb 2016 20:06:08 -0600
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
Newsgroups: alt.hacker,alt.privacy.anon-server,comp.os.linux.advocacy,comp.sys.mac.system,alt.computer.security
In-Reply-To: <n933d4$j9l$1@dont-email.me>
X-Why-Are-You-Looking-Here: Jedi Business, move along
Approved: yes
X-Testing: of course!
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Lines: 68
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 66.47.136.67
X-Trace: sv3-i3rM3G+fM39QHkmWWSYQ0EoE6axdKYiJ9Fk1BHbE8aMwWRYr7Yo4LIAqY47488GL5nzG9/0TQGsbIwc!+4K2AlqJSUELtuTm6b6Q7IsvNuCZbcz2CqQydy5nyz3x/QLOvvMABcuk4kSH3oO/vWRs6Kh7M4Fc!m4CCcdVv4yUXvSUCgKDx/AIgP/USTw6bM6Ot
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 4824
X-Received-Body-CRC: 2819369624
X-Received-Bytes: 5077