Article View: alt.privacy.anon-server
Article #275737Re: Question
From: Zax
Date: Sun, 30 Aug 2015 11:38
Date: Sun, 30 Aug 2015 11:38
121 lines
5340 bytes
5340 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJV4utNAAoJEC3jHKG+PvqnXLcQAIWtMDrL+rTwfBvLVgdLdHMC
/GnT8DSsKJ02kkrmNfubizGKv//YXUVaP3+DHAM+VyF72SdXp0FBsXv+3WU/yTQB
Va2sl9sXHOFOQWk1C5f4iySMEn9O0hx6mQPTnmhdkqR92btvg1AdFBBK85lzctXk
AMjHByUFw5xejGTdYtpklmRXrWPzn1AjpfD5uL8gutjTZeCbOdKJszWNSr0rymw3
ZkGOwYLP0i6Hjz4YR/hAhnDqSUXhD4CUD1RZDZTi3vWB6TcL7S+uOv8tiq75TrAY
yXItSwm4cXs9svwWPDGoM1li67fRGLysaMByGcbd0jmga6pWc4wLLkvmygtGrWAt
1tunB8247cdagdh0t+HptvVtRafOqHc2V4ZFvD0Y8b9JwMDjkPM20YGmqD7HsOG0
+wtSy4Qx1kF5erpjww/1RXXLveEEGMhRWyoEoKp0um8CRO2FQOBYNiPYan2NpGDS
qxRhLCzcdda1M9OI/xIBsnE/83lmR+SvKaPVodOb17eBz0MpdvTTOH1qeYLyqHEM
F6TCADbXW8mL7/PPtPmAsLQQLS7if/QAd6SQdKrShxZSol6+dLINcbGFx7lMxwNY
AUcsxKg5gtHwC/3QBCUsOjvPPqfl9rPZ2v+LOnk0SIJMlvoemXi2EWyGbX3uPFVX
l2N9TFHdPiw3hmXAhY6W
=cK0V
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/BE3EFAA7 created: 2014-11-14 expires: 2016-11-13 usage: S
Technical Details
Message-ID:
<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-mailReferences:
<slrnmu4f7r.9c4.elvis-85503@notatla.org.uk> <08a50410ed87158baa9c07fd77b6be83@remailer.paranoici.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnmu5qqd.g2o.admin@snorky.mixmin.net> Subject: Re: Question Date: Sun, 30 Aug 2015 11:38:53 +0000 From: Zax <admin@mixmin.net> References: <slrnmu4f7r.9c4.elvis-85503@notatla.org.uk> <08a50410ed87158baa9c07fd77b6be83@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-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sun, 30 Aug 2015 11:38:53 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="b3d35a7ea93243cd2837e0450058617a56b6aceb"; User-Agent: slrn/pre1.0.3-4 (Linux) Lines: 120