🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Mixmaster messaging in Windows

#259012
From: Rooster
Date: Tue, 11 Sep 2012 18:55
344 lines
18903 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In Windows using Mixmaster at the command line for sending
messages, instead of using the Mixmaster ncurses menu, can be done
in a number of different ways. It is easy to do really and quite
efficient, all things considered. To be honest, I haven't seen a
lot of documentation to explain these procedures, especially for
the Windows OS. I think that is unfortunate for sure because
Mixmaster is a good program, quite capable of doing what it was
meant to do, and a number of persons could benefit from seeing some
good instructions. Sure, it is in need of an upgrade, since it was
written quite some time ago. Nevertheless, it is still widely used
and depended upon for anonymous messaging, and there is no getting
around that fact.

It does not require an installation process. The program's files
can be put into one folder. There is only one configuration file
for using it as a client remailer program. Once you get the hang of
it, a whole message can be sent in one simple swipe at the command
prompt without any sort of GUI or menu, although it does have a
rudimentary ncurses menu to use if you like.

Just recently in another post, when I was talking primarily about
Thunderbird, I also explained how to set up Mixmaster in Windows
for secure messaging together with stunnel, socat and tor.  If you
followed that dialogue and those steps, then you have Mixmaster set
up well. Now I want to show a few different ways of how it might be
used at the Windows prompt without using Thunderbird. With it you
can make and send both newsgroup messages and email messages. In
this post I want to focus only on newsgroup messages because that
is obviously the primary interest of our group here. Yet, I will
later follow up with another post pertaining to the emailing
functionality of it.


Here are a few examples of how it might be used:


At the command prompt in the folder where Mixmaster is installed, type the following command and options all on one line without pressing the <Enter> key until you're completely finished with them. Be sure to include the quotation marks just as you see them in this example.

C:\Users\display\MyTools\mixmaster>mix -v -p --post-to=alt.newsgroup1,alt.newsgroup2 --chain=mix1,mix2 --copies=3 --subject="put subject here" --header="from: pseudonym" --header="references: <the message ID 1> <message ID2> <and so on>"

You should press the Enter key after finishing. You will see the following line or one like it, and then on the next line you can begin typing the body of your message to post to the newsgroups identified above. In the above options, the entry "-p" indicates that you are posting to a news group and that the text of your message will be entered here and now at the prompt after pressing <Enter>.

Mixmaster 3.0.2

Here goes my message typed at the prompt.

^Z

When you have finished typing the body of your message, such as the one you see above, then press the <Enter> key to move to the next line, and then press both Ctrl+Z keys at the same time, release those two keys and then press <Enter> again. You might get some warnings like those in the following illustration. Otherwise you will get merely some information about the Chain being used, and the connections being made. If everything completed without a glitch, you would see "Closing SMTP connection" when it has finished sending, like so:

Warning: The message has a From: line.
Warning: Remailer Reliability Statistics are older than one day
(check your cloc
k?).
Info: Added message to pool.
Chain: mix1,mix2,etc
Info: Opening SMTP connection.
Info: Closing SMTP connection.


It may take a little while (perhaps 15 seconds) for the connections
to get established and for it to be conveyed. I suppose that it
would depend on your system and firewall, etc. Be patient if it
does not immediately appear to have finished. Of course, you may
want to watch the connections on your system by looking at a
program like TCPView" in order to get visual confirmation that all
is happening as you would have expected. At this point it is a
matter of waiting for your message to get posted.

You may omit any of the various supplementary headers such as I put
in the illustration, but there are some minimal requirements for
getting it delivered correctly, such as newsgroup name, chain and
number of copies. If you leave off any of these, then Mixmaster
will use the defaults that you have set up in the program's
configuration file.

Alternatively, one variation in the above procedure would include having a text file created ahead of time with the body of the message in it, instead of having to type the text at the prompt right away. In this case, you should leave off the "-p" option in the command parameters, and, instead, immediately at the very end of the command after all the other options, before you press <Enter>. You should put the full name of the text file, including its path (if it is not in the current directory), like so:


