Article View: alt.privacy.anon-server
Article #316281Re: Yamn Question: Tagging Attacks
From: Zax
Date: Sun, 19 Sep 2021 17:29
Date: Sun, 19 Sep 2021 17:29
50 lines
3288 bytes
3288 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 18 Sep 2021 14:24:09 +0200 (CEST), Anonymous wrote in
Message-Id: <89dbb364cd1d2bfed1f7530e3559a998@remailer.paranoici.org>:
> Yamn tries to mitigate tagging attacks by "Deterministic header padding
> to protect against tagging attacks"
>
> In layman's terms what does that mean?
As a message passes through a remailer chain, each remailer strips off
a header (there are 10 headers on a Yamn message). Once the header has
been removed, it needs to be replaced with something to maintain the
original size of the message.
In Mixmaster, the header is replaced with random bytes. These bytes
cannot be predicted at the time the original message was created so
there's no means to checksum the entire payload. Yamn takes advantage
of AES_CTR mode where encrypt and decrypt operations are identical.
During message generation, the client (that generates all the AES keys
in the message) is able to predict how a blank header (256 bytes of
0x0000) will appear at each remailer after multiple rounds of AES_CTR.
By predetermining the headers, the entire 20480 byte payload can be
checksum'd at every hop in the chain. You can see the top-level
function that pre-determines these headers here:
https://github.com/crooks/yamn/blob/master/packet.go#L867
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAmFHc3QACgkQgyyPTc2Q
QmNDmg/+KRADnzbxc1mgfB/Zu+y9cU2cvfuT6V3etjA4Ba0L1vm3sDrpR6THTfN5
ACBuGWj209RIFjobpKZspYi63lait0sUcrkdlm8zaxQL/q82O4D6wembEr2W3qCI
V4fZtXBBUNNyApA2H4YleBFiwJ/I66LAcYFC7zIuDc7soAelIWoNQirnHHoIsu0M
0dhvihmHlPsyfATkDbDpla80NS6a6LWT/e/fV/hP/gyCVR7hiE10Gn1F9dlPfq0B
TCM3RxcZx/2Qh7ZDiP8QaSKSfCxZ5zSKfkTTRwwNRkyv1oDRbRpLDxbR14+6wgxe
kadUWDSuCn1sXlkKlXS+WBlPmpHrucSsAQe8ESZvCGitzgkvDlPu8/NRQGyfGeks
/HjrmXNmjiNfWmviplmddhFxgi23TvPDNm7u2wN4UJIdc+jqW4q8MmeigXKeZY1u
zidnUDL9UrnofZiGWUtb90gW0X1GMZOEjPZSNzJnPRDfmClXtatYNb3S1n1pp2Sp
bJR/vKAu+DweP8ODT7fHzs53OiruJqOdpTmP1ghB4Lz8wWe6gaDKp43CEQPUPpSd
C/exYQJOC8v9RwnMrC4tziXS7Rdt9N9StB/EdzInv7CFtrHIy5USzgDzO1HZZ1px
/D0KO3GyGmZ6cGJz3fcpDJtglslVdWpBhqMSk6xIkE97lHo+Fr0=
=xdiU
-----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
ssb rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Technical Details
Message-ID:
<slrnskesrk.fqr.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-mailReferences:
<20210917.230115.0f335f6a@mix2.remailer.xyz> <d1276c10-15ef-413e-b42c-dc1532f744b1n@googlegroups.com> <89dbb364cd1d2bfed1f7530e3559a998@remailer.paranoici.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnskesrk.fqr.admin@fleegle.mixmin.net> Subject: Re: Yamn Question: Tagging Attacks Date: Sun, 19 Sep 2021 17:29:24 +0000 From: Zax <admin@mixmin.net> References: <20210917.230115.0f335f6a@mix2.remailer.xyz> <d1276c10-15ef-413e-b42c-dc1532f744b1n@googlegroups.com> <89dbb364cd1d2bfed1f7530e3559a998@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!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sun, 19 Sep 2021 17:29:24 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="c4af4a3027e8317d29ea238d8aa6bb2f616aa3fc"; logging-data="19930"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.4-2 (Linux) Lines: 49