Article View: alt.privacy.anon-server
Article #171967Re: Mixminion and latent-time [was Re: Attn Mr. Sassaman]
From: Nick Mathewson
Date: Thu, 15 Jul 2004 21:41
Date: Thu, 15 Jul 2004 21:41
368 lines
18887 bytes
18887 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One more a reminder: I *am not* arguing that latent-time is
always, necessarily, unavoidably dangerous. I am arguing that it is
not as obvious as you seem to think that the benefits outweigh the
risks, and that it should not be included without actual analysis.
I am also arguing that adding potentially dangerous features on the
theory that "users can decide whether to use them" is *not*
necessarily doing those users a favor.
If you only read one part of this message, please read the last
section, starting with the last piece of text from you I quote.
In article <ba281bf8e907df0b59c374ee18355be4@remail.amessage.info>,
Max Mustermann wrote:
> I agree that the pooling scheme used by Mixmaster is superior in
> very low-traffic environments to the mix scheme used by Reliable.
> Panta-Admin said he might offer a patch to Reliable to change
> the pooling scheme.
>
> But why not allow the user to control the latent-time
> directive on the last remailer in the chain, the way that some
> Type IIs do now? That way the other mixes in the chain are
> pooled as before.
Control at the last remailer on the chain has some advantages, as I
noted in my first post. Of course, you need to trust the last
remailer, and there are the partitioning opportunities I noted.
Of course, best of all is to delay the messages _before_ the enter
the network at all. For example, you could configure your computer
(for example) to always send 4 messages every 4 hours, padding up
with dummies if you have fewer than 4 to send; and delaying messages
if you have more. That way, you don't have to trust in the last
remailer to do the right thing. Best of all, this kind of
"constant-volume padding" is the best currently known way to resist
end-to-end traffic analysis.
[...]
[Nick]
>> Hm. Why does he do this? *If* the user's *only* concern
>> is not to have all of his messages arrive at the same time,
>> he could choose chains of different lengths. That way, no
>> remailer would get any information about the user's desired
>> latency.
["Max"]
> Yes, but by shortening the chain one compromises one's security.
> By lengthening the chain, practically speaking, one decreases reliability.
> One can compensate for the latter by sending out replicate messages, but
> /that/ increases a user's visibility,
> and makes him stand out. As such that's a security risk in and
> of itself.
Well, the best answer here seems to be increasing reliability of
long chains. If long chains don't work, then that's a bug in the
software or a symptom of an unhealthy network. Though we find bugs
from time to time, I am cautiously pleased with the reliability of
Mixminion, and I believe that the reliability will increase in
future releases, with the addition of chain pings and more
sophisticated network probing techniques.
[...]
> I don't think that you can escape the need for latent-time directives.
> First of all, there will /always/ be something the attacker can "partition"
> on---in the scenario above I assumed
> (and forgot to state) is that the attacker recognizes that those
> 20 messages are, say, cleartext, in a recognizable writing stype
> or PGP-signed, and posted to /one/ newsgroup (or mailed to one
> individual). In short, that they're all from one person. That
> alerted the attacker that "these 20 posts came from just one,
> and only one, individual".
Well, sure. If the user is already making her messages fully
linkable, then any further partitioning _at the last hop_ can't hurt
her any further. (Arguing a "need for" seems dubious; the
constant-padding strategy at the head of this message should work
better than any latent-time-based strategy can.)
But this solution is no good if the user _doesn't_ want to be
linkable. Simply because some people are okay with linkability,
doesn't mean that we should push for a solution making them all
linkable.
Also, if the user only uses latent-time at the last hop, then she
has to trust the last hop won't try to do timing attacks against
her. If she wants to make some of her messages unlinkable (for
example, she wants to use one pseudonym on a.p.a-s and another
pseudonym on rec.arts.sf.written), then using the same latent-time
strategy in both cases will hurt her again.
[... talking about papers about end-to-end traffic analysis ...]
> Interesting. Because I've wondered about that for a long time,
> and this is one of the reasons I prefer latent-time directives
> in mix chains.
Sorry ... *what* is one of the reasons? I don't think that any of
those papers under discussion make any argument about latent-time
style stuff at all.
[...]
> Let me put it this way. If the NSA cracks this nut, then they
> can probablistically trace anyone who sends a certain number of
> messages in a short enough time period through the network to a
> destination. Once they have that determined, they'll always know
> who that person is even though he doesn't send that number of messages
> every time.
This attack is, more or less, described in the papers I referenced
in the last message. The research community is working very hard to
understand how hard it is. The current answer seems to be that
under some circumstances, it works well; under some circumstances,
it can be made to so long that it might as well not work at all. We
are beginning to understand approaches to tuning our networks and
our client software so as to slow down these intersection attacks.
As far as I know, there is no research whatsoever suggesting that
latent-time actually provides the protection that you seem to think
it does, in spite of the attacks I'm worried about. If you know of
any, please tell me!
> Now, would this be harder than doing partioning attacks based on
> latent-time directives? Who can say? If no one can say, then why
> not leave the choice up to the user, who is the one who's at risk?
This seems to be the entire crux of your argument: That if we aren't
completely sure whether option A is better than option B, we should
design our software to force users to pick between the two options.
I tried to argue before about why I believe this is often a bad
idea. You disagreed. I'll try to argue it again.
[... I'm skipping some points you made about other partitioning
opportunities that, you say, must necessarily exist. Some of
them (I agree) are inevitable; some of them are more
avoidable than you think. If you want to revisit any of these
points, let me know; I want to get to what I think of as the
meat of your argument. ]
> (One of the things that would help with eliminating differences
> in remailer choice is to integrate stats pooling into remailer
> clients---have remailer cleints be able to retrieve and to
> integrate the results of several stats sources. That would
> reduce users or clients favoring some remailers over others
> just by the choice of stats source.)
(A feature very much like this is scheduled for Mixminion 0.0.8.
Instead of clients using multiple stats sources, stats sources
themselves may choose to vote on a set of reliability results. It
turns out that doing it at the client side makes matters worse:
instead of having N stats sources that clients might use, you
suddenly have (2^N)-1 combinations of stats sources.)
[...]
>> (There are analogies in economics; sometimes, it's
>> beneficial to do exactly what's best for you, and sometimes
>> it's better for you to do what everyone else is doing so
>> you can take advantage of scale effects.)
>
> OTH, PGP comes with the implementation of various ciphers
> in it, on the philosophy that if one is discovered to be
> compromised or flawed then users could quickly switch to
> another.
I'm going to spend a lot of time on the above paragraph, because I
think it shows exactly where we disagree, and it shows an important
argument about how anonymity is different from encryption that I
really want you to understand.
PGP's goals are very different from a remailer network's goals.
Suppose that Alice and Bob are the only two people in the world who
own a copy of PGP: even if nobody else is using it, they can still
send encrypted messages to each other. What's more, the messages
they send each other are *just as encrypted* as if everyone were
using PGP. Even with few users, PGP would be useful.
Now suppose Alice and Bob are the only two people in the world who
are using Mixmaster. In this case, they're in trouble: even if
Mixmaster is 100% successful in anonymizing their messages with
respect to one another, an attacker can trivially deduce that any
message from the Mixmaster network _must_ come from Alice or Bob.
Without more users, Mixmaster would be useless.
This is why what's good for PGP isn't necessarily good for
anonymity: If I'm the only guy who's using PGP with
cipher/digest/compression TWOFISH/RIPEMDD160/Uncompressed, my
messages would still get compressed, encrypted, and authenticated.
But if I'm the only who's using cpunk with those PGP settings, then
I'd get no anonymity at all.
Even if I like this ciphersuite better than any other, I cannot
possibly make an informed decision about which ciphersuite to use
without knowing which ciphersuites other people are using. In fact,
unless the most popular ciphersuite is completely insecure, I am
probably better off using that one than using one I like better, if
it will allow me to hide among more users.
I think this holds for any reasonable threat model: any intelligence
agency with the cryptographic resources to break block ciphers that
the everyone else thinks are safe, *certainly* has the eavesdropping
capability to notice messages with unusual properties as they travel
through the network. After all, _we_ know how to do the latter!
> If AES was discovered to flawed, where would remailing stand
> once we've switched to Type III? How long would it take before
> a new cipher could be implemented into the protocol?
Less than one day, I think. I'd have to change one line in
aes_ctr.c and increase the packet version number from (0,1) to
(0,2). That's it for the software.
Next, I'd talk to all the other directory administrators, and tell
them that the protocol version had changed, and why. We'd then have
the next stats that went out include a note that the old version was
insecure, and that an upgrade was recommended. The next time you
sent a Type III message, you'd get a warning message saying that you
were using insecure software, and that you should consider
upgrading. Then you could decide whether to upgrade, depending on
whether you trusted your software providers, the software
maintainers, and so on.
> Aren't you worried about putting all your eggs in the AES
> basket? (Not that I have anything against AES, mind you).
Not particularly. As I discuss above, and discuss more below, I
think we do a disservice to our users by providing too many protocol
flavors.
What's more, based on the ways that block cipher vulnerabilities
have been discovered in the last 30 years, I think that we have
enough defense in depth to give us time to switch if any
vulnerabilities are noted.
Usually, the first vulnerabilities that are publicized in real block
ciphers (discounting junk ciphers that get thrown away early) are
comparatively difficult, and still require many blocks of data for a
given key before they can succeed. The way that the Type III
protocol works, no AES key is used to encrypt more than 28K of data
- -- that's less than 2^11 AES128 blocks. For a little perspective,
if there were a way to break AES128 with 2^110 chosen plaintexts,
that would be considered a major weakness in the theoretical
community.
So while we can't be certain about anything in the world, I am
pretty sure that, given the ways we use it, AES isn't our weakest
link by a long shot. (Right now, I'm more worried about
undiscovered OS vulnerabilities.)
[...]
>> So it seems pretty clear that we need to consider user
>> options in a case-by-case basis, right? We won't get
>> anywhere asking "Is choice good or bad?" Clearly, some
>> choice is necessary, and some choice is useless and/or
>> harmful.
>>
>> As for latent-time, I think that _for the uses you describe
>> above_, it is not the best choice we have. But if I am
>> wrong, please try to persuade me otherwise.
>
> Well, I gave it my best shot. I believe that latent-time
> allows one to control the distribution of the arrival of
> one's messages without having to decrease chain length
> (risking security) or increase chain length (risking
> reliability). I also tend to believe that since it's the
> users who are at risk, whether or not they have choices
> concerning remailer directives should be left up to them, unless
> something is reasonably demonstrated to be insecure. That
> is my general philosophy about this.
My philosophy is different than yours, and I'll try to explain why.
First, I still think that as a user, you have better options than
latent-time for changing your message arrival times; and also that
the negative effects of pooled message arrival time on security are
far, far better understood than effects of message arrival time
adjusted by latent-time. In order to get latent-time into Type III,
your best bet is still, like I said before, to analyze it. I
respect your intuitions here that your attacks are worse than mine,
but in the end, you have to expect that the Type III designers will
trust their own intuitions more than they trust yours. When
intuitions disagree, it has to come down to math, or at least some
other
But hey, maybe other people would agree with you more than with me.
Post your arguments to the mixminion-dev list, and maybe you'll one
of the other designers that we're wrong here. (On-topic anonymous
postings are definitely allowed.)
But as for your "let users make the choice" argument, I think you're
wrong, and here's why: It is, to my way of thinking, a cop-out for
programmers and protocol designers to tell their users "I don't know
whether this option is safe or not; you decide." Here's what I
think what happens when they do that:
- 95% of users will use whatever default ships with their
software, if it seems to work.
- Of the remaining 5% who think about the issue, 95% of them will
not take the time to think about it as much as you and I --and
the rest of the academic/hacker anonymity community-- have
thought about it.
If I were a human rights worker, a journalist, my grandmother,
or whatever, I wouldn't be happy to be offered a choice like
this: if I understood what's going on, I'd be pissed off to be
forced to take make a choice that the anonymity community can't
decide how to make.
(Some people in this group will _think_ they understand the
issues when they don't, and choose option values which they
think will confuse their adversaries, but which will just make
them stand out more.)
- The remaining 0.25% of us who _do_ understand the issues will
realize that just _having_ an option to be secure isn't good
enough: we'll want people to be anonymous by default, so that
we can hide in a large set, and be anonymous too.
That's why we'll argue on a.p.a-s, on mixminion-dev, in papers,
and at conferences. That's why we're talking now. That's why
I desperately want to be convinced that I'm wrong when I'm
wrong.
So:
- If the default is good, then nearly all users get good
anonymity. The only people who use are those who think they
understand the issues, but don't.
- If the default is bad, then at least 95% of the users are worse
off. The other users have to decide whether it's better to
hide among the 95% of the users with the bad default, or to
form a smaller anonymity set with better settings. In any
case, they're all worse off than if the protocol had done the
right thing; their best answer is to change the protocol, not
change the way they use it.
Yes, giving users good choices is good, when those choices are
between good options. But I believe that, if we (the anonymity
community) want to give people good software, it is a cop-out and a
disservice to our users to force them to answer questions that we
ourselves can't answer. Anonymity is supposed to be for everybody,
not just people who can make software configuration decisions better
than the software designers.
So let's try to _answer_ this and other questions, and not just fob
them off on the future.
Hmmm. How could we simulate this? I'll tell you what -- please
read the papers I linked you to. If you want me to run another
simulation of particular latent-time strategies versus other
strategies for traffic analysis resistance, I'll try to do it. That
way, we can try to make software that _always_ does the right thing
for everybody.
yrs,
- --
Nick Mathewson <Q nick Q m at freehaven dot net>
Remove Q's to respond.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA9vnJzgimHDtOLu4RApuMAJ4njMp+hX2L9TA0ntwGVxpypzmlvgCfVANi
9/gW6y2uwAPAK8EQWzha8DI=
=Shbs
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<slrncfdug6.99t.QnickQm@totoro.wangafu.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!wns13feed!worldnet.att.net!attbi_s52.POSTED!53ab2750!not-for-mailReferences:
<Pine.LNX.4.58.0406300204510.8803@thetis.deor.org> <2D40LZVC38169.3913078704@anonymous.poster> <cc1ieu$sat$1@bananasplit.info> <e7ae862e5a06ddccdb88aa9d80cd9a67@remail.amessage.info> <slrncemdh0.99t.QnickQm@totoro.wangafu.net> <ba281bf8e907df0b59c374ee18355be4@remail.amessage.info>Show Full Headers
Complete Article Headers
Message-ID: <slrncfdug6.99t.QnickQm@totoro.wangafu.net> Subject: Re: Mixminion and latent-time [was Re: Attn Mr. Sassaman] Date: Thu, 15 Jul 2004 21:41:55 GMT From: Nick Mathewson <QnickQm@freehaven.net> References: <Pine.LNX.4.58.0406300204510.8803@thetis.deor.org> <2D40LZVC38169.3913078704@anonymous.poster> <cc1ieu$sat$1@bananasplit.info> <e7ae862e5a06ddccdb88aa9d80cd9a67@remail.amessage.info> <slrncemdh0.99t.QnickQm@totoro.wangafu.net> <ba281bf8e907df0b59c374ee18355be4@remail.amessage.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!wns13feed!worldnet.att.net!attbi_s52.POSTED!53ab2750!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Frunobulax User-Agent: slrn/0.9.7.4 (Linux) Lines: 368 NNTP-Posting-Host: 65.96.172.12 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s52 1089927715 65.96.172.12 (Thu, 15 Jul 2004 21:41:55 GMT) NNTP-Posting-Date: Thu, 15 Jul 2004 21:41:55 GMT