C:\Users\display\MyTools\mixmaster>mix -v --post-to=alt.newsgroup --chain=mix1,mix2,etc --copies=3 --header="from: pseudonym@whatever.net" --header="references: <the thread of message IDs to which you're following up>" .\subfolder\textfile

When finished entering all that, press <Enter> and you should see some information like this:

Mixmaster 3.0.2
Warning: The message has a From: line.
Info: Added message to pool.
Chain: mix1,mix2,etc
Info: Opening SMTP connection.
Info: Closing SMTP connection.

It may take a little while (perhaps 15 seconds) for the connections
to complete, so be patient.

Additionally, another variation in this method worth noting is that
you can include attachments to your message. The attachment header
option can be listed anywhere within the other options, in the
manner illustrated next. Moreover, to the best of my knowledge
there is no special order in which all these optional headers must
be placed in the command, with the exception of the body of the
message having to be identified in a file at the very end as I
already illustrated, or of the text of the message being typed
after the command options have been entered, as I demonstrated
firstly. You should avoid using paths including spaces in them for
attachments and such. You can get a list of all the options that
are available by typing "mix -h" at the command prompt.


C:\Users\display\MyTools\mixmaster>mix -v -p --post-to=alt.test.test --chain=mix1,etc -c 2  --attachment=.\testing\text --header="references:<the thread of message IDs>"

Mixmaster 3.0.2
here is typed the body of my message at the prompt.
^Z

Warning: The message has a From: line.
Warning: Remailer Reliability Statistics are older than one day
(check your cloc
k?).
Info: Added message to pool.
Chain: mix1,etc
Info: Opening SMTP connection.
Info: Closing SMTP connection.


Notice how in the above example I omitted several of the previous
headers, and also note that I changed the format of the "copies"
header from "--copies=2" to "-c 2". In fact all of the options have
shortcut forms like this, which you can see by looking at the
output from "mix -h". Sometimes at first it helps to see the full
format of these options to understand them. After a while, you may
want to abbreviate them.

Furthermore, I think you will find that using an attachment creates
a message that is not formatted exactly as you would expect. I do
not know if it always does so in this way, but my limited testing
(e.g., on Windows) resulted in the same variation each time. This
odd construction is not completely obvious when looking at the
message normally, but it is most easily seen by looking at the
entire message source (Ctrl+U in Thunderbird) with all its headers
after delivery. Literally, what you see and what you get are two
different things, but you need to look at the message source to see
exactly what I am referring to. It appears erroneousl at first, but
I do think that there are some instances when this peculiarity
would have its advantages.


Finally, I want to show you another variation to demonstrate a neat
way to make efficient use of Mixmaster and Windows at the command
prompt.

In Windows from the prompt you can create a text file impromptu in
a few different ways. For instance, in any directory, even in the
Mixmaster folder as current directory, simply type the name of the
native Windows program "notepad" at the
prompt and immediately you would see Windows open its text editing
program.  Additionally, you can type both "notepad filename" and
Windows will open Notepad asking whether you want to create a new
file with this name. (If that filename already existed in the
current directory, Notepad will open it.) When you click "Yes",
Notepad is now open and ready for you to type a message.
Immediately after you finish entering it, save it (Ctrl+S) and it
will be in whatever the current directory is at that moment, or in
wherever you alternatively tell it to save. As one more little
twist in this procedure, I want to point out that you could also
use the following sort of command at the prompt:

notepad .\subfolder\filename

What that would do for you is to open Notepad with it asking you
whether you want to create "filename" (unless it already exist);
and after you are finished typing the message, when you then type
Ctrl+S for saving it, Windows will have saved it into the folder
named "subfolder" under the current directory. This is handy if you
want to keep all your messages in a separate subfolder. However, if
you do it like this, bear in mind that "subfolder" must ALREADY
exist or else Notepad will fail to save it in the current directory
or even with the name you might have specified.

