🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: antitagging in logs

#288930
From: Zax
Date: Tue, 17 Jan 2017 14:40
63 lines
3498 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 17 Jan 2017 21:38:54 +0800 (SGT), mail.m2n Anonymous wrote in
Message-Id: <20a545bece830112f49bd9fc46f54861@mail.m2n.works>:

>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 
>> On Tue, 17 Jan 2017 12:33:11 +0100 (CET), Nomen Nescio wrote in
>> Message-Id: <4d661eaa0fde08c77fa1447b53f8c197@dizum.com>:
>> 
>> 
>>> Does anyone have Antitagging logs in their mixmaster error.log
>>>
>>> 2016-12-15 22:21:12 Notice: 11269 Antitagging test - wrong digest on later header
>>> 2016-12-16 11:44:37 Notice: 22506 Antitagging test - wrong digest on later header
>> Yes, I've seen some of these in my log too, around the same time as the
>> examples you've shared.  Somebody was probably testing something, or
>> perhaps, it was malicious and Mixmaster caught it.  We'll likely never
>> know.
>> 
>> 
>>> This is a sign of someone attempting - or else chance data corruption failing a checksum.
>>>     https://crypto.is/blog/tagging_attack_on_mixmaster
>> Mixmaster is vulnerable to tagging attack.  Each remailer in a chain
>> adds random padding to replace the header it's processing.  This random
>> data can't be integrity checked so it's possible for malicious nodes to
>> use it to "tag" messages.  In theory it could be solved but it would be
>> a significant change to the code.  In my experience, anti-tagging is a
>> complete pig to integrate when it wasn't part of the design.
>
> Does YAMNs protect against this?

Yes, you can see the code here:
https://github.com/crooks/yamn/blob/master/packet.go
In the function "deterministic", the padding headers are predetermined
and the checksums for them are precalculated.  This is possible because
encrypt/decrypt operations in AES_CTR mode are identical.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYfiz4AAoJECanyOTFuuOBMvgQAKWRHrSS+BzoWY7eowSM+ntk
+0ZwOSSNwJMfvK5xbK7jdVJ6a4Bl1kZ/jcUItTFQ46f8+xTuwKXX8fDFORtge0kN
05Ir65jSNCo8kYZlB9g8zTLSD+dzHRdZLgfieeOMQpojP5P44GW2w1hHsWiwWlXw
00Wudr6LWfdrQSghMw7vQkaNAJI7RHHZNcvS42Ap/yMtifl0pMhI9leWstbfHbLP
apJRUQwk5FBuztO6T697Ar4lTeA/8UEIEuUbaYtTVQwPPePSdrwTwGakA9w0bmRs
8RLiTy9iuctglmVzqoY+QZP6izR+3mGz4UD+g14SAIzAkDRJRYEOUoZEYuzEPWlA
2s+3HZHfaYD34Ivnt0LupQXsyN/S6e3FY1d2t55P7krO2r11H9lfkJ77hm+s7hBl
UowqCx9hVyRKqEoozdTCSv+mM94WysBBbaLojO+sFBO5RzuFhhtVclT7/Z5GJ1+f
PLwjMuQrYg1KprtJAiMzmsAXseMBOQsFclTNqM2ILa9HCdeHk+ZtylD2PUcwpPNZ
HNA5qA4dgH8Aqs1EYs8hqvX7OGyLbFSJGDBkdo7KIQaGD2uyOugte3ZUyxi18vE2
WenTPzxba4BSwmhMnxMz+vcYB0inLq0xyckvW8CufDlE46yDgQMX7R62hq3Gkm7Y
/w3QnsvfEJ+Oa8oHaThL
=eDyb
-----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: <slrno7sb7r.c37.admin@fleegle.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!not-for-mail
References: <slrno7s2kk.c37.admin@fleegle.mixmin.net> <20a545bece830112f49bd9fc46f54861@mail.m2n.works>

Show Full Headers
Complete Article Headers
Message-ID: <slrno7sb7r.c37.admin@fleegle.mixmin.net>
Subject: Re: antitagging in logs
Date: Tue, 17 Jan 2017 14:40:59 +0000
From: Zax <admin@mixmin.net>
References: <slrno7s2kk.c37.admin@fleegle.mixmin.net> <20a545bece830112f49bd9fc46f54861@mail.m2n.works>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Tue, 17 Jan 2017 14:40:59 -0000 (UTC)
User-Agent: slrn/1.0.3 (Linux)