🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Rooster's Method of batch decryption

#251772
From: Kulin Remailer
Date: Sat, 05 Nov 2011 05:50
107 lines
6018 bytes
In article <LKDK9NTG40852.3644444444@reece.net.au>
Rooster <remailer@reece.net.au> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> In article <9fbcab964528188aea386a9455bd825f@dizum.com>
> Nomen Nescio <nobody@dizum.com> wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > In article <PH9ADIIW40846.5791666667@reece.net.au>
> > Rooster <remailer@reece.net.au> wrote:
> >
> > [snip]
> >
> > > - ------------------------
> > > @ECHO.
> > > @ECHO Beginning Rooster's Method for batch decryption:
> > > @ECHO.
> > > RENAME *.txt *.asc
> > > @ECHO off
> > > IF errorlevel 1 GOTO EOF
> > > SET "pword="
> > > :variable
> > > SET /p pword=<password-file
> > > IF NOT DEFINED pword GOTO endprocess ELSE GOTO decipher
> > > :decipher
> > > FOR %%G IN (*.asc) DO echo %pword%|gpg --batch --passphrase-fd 0 --decrypt-files
> > > %%G
> > > FOR /F "skip=1" %%A IN (password-file) DO @echo %%A>>password-file2
> > > IF NOT EXIST password-file2 GOTO endprocess
> > > ATTRIB -R password-file
> > > MOVE /y password-file2 password-file
> > > GOTO variable
> > > :endprocess
> > > ERASE /f password-file
> > > ECHO There are no more passwords in the password-file.
> > > SET "pword="
> > > ECHO Your messages, if any, have been deciphered.
> > > ECHO Removing undeciphered messages...
> > > ERASE /f *.asc
> > > :EOF
> > > ECHO The batch processing has finished.
> > > - -----------------------
> > >
> > > During the batch process, here is what happens basically:
> > >
> > [snip]
> >
> > > 8.	this same loop of trying each password against each message and discarding
> > > the individual passwords after each complete pass will resume until all the
> > > passwords are gone.  Actually it moves fairly quickly, just depending on how
> > > many messages you have and how many passwords are in your list.
> >
> > [snip]
> >
> >
> > I believe I will be able to come up with some other refinements of my batch
> > decryption method, and I will share them here.  It's always nice to have
> > alternatives.  Thanks.
>
> Following the method I explained above, you will have put a 'password-file'
> containing your list of passwords into a folder with the batch of messages you
> downloaded from a.a.m., and then you will have run the batch program in order to
> have it decrypt all of your messages. if you had any messages in the downloaded
> batch, only these will remain in the folder after the first pass.  (Recall that
> the batch procedure deletes all of the remaining undeciphered messages, those
> messages whose outer later of encryption could not deciphered by any of the
> passwords included in the 'password-file'.)
>
> If we assume that this initial pass included some messages for you, which were
> likely encrypted with symmetric passwords on top of your public key encryption,
> then the first bunch of messages that you would get will still be encrypted with
> the second layer of encryption--that is, the public key encryption.  probably,
> if you do in fact retrieve any messages, you would get just a few in most cases,
> perhaps only one.  These few messages will have your public key encryption on
> them.
>
> if you got only one message or you use only one password for your public key
> encrypted messages, it will be a simple matter to decipher these messages. there
> is a couple of ways to do so, but first you should add the '.asc' suffix to the
> messages so that gpg can recognize them.  you can rename them at once with this
> command:  "rename *. *.asc".  then you can use gpg to decipher them with the
> command i showed you earlier at the Windows shell prompt:
>
> FOR %G IN (*.asc) DO echo <passphrase>|gpg --batch --passphrase-fd 0 --decrypt-files %G
>
> you just need to replace <passphrase> with your secret password. if you want to avoid having your password appear on the monitor for each file attempted, you can use the same command but add the @ symbol directly in front of 'echo'; and this also makes the procedure move more quickly, but with only a few files it, this difference is not all that consequential.
>
> on the other hand, if you have multiple messages left with multiple passwords,
> then you could simply run the batch file a second time using the password-file
> with your public key passphrases included the second time around instead of your
> symmetric passwords.  actually, if you had both sets in the same file the first
> time around, it would not hurt anything; but you will still need to make a
> second pass for any of the messages that also have two layers of password
> encryption.
>
> please let me know if you have any questions about this. it is much easier to do
> than to explain, but i have tried to be clear and thorough.

Looks like your system provides pretty sloppy security on your 
computer. You save pgp key passphrases to disk and every message is 
saved to disk as clear text.

Technical Details
Message-ID: <WZ3H0JEF40852.5765162037@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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <PH9ADIIW40846.5791666667@reece.net.au> <9fbcab964528188aea386a9455bd825f@dizum.com> <LKDK9NTG40852.3644444444@reece.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <WZ3H0JEF40852.5765162037@reece.net.au>
Subject: Re: Rooster's Method of batch decryption
Date: Sat, 05 Nov 2011 05:50:11 +0000
From: Kulin Remailer <remailer@reece.net.au>
References: <PH9ADIIW40846.5791666667@reece.net.au> <9fbcab964528188aea386a9455bd825f@dizum.com> <LKDK9NTG40852.3644444444@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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
X-Remailer-Contact: abuse@reece.net.au (English Only Please)
Newsgroups: alt.privacy.anon-server
Lines: 108
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Original-Bytes: 5744