🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AAM hSub Interpreter / @is-not-my.name

#239971
From: Zax
Date: Mon, 26 Jul 2010 10:34
165 lines
10471 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Mon, 26 Jul 2010 10:21:02 +0200 (CEST), Nomen Nescio wrote in
Message-Id: <3d3c12dfa7802a3bf5e435c912505eb8@dizum.com>:

> You should try to use the same terminology each time you describe the
> technology! Earlier in this thread you said, "Also, from a usage
> perspective, hSub only requires the Secret (Subject) whilst eSub
> requires a Subject and a key (Encrypt-Key)." You're obviously saying
> the same thing right here, but you've switch the words around.
Probably, it's difficult to use the same terms in every context when
eSub and hSub both have a Subject, but in hSub the Subject is also the
key whilst in eSub it isn't.

> It confused me at first. hSub requires a secret SUBJECT. I took today 
> to try and understand what you've said throughout here. I looked into 
> both hSub with your new nymserver and hSub via Type1 remailer. I see 
> with your nymserver, the problem of leaking the subject is not 
> possible. That's excellent. However, with the remailer, the secret 
> subject _is_ stored in the Subject field of the message header. The 
> situation of possibly leaking the subject for the reason I said 
> before exists.
I'm not really getting your point here.  The secret is *never* stored in
the Subject header.  If you mean, it's stored on the Nymserver then
that's absolutely correct.  Both eSub and hSub work on the principle of
a secret shared between client and server.

> You're simply looking at this from the point of view you've developed 
> over the time you've been working on the project. The 3rd element in 
> eSub, the password, does serve some purpose.
> 1) a leaked subject is of no consequence.
But how is the Subject going to leak without the key leaking at the same
time?  They are never transmitted unencrypted over the wire so the only
leak is going to come from the client or Nymserver who posses both.

> 2) without the secret eSub password the adversary cannot find messages
> with a given subject.
I think the term Subject is causing a lot of confusion.  The Subject is
simply the header field used to store the eSub/hSub.  I know Type-I
uses Subject as one of the Reply-Block fields which doesn't help
matters much. In the context of eSub, you might think of Subject and
Encrypt-Key as Passphrase1 and Passphrase2.


> 3) confusion caused by another nym having the same subject is eliminated.
Not really.  If you choose Subject=Sword and Encrypt-Key=fish, you have
the equivalent to a passphrase of "Swordfish".  The chance of two nyms
having a colliding eSub is determined by the combined strength of
Subject + Encrypt-Key.

>> Why is it bad?  All it does is to demonstrate that the Nym actually
>> exists; messages go in and messages come out in a.a.m.  In fact even
>> this could be hidden if I configured the server to post a dummy to a.a.m
>> when a message arrives for a non-existent Nym.
>
> I think you missed my point. Yes, they know the nym exists. There was 
> an increase in the number of messages with the given subject. It 
> links the nym with the messages.
Yes, but only because the attacker injecting the messages *knows* he's
sent them all to the same Nym.  When another message arrives in a.a.m,
he will have no means to link it to any specific Nym, including the one
he's attacked.

> Yes, I understand, and even in the scenario I'm describing there is 
> nothing to connect the user with the nym. But still, what they have 
> is more than what we would like. Certainly, if you feel it's 
> important enough to trim hsub subjects for the purpose of blending in 
> in a.a.m then you must realize that if an adversary has your subject, 
> you are partitioned to a group of probably one.
Of course.  The Subject is the passphrase so if it's known to an
attacker then he can observe which a.a.m messages belong to that
specific (but still anonymous) user.

The reason for blending eSub and hSub is to keep all Type-I messages to
a.a.m in the same anonymity set.

>
>> With conventional Nyms, the attacker has other weapons in his armoury as
>> each Nym has messages delivered through specific (and potentially
>> unique) reply-blocks.  This doesn't link the Nym name to any real person
>> but it does potentially link messages to a specific Nym.
>
> And linking messages to a nym is what I'm talking about. But, of 
> course, the adversary needs to know the subject AND suspect some nym 
> in the first place. But that's how these things happen. A series of 
> small errors can eventually give up the owner. They could even flood 
> all is-not-my.name nyms to find the one using the subject they have. 
> Spam addressed to the nym would not be too suspicious.
The scenario you're describing is one where the attacker has somehow
obtained an eSub (or hSub) Subject/Key.  At that point, he wins to the
extent that he can link all the messages for that Nym.  The only defence
against that is not to use eSub or hSub and just try decrypting all the
messages in a.a.m.

> I think you're very wrong when you say the eSub password serves no 
> purpose--and the purpose cannot be duplicated be combining 2 
> passwords into the hSub subject. It's the fact that the password is 
> never in the message subject header that means it will never be 
> leaked in the way the hSub subject could.
Nothing is in the Subject header except a hash and a random number.
Both eSub and hSub use a one-way hash to ensure that it's
cryptographically infeasible to obtain the original from the hash.

> I believe esub was designed by Andy Dustman, Johannes Kroeger and 
> rprocess. Can you honestly still say that their design served no 
> purpose? You believe that those extremely well versed people would 
> include a level of encryption that had absolutely no good reason for 
> existence?
I'm afraid I can't answer that as the logic behind their creation of
eSub isn't published to my knowledge.  I'd speculate that at the time
they thought MD5 alone wasn't secure enough.  If the time ever comes
when a SHA hash can be reversed then we'll all have lots more to worry
about than hSub.  :)

> My overall thoughts on hSub are--barring a leaked subject--that it 
> serves the purpose well. It's a very different approach but I can see 
> it replacing eSub. It does have the slight problem of hash collisions 
> with unrelated messages, but the aam client software could weed those 
> out.
Hash collisions are easy to falsify.  You can take the Subject from any
message in a.a.m and use it on a new message.  This will cause the
Nymholder to attempt decryption of the fake message.

> I'm very impressed with your nymserver. Something I like very much is 
> that the server uses no remailers and chooses the mail2news gateway 
> itself. Those are the fragile points in the type1 nym system. With 
> your system all that disappears. The user doesn't even have to know 
> the m2n gateways. Excellent. Reliablity should be great!
Thanks, I'm hopeful that it will make Nyms easier and more reliable.
It would be much better though if a few thousand people were using it.

> A while back I pressed you with how important PGP support is. I have 
> given much thought to your efforts and the nature of your project. 
> Maybe I was wrong in this case. Simplicity is a valuable goal. Your 
> project is quite unique.
It would be great if PGP supported throw-keyid.  Currently that's the
only constraint that forces the use of GnuPG.

> Another program is required to locate the messages in a.a.m. anyway. 
> PGP could never do that. I don't know if the currently available 
> a.a.m clients actually decrypt the messages, but they could and PGP 
> would not be necessary for that purpose. Anyway, I think that if your 
> program could be considered better/simpler, more in keeping with the 
> concept, without PGP support, maybe you should think about dropping 
> it. Sorry for the blind devotion.
The support for PGP isn't something I built in, it's just there because
GnuPG and PGP are compliant with OpenPGP standards.  I just added the
option of using a Symmetric passphrase so that PGP users weren't kept
out due to the lack of support for throw-keyid.  It think it's better to
have them as partitioned users rather than to not have them as users at
all.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREKAAYFAkxNZMMACgkQlKZ6CY7Vd0OpJQCgtAmu0pZp14FmkKv8KKeIm5eD
O9YAoPzrLZedpdYoyr75ZeVarTRO/bIe
=/q58
-----END PGP SIGNATURE-----

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.mixmin.net>
Technical Details
Message-ID: <slrni4qp63.90t.admin@fleegle.mixmin.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.bananasplit.info!not-for-mail
References: <1995fb9b55f743e936f4d34c577426d9@dizum.com> <77b0d510e1ce9e13381a486d4860456b@pboxmix.winstonsmith.info> <slrni3tnrn.j4l.admin@fleegle.mixmin.net> <4c458c37$0$27997$db0fefd9@news.zen.co.uk> <slrni4b7ku.tp6.admin@fleegle.mixmin.net> <T0ZJG46D40380.4114467593@reece.net.au> <slrni4ds68.90t.admin@fleegle.mixmin.net> <82d82a80faec07f02f04a388fcb82354@dizum.com> <slrni4elg1.90t.admin@fleegle.mixmin.net> <c2f9b7c1f167d466bfdca433887f2066@dizum.com> <slrni4ijsa.90t.admin@fleegle.mixmin.net> <52ccfe490f15faa12c2c5ed0dfd32185@dizum.com> <slrni4lep5.90t.admin@fleegle.mixmin.net> <ea37e8e56efed9378df75ea91607e72f@dizum.com> <ee6dcd4351d52b8ae7c38c01f5069b9a@dizum.com> <slrni4o3sn.90t.admin@fleegle.mixmin.net> <3d3c12dfa7802a3bf5e435c912505eb8@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrni4qp63.90t.admin@fleegle.mixmin.net>
Subject: Re: AAM hSub Interpreter / @is-not-my.name
Date: Mon, 26 Jul 2010 10:34:43 +0000
From: Zax <admin@mixmin.net>
References: <1995fb9b55f743e936f4d34c577426d9@dizum.com> <77b0d510e1ce9e13381a486d4860456b@pboxmix.winstonsmith.info> <slrni3tnrn.j4l.admin@fleegle.mixmin.net> <4c458c37$0$27997$db0fefd9@news.zen.co.uk> <slrni4b7ku.tp6.admin@fleegle.mixmin.net> <T0ZJG46D40380.4114467593@reece.net.au> <slrni4ds68.90t.admin@fleegle.mixmin.net> <82d82a80faec07f02f04a388fcb82354@dizum.com> <slrni4elg1.90t.admin@fleegle.mixmin.net> <c2f9b7c1f167d466bfdca433887f2066@dizum.com> <slrni4ijsa.90t.admin@fleegle.mixmin.net> <52ccfe490f15faa12c2c5ed0dfd32185@dizum.com> <slrni4lep5.90t.admin@fleegle.mixmin.net> <ea37e8e56efed9378df75ea91607e72f@dizum.com> <ee6dcd4351d52b8ae7c38c01f5069b9a@dizum.com> <slrni4o3sn.90t.admin@fleegle.mixmin.net> <3d3c12dfa7802a3bf5e435c912505eb8@dizum.com>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org!news.bananasplit.info!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Lines: 165
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Mon, 26 Jul 2010 10:34:43 +0000 (UTC)
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Original-Bytes: 10237