Article View: alt.privacy.anon-server
Article #4664Reply-Block Vulnerability
From: RProcess
Date: Fri, 23 Jan 1998 00:00
Date: Fri, 23 Jan 1998 00:00
81 lines
4695 bytes
4695 bytes
There is a reply-block vulnerability which I haven't seen addressed much. It
affects all reply-blocks except those which use "remix" remailers, and presents
a good reason for doing so.
The problem:
Even with an encrypted reply-block, which uses conventional encryption at every
stage, the reply-block itself is not conventionally encrypted. (It can't be
because the receiving remailer must decrypt it.) The encrypted-reply-block
part
of the returning message is always in the clear, and is always the same text,
for a given block.
For example, with a nym account which uses one encrypted-reply-block with three
remailers, with an Encrypt-Key at each remailer as well as the nym-server:
When the message leaves the nym-server, it is conventionally encrypted, and
the ERB is prepended to it. This ERB is the same for every message sent.
(It is a static PGP message created when the reply-block is constructed,
and
does not change.) This is then mailed to the first remailer in the chain.
This remailer decrypts the ERB, which (ideally) instructs it to conv
encrypt
with another Encrypt-Key, and remail it. It conv encrypts the message,
prepends the once-decrypted ERB, and mails it. Once again, this
once-decrypted ERB is always the same for every message sent through this
chain, and is always the same one emerging from this remailer, a static PGP
message, and is in the clear.
The next remailer does the same, and the next, each prepending a decrypted
ERB which is always the same for a message leaving that particular remailer
for this block.
By the time the message is remailed to the user, the ERB has vanished and
only the "**" line and four-time conventional encrypted message remains.
In terms of traffic analysis on reply-blocks, these static ERBs at the top of
each message can be statistically correlated, to determine which ERB contains
which ERB, etc. This provides a trail from the nym-server to the final
address.
Conventional encryption is used in reply-blocks to avert the situation where
the
same message going into a remailer is the same one coming out. In this case,
the conventional encryption is not used on the ERB, and the ERB going in is
always the same for the reply-block/account, as is the ERB coming out, at a
given remailer stage. Simply counting messages will correlate them.
The only current solution to this is to use a remailer which supports "remix",
insuring that the remailer after it shares a mixmaster. (This causes the
remailer to reformat the message as a mixmaster message between remailers.)
The
problems with this solution are: 1) There is no way to verify that remix is
occuring, as it is transparent to the user, 2) There are currently only 3?
remailers which support this: Privacy, Cracker, and Squirrel.
Possible Solutions via Modifications to Existing Cypherpunk:
Include an Anon-Encrypt-To: double-colon header. This replaces the
Anon-To:
header, and instructs the remailer to encrypt the message to the recipient
using the recipient's public-key (ie the key of the next remailer in the
chain). If the recipient's address is not on the keyring, the message is
discarded. If it is, the remailer adds "::", "Encrypted: PGP" to the
message and sends it.
The receiving remailer must be modified to accept this type of message in
that it must parse the message twice. (Perhaps this is already done?) In
other words, parsing it once will trigger a decrypt at the Encrypted: PGP
command. Parsing it the second time will decrypt the ERB's Encrypted: PGP
line. The message will then be mailed.
Or:
Create a "recpunk" remailer which encrypts all messages between remailers.
Both these solutions have the same vulnerability, but only if the attacker has
access to the messages _inside_ all the remailers, not just between them. (Same
as remix.)
Technical Details
Message-ID:
<19980123172012.22700.qmail@nym.alias.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <19980123172012.22700.qmail@nym.alias.net> Subject: Reply-Block Vulnerability Date: Fri, 23 Jan 1998 00:00:00 +0000 From: RProcess <Use-Author-Address-Header@[127.1]> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mail X-Deja-AN: 319023355 Author-Address: rprocess <AT> nym <DOT> alias <DOT> net Organization: mail2news@nym.alias.net Mail-To-News-Contact: postmaster@nym.alias.net Newsgroups: alt.privacy.anon-server,alt.security.pgp