Article View: alt.privacy.anon-server
Article #171620Re: Mixminion and latent-time [was Re: Attn Mr. Sassaman]
From: Max Mustermann
Date: Wed, 07 Jul 2004 18:40
Date: Wed, 07 Jul 2004 18:40
377 lines
17893 bytes
17893 bytes
Nick Mathewson <QnickQm@freehaven.net> wrote in
news:slrncemdh0.99t.QnickQm@totoro.wangafu.net:
> Hello! As one of the Type III protocol designers, and the
> lead developer on Mixminion, I hope I can address your
> questions below.
First of all, Nick: thank you for the response. Very few
seem to read apas any more. But I wanted to vent some spleen
over this.
> In article
> <e7ae862e5a06ddccdb88aa9d80cd9a67@remail.amessage.info>,
> Max Mustermann wrote:
>> Zax <fleegle@bananasplit.info> wrote in
>> news:cc1ieu$sat$1@bananasplit.info:
>>
>>> On 1 Jul 2004 14:23:29 -0000, Anonymous wrote in
>>> Message-Id: <2D40LZVC38169.3913078704@anonymous.poster>:
>>>
>>>> Mixminion doesn't have latent time. Without this
>>>> directive it is inherently insecure and should not be
>>>> used
>>
>> I would agree that this is a flaw. See below.
>
> Just a note: from the original two-line anonymous post, you
> might get the impression that the only reason Mixminion
> doesn't do "Latent-Time" is because of some kind of
> permanent "Thou Shalt Not Implement Anything Resembling
> Latent-Time" policy written on sacred stone tablets, around
> which we dance and pray.
>
> This is not the case.
>
> Mixminion is under development; there are a _lot_ of things
> it doesn't do. Right now, there are no concrete plans for
> anything like latent-time, and there -are- arguments
> against using Latent-Time and Max-Date (as Reliable does)
> as a substitute for stop-and-go-mixes. Zax lists them
> pretty well below. (Basically, when it comes to mixing
> messages with each other, timed dynamic-pool mixes do
> better than the combination of Latent-Time and Max-Date
> used by Reliable today.)
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.
> But people may have additional reasons to see that their
> messages arrive at particular times. (For example, I might
> want a message to arrive at midnight, and not a moment
> before.) This is what something resembling Latent-Time
> *might* be good for. *Might*.
>
> Here's what needs to happen for something like Latent-Time
> to get into Type III or Mixminion officially.
>
> - Convince people on mixminion-dev that it's a good idea,
> and
> that it will help more than it will hurt. Like I said
> above, we aren't a lunatic goon squad of
> anti-Latent-Time fanatics; we're just a bunch of
> researchers, programmers, hackers, remops, remailer
> users, and other anonymity enthusiasts, all trying to
> do the right thing.
>
> - It has to be designed, specified, and analyzed. See
> the
> design paper and specification for the level of detail
> needed. There are tricky anonymity issues involved,
> after all, and arguments from intuition aren't good
> enough when people's intuition disagree.
>
> - Get somebody to implement it. That isn't me, until
> after
> 0.1.0 is released. Right now, I'm trying to work only
> on the features that are needed to implement the spec
> and design paper correctly as they stand today.
>
> Alternatively, if you don't like this process, you can
> always fork the code base and write your own *unofficial*
> version. Nobody will stop you. It's free software, and
> it's pretty well commented. If you can't program, then
> maybe you can persuade somebody else to do this. If most
> people think that you are right and the mixminion-dev
> people are wrong, they will use your software instead of
> mine.
I'm not a programmer (well, not a very good one, or one with
recent experience).
> [Zax]
>>> Mixminion uses a pooling system in the same manner as
>>> Mixmaster. Incoming messages are pooled and the remailer
>>> checks at predefined intervals to see how many are
>>> waiting.
>>> Once the number reaches a threshold, a batch of messages
>>> is released. The batch consists of a defined percentage
>>> of the total messages in the pool. These are selected at
>>> random from all those waiting to be sent.
>>>
>>> Latent time directives along with most other
>>> client-specified directives are bad; no matter how clever
>>> the function they perform, the act of specifying them
>>> makes your message look or behave differently to other
>>> messages. Stand out from the crowd and your jeopardise
>>> your anonymity.
> ["Max"]
>> How? if usenet is the destination?
>>
>> Let's assume for simplicity that all remailers have
>> approximately equal latency. Now a user sends a sizable
>> number of posts (say, 20) to a public forum like usenet.
>> Let's say he uses a fixed number of remailers in his chain
>> for each message (say 6).
>
> 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.
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.
Latent-time, at least on the last remailer in the chain, seems
the best tool for achieving what I'm talking about. Neither
security nor reliablity need suffer.
> Also, the user could chose chains containing remailers of
> different expected latencies. This could leak a little
> more information to individual remailers than the first
> method but still doesn't have the partitioning
> opportunities of misused latent-time.
>
> [Of course, if the user has a almost-always-on connection
> (cable modem or DSL), then the user can just have his
> software space out the messages for him.]
>
> So I don't think Latent-Time is necessary for this user to
> spread out his messages' arrival times.
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".
But that's also a part of secure communication, that people can
verify that it's /you/ that sent the message. No escaping that.
>> Wouldn't the random Bpooling, with no latent-time
>> directives, have the effect of having the arrival time of
>> the user's posts form a histogram?
> (I don't think you mean 'histogram'; a histogram is only
> a kind of a chart. Any 1-D frequency data can 'form a
> histogram'.)
Sorry. A frequency chart, with a predictable distribution.
>> Couldn't an attacker, using this historgram, calculate
>> within limits the length of the chain used and the time
>> that the posts were sent?
>>
>> And if a powerful adversary can watch all users, or if
>> even a less powerful adversary can watch a suspected user,
>> couldn't they tie the posts to the user by the time
>> sent/time arrived? (Even if he sent dummy traffic, he
>> couldn't send less than 20 messages).
>
> The answer to your rhetorical questions is "It Depends.
> Probably Not Always, But Probably Sometimes Under Some
> Circumstances."
>
> Actually analyzing these statistical attacks is new and
> exciting stuff. We've known about them for years, but only
> recently have people started to look at _how much_ traffic
> an attacker really needs in order to do statistical attacks
> against mixnets.
>
> Some papers that have looked at this are:
> 1.
> http://freehaven.net/anonbib/author.html#statistical-disclo
> sure 2. http://freehaven.net/anonbib/author.html#DanSer04
> 3. http://freehaven.net/anonbib/author.html#e2e-traffic
>
> The first two papers are more mathematically rigorous than
> the third; the third paper examines more "realistic"
> networks, but does so by simulation rather than
> analytically. (Full disclosure: I am a co-author on the
> third paper.)
>
> We are still a long way from having final answers here, of
> course.
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.
I don't have time to look at the stuff today (have an appointment
to run off to). But I'll check it later.
>> Note all that this changes with latent-time directives.
>> The user could fit the arrival time of his posts into any
>> distribution that he wanted. He could have all the posts
>> arrive at exactly the same time. He could widen the
>> distribution around the mode or he could narrow it. He
>> could have the distribution appear bi- or tri-modal,
>> arriving on different days, as if it were sent by
>> different users. He could do anything he wished. All the
>> attacker's assumptions go out the window because the time
>> sent/time arrived of the messages aren't based on just
>> statistics.
>
> But the question is: will a user who chooses a bi-modal
> distribution really provide any traffic cover for a user
> who chooses a normal distribution? If Quicksilver defaults
> to one strategy, and JBN defaults to another, and I choose
> to use a third ("better") strategy, am I more anonymous
> than if I used the defaults or less?
>
> You clearly have your intuitions here; I have intuitions of
> my own. But until somebody does real analysis here, we
> won't know the whether we've helped or hurt, and we won't
> know what strategy users should follow.
My intuition is that human behavior is, or at least can be,
less predictable than such statistics (or at least the variance
is very wide with human behavior). Who knows what mathematicians
the NSA has working for them on cracking this?
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.
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?
> [...]
>> So why is that not a concern? Why is user-specified
>> latent-time directives seen as a weakness, not a strength?
>> Moreover, I should remind you that by the partioning
>> attack model that /any/ user control over functionality,
>> including allowing them to chooose remailers, is "bad"
>> (else some remailers get more traffic than others). The
>> logical conclusion from this model is to allow users /no/
>> control whatsoever over their messages.
>>
>> So do you plan to implement this as well in mixminion--no
>> user control over the choice or path of remailers? And if
>> you're not, if you're going to include that "weakness",
>> then why not allow latent-time directives as well?
>
> (By "you", do you mean Zax? Zax is not a Type III
> author; he just answered a question on Usenet. As far
> as I know, Zax does not plan to implement **anything**
> in Mixminion.)
>
> Anyway, I think you have made a false bifurcation here.
> User choice is absolutely necessary: at the very least,
> users surely need to choose their messages' destinations
> and contents.
But doesn't someone choosing the same remailers over and
over and over again create opportunities for a partitioning
attack? Wouldn't ideally the traffic be spread equally
among all nodes on the network? Traffic and user choice
of remailers creates opportunities for partitioning attacks,
too. You're not elminating the opportunity for partitioning
attacks, maybe not even lessening them appreciably, by doing
away with latent-time directives.
And if you can't elminate them, then why not allow users also
to implement their own directives? Again, it's their choice,
their risk, their threat models that they're contending with.
What might be risky for a user whose threat model is the NSA
might be plenty adequate, maybe even more secure (?) for a
user who's threat model is the Co$.
(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.)
> On the other hand, not all choice is useful. For example,
> right now Type III only has one symmetric cipher, AES. If
> AES is secure[*] then adding additional (equally secure)
> ciphers would not make the system better, and would
> partition the user base without providing them any benefit.
> I shouldn't have to choose between
> Twofish,Blowfish,CAST,IDEA,AES,3DES,RC4,RC6, and so on,
> especially when choosing any option but the default would
> make my messages stand out from the rest of the pack.
>
> [*] And even if I were convinced that AES were insecure
> against the NSA, then I'd lobby the Type III
> designers to use something else instead; it would
> do me no good to have the option of use whatever
> cipher I thought the NSA couldn't break, if they
> could trace my messages as one of the few who used
> that cipher.
I'm not sure about that. I agree that it's a problem, however
if the NSA /could/ break AES then ALL remailer traffic becomes
transparent to them, no? Moreover, users could decide, even
be encouraged, to change the cipher each day, or every message,
or whatnot. Client software could even be created or modified
to allow for random cipher choice with each message. So maybe
the mix of ciphers being used would be about the same every day.
> (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.
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? Or will
the older Type I and Type II be continued along with Type III
for that very reason, as less secure "backups"?
Aren't you worried about putting all your eggs in the AES
basket? (Not that I have anything against AES, mind you).
> 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.
Technical Details
Message-ID:
<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.mbox.zip!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!irazu.switch.ch!switch.ch!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!newsfeeder1.noc.eunet-ag.at!news.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2newsReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <ba281bf8e907df0b59c374ee18355be4@remail.amessage.info> Subject: Re: Mixminion and latent-time [was Re: Attn Mr. Sassaman] Date: Wed, 07 Jul 2004 20:40:37 +0200 From: Max Mustermann <anonymous@remail.amessage.info> 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> 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.mbox.zip!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!irazu.switch.ch!switch.ch!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!newsfeeder1.noc.eunet-ag.at!news.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2news Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at <support@mail.amessage.info>. Newsgroups: alt.privacy.anon-server Mail-To-News-Contact: postmaster@nym.alias.net Organization: mail2news@nym.alias.net