🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: dizum nym server esub (was: Dizum Nym Server Confirmation)

#252089
From: Zax
Date: Fri, 25 Nov 2011 13:18
63 lines
3745 bytes
On 25 Nov 2011 01:32:06 -0000, Kulin Remailer wrote in
Message-Id: <03EO7KWD40872.3972916667@reece.net.au>:

> I am hoping that someone here has sufficient understanding of this process to 
> explain it clearly to my apparently dense self.  I will rephrase it plainly 
> again.
>
> The goal is to identify the steps necessary to decipher the subject when it has 
> hsub encoding, using some sample data from one of the a.a.m. group messages.  
> In my conversation with Zax, this was said:

Let's go back to basics.  I think the binary/hex/text conversion stuff
is confusing the issue.  Those steps are only required because various
tools require differing input/output formats.

First off, there is really no such process as checking an hSub.  It's
based on a one-way hash so there is no deciphering it.  The difference
between generating and checking is that in the first instance, the hsub
is generated using a passphrase and a random string.  In second, it uses
a passphrase and a known string.

The formula for a hsub is simple:
v + sha256(v + p)
v = 8 bytes of random data
p = passphrase

For an example:
v = abcdefgh
p = password

This give us:
abcdefgh + sha256(abcdefghpassphrase)

sha256(abcdefghpassphrase) =
300666c1934b32aa47966e2c1790bc5cc198cf590da3d1a4acf1bc9d645cc29e

As we want the whole thing expressed in hex, we also convert our v
(abcdefgh) to hex, which is: 6162636465666768

Join the two hex outputs together and you get:
6162636465666768300666c1934b32aa47966e2c1790bc5cc198cf590da3d1a4acf1bc9d645cc29e

We finally trim that to 48 chars so it looks like an eSub:
6162636465666768300666c1934b32aa47966e2c1790bc5c

That's it for creating an hSub.  Now we want to validate one.  We'll
take the one generated above.

Same formula:
v + sha256(v + p)
Except instead of v being randomly generated, we know it because it's
the first 16 digits of the hSub we're checking:
6162636465666768
We decode this back to bytes (because the sha256 function expects it):
abcdefgh

The final formula is:
abcdefgh + sha256(abcdefghpassphrase)
Notice that this is the identical formula to the one we used to generate
the hsub.  As a result, the output is also identical (after trimming):
6162636465666768300666c1934b32aa47966e2c1790bc5c

We have a hash collision, the message belongs to us.
Technical Details
Message-ID: <slrnjcv5dm.29o.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
References: <G4ZWEK6E40834.1709490741@reece.net.au> <P45FGO7V40834.3307523148@reece.net.au> <slrnj9qsph.3ue.admin@fleegle.mixmin.net> <J7OCJWNL40835.1003819444@reece.net.au> <slrnj9t2c7.ll3.admin@fleegle.mixmin.net> <KLATCQHN40836.0473032407@reece.net.au> <68c6213a3306e8d7e7c2b7bac0507003@dizum.com> <slrnja517h.ll3.admin@fleegle.mixmin.net> <03EO7KWD40872.3972916667@reece.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <slrnjcv5dm.29o.admin@fleegle.mixmin.net>
Subject: Re: dizum nym server esub (was: Dizum Nym Server Confirmation)
Date: Fri, 25 Nov 2011 13:18:46 +0000
From: Zax <admin@mixmin.net>
References: <G4ZWEK6E40834.1709490741@reece.net.au> <P45FGO7V40834.3307523148@reece.net.au> <slrnj9qsph.3ue.admin@fleegle.mixmin.net> <J7OCJWNL40835.1003819444@reece.net.au> <slrnj9t2c7.ll3.admin@fleegle.mixmin.net> <KLATCQHN40836.0473032407@reece.net.au> <68c6213a3306e8d7e7c2b7bac0507003@dizum.com> <slrnja517h.ll3.admin@fleegle.mixmin.net> <03EO7KWD40872.3972916667@reece.net.au>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Fri, 25 Nov 2011 13:18:46 +0000 (UTC)
Injection-Info: news.mixmin.net;
 posting-host="fleegle.mixmin.net:81.187.219.202";
 logging-data="19319"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-26 (Linux)
Lines: 62