![]() |
|
|
#1 |
|
noli me tangere
Join Date: May 2005
Location: 1-610-887-6072
Posts: 319
|
[Underground Security Paper no. 2] Encrypting Email Communiques v 1.0 By: DIzzIE [antikopyright 2007] This is the second Underground Security Paper designed to further empower you to give yourself some semblance of electronic privacy. If you haven't done so, go read over USP no. 1: Encrypting your Instant Messaging Conversations (http://forum.rorta.net/showthread.php?t=576). And yes, I'm well aware that there are a few other guides on encrypting emails already out there, but they are either outdated or don't mention all of the shit that I want to mention. So here we go, first we'll go over a few ways to encrypt emails if you have steady access to the same computer (i.e. your laptop or home desktop), and then I'll mention some options for encrypting emails from public terminals using free webmail providers. Nota Bene: If you're a little fuzzy about this whole 'public key cryptography' thingamajig (don't worry, so am I), it may behoove you to take a quick gander at the respective Wikipedia article on the subject (http://en.wikipedia.org/wiki/Public-key_cryptography) so that shit like 'public/private keypair' will make slightly more sense as you read this guide. In a nutshell, what you'll be doing is generating a set of two keys, or a key pair, one public and one private. The public key you make public (duh) by giving it out to all of your contacts, posting it on your website, and so on. The private key you keep--you guessed it--private, and protected with a strong and salted passphrase (we'll get to that later in the text). The sender of the email encrypts the email being sent to you using your public key, and only you can then decrypt the email using your private key. Likewise you use your contact's public key to encrypt the emails you send to zir, and z must use zir private key to decrypt the emails that you send to zir. Now then, let's explore your various encryption options... Option I: Encrypting Emails on a Stationary Computer Part One -- Thunderbird & GnuPG If you have steady access to a computer on which you can install software, this is the option to use. It offers much more flexibility and security than any of the other options in that it is not tied to any specific email provider or any specific operating system; furthermore, your key management is done locally, not on any sketchy third-party server. If you have some of the tools discussed herein already installed (Thunderbird, GnuPG, Enigmail), you can of course skip over the steps that tell you to install them ;).
And there you have it! You should now be able to send and receive encrypted emails and everything that entails (generate strong key pairs, import/export keys, generate revocation certificates, and so on and so forth). Option II: Encrypting Emails on a Stationary Computer Part Two -- Web/Broswer-Based Options In case Option I seems way too overwhelming or you just can't seem to get one of the necessary add-ons to work, there are a couple other web/browser-based options that you can employ to encrypt your email. I neither trust nor recommend any of them (though I haven't tried them out either), and am only listing them here in case you need to send encrypted email urgently, and don't have the time to go through the elaborate setup of Option I (or you can't get I to work). Though it will probably take you just as long to setup these options (and get your recipient to do the same) as it would for you to setup Thunderbird/GnuPG in Option I in the first place. Thus, if you can't get Option I to work, you're better off trying the webmail options presented in Option III below. ~ Freenigma (http://www.freenigma.com/) is a Firefox extension that integrates into popular web-based email options like Hotmail and then allows you to generate your keypair/encrypt your email within the browser using the ordinary web-based Hotmail/Yahoo/whatever page. Freenigma currently doesn't work with anyone who doesn't also have a Freenigma account and doesn't encrypt attachments. All key-management is furthermore done server-side which means you apparently can't import/generate keys on your own. You can find further setup information here: http://www.simplehelp.net/2006/08/26...ing-freenigma/. Not recommended. ~ Gmail Encrypt (http://www.langenhoven.com/code/emai...ailencrypt.php) is a Greasemonkey script that adds encryption functionality to Gmail accounts. Both the sender and the recipient will apparently have to be Gmail users. Again, not recommended unless none of the other options are feasible in your situation. Option III: Encrypting Emails on Public Terminals (Using Free Webmail Providers) Setting up Thunderbird/GnuPG is great assuming that you have a computer of your own to set everything up on (or access to a computer that has enough permissions enabled to be able to install software on it). But what to do if you don't? Until you jack a passed out college kid's laptop at the local college library, you can use a couple webmail options that have encryption capabilities. ~ Hushmail (http://www.hushmail.com/) provides a free encrypted email service with various limits (for instance you're given only 2 Mb of storage, and are required to log into your account every three weeks or lose the account). The nice thing about Hushmail is that it allows you to export your private/public key pair so that others can send you encrypted emails using, say, Thunderbird (or another webmail option like Mailvault, see below), and that you can use your private key to read encrypted emails using other clients as well. To export your keys, log into your Hushmail account, click on Preferences and then Export Encryption Keys. Public keys can also be imported by uploading them to Hushmail's own keyserver. Instructions for doing so appear at the bottom of this page, https://www.hushmail.com/help.php?subloc=pgp&l=454, under 'How can a Hushmail user send secure email to a PGP user?' What this means is that you can send encrypted email to contacts who do not have Hushmail accounts but are using encryption with another client (like Thunderbird). Finally, Hushmail also lets you set a security question/answer in the case that you need to send an encrypted email to someone who has neither a Hushmail account (when you send emails to another Hushmail user the emails are automatically encrypted) nor a PGP key pair. In this case, your intended recipient will have to provide the correct answer to your security question in order to be able to view your email. To set the question/answer, click on Compose, and then go to Message Options. Keep in mind that at least in one case (US v. Tyler Stumbo - http://static.bakersfield.com/smedia...filiate.25.pdf) the pigs were able to obtain Hushmail email records. ~ Mailvault (http://www.mailvault.com) is a service that is similar to Hushmail, and which likewise allows you to import and export keys thus enabling you to send encrypted communiques to those who aren't using Mailvault (and likewise allows folks who don't use Mailvault to send you emails as well). However, one of the disadvantages of Mailvault is that its mail servers seem to be a tad erratic, in that mail sent to Mailvault accounts at times gets bounced back as undeliverable. ~ There are various other pseudo-secure web-based email options out there that you can explore by doing a web search for a query along the lines of 'free encrypted email', though do keep in mind that all of these services are only to be used if, for whatever reason, Option I is not feasible in your situation. A Few Parting Tips and Reiterations (READ THIS SHIT!) ~ Always generate the largest keys the programs allow you to generate, which is currently 4096 bits. Don't settle for the default 2048 bit key lengths. ~ Don't upload your public keys to public key servers unless absolutely necessary (in other words, never). As mentioned in Step 5.h, when you perform a Verbose Index search for a key ID on a given key server (for instance by going to http://pgp.mit.edu/, entering your target's Key ID and conducting a Verbose Index search), you may then be able to see all the signatories tied to that key and may then be able to deduce who has likely communicated with the owner of the given key, thus being able to map an individual's potential contacts. ~ The first time you send a contact an encrypted email, it would be a good idea to attach a copy of your public key along with the email so that the recipient can likewise send you encrypted email in return (unless of course you have already provided the recipient with your public key at an earlier juncture via another distribution channel). ~ Remember to pick a strong, salted (meaning using non-standard vernacular) passphrase with a minimum length of 30 characters. Commit your passphrase to memory or store it in a remote location with no identifiable information that would allow anyone to trace it back to you). Store your revocation certificate (if you chose to make one) at another location (with the intention being that if the passphrase location is compromised or forgotten, you'll still have the second location as a fail-safe to be able to revoke your now-insecure key pair). ~ Delete your fucking emails! (and don't keep any logs). Don't be one of those jackasses that archives all of your emails from the past ten years, especially in an unencrypted format. There's nothing the pigs love more than a nice trough-full of aeon-old potentially incriminating evidence to gorge upon as they plot your untimely demise. ~ And finally, remember that encryption is not the same thing as anonymity. When you send/retrieve emails your IP address is recorded by your email provider, not to mention probably your ISP, and (depending on the mail server) often times passed on to the recipient as well (Hushmail and Gmail are two email providers that don't pass along your IP to the recipient, though this doesn't mean that they don't store it on their servers (if the double negative was confusing, it means that they do keep IP logs of their own that they'll be all too glad to hand over to either the pigs or anyone who pretends to be a pig and sends them an intimidating letter). Use anonymity tools such as Tor (http://tor.eff.org/) or the portable Xerobank (http://xerobank.com/xB_browser.html) when on a public terminal to help hide your IP address, along with piggybacking on a wifi connection if at all possible (You can find various guides on using Tor online, or expect it to be covered in a future issue of the Underground Security Paper). Do not go to the same place at the same times to send/read emails and be mindful of CCTV surveillance. As usual, this text has gone on for way longer than I expected, so time to end this shit. Email me at xcon0 @t. yahoo d.t com (Now that I've written the guide, I can finally say that I will no longer respond to any unencrypted emails. My public key (0xF370BFBF) is available here: http://www.dizzy.ws/x1pub.asc). Visit www.rorta.net & www.dizzy.ws for more knowledge. Or, for phone sex dial 1-610-887-6072. Enjoy!
__________________
Under the pleasant norms of Parisian life, beneath the veneer of culture and civilisation, one of the bitterest and most sadistic underground wars of modern history was fought out. |
|
|
|
|
|
#2 | |
|
Entrepreneur
Join Date: Jun 2006
Location: Earth, same as you... hopefully.
Posts: 2,733
|
Quote:
The whole privacy paranoia thing has sane limits. One has to think very highly of himself to think Big Brother is reading his e-mails on sports scores. Just don't use Google or type key words. |
|
|
|
|
|
|
#3 |
|
Rorta Regular
Join Date: May 2005
Posts: 166
|
Ok for the key the more bits of encrypted email the more that governemnts would have to sift through if they do indeed do that. It is good practice and not that difficult to encrypt things.....
Would you send your bank information on a postcard? No. Then why treat the internet the same? For the google issues I use scroogle... |
|
|
|
|
|
#4 | |
|
Entrepreneur
Join Date: Jun 2006
Location: Earth, same as you... hopefully.
Posts: 2,733
|
Quote:
Scroogle, eh? |
|
|
|
|
|
|
#5 | |
|
Hated But Rated
Join Date: Apr 2007
Location: On The Run.
Posts: 1,705
|
Great read DIzzIE.
Quote:
__________________
-Reload.
|
|
|
|
|
|
|
#6 |
|
Entrepreneur
Join Date: Jun 2006
Location: Earth, same as you... hopefully.
Posts: 2,733
|
Indeed, great read, Diz.
No, no meth. |
|
|
|
|
|
#7 | |
|
Rorta Regular
Join Date: May 2005
Posts: 166
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Entrepreneur
Join Date: Jun 2006
Location: Earth, same as you... hopefully.
Posts: 2,733
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Rorta Regular
Join Date: May 2005
Posts: 166
|
Yes they do but how quick is quicker? 10 years? I mean at that stage they will have it beaten out of you and if not you are on the run anyways....
The best attack against encryption is the rubber hose attack.. |
|
|
|
|
|
#10 |
|
Criminally Insane
Join Date: Sep 2007
Location: The Not So United Kingdom
Posts: 5,150
|
The rubber hose attack? lol
__________________
Some men just want to lie back and watch the World Burn.
Download The Criminal Rules Here! For among other evils caused by being disarmed, it renders you contemptible; which is one of those disgraceful things which a prince must guard against. Never forgive. Never forget. Insanely Criminal's Blog |
|
|
|
|
|
#11 |
|
Rorta Regular
Join Date: May 2005
Posts: 166
|
|
|
|
|
|
|
#12 |
|
Rorta n00b
Join Date: Aug 2007
Posts: 1
|
Awesome, freakin awesome guide!
On another note, I have a security question about the way Enigmail is implemented. Under key management, I can export my public and private key to a asc file, what worries me is the fact that it will export my private key without asking for my passphrase. This seems quite insecure to me. Is it? Or am I just paranoid? |
|
|
|
|
|
#13 | ||
|
noli me tangere
Join Date: May 2005
Location: 1-610-887-6072
Posts: 319
|
Quote:
Quote:
The upside is that they would also need your passphrase to be able to use your private key to decrypt your messages, which is all the more reason to make sure you have a strong passphrase. If you have serious concerns about your machine being compromised you should store your secret keys on a removable medium and then delete the secret key from Enigmail. Of course, this would mean that you would have to import the key each time you need to decrypt a message and then delete it again when you're done, but at least it wouldn't be sitting on your computer waiting to be compromised. You would also have to find a fairly secure location for your storage media that has the key on it as well, which could quickly become a hassle if you need access to it every day. Remember that if it's easy for you to find it's easy for the pigs or whoever else may be looking for it as well. Going a step further, if you're worried about your physical area being compromised and that someone will be able to gain access to the physical copy of your private key you can do what I think is known as 'blinking', wherein you take a photo of your room prior to leaving, and upon coming back take a photo from the exact same location. Turn the two photos into an animated GIF and you should be able to spot any minute differences between the conditions of the room before/after you left.
__________________
Under the pleasant norms of Parisian life, beneath the veneer of culture and civilisation, one of the bitterest and most sadistic underground wars of modern history was fought out. Last edited by DIzzIE; 7th November 2007 at 09:44 PM. |
||
|
|
|
|
|
#14 |
|
Rorta Regular
Join Date: May 2005
Posts: 470
|
So I will finally be able to prove my roommate is stealing my socks. I love you Diz.
|
|
|
|
|
|
#15 |
|
Entrepreneur
Join Date: Jun 2006
Location: Earth, same as you... hopefully.
Posts: 2,733
|
|
|
|
|
|
|
#16 |
|
Rorta Regular
Join Date: May 2005
Posts: 470
|
Windows users may find gpg4win a nice alternative to the package suggested by Diz. It comes packaged with some nifty tools that make life easier on Windows.
Also, you might try looking here for a list of free POP3/IMAP email providers instead of trying to configure your crappy yahoo accounts. http://www.emailaddresses.com Last edited by Armalite; 11th November 2007 at 10:38 AM. |
|
|
|
|
|
#17 |
|
noli me tangere
Join Date: May 2005
Location: 1-610-887-6072
Posts: 319
|
Here's a somewhat recent Wired article which links to the same court affidavit that I briefly mentioned in the guide, and goes on to talk about how Hushmail basically admits to having the capability of sniffing your passphrase/private keys and to actively doing so at the behest of the authorities (in other words: don't fucking use hushmail, or any other third-party provider which claims to encrypt your emails for you).
Also, a curious service a comrade recently pointed out is www.spammimic.com. You enter a (preferably short) message, and it gets transformed into either a spam look-alike message or a fake PGP-encoded look-alike text. Someone then pastes the encoded text into the decoder on the site and it spits out the plaintext message. Obviously if you're using this for anything besides the novelty value you'll want to use the password feature to make sure that not just anyone can decode the message, though the site still rightly warns that "This is weak encryption - it's better than no encryption at all but not much. Not recommended for secret agents or even corporate spies."
__________________
Under the pleasant norms of Parisian life, beneath the veneer of culture and civilisation, one of the bitterest and most sadistic underground wars of modern history was fought out. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|