🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Mixminion and latent-time [was Re: Attn Mr. Sassaman]

#171582
From: Nick Mathewson
Date: Tue, 06 Jul 2004 23:30
229 lines
11798 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!  As one of the Type III protocol designers, and the lead
developer on Mixminion, I hope I can address your questions below.

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.)

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.

 [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.

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.

> 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'.)
> 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-disclosure
 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.

> 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.

 [...]
> 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.

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.

(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.)

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.

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)

iD8DBQFA6zX6zgimHDtOLu4RAmzWAJ9guonBUzN+nVsoV6MoiX8vSC6siwCfZNgA
C2CYg9lyLHvoZaHnD+nz598=
=RWWR
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <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-de.comp.hardware.netzwerke.misc.20141024.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!wn14feed!worldnet.att.net!attbi_s54.POSTED!53ab2750!not-for-mail
References: <Pine.LNX.4.58.0406300204510.8803@thetis.deor.org> <2D40LZVC38169.3913078704@anonymous.poster> <cc1ieu$sat$1@bananasplit.info> <e7ae862e5a06ddccdb88aa9d80cd9a67@remail.amessage.info>

Show Full Headers
Complete Article Headers
Message-ID: <slrncemdh0.99t.QnickQm@totoro.wangafu.net>
Subject: Mixminion and latent-time [was Re: Attn Mr. Sassaman]
Date: Tue, 06 Jul 2004 23:30:50 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>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-de.comp.hardware.netzwerke.misc.20141024.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!wn14feed!worldnet.att.net!attbi_s54.POSTED!53ab2750!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Frunobulax
User-Agent: slrn/0.9.7.4 (Linux)
Lines: 229
NNTP-Posting-Host: 65.96.172.12
X-Complaints-To: abuse@comcast.net
X-Trace: attbi_s54 1089156650 65.96.172.12 (Tue, 06 Jul 2004 23:30:50 GMT)
NNTP-Posting-Date: Tue, 06 Jul 2004 23:30:50 GMT