Article View: alt.privacy.anon-server
Article #177931Random numbers in Reliable (Was: Eight-hour latencies? How come?)
From: Thomas J. Boschloo
Date: Sun, 21 Nov 2004 10:55
Date: Sun, 21 Nov 2004 10:55
58 lines
4172 bytes
4172 bytes
-----BEGIN PGP SIGNED MESSAGE----- Thomas J. Boschloo wrote: | Thanks for the clarification. I was under the assumption that Reliable | 'outsourced' its mixmaster traffic to the mixmaster executable.. I was | wrong. | | OTOH, this can be very worrying to users of reliable as I have seen code | (posted by Richard some years ago) that Reliable used the standard | Visual Basic RNG for ESub instead of sound cryptographically strong | random functions! I wouldn't trust RProcess of doing sound cryptography | from what limited code I have seen from him.. If the seed of the VB | rand() function is known, an attacker could perhaps predict the order in | which messages leave the remailer <scarry thought>. Since I wrote this, I have had some more time to think about it. Since the ESub function in Reliable uses Visual Basic's standard (non-crypto) random function, an attacker can, by sending an ESub message, get the 64 bits that are randomized and search for the seed which results in these 64 bits to get selected. This seems very bad to me. It is worse than using random functions on its own since the attacker can see the output of the rand() function. How should this be solved then? My guess is that all uses of the rand() function in Reliable should be replaced by its secure counterparts. I am sure someone with good knowledge of Visual Basic could access the cryptographically sound random functions in Windows that perhaps, RProcess didn't have access to at the time... | | You do understand that Reliable latency is a random time between a | | Minimum and Maximum latency configured by the operator. | | That doesn't seem like a good idea to me at all! Even Minimum latency | seems like a design flaw to me.. Also having spend more time thinking on this, the range of latency that a message in Reliable will have will be limited between the Min and Max latency settings set by the operator. A solution would be to set the Minimum latency to 0 seconds and the Maximum latency to something like three days. Highest esteems, Thomas J. - -- The Thraddash: "So, what's this? SNORT! An unknown alien species?" "How wonderful! Someone new to fight!" Full Game Win/Mac/Linux: <http://sc2.sourceforge.net> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQB5AwUBQaB0HgEP2l8iXKAJAQELNAMgiiGo0kw8gfeAAenJVL+EMkolz6d4ZpgJ lUL+n3paJMgVVFSoOrAxyZHi08j0Fw9IPnwmsAftTMYyU6G/N2EpvJiPorkNjR7c XDHQaD5F1lVQbGIjwYkALbEkxCMtZNmVuWXF+w== =qA7A -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<41a07a76$0$764$3a628fcd@reader10.nntp.hccnet.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mailReferences:
<419cb4b5$0$770$3a628fcd@reader20.nntp.hccnet.nl> <M8DN1J3W38309.6695717593@anonymous.poster> <M8DN1J3W38309.6695717593@anonymous.poster> <419f3a77$0$769$3a628fcd@reader10.nntp.hccnet.nl> <17694B578AE@bikikii.ath.cx> <419f46ef$0$150$3a628fcd@reader2.nntp.hccnet.nl>Show Full Headers
Complete Article Headers
Message-ID: <41a07a76$0$764$3a628fcd@reader10.nntp.hccnet.nl> Subject: Random numbers in Reliable (Was: Eight-hour latencies? How come?) Date: Sun, 21 Nov 2004 11:55:26 +0100 From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid> References: <419cb4b5$0$770$3a628fcd@reader20.nntp.hccnet.nl> <M8DN1J3W38309.6695717593@anonymous.poster> <M8DN1J3W38309.6695717593@anonymous.poster> <419f3a77$0$769$3a628fcd@reader10.nntp.hccnet.nl> <17694B578AE@bikikii.ath.cx> <419f46ef$0$150$3a628fcd@reader2.nntp.hccnet.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.privacy.anon-server In-Reply-To: <419f46ef$0$150$3a628fcd@reader2.nntp.hccnet.nl> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 58 Organization: HCCnet Nieuwsgebruiker NNTP-Posting-Date: 21 Nov 2004 11:22:31 GMT NNTP-Posting-Host: 62.251.33.87 X-Trace: 1101036151 reader10.nntp.hccnet.nl 764 62.251.33.87:1121 X-Complaints-To: abuse@hccnet.nl