🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Collisions

#255433
From: Anonymous Remailer (austria)
Date: Fri, 23 Mar 2012 23:59
168 lines
6444 bytes
In article <af6eed479772ad516580953695cb8806@dizum.com>
Nomen Nescio <nobody@dizum.com> wrote:
>
> > >> If you mean, it identifies messages as belonging to you but you can't
> > >> decrypt them, that's possible, although very unlikely.
> > >
> > >   The last statement is what I mean.
>
> > The full hsub is based on a 256bit hash.  In a.a.m it's trimmed to 128
> > bits so as to blend it with an esub.  That gives you about 3.4*10^38
> > permutations.  The total number of possible hsubs is much higher
> > (6.3*10^57).  This is due to 64bits of entropy prepended to the hash.
>
> > It's one of those cryptology favourites where the odds of a random
> > collision are so small that our universe is unlikely to be around long
> > enough for it to happen. Then again, it's as likely to happen tomorrow
> > as any other day.
>
>   Well, it must be my hsub script giving the false alarm.  If not,
> I need to become a professional gambler.

i believe it unlikely for you to find collisions using my method to 
identify your hsub, which was explained at length in this posting:

Message-ID: <81402QOY40980.236400463@reece.net.au>

And look at one poster's follow-up here: Message-ID: <E72FV86S40981.1084259259@reece.net.au>


in a nutshell:

If we have Thunderbird to look at the messages in "alt.anonymous.messages"
and we have the add-on called ImportExportTools, it is a simple matter to
find the hsub.

1. Open the newsgroup and select the group of messages you want to search
through.

2. Right-click for the context menu and choose Save Selected Messages to
CSV index file.

3. Browse to the folder where you want to save it and click OK.

4. Now your index.csv file is ready and you just put the password file
named "hsubpw" into the same folder, along with your batch file below.

5. Open the Windows command shell to that directory and run the batch
script.

6. That's it.  No questions to answer.  When it's finished, it gives you a
results.log to show if any of the message subjects matched your hsub.



I think one of the nicest parts of it is that any method can be used to
retrieve the messages or to make the CSV file. Once we do that, we can use
the batch file.  It really is a simple matter to get the other two open-
source programs your batch file uses, since you provided the links to them
in your message.  Presto.  Rooster, I know you like to be thorough, but
sometimes you make things sound more complicated than it really is.



> Here is an example of what a standard CSV file might look like:
>
> "1afc723efde290bcfb96caeeb9066408fa201f3e24a1cce8","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 2:30, ,
> "1d3f2d72dd418681b9c014485c7ff00497348676a3b4434d","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 2:48, ,
> "1daa636a28e1b88d877bcf607ec8cc25d205f86de019a9ca","Anonymous <nobody@mixmin.net>","alt.anonymous.messages",2/21/2012 3:58, ,
>
>
> Here now is the revised script for Rooster's hsub finding procedure. Just copy and save it as
> a text file and named "Rooster2.bat" Feel free to ask any questions you may have.  muchas
> gracias.
>

-----------------------------Rooster(2.2).bat------------------------------
-

@echo off
echo.
echo  Beginning Rooster's hsub (2.2) searching procedure.
echo.
echo.

if not exist hsubpw (
echo: There is no password file named hsubpw. Aborting procedure.
goto EOF
)

echo.
echo  Creating file names from index...
echo.

setlocal enabledelayedexpansion
for /F "delims=," %%I in (index.csv) do echo:%%I>>filenames
for /F "" %%J in (filenames) do (
set name=%%J
echo !name:~1,-1!>>noquotes
)
move /y noquotes filenames

for /f "tokens=*" %%M in (filenames) do (
(echo %%M|find " ">>spaces)||(echo %%M>>nospace)
)
move /y nospace filenames

for %%g in (^& ^< ^> ^| ^^ ^( ^)) do @echo:%%g>>badstuff
findstr /v /g:badstuff filenames >noprob
move /y noprob filenames

echo.
echo  Removing bad file names...
echo.

FOR /F "" %%K in (filenames) do (
set z=%%K
echo !z:~0,16!>>hex16list
)

rem: creating temporary binary file from 8 bytes of hex
echo  Generating binary data from hsubs...
echo.
setlocal
for /f "" %%X in (hex16list) do (
echo %%X|c:\cygwin\bin\xxd.exe -r -p - randnum-out
for /f "tokens=*" %%P in ('type hsubpw') do call:sub3 "%%P"
)
goto jump3

rem:concatenating passwords to end of ascii code in temp file; and making 
sha256 hash
:sub3
echo  Creating hash digest. This can take a while depending on number of 
files...
echo.
copy randnum-out combined >nul
<nul set/p z2=%1>>combined
java -jar c:\progra~1\jacksum\jacksum.jar -a sha256 -g 16 -O outfile -F 
#CHECKSUM combined
for /f "" %%R in (outfile) do echo %%R>>hex32list
goto:eof

:jump3

for /f "" %%S in (hex32list) do (
find "%%S" < filenames >>result.log
)

echo.
echo  Cleaning up...
erase /f/q hex16list randnum-out hex32list
erase /f/q outfile badstuff noprob spaces
type nul>hsubpw
type nul>combined
erase /f/q hsubpw combined
echo.
echo.
echo  Finished processing. Check the result.log for any matches.
echo.
:EOF
------------------------------------------------------------------



-- 
rooster@thechickencoop.net
Technical Details
Message-ID: <7c39ed49e91c7fd357850742139d8c1f@remailer.privacy.at>
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!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <slrnjmk8u1.t1h.admin@news.mixmin.net> <af6eed479772ad516580953695cb8806@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <7c39ed49e91c7fd357850742139d8c1f@remailer.privacy.at>
Subject: Re: Collisions
Date: Fri, 23 Mar 2012 23:59:46 +0000
From: "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
References: <slrnjmk8u1.t1h.admin@news.mixmin.net> <af6eed479772ad516580953695cb8806@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!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
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 <abuse@remailer.privacy.at>.
Newsgroups: alt.privacy.anon-server
Lines: 169
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Original-Bytes: 6159