It should occur to you that while your message file is still open
or right after saving it, you are also free to employ whatever
program you might have for signing or encrypting messages right
there on the spot, but that would be up to you of course as it
isn't necessary for this procedure.

So, suppose now that you just created and saved your message in
Notepad. Since you followed the previous procedure, your message
file has been named as "filename.txt" because Notepad, would have
append ".txt" to whatever name you had typed at the prompt. As you
are already in the Mixmaster directory, at the prompt merely use
the following command:

mix -v -g alt.newsgroup1 .\subfolder\filename.txt


Incidentally, by using the option "-v" as a parameter, you are
instructing Mixmaster to show you all the information about
connections, chains, etc. I think its a good idea to have this "-v"
verbose output on your screen for you to get visual confirmation of
what happens.


So, now I want to give you a recap by putting this all together
succinctly in order to show you just how easy it is to use the
procedure from start to finish. I shall assume that you have read
my previous post about getting Mixmaster installed and that you set
up the program in conjunction with Stunnel, Socat and Tor so that
your anonymous messaging is exceedingly secure. One step that this
method entailed was creation of a simple one-liner batch file to
start socat with the correct parameters for accepting connections
from stunnel and establishing one with the tor SOCKS proxy at
localhost (127.0.0.1), while anonymously conveying the IP of the
SMTP host to which you send your Mixmaster messages. Let's assume
that your batch file was named "socat2.bat". Additionally,
Mixmaster will have been configured to make use of your local
Stunnel program at localhost.

In Windows start Tor by whatever means you normally do and let it
take a few moments to make its connections and circuit. Use Windows
command prompt in the Socat directory to start the batch file by
typing, for example, socat2. Open a second command prompt in the
Stunnel directory and type "stunnel stunnel.conf" to have the
program start in the background and listen at localhost, etc. You
should see the little stunnel icon in the notification area of the
Taskbar. At this same opened command prompt, move to the Mixmaster
directory and simply type these commands:

notepad .\messages\filename

Doing that will open Notepad and allow you to type in your message.
When finished with it, press Ctrl+S, and it will be saved as a
textfile named "filename.txt" in the "messages" subfolder of the
Mixmaster directory. Now type this command:

mix -vg alt.newsgroup .\messages\filename.txt


There you have it. Two short commands at Windows' command prompt
will create your message and have Mixmaster send it off
anonymously, in this case using whatever parameters you had
previously configured in your Mixmaster config file. You will have
a copy of it saved in the "messages" subfolder too for later
reference if need be. I don't know what could be any simpler than
this for using Mixmaster in Windows.

Finally, I would certainly feel remiss if I were not to demonstrate
one last powerful and elegant means of using Mixmaster in Windows
while making use of gpg signing or encrypting. If you have gpg
installed and on your path, and if you also want to send a new
signed message to a newsgroup with Mixmaster, sending it not with
the default values in your "mix.cfg" but with an ad hoc setting,
the following procedure is one good way to do so:

Given the settings explained already, at the command prompt in the
Mixmaster directory, type this command:


notepad .\messages\filename


When you have finished typing the message, press Ctrl+S to save it.
Now at this same prompt type:


ggp -u NAME --clearsign .\messages\filename.txt


That command will instruct gpg to sign your "filename.txt" file
with the key of NAME. If you had wanted this file signed with the
default key on your keyring, you could omit the gpg option "-u
NAME" altogether and use only the rest of this command as above. At
this point you will be prompted to enter the passphrase for the
signing key. Then the program will create a signed copy of your
original file, and it will append a new suffix to its name, like
so: "filename.txt.asc". It put this new file into the same folder
as the original, and it is this new file that you want to hand to
Mixmaster.

Now you need to give Mixmaster this completed file, along with the
options you need to get it to the newsgroup. So issue this command,
for example, at the prompt:


mix -vglc alt.newsgroup mix1,mix2,etc 3 .\messages\filename.txt.asc


What I did with this command, just to illustrate one more
variation, is to abbreviate all the options and put them together,
which is allowed by Mixmaster, and after them I listed the values
for each of these options (which groups, what chain, how many
copies), in the same order used to combine them, separating the
optional values with a space, and finally I identified the newly
appended, signed file, relative to the current directory, i.e., the
Mixmaster folder. So, then, with three commands, I can create,
encrypt/sign, and send an anonymous message from the Windows
prompt, quite securely. What could be easier than that!  :)

As you become more adept at using these programs, you may find that
there are still other ways to use them to accomplish our objective,
which is secure anonymous messaging in Windows by using a few of
the best tools at your disposal. Indeed, though I am by no means a
Linux afficionado, I do know enough to say that these same tools
and techniques apply equally well to Linux with perhaps one or two
small changes in form, but not in substance. Windows users need not
feel that the Linux guys "always" have stronger or more suitable
programs to accomplish tasks like these because that is decidedly
not so in this case. As a Windows user, you can be confident that
these programs are every bit as capable as any of those in the
Linux OS.

Besides, it is imperative to keep in mind that security is by no
means just a matter of using one or the other strong program.
Security entails multiple programs and careful habits, and it
includes sometimes changing your routines to avert partitioning
yourself through correllations. It is a complicated and ephemeral
condition. Although certainly having just one inferior program can
"blow your cover", as there is some truth in the applicability of
"the weakest link" principle, it is also inadequate to expect that
any one program is suitable in all cases.  Avoid inferior tacky
alternatives in all that you do.


Enjoy the ride!

-----BEGIN PGP SIGNATURE-----
Version: N/A

iQGcBAEBAgAGBQJQTtNjAAoJEOWcBAJ+953TCQ4L/1PO5Au/nEp7DND3lVR+iomc
IhplxEV6s/EQUZ2FJ5ratGp6vyE1X2hZivv2kH7v8LsG5bCkfMgbxKWSPagN1zhz
Df/5HYw3u+kGYdXBjFfoyqcmH36iZcEJZ8+HmEx0gAAzaNsp5fspH0xu26mQEEwf
wwOCZy99L9Hqq8POBXcKF2q4QjGd/pdcGu1o0dAF+F4oodz+18ST5Y/1ccv03tRe
31BILHyw/L+3DGz80DkgWTLfxWWA+Aw9R9Fy3lk6gHefL+/ZBuXr3CvEtvVFcclv
r1isb3yo34+k56Zbv6chpYor9SUB9k6YfMnN0nkQri/P1ziAF/YRFRt9tOn+u4Zs
EdDbs4753iACdLnBpP8ApWnVgd0Uz+2eipeoqba6S+zpJH3ObDHyaHsXfPBm/vWc
f7gILk6bxZPi+4OrOLZbFa8V4hUIi2rDfeBKIzzvLQAwGgWhFSSUMs0B4VYBwtc/
mWjSek1UjHfmF7F7k2Kgm80O5CvFxQnh+SRcaGmQIg==
=kKkX
-----END PGP SIGNATURE-----

-- 
rooster@thechickencoop.net
A Happy Member of Kingdom Animalia.
Technical Details
Message-ID: <159a3d307d5acca8c61f05400376c5fd@msgid.frell.theremailer.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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!7no1958277wig.0!news-out.google.com!ed8ni15895898wib.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <159a3d307d5acca8c61f05400376c5fd@msgid.frell.theremailer.net>
Subject: Mixmaster messaging in Windows
Date: Tue, 11 Sep 2012 20:55:24 +0200
From: Rooster <fritz@spamexpire-201209.rodent.frell.theremailer.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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!7no1958277wig.0!news-out.google.com!ed8ni15895898wib.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
Received: by 10.180.95.2 with SMTP id dg2mr3034483wib.2.1347389820908;
MIME-Version: 1.0
Sender: Fritz Wuehler <fritz@spamexpire-201209.rodent.frell.theremailer.net>
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@frell.theremailer.net>.
 Identifying the real sender is technically impossible.
Precedence: anon
Newsgroups: alt.privacy.anon-server
Lines: 345
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Original-Bytes: 18634