This is a copy of a handout I wrote for a talk on PGP to a group of activists at a dinner on January 29th, 2015. The intent was to provide a supplement to the practical, but narrow, walkthrough I’d given for those who wanted to dig deeper into data security in general.
There is no shortage of technology on the Internet designed to protect your identity and communication. Some of it is better than others. These are the technologies that Edward Snowden used to communicate with Laura Poitras and Glenn Greenwald. They have been battle-tested and are generally considered solid choices in most situations.
“PGP” stands for “Pretty Good Privacy.” It was created by Phil Zimmerman in 1991. PGP keys consist of a private portion and public portion. The public portion of your PGP key, your “public key,” should be shared with anyone you might want to communicate with. The private portion of your PGP key, your “private key,” should never be shared with anyone. You can use your private key to “sign” data without encrypting it, allowing everyone who has a copy of your public key to verify that the signed data they’ve received has not been changed since it was signed. You can also use your private key to decrypt data that has been encrypted using your public key.
This is what Edward Snowden used to protect the content of his email communication with Poitras and Greenwald, and it’s been used by many others for the same purpose. Watch this space, though: PGP has its shortcomings and there are a few dissenters in the security research community calling for its ouster. Some services, such as Mailvelope and Keybase.io, are trying to address some of these concerns.
PGP protects content, not metadata.
Interesting less battle-tested alternatives include Axolotl and Curve25519.
OTR stands for “Off The Record.” This is a method of real-time chatting via XMPP/Jabber. It requires an account on an XMPP server somewhere (there are many) and it requires that you and the person you are chatting with are both using clients that support OTR messaging. Pidgin augmented with the pidgin- otr plugin is a popular way to use OTR messaging.
OTR protects content, but exposes metadata to the XMPP server you are using.
Interesting less battle-tested alternatives include Tox and TextSecure.
Tor stands for “The Onion Router.” It bounces your Internet traffic between many different volunteer-provided computers throughout the world in order to hide the true destination of your traffic from outside observers and to hide the true source of your traffic from the servers you are accessing. It adds and removes layers of encryption around your traffic as it bounces around such that each computer only knows which computer the traffic is coming from and to which computer it’s supposed to go next.
Snowden routed all his traffic through Tor and used an email address he had set up on RiseUp.net’s hidden service to communicate with Poitras and Greenwald.
Computers on the edge of the Tor network that provide access to “clearnet” websites, such as Facebook and Gmail, are called “exit nodes.” Any data received from or sent to clearnet websites by computers using Tor must pass through these exit nodes. If that data is not protected by SSL or another end- to-end encryption scheme, it can be stored and altered in transit by the exit node passing it. Accessing clearnet websites via Tor must therefore be done very carefully.
Tor also provides access to a set of websites called “hidden services.” Hidden services can be accessed without going out into the clearnet, thus keeping secret the IP addresses of the servers hosting those hidden services and protecting users from malicious exit nodes.
Tor, when used properly, can protect the content and metadata of your Internet traffic while it is in transit. What you choose to reveal to the server on the other end can, of course, still compromise you. And while Tor can protect your anonymity, it can also draw unwanted attention. Tor traffic is apparent to outside observers, and some intelligence agencies may consider the fact that a person is using Tor grounds for subjecting that person to additional scrutiny.
One of the popular, though somewhat less battle-tested, alternatives to Tor is I2P.
VPN stands for “Virtual Private Network.” A VPN essentially allows you to use another computer’s Internet connection as if it were your own. They are a common way to get around content restrictions in countries like China, Saudi Arabia, and Australia. They are also quite popular with savvy torrenters looking to keep their downloading somewhat secret.
Since any additional scrutiny whatsoever could have proven disastrous for him, Snowden used an anonymous VPN to hide the fact that he was using Tor. This also provided him with an additional layer of protection in the event that Tor was somehow compromised, since the attacker would only see the IP address of the VPN server he was connected to.
Anonymous VPNs make it a point to not keep logs of connections to their servers. Such logs could prove a problem if they ever fell into hostile hands, since they would reveal the sources and destinations of all the traffic that passed through the VPN service. Of course, there is no way of knowing whether or not a VPN service is being true to its word and not keeping logs, but it is generally a better bet to use a VPN provider that at least claims to not keep logs. At least if you’re using Tor the only thing such a leak would reveal is the fact that you were using Tor.
If you want to go a step further to protect your identity, you could also sign up for the VPN service from a public wifi access point using either a clean browser or an incognito/private browser window and pay using either Bitcoin or a prepaid debit card purchased in-person with cash. This allows you to withhold as close to all identifying information to the VPN service as possible while also keeping the charge for the VPN service off your credit or debit card.
The process of connecting to a VPN varies in complexity from provider to provider. Many will provide a tool to make the process easier. Once you have connected, make sure that websites now see you at a different IP address and also that your DNS requests are not leaking your true IP address.
Greenwald initially lost contact with Snowden because he was unable to get PGP set up. While it’s good to be familiar with all the technologies in Snowden’s chain, sometimes one just needs something that will get one up and running with a minimum of fuss. Fortunately, there’s a Linux for that.
Tails stands for “The Amnesiac Incognito Live System.” It’s designed to be run from a DVD, USB drive, or SD card, and it remembers nothing from session to session. Each time you boot into it, it’s a totally clean system. It also routes all traffic through Tor by default and comes with OTR and PGP tools preinstalled.
If you choose to run Tails from an SD card or USB drive, make sure that they are clean and remain clean. Be particularly careful with USB drives, as it was recently revealed that the USB standard itself contains a flaw that can be exploited to load malicious firmware onto USB devices. If you use a USB drive (assuming it’s not an IronKey) use a brand new one and only ever plug it into one computer.
The more you know!
 I have a couple Keybase.io invites if anyone wants them: http://keybase.io/ryepdx
 Used by Pond (https://pond.imperialviolet.org/) and TextSecure (https://whispersystems.org/#encrypted_texts)
 Used by miniLock (https://minilock.io/)
 There are a couple ways to better your odds, however. Articles on the subject have been published by Lifehacker (http://lifehacker.com/how-do-i -know-if-my-vpn-is-trustworthy-508866499) and Deep Dot Web (http://www.deepdotweb.com/2014/07/08/is-your-vpn-legit-or-shit/), among others.
 What Is My IP (http://www.whatismyip.com/) will tell you what IP address websites are seeing. DNS Leak Test (https://www.dnsleaktest.com/) and… DNS Leak Test (http://dnsleak.com/) will both tell you what IP address they see and whether your DNS requests are coming from the same IP address.