Article View: alt.privacy.anon-server
Article #275748Re: Question
From: Anonymous
Date: Sun, 30 Aug 2015 16:12
Date: Sun, 30 Aug 2015 16:12
113 lines
4480 bytes
4480 bytes
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Sun, 30 Aug 2015 07:14:20 +0000 (UTC), Anonymous wrote in > Message-Id: <08a50410ed87158baa9c07fd77b6be83@remailer.paranoici.org>: > > >> "The HMAC key is also in the RSA encrypted data along with the 3DES >> and a value called aes_pre_key. The new AES keys (3 of them) are >> derived from that and the HMAC key. >> >> http://www.zen19351.zen.co.uk/mixmaster302/packet_layout.txt >> >> The RSA encryption occupies space equal to the modulus which is >> from 128 bytes for 1024-bit to 512 bytes for 4096-bit. >> >> Data encrypted under RSA with the larger keys is (with sizes in >> bytes): >> 24 3deskey (unchanged from older software) >> 64 hmac_key for HMAC-SHA256 >> 32 hmac(2*512 of later header data) to prevent tagging >> 32 hmac(body) >> 32 hmac(328block) current header data a.k.a TTE standing for >> three,two,eight >> 32 aes_pre_key >> >> The aes_pre_key is used together with HMAC-SHA256 to generate the >> 3 >> AES keys for the body, future headers and the current header data >> of >> size 328." >> >> So this has been implemented right in 3.0.3a? I have followed the >> comments by Tom Ritter and your discussions with Zax, and can't see >> how tagging can still be implemented, even with control of an entry >> node and an exit. Can you clarify please? > > Here's a rough depiction of the Mixmaster message format. Each header > is 512 Bytes, making a total header of 10240 Bytes. The payload is also > 10240 Bytes. > > - ------------- > >> Header 1 | > - ------------- > >> Header 2 | > - ------------- > >> Header 3 | > - ------------- > ... > - ------------- > >> Header 20 | > - ------------- > >> Payload | > - ------------- > > After the first remailer has processed the top header, the message looks > like this:- > > - ------------- > >> Header 2 | > - ------------- > >> Header 3 | > - ------------- > >> Header 4 | > - ------------- > ... > - ------------- > >> Header 20 | > - ------------- > >> Padding | > - ------------- > >> Payload | > - ------------- > > Each header has moved up by 512 Bytes, leaving a gap between Header 20 > and the Payload. The first remailer fills this gap with 512 Bytes of > random padding before sending on the message. > > The key point here is that the client that generated the message cannot > integrity protect that 512 Bytes of padding. The client didn't generate > it, the remailer did. Suppose the first remailer is a bad apple and it > doesn't put random data in there, instead it inserts a byte sequence > that another remailer in the chain is looking for. The chain is now > compromised. > > The solution to this is complicated and it took me a while to understand > it. Instead of each remailer padding with random data, they pad with > something predictable, such as 512 x "0". Each remailer performs a > decrypt on this header (and all the other headers) so the 512 x "0" is > indistinguishable from random when it leaves the remailer. The key > difference is that the client (who also generates all the encryption > keys) can now predict what 512 x "0" should look like at each hop when > decrypted. It can generate Hash values for the padding added at > every hop and put that hash in the next-hop header for checking. > > Each remailer must now pad with 512 x "0" otherwise the next remailer > will spot the broken hash (provided by the client) and drop the message. > The entire message, although mutated at each hop, is entirely integrity > checked. Mixmaster doesn't currently do this. It seems that the implementation would not be that hard to incorporate. Possibly the 4096s could do this alone.
Technical Details
Message-ID:
<ab526e494fa5c36e605a5a5dc6b0301f@remailer.paranoici.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<slrnmu5qqd.g2o.admin@snorky.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <ab526e494fa5c36e605a5a5dc6b0301f@remailer.paranoici.org> Subject: Re: Question Date: Sun, 30 Aug 2015 16:12:34 +0000 From: Anonymous <nobody@remailer.paranoici.org> References: <slrnmu5qqd.g2o.admin@snorky.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 113