Sandbox

Revision as of 17:02, 23 September 2015 by Dmitri (Talk | contribs)

2 factor authentication

Solution- Unauthorised Access


2-factor authentication also known as 2-step and 2fa is a method of authenticating yourself with a combination of two components: something you know (a password) and something you have (e.g. a mobile phone). The idea behind this method is that it's incredibly difficult for the hacker to have access to both components. The service must be offered by your email provider and many of them do now. Please have a look at this excellent report by Citizen Lab on 2fa phishing attacks, in particular the conclusions and recommendations within.


Here's a list of other popular online services that provide 2fa.




A website I am trying to access is unreachable

Scenario- Censorship
Tools and Services: Herdict

Many countries that practice Internet censorship are 'kind' enough to display a warning or a reason to the user when a banned website is being requested. In other circumstances your request may simply result in a 'Page Not Found' error, or the browser will keep spinning and eventually time out with another error message. There could be several reasons for this situation to consider, before claiming with certainty that the site is indeed censored.

  1. You made a mistake in the site's name (perhaps omitted or added 'www' when it's not necessary)
  2. Your computer's network configuration is not working. Try opening other websites or http://74.125.224.72 (Google's search page by IP). If nothing works - check your computer's settings.
  3. Try to open the site from http://downforeveryoneorjustme.com This service will attempt to open your website from a different physical location. If that works, then the site is functioning and is likely censored (not accessible) from your location/country.

If you think that the website has been blocked in your country, take a look at Herdict project from the Berkman Center for Internet. Here you can test the site's accessibility from different countries and whether other users have reported similar blockages. If that site is blocked, please see I want to learn about circumventing Internet censorship



Access to the Web

Scenario- Censorship Surveillance Profiling your identity and actions


Sometimes accessing a website may prove problematic. This may be due to several reasons: for instance that website may be filtered in the place where you are located, but you may also be experiencing a simple connection problem.

This section explores how to troubleshoot a connection, introduces the topic of circumventing website filtering, and discusses ways to connect to websites securely or anonymously.

An introduction to these topics can be found in the How does the Internet actually work? pages, Basic Internet Security from Floss manuals and the more detailed Privacy & Security Conscious Browsing guide.




Can I be anonymous whilst using my phone

Solution- Profiling your identity and actions Surveillance
Tools and Services: Orbot, Orweb, Onion Browser

The short answer is you can't, and there are several reasons why. Your SIM card can be directly linked to your identity, account or point of purchase. The IMEI and the IMSI numbers in your phone are unique and can also be linked directly to your location and/or identity. In general, Mobile phone tracking is a well established technology and the only way to prevent this type of location tracking is to remove the battery, carry a Faraday cage-like accessory or not bring your phone at all.

If you want, however, you can browse the Internet anonymously from your phone:




Computer

Scenario- Unauthorised Access Data Loss


A large portion of our digital identities, years of work history and meticulously configured software rests on our computers. A broken, stolen or otherwise malfunctioning computer could be a small (or large) calamity. This section deals with how best to protect your computer from various physical and digital risks.




Data

Scenario- Unauthorised Access Data Loss


Your data is your own. Protecting it from loss, corruption and unauthorised access requires effort and by default your data is only as secure as the device it is stored on. This section deals with protecting your offline data. For information on protecting your data on the Internet, please refer to the sections on Email, Online Conversations, Access to the Web




Email

Scenario- Profiling your identity and actions Surveillance


To send or not to send - that is the question! And it is not a rhetorical one: email is an all consuming part of our digital lives, but it is also very ancient, and in the years its 30-year-old design hasn't improved much in terms of security.

Email is basically made of two parts: the "body", with the content of the message, and the "header", with information on the author of the email, the person it has been sent to, the time when it was sent, etc. All this information, called metadata, can be gathered from email records and turned into a pattern, as can be seen on the Immersion project from MIT. The content of the messages, on the other hand, can be protected, and the various questions you may have about how to secure your email are answered in this section.

Other good introductory guides to email security include the Introduction to email safety from Floss Manuals and the multi-lingual secure communications chapter of the Security in a box project.




FAQ

Solution


This is an introductory guide for those looking for an answer to their digital security concerns. It assumes common threat scenarios and asks a series of iterative questions to direct you to a solution, whether that's a tool, a technique or a link to one of the excellent resources listed herein. Treat every recommendation as one piece of the security puzzle you need to solve.

Guides and reference manuals

Software and services index


Contacts

If you have a suggestion for a threat scenario or new resource to link to, a recommendation or simply want to help or find something out, please write https://encrypt.to/info@equalit.ie




Find a reliable hosting provider

Solution- Unauthorised Access Surveillance Censorship
Tools and Services: A/I

If you are setting up your own website for the first time, or want to find a more secure solution for the website you already have, you will have to look into the complicated market of hosting providers, where making the right choice can be hard. To understand what you need to look for, consider the following points:

  • Larger companies will be more reliant on existing control panels and automated processes to solve your problems and less willing to go out of their way specifically for you. On the other hand, their infrastructure could be better suited to mitigate an attack
  • Research company reviews from past customers
  • Read the terms of service, in particular their mitigation options during an attack
  • Look for details on their data centre location, internal systems security, client privacy, customer support agreements

In any case, keep your own backup of the site and make sure you are in control of the DNS records so as to switch providers when necessary. A more detailed guide is available for those considering their hosting options.

Commercial Hosting

  • Amazon EC2 - huge amount of features and resources, a bit overwhelming for non-technical users at first
  • Dreamhost - Many hosting options with a control panel, DNS registration included
  • WpEngine - popular option for Wordpress site hosting

Non-commercial Hosting




Google mail

Service- Surveillance


Google Mail hardly requires an introduction. It is a free service and incredibly prevalent on the Internet. There are many options to improve your account's security, such as 2-step authentication and other account security options. If correctly configured, these will provide a good level of protection. Consider that Google is a US registered company and has hundreds of millions of users.



How can I access censored websites from my phone

Solution- Censorship
Tools and Services: Tor Browser, Orbot, Orweb, Psiphon, BitMask

Bypassing website censorship on your phone is very similar to doing it from your computer albeit with slightly different tools. You can use the Tor Browser for Android or the unofficial Onion Browser for iPhone.

Android users can also install Psiphon, that works with "VPN, SSH, and HTTP proxy technologies to keep users connected at all times". BitMask is a new project encrypting online communications for Android users.

iPhone users should establish a VPN connection to a trusted provider for circumventing censorship. Torrent Freak has a list you can choose from.



How can I prevent getting a virus infection from an email

Solution- Unauthorised Access
Tools and Services: Avast, Tails OS, Virtualbox, Whonix

There are many solutions here, varying in their degree of difficulty to implement. Protecting your email from malware (malicious software, including viruses) begins with protecting your computer from viruses. You need to be extra vigilant when opening an email and, whenever possible, switch off the email preview function.

What follows is a list of steps, by degree of difficulty, you could take to reduce the risk of viruses infecting your primary computer systems and files:

  1. Don't open suspicious messages and attachments. Write back to the sender to confirm their intention
  2. Install an anti-Virus, anti-malware tool
  3. Keep all your software up-to-date
  4. Don't use pirate (or cracked) software
  5. Use an email account from a provider that scans messages for malware before you receive them
  6. Switch to using a Linux operating system or better still, use Tails
  7. Consider running a virtual machine, better if with Whonix, to isolate potential infection from email and third party devices within it


To learn more, refer to the Security in-a-box malware guide or the Surveillance Self Defense page on How Do I Protect Myself Against Malware?




How can I prevent my computer from malfunctioning

Solution- Data Loss
Tools and Services: LinuxLive USB Creator

Like any machine with a huge number of components, a computer could theoretically break at any time - whether through physical or water damage, or simply because of a malfunctioning component. More often than not a computer malfunction is caused by buggy or conflicting software. The infamous blue screen of death will be familiar to any longtime Windows user. Simply put:

  • Do not rely on your computer as the sole repository for your data - have a backup on a removable storage medium.
  • Make sure your backup is on a secure (encrypted) medium and is kept in a different physical location (e.g. keeping your backup in the same office as the original, is not a good idea)
  • Keep handy a live USB so as to access your hard disk without having to go through the (malfunctioning) operating system

In any case, make sure you have an up-to-date backup



How can I see who the email is really from?

Solution- Impersonation


The short answer is: you can't. You can only be certain of the sender's identity and for that you need to read I want to learn about digital signatures. There are however some tips to help you better understand where the email may have come from.

Every email you receive is made up of several components. There is the content itself, address details, as well as technical data about the message - also known as the message header. It contains detailed information generated by your email server about where the message came from and how it was processed before arriving in your inbox. This may be your only forensic clue to investigate the message's origin. If you want to learn to examine email headers, read this guide on email spoofing and Gmail's guide on understanding their message headers.

You can also copy and paste the message header into the MXToolbox to get a humanly readable context of where this email has been.



How can I stop spam

Solution- Profiling your identity and actions


Unfortunately you can't :( Once your email address ends up on the spammers' lists, the only thing you can do is to install a good spam cleaner or use an email provider that offers this service (quite common these days). It's very easy to end up on these lists especially with the prevalence of the data broker industry. Here's some tips for keeping your email address out of the spammers' hands:

  • Maintain several email accounts for various functions: work, friends and family, online transactions, email groups and lists
  • Never give out your 'spam free' email address to a third party
  • Register several email addresses on your smartphone and be careful which one you use to download apps with
  • Do not reply to spam! That confirms your email address
  • Whenever you need to display your email address on a public site, use clever techniques to masquerade it.
  • Use a temporary email address




How do I know if someone else is accessing my email account

Solution- Unauthorised Access


The three main email providers offer a 'Recent Activity' notification window where you can view where and how your account was last accessed.




How to protect your phone from virus infection

Solution- Unauthorised Access
Tools and Services: Avast, NoRoot Firewall, Ghostery, uBlock, Purify

The best way to keep your phone free from malicious software is to:

  • keep the operating system and all apps up-to-date
  • not install ANY applications outside of the GooglePlay or AppStore

Even these methods may not protect you completely, as attackers have been known to sneak malicious software into the official repositories run by Google and Apple. You can also try to install an anti-virus and are advised to enable the firewall on your iPhone or something akin to the NoRoot Firewall on Android.

To secure yourself from malicious code built (or injected) into various websites, install a script blocker such as Ghostery; uBlock for Android; or the Purify app for iPhone.



Hushmail

Service- Surveillance


Hushmail is an established and well known provider of secure email solutions. In the past they have provided access to private user data in response to a request from Canadian law enforcement.



I want to be anonymous connecting to the web

Solution- Profiling your identity and actions Surveillance
Tools and Services: Tails OS, Tor Browser, Whonix, SpoofMac

Disassociating your true identity from an IP address assigned to your device usually requires a change of your physical location - a public place - to connect to the Internet from. Using a wifi hot-spot or going to an Internet cafe will give you some degree of anonymity (especially if those places are not running CCTV or force you to register with an ID before using their services). Bear in mind that once connected you need to consider the following concerns that may de-anonymise you on the local network:

  • Software on your computer. Your Internet browser and many other tools, including malware, may reveal your identity on the network. Use a live operating system such as Tails or Whonix on your computer to ensure that there is no history or malicious tools during your session.
  • Hardware on your computer. In particular your network card (connecting you to the wired or wireless network) has a unique identifier called a Media Access Control (MAC) address. It can be used to identify your computer's actions on the network. However you can spoof this address using built-in techniques or a tool like SpoofMac. Tails also allows you to create a fake MAC address for every session.
  • The services you access online (e.g. your Facebook page) may also correlate your current IP address to your identity. Use the built-in Tor Browser from the Tails or Whonix operating systems.


The situation is much more complicated (regarding anonymity) when accessing the Internet from your smartphone. Please refer to the section on Protecting your phone for more details.



I want to be anonymous when browsing the web

Solution- Profiling your identity and actions Surveillance
Tools and Services: Tor Browser

There are multiple guides to help you stay anonymous when browsing the Internet. Anonymity, which is not inherent in the Internet, is useful when you want to hide your destination address from the local Internet Service Provider or your identity from the visited website. It can also help protect your social graph, obscuring the network of your actual online (and offline) relationships. If you need anonymity to send an email, please refer to the I want to send an anonymous email section.

  • The Tor Browser hides your destination address and shields your identity from the visited website. It is completely open source and free with an active developer and volunteer community. To learn how to use it, read the guides from the Security in-a-box project for Windows users and from the Surveillance Self Defense guide for Mac users, as well as some tips for using Tor.
  • JonDonym offers several options for anonymising your origin and destination whilst browsing websites.
  • The CeNo is a new project that utilises the Freenet anonymous communications and publishing platform for browsing websites and media news feeds.


Deciding whether you need to use an anonymity or a VPN will depend on your circumstances and is best explained in the Surveillance Self Defense guide as well as here. Be aware of Tor limitations as well.



I want to be certain of the recipient's identity (and vice versa)

Scenario- Impersonation


When sending an email, it is incredibly easy to fake (or "spoof") one's email address. For example, try sending yourself an email with a made up identity from https://emkei.cz

In order to be certain of each other's email identity the message needs to be signed cryptographically. You can do this yourself or learn about existing authentication methods used by some email providers.



I want to be protected from malicious emails

Scenario- Unauthorised Access


A huge quantity of malicious content can access your computer through your email inbox. This could be annoying but harmless unsolicited advertising (spam), malicious software embedded in an attachment or within the message itself, and various types of links leading you to infected web pages. Many tools exist to protect your computer from infection but they will never be 100% effective and a lot of discretion is advised when opening or reacting to content received in an email message. To learn how to check if an email you have received is malicious, read this manual by the Electronic Frontier Foundation. Also, be aware of rogue software promising to protect your computer.



I want to communicate securely

Scenario- Surveillance Profiling your identity and actions
Tools and Services: Firechat

There are two primary channels for communicating with others from your smartphone - using the mobile network (GSM, CDMA, etc) for voice and SMS messages, or using a data connection (e.g. to the Internet) over the cellular network. Different solutions for secure communications exist for each of the two channels, and each scenario below assumes both circumstances.

Generally speaking, privacy advocates and security researchers do not recommend using mobile phones or smartphones for (very) secure communication.

There is a third way, however, to communicate 'off the grid' for smartphone users. Firechat uses the phone's wifi or bluetooth device to establish conversations with other users in the geographic vicinity. You do not need to connect to the cellular or data network. Messages between users in these temporal messaging rooms are, however, not encrypted.



I want to delete metadata from my files

Solution- Profiling your identity and actions


Metadata is data about data. It is needed for our digital systems to work properly: for instance, it enables emails to be delivered correctly, helps us find files on our computer, and fundamentally makes it possible to navigate and manage digital content. But as it helps our navigation, it can also help others trace our activities.

Every Word document, digital photograph, PDF, etc. you create will contain metadata. This could include information about the physical device you used, the location you were at, the time of creation and so on. It's important that you know how to locate and destroy this metadata from a given file.



I want to destroy data

Scenario- Unauthorised Access Data Loss
Tools and Services: Bleachbit, CCleaner, Eraser

Those rumours were true - computers cannot delete data. Information previously deleted on your computer, USB or SD card by using the standard delete > empty bin method, can be recovered. In order to destroy data you need to overwrite its physical location on the disk with new information. Specific tools exist for this purpose including Bleachbit for Windows and Linux, as well as CCleaner and Eraser for Windows. MacOS users can follow the techniques mentioned in this guide or recommendations regarding SecureTrash on the Apple website.



I want to ensure that my data is never lost

Solution- Data Loss Unauthorised Access
Tools and Services: Peerio, Mega

Whether through a malicious action or by sheer bad luck, data can be lost in many different ways. And if that data had been stored just in one device or location, it may be very difficult or even impossible to recover it.

The only way to not actually lose any information is to have an up-to-date and secure backup. The best solution, especially if your archive is sizeable and your Internet connection speed is basic, is to make several encrypted copies of your data on various portable memory devices

If you want to keep an online archive of your files, there are many commercial and some free services offering encrypted storage. In choosing between them, look out for terms such as 'client-side' or 'end-to-end' encryption - that is where the provider cannot decrypt your data because it was encrypted locally, by your client.

Peerio is an encrypted file storage and sharing tool with 1GB of free space. Mega also offers encrypted online storage and sharing with 50GB for free. There is a syncing feature to keep all your devices up to date.



I want to find out about existing options for authenticating email

Solution- Impersonation


Several systems have been developed in recent years to help email providers authenticate the sender of an email message. Most providers currently use an email authentication system to filter spam. If you are a Gmail user, you can understand how this works by reading Gmail's email authentication guide.

In general, you must rely on your email provider to perform sender authentication, but if you want to be sure and inspect some of the messages you receive manually, you will need to learn how to read message headers (sometimes called "message source") and authenticate them yourself with these online tools:

If you would like to check that your email provider offers email authentication (for emails that you send to others), you can try the DKIM Validator website. Simply send an email to the address on that page and then click to view the results.

These systems either confirm the domain name (e.g. @equalit.ie) that the message was sent from or check the sender's IP address against a list of known malicious addresses.



I want to have a private phone conversation

Solution- Surveillance
Tools and Services: Linphone, Signal, Bleep, SilentPhone

There is not much choice for having a private (encrypted) conversation using the cellular network. The CryptoPhone might be one of the few commercially available solutions, but both parties will need to have one for secure calls.

Android and iPhone users can rely on various tools that use a secure Voice over IP protocol or a VPN approach to encrypting your calls. You will need a steady data (Internet) connection and the same application for all conversing parties. Note that by "private" we mean conversations which are not accessible to anyone but the conversing parties.

Android:

  • LinPhone
  • Ostel, using the CSIP simple client - no updates since November 2014


Multi-platform

  • Signal for iPhone and Android
  • Bleep messenger enables encrypted calls over the peer-to-peer Bittorrent protocol
  • SilentPhone commercial solution from SilentCircle




I want to hide my traces

Solution- Profiling your identity and actions
Tools and Services: Bleachbit, Tails OS, CCleaner

Your computer keeps trace of most of your activities. This includes the websites you visit, documents you've worked on, email attachments opened, etc. This information is constantly collected and stored as 'temporary files' on the computer. Since these files document your actions, they could give away a lot of information about you to anyone who might have access to your machine, so it may be prudent to delete such traces.

Bleachbit for Windows and Linux, as well as Ccleaner can destroy temporary files.

Using your browser in Incognito mode on Chrome or Firefox will prevent the recording of your browsing history and the download of cache to the computer. It will also disable cookie collection for that session and help prevent profiling. Additional browser settings on Firefox and Chrome will help you better control your data.

If you want to be fairly sure that anyone getting hold of your machine will not be able to learn about what you've been up to, it is always advisable to encrypt your hard disk, and you can also consider using Tails, a live operating system that leaves no traces on the computer you are using (unless you ask it to do so).



I want to investigate other options

Solution- Surveillance Profiling your identity and actions Impersonation
Tools and Services: Peerio, Mega

The only way to be sure that your email conversation is truly confidential is to use end-to-end encryption technology. Aside from that you would need to either:

  • Trust your email service provider. Please see To find a reliable email provider and ensure that your recipient uses the same provider, or
  • Trust the provider of an encrypted messaging service (for example, that they have properly implemented their security algorithms and are resilient from any type of 3rd party interference).

Some suggestions for encrypted messaging services built as open-source software:

  • https://peerio.com - encrypted messaging and file sharing where you don't need to learn about GPG encryption. Required for all recipients. Cannot be used with regular email addresses.
  • https://mega.nz/ - encrypted online file storage. Mega allows you to share the file with another Mega user or externally, provided you can get the link to them securely.

You can always turn to a proprietary solution (e.g. http://www.symantec.com/desktop-email-encryption) but we cannot recommend any commercial solutions, especially those which do not disclose their code for inspection.



I want to know about options for private chat

Solution- Surveillance
Tools and Services: Pidgin Adium, Jitsi, Cryptocat, Mega, Peerio, Telegram, Signal

If you want to have a private chat conversation with someone, you need to make sure that no one else but you and the person/s you are chatting with can read your messages (confidentiality), that the person/s you are chatting with are really who they say they are (authenticity) and that what you and the other people in the chat are writing is not tampered with by third parties (integrity).

In order to obtain all this, you need to use a tool offering end-to-end encryption and key verification. As most service providers (e.g. Google, Microsoft, Yahoo, Facebook) don't offer this service and can therefore read your chat record, it is a good idea to either switch to an alternative chat service that provides encryption by default, or to use software for encryption if you need to stick to those services. Take a look at the EFF's Secure Messaging Scorecard to see how they rate various chat clients that claim security properties.

The standard for a secure two-party conversation is called OTR - Off the record messaging, and several popular chat clients support it, including Pidgin with OTR for Windows and Linux, Adium for Mac, and Jitsi for all common desktop operating systems. The latter also includes secure audio and video conferencing. These clients can work with your existing accounts on Google, Facebook, Yahoo, etc. and encrypt the conversation over their respective networks.

Several chat clients are available as an add-on to your web browser, including Cryptocat, Mega and Signal. Aside from that, several free messaging services offer similar encryption properties for messaging including Peerio and Telegram. All of the mentioned tools are available as open source software and publicly disclose the encryption methods they employ in their software.

If you are interested in creating a secure and an anonymous conversation, please refer to I'd like to have an anonymous conversation



I want to learn about circumventing Internet censorship

Solution- Censorship
Tools and Services: Psiphon, Lantern, uProxy, Tor Browser

There are numerous ways to block a website. Luckily there are also many ways to get around these blocks. For a quick primer, look at the How to Circumvent Online Censorship guide by the EFF or the more detailed Floss manual on bypassing censorship, or a practical multilingual guide on how to remain anonymous and bypass censorship on the Internet from the Security in-a-box project.

The solution lies in connecting to the desired website via an intermediary server - and hiding this action from the censor. There are a number of tools and services to achieve this:

  • Circumvention tools - purpose-built software to go around local Internet restrictions. Psiphon, Lantern and uProxy are some such tools.
  • VPNs - a Virtual Private Network allows you to connect to the Internet via an encrypted tunnel to the VPN provider. Your ISP can only see your connection to the VPN service, and to the website you are visiting your origin appears as coming directly from the VPN servers. The RiseUp VPN service is a popular choice among activists and functions from all computers and Android smartphones. Surfeasy is one of the many commercial VPN services offering free accounts as well.
  • The Tor Browser is another popular method for bypassing website censorship by using an anonymity network.

A growing number of countries practicing Internet censorship are beginnning to discover and block access to these intermediaries as well. If neither method works (as you live in a country that blocks public circumvention methods) then you may need to ask a friend living in another country to set up a proxy server, a Tor Bridge or a VPN just for you. The latter (setting up a VPN server) is a little trickier and will require some technical competency with Linux systems (and possibly home routers).



I want to learn about digital signatures

Solution- Impersonation


You've come to the right place! But all in due time: before you learn how to cryptographically sign your message, you first need to understand how email encryption works and generate a key pair, which is used to encrypt your messages, but also to digitally sign them.

By signing a message, you will be able to prove to the recipient that you are the actual author of the email (authenticity) and that the text has not been tampered with along its way from your computer to the recipient's inbox (integrity).

For more information, you can read the Digital Signatures section on the Bitcoinbombs website and then a practical guide for your email client from the Security in-a-box website.



I want to learn about encrypting email

Solution- Surveillance
Tools and Services: Mailvelope

Excellent! It's a journey but one well worth taking. There are many guides about setting up and using public key encryption and it may seem overwhelming at first. A few helpful tips to remember when starting out:

  • There is a general standard for public key encryption called OpenPGP. Popular encryption engines including PGP and GnuPG are compliant with this standard
  • To use public key encryption you will need a key pair, an encryption engine and (optionally) an interface with your email program
  • Your key pair is portable, you can change the email program and encryption engine, using the same encryption method from different computers. Essentially the key pair is made up of two distinct (but interdependent) files - the public and private key. Keep a copy of them.

Keep in mind that aside from encrypting your messages, you should also know about key verification, message signing and file encryption. Please make sure you refer to these sections in the given resources. Here's a list of guides, varying in the software methods they show as examples, by language and context, to help you get started and on the way:




I want to learn about secure audio and video conferencing

Solution- Surveillance
Tools and Services: Linphone, Jitsi, Jitsi Meet

Secure telephony and video conferencing on the Internet did not exist until very recently, when ZRTP, a cryptographic standard for voice over IP (VOIP) conferencing was invented by Phil Zimmerman, the same person who gave us PGP encryption for email. ZRTP offers end-to-end encryption of the conversations and has been implemented in Jitsi and Linphone. Both tools encrypt audio and video conferencing and are available for use on all common platforms.
In addition Jitsi also offers a conferencing service accessible directly from the browser, called Jitsi Meet. You can install the open source package on your own computer or use their publicly available portal at https://meet.jit.si. Note that this web service provides only transport layer security (TLS) and not end-to-end encryption as the clients mentioned above, which means that the connection is encrypted but the content is accessible to the provider.



I want to prevent unauthorised access to my data

Solution- Unauthorised Access
Tools and Services: Veracrypt, LibreCrypt, DiskCryptor, Symantec Endpoint, Truecrypt, Peerio, Mega, GPG4USB

If you want to avoid that your documents are accessed by someone without your permission, you need to either encrypt them one by one (file encryption) or to store them in a secure space, which may be your computer, a storage device or just a part of them (disk encryption).

In order to create a secure space on your hard disk or storage device or encrypt the entire computer, you can use several tools:

  • Truecrypt can encrypt your entire hard disk or just a part of it, but is no longer actively maintained.
  • Truecrypt is being replaced by Veracrypt, which has been developed starting from Truecrypt's code, but this project is very recent and doesn't have a very large user base.
  • DiskCryptor and LibreCrypt are two other free and open source tools for disk encryption that are gaining prominence as replacements of Truecrypt.
  • BitLocker is a Windows solution (Vista and 7 Ultimate+ editions and Windows 8+) with several options for full disk or folder encryption.
  • Another popular commercial disk encryption tool is Symantec Endpoint Encryption.
  • Mac users can encrypt their disk using the built-in FileVault feature.


You can also use an encrypted file storage service like Peerio or Mega as explained in the I want to ensure that my data is never lost section. Individual files can be protected with GPG4USB.



I want to protect my Email

Surveillance Profiling your identity and actions





I want to protect my computer from virus infection

Solution- Unauthorised Access
Tools and Services: Tails OS, Qubes OS, NoScript, ScriptBlock, FlashBlock, FlashControl, Comodo, Avast

Like its biological predecessor, a computer virus can be caught in a lot of different circumstances. It may be impossible to prevent your computer from exposure but a series of defensive mechanisms should be able to stop the infection. They include:

Furthermore, detailed guides are available in the Surveillance Self Defense project and the Security in-a-box toolkit.



I want to protect my email account from unauthorised access

Scenario- Unauthorised Access


There are many things you can do to protect your email account from unauthorised entry or hacking. There are quite a few things your email provider should do as well, so pick one wisely. First and foremost your account must be protected by a good password. You also need to make sure that your computer is free from malware.



I want to recover data

Solution- Data Loss
Tools and Services: Recuva

Information previously deleted from your computer or removable memory card can sometimes be recovered.

If your computer is broken and the operating system refuses to load, it may still be possible to recover data from the hard drive by booting it from a live operating system



I want to send & receive secure messages from my phone

Solution- Surveillance Profiling your identity and actions
Tools and Services: Signal, Telegram, SureSpot, SilentPhone, Bleep

Messaging is the most popular method for communicating on smartphones today. WhatsApp, SnapChat, Slack, just to name a few, and of course the behemoths that are Facebook messenger and Google Hangouts all offer messaging services. It's interesting to note that they are all working in silos - your friends and contacts need to use the same provider as there is no inter-service communication. In general, they are not considered private since the provider has access to your messages.

Messaging apps that perform end-to-end encryption and publish their methods and source code in the public domain are considered here as private messaging tools. You can see a review of multiple apps on the EFF's secure messaging scorecard.




I want to send a pseudonymous email

Solution- Surveillance
Tools and Services: Tor Browser, Tails OS

There are two ways to go about this. One is to use an anonymity network (like Tor) to register and then send emails from a standard webmail account, as explained in EFF's How to create an anonymous email account guide. The other solution is to use a secure operating system and access your email provider from a public location, using a fake MAC address. Needless to say, in both cases your email account should be registered with a pseudonym, completely disassociated from any of your personal details and you must maintain rigor and vigilance whenever accessing this account.



I want to send a secure SMS (text message)

Solution- Surveillance
Tools and Services: SMSSecure

There really are not many options for sending private SMS/MMS without a data plan or access to the Internet from your smartphone. Android users have SMSSecure which was a fork of the original TextSecure application after they decided to remove support for SMS/MMS. There are no known iPhone applications for end-to-end SMS encryption.



I want to send an anonymous email

Scenario- Profiling your identity and actions Surveillance
Tools and Services: Tor Browser, TorBirdy

There are several options for sending an anonymous email. One of which involves a pseudonymous email where any data identifying you or your location is stripped from the message. A level of technical experience is required as you move further down the anonymity scale in your email communications. This is especially true because of the problem posed by email metadata.

You can register a temporary email address (good for one day) to receive an email anonymously from the https://anonbox.net project. You can send an anonymous email using the Paranoici remailer service. It will wrap your email message in several layers of encryption, anonymising the metadata of your message.

The 'easiest' way to send an anonymous email (containing no identifying metadata about the conversing parties) is over the Tor Hidden Service network. You can register an email account in Torbox (http://torbox3uiot6wchz.onion/) and access its webmail service from a Tor Browser or through a Torrified Thunderbird client. The recipient must use the same service for conversing with you.




I want to share a document securely

Solution- Surveillance
Tools and Services: GPG4USB

If you want to share a document with a friend or two, without anyone else being able to access this document, several options are available. You can send your document as an encrypted email attachment, as described in I want to learn about encrypting email or use a stand-alone GPG4USB to encrypt one or more individual files. In either case, both parties need to have set up and exchanged their keys in advance - to decrypt the message they have received.

You can also use an encrypted messaging service or do a file transfer if both parties have set up a secure chat session.



I would like to connect to a website anonymously

Solution- Surveillance


This topic is covered in I want to be anonymous connecting to the web in the section Identity or Location.



I would like to connect to a website securely

Solution- Surveillance Profiling your identity and actions
Tools and Services: HTTPS Everywhere, Avast

Connecting to a website securely means several things, all of which contribute to secure your access to the websites you visit:

  • the connection between your computer and the website's server is encrypted;
  • there are no leaks of information about the current session to third parties;
  • you do not expose yourself to malware infection by visiting a compromised website.

Read the Better Browsing guide by RiseUp for details on how to browse with greater security in Firefox or Chrome (in general, these are the recommended browsers when discussing security).

The HTTPS Everywhere browser add-on by the Electronic Frontier Foundation ensures that you connect securely and with trusted credentials to thousands of websites.

In all cases, make sure that your computer's operating system is up-to-date, that you are using the latest version of your browser and that you are running anti-malware protection. Install the recommended extensions from the RiseUp guide and review the How Do I Protect Myself Against Malware? guide from the EFF.

You may also wish to use an anonymity network or a VPN to reach the desired website as explained in the I want to be anonymous when browsing the web section.



I would like to prevent others from accessing my computer

Solution- Unauthorised Access
Tools and Services: dm-crypt

Barring physical access to your computer may be a logistical challenge: in most cases there will be moments when it is left unattended. Nevertheless, you can prevent others from getting any of your personal data out of it by using strong passwords and disk encryption.

A laptop with a TPM chip can encrypt the entire drive and secure the computer from booting to unauthorised parties, using BitLocker for Windows (Ultimate and Enterprise editions of Windows Vista and Windows 7, the Pro and Enterprise editions of Windows 8) and dm-crypt for Linux. Mac users can encrypt the disk using the built-in FileVault feature.



I'd like to have an anonymous conversation

Solution- Profiling your identity and actions
Tools and Services: Ricochet IM, Tor Messenger, Pidgin Adium, Bleep

In order to have an anonymous conversation, you need to connect to the network anonymously or via a service that protects your identity to enable anonymity. In general, what you have to look for is a tool or a service that hides your IP address, as explained in the Identity or Location section.

  • Ricochet client is a peer-to-peer messaging app that creates a Tor Hidden Service to enable anonymity for the conversing parties. "Instead of a username, you get a unique address that looks like ricochet:rs7ce36jsj24ogfw. Other Ricochet users can use this address to send a contact request."
  • Tor Messenger is a new tool that has been just released to the public by the Tor project team. Quoting from Tor Project's blog, it is a "cross-platform chat program that aims to be secure by default and sends all of its traffic over Tor. It supports a wide variety of transport networks, including Jabber (XMPP), IRC, Google Talk, Facebook Chat, Twitter, Yahoo, and others; enables Off-the-Record (OTR) Messaging automatically; and has an easy-to-use graphical user interface localized into multiple languages."
  • Bleep messenger is built on top of BitTorrent, a file sharing peer-to-peer infrastructure. There is no central server and connections between conversing parties are made directly, with content encrypted between the parties. It is not, strictly speaking, anonymous as it relies on IP addresses to route a connection through other BitTorrent users.
  • If you want to keep your current chat address and existing contact lists whilst adding anonymity properties to your conversations, install the Pidgin or Adium chat clients and configure them to work over the Tor network. This approach is explained in detail in Chatting in secret while we're being watched, an article by Micah Lee published in The Intercept. In addition, you should read I want to know about secure chat and ensure that your recipients have performed the same steps.




I'm worried someone is trying to lure me with a fake email (phishing)

Solution- Unauthorised Access
Tools and Services: NetCraft, WorldIP

Receiving messages asking you to click on a certain link, reply with private and sometimes confidential data or open an attachment, could also be a Phishing attack. Targeted attack messages - whereby the content is specifically tailored to be relevant to you are known as spear phishing. In the everyday humdrum of working life, reading dozens if not hundreds of emails per day, it is quite easy to mistakenly click on a link or open an attachment, without giving a second thought to the sender's identity or intent. Targeted attacks (an email purportedly from your friend or your boss) are even harder to detect. Please review the How to avoid phishing attacks guide from the EFF.

Some of the bigger email providers like Gmail or Hotmail offer help to detect and report phishing attacks. The NetCraft tool can protect your web browser from accessing known websites used for phishing re-directions. Firefox users can also install additional add-ons to double-check a site's validity before visiting it. In principle you should:

  • Never click on links in email messages directly (copy and paste them into the browser manually if you're intent on opening it)
  • Never open an attachment unless you are sure of the sender's identity and intent. Sometimes it's better to reply to the sender in order to confirm the message before opening it

Google Chrome and the open source Chromium browser have built-in phishing protection. It may warn you in advance of opening up a known phishing site.



Identity or Location

Scenario- Profiling your identity and actions Surveillance


Computers and smartphones leave traces about you and your actions. Connected together, all these pieces of information can reveal a lot about your identity and the places you have visited. Browsing and communicating on the Internet is inextricably linked to your IP address and MAC address. These details are continuously recorded by your Internet service provider, in accordance with Data retention legislation passed in most countries, and often times by the website you are visiting as well. The IP address can also be linked to a geographic location, as you can see by visiting http://www.hostip.info. The MAC address can be linked to your online accounts and identity. There are several solutions to 'hiding' your identity or location from the site you are visiting or masking your true destination from the ISP. However, disassociating your location from the IP address assigned to you on the network and disassociating your identity from the MAC address of your personal computer or smartphone require a different approach.

Inadvertently we leave a lot of traces and information about our identity and location through the voracious use of social media services and the pervasive presence of online trackers that record, correlate and create profiles of our characteristics and persona. Simply by using open source intelligence it is possible (and fairly easy to any savvy Internet user) to locate and identify a person from their online accounts.





Kolabnow

Service- Surveillance


Kolabnow is an Internet services provider based in Switzerland. Their systems are built strictly on open source software.



Minimising damage from a lost or stolen computer

Solution- Unauthorised Access Data Loss


Security measures must be taken in advance of the loss. They include:




My Website

Scenario- Unauthorised Access Data Loss Censorship


It's very easy to get a website up and running these days, but it's pretty tough to keep it secure and stable against a continually evolving and maturing array of cyber attacks. In order to protect your website, you will need to consider its technical set-up, the software you are using to create the site and its content, as well as the various types of plugins and extensions enabled for extra features on that site. Most importantly, you need to have a contingency plan, by asking yourself what happens in case of an emergency. This includes:

  • creating regular backups of your files and database, in case your online content gets lost due to a technical problem or an attack;
  • knowing your hosting provider's terms of service and their readiness to protect you during an attack;
  • knowing your Domain name service (DNS) provider's security options and terms of service;
  • implementing mitigation solutions in advance of a crisis.

In most cases, for non-technical users it is advised to create a site/profile on an existing platform catering especially for this, like WordPress, Medium and Livejournal to name a few of the bigger providers. They look after all the back end details, leaving you to create and manage content on the site. You can also choose to host your blog at one of the non-profit groups including NoBlogs or someone from this list.




Online Conversations

Scenario- Surveillance Profiling your identity and actions


In the Internet you will find an incredible amount of resources for real-time online conversations, whether you want to interact with communities, have one-on-one conversations, or organize a meeting or a conference. Sometimes these conversations are only textual (chat and instant messaging), but in other cases they offer audio and video as well.

As with email and Internet browsing, similar considerations on surveillance and profiling also apply for online conversations. You can have a private or an anonymous conversation using some of the tools and methods described in this section.




Only one of us knows how to use encryption

Solution- Surveillance


If only you or in turn the recipient knows how to use public key encryption, it's now possible to send a secure one way message. The person with the public key pair registers an account with https://keybase.io and uploads their public key to it, creating an identity on the portal. The sender can compose an encrypted message using your online space on this portal "https://keybase.io/encrypt#username". Keep in mind this is for one-way communication. If you would like to establish a secure channel with your recipients, please read I want to learn about encrypting email. If you would like to investigate other options of securing your messages, please go to I want to investigate other options.



Phone

Scenario- Profiling your identity and actions Surveillance


A smartphone is a small computer in your pocket, and all of the vulnerabilities mentioned throughout other sections of this guide apply. The solutions are more or less the same as those for a computer, only with different software. In most cases your smartphone will be running a version of the Android or iOS operating system. The Security in-a-box toolkit has excellent recommendations on secure mobile and smartphone usage

One major difference between a computer and a phone is that the latter always gives away its location to the cellular network. You can read more about this in Can I be anonymous whilst using my phone. Wikipedia has a useful description of various Mobile security issues. Smartphones in general require just as much attention security-wise as your computer.




Protect files and messages on my phone

Solution- Unauthorised Access
Tools and Services: Signal

Both the Android and Apple smartphones offer full handset (disk) encryption, which ensures all files and messages on your handset cannot be accessed without knowing the handset's password. On the Android phone this needs to be enabled manually and on the iPhone you are simply required to set up a security Passcode to enable disk encryption automatically.

If you forget the phone's password, you will need to restore the phone back to its original setting. Your phone would need to be synced with your Google or iTunes account so as not to lose any data. On the other hand, syncing your phone with these providers means that there is a duplicate of all your data in the cloud.

If you just want to encrypt your messages on the phone, you can use Signal on Android and iPhone.



Protect my site from denial of service attacks

Solution- Censorship


Denial of service attacks attempt to bring down the target website through a variety of hacking, social engineering and other means. Distributed denial of service attacks (or DDoS) attempt to overwhelm the target website or its provider's resources by flooding it with malicious requests. There are many vulnerabilities and mitigation points to think through, as described in the DDoS mitigation section of the Digital First Aid Kit.

The What to do when your website goes down guide describes how to respond to such attacks and prevent their success in the future.

There are also a number of DDoS mitigation and secure hosting providers ranging from large corporate run services like Cloudflare's Project Galileo and Google's Project Shield to smaller ethically run organisations including Virtualroad, Greenhost and the purpose-built Deflect.



ProtonMail

Service- Surveillance


ProtonMail is an emerging and popular email service run out of Switzerland, offering end-to-end encryption based on the OpenPGP.js library. Currently they are restricting account registration due to overwhelming demand. Parts of the codebase are open source and other proprietary.



Reset passwords and security questions

Solution- Unauthorised Access
Tools and Services: KeePass Password Safe

Password are easily forgotten (unless you are using a password program). This is why most service providers offer several opportunities for you to reset your password by sending you an email or by asking you a personal question of your choice to prove your identity. Whilst often necessary, both options may result in a security risk and need to be thought through carefully in advance. For an excellent description of the problem, you can read this Wired article by Matt Honan. To make a long story short:

  1. Resetting a password by sending the code to another email account opens up another attack vector for the hacker. If they can break into one account and then request the reset password to another account to be sent there, you are worse off than before.
  2. Setting a security question based on personal information (e.g. your mother's maiden name) means the attacker only needs to find out this information in order to reset your password and gain access to your account.

If at all possible, it is best to not set any reset options. If you want this option or are required to do so, put yourself in the hacker's shoes and make sure their task won't be easy.




RiseUp email

Service- Surveillance Profiling your identity and actions


RiseUp email is a free service for organised civil society members and is many an activists' preferred choice. They have been in operation for over 15 years and take your privacy very seriously. At the same time, a @riseup.net email account could arouse suspicion since it is so prevalent in the activist community



Run your own mail server

Service- Surveillance Profiling your identity and actions


If you're up to the challenge, a personal (or small network) mail server on an encrypted computer is an excellent way to go. It may expose the participants as belonging to a single service, but can offer privacy and reliability far and beyond what you'd expect from a 3rd party. Many guides are available online, ranging from the step-by-step walk-throughs with detailed explanations to the point-and-click install. Its not a task for the novice but it is definitely doable with some attention and persistence.




SafeMail

Service- Surveillance Profiling your identity and actions


Safe-mail is an established provider of secure email. It is a commercial enterprise and free accounts only allow for 3mb of space. The company and servers are located in Israel, with offices in UK and Japan. The company claims to seamlessly encrypt all messages between safe-mail users with 'PKE', but the secret key is stored on their servers (which means you will have to trust they will never use it to decrypt your mail).



Social Network

Scenario- Profiling your identity and actions Surveillance Unauthorised Access
Tools and Services: Ghostery, Lightbeam

The very term - social network - implies socialising and not discreet conversation. However the Facebooks and Twitters out there have become such an essential part of information exchange between us that we inevitably begin to look for confidentiality and authenticity within our social circles. There are numerous vulnerabilities to consider and important steps to mitigate them are documented and require your action. In brief, you should:

When using a commercial social networking platform, consider that you are helping create the social graph of your friends and associates. This is useful information to companies and security services. By remaining constantly signed in on your social network account in the browser, you are also disclosing your browsing habits on the Internet in general, aside from their service. This extends to many types of websites, including your news and media service. The Panopticlick project by the EFF can analyse your browser for traces of identifiable data that websites you visit will collect about you. The Lighbteam browser add-on will "visualise the relationships between the websites you visit and the third party companies that track your online activity through those websites" and the Ghostery browser add-on will help you block these trackers from collecting your personal data.

There are alternative social networking services that are built with privacy in mind, including Diaspora, RetroShare, Gnu Social and a recently launched Minds for Android and iOS.





Test my site for vulnerabilities

Solution- Unauthorised Access
Tools and Services: Nmap, Nessus

The rule of thumb for not getting your site hacked or infected with malware is:

  • Run up-to-date software, including all themes and plugins (if there are no recent updates to either - do not use them anymore)
  • Do not install or run any services you are not currently using
  • Make sure your web hosting service continually updates their own systems and services

Testing a site for vulnerabilities is not an easy task. You need to look not only at the various systems your website is comprised of and depends on, but to be able to interpret the results as well. A vulnerability could be found and exploited on a systems level (e.g. hosting set-up), in the web server configuration, inside Wordpress or in some third-party plug-in you have installed within it.

An online penetration test is available with several testing options, including a passive reconnaissance 'Google hacking' test. In principle it is recommended to run your own vulnerability testing systems, including the popular Nmap tool and the surprisingly easy to set up but very well respected Nessus vulnerability scanner.

Many vulnerabilities occur at the user level - with you. For an in-depth look into auditing internal organisational processes and systems, refer to the Safetag project and make sure you have read the section on how to protect your computer.



The website loads but is unrecognisable - it looks like another site

Solution- Censorship


If you're sure that the website address is correctly typed, then three possibilities remain for it appearing as a different site altogether.

  1. It's been hacked and its contents have been replaced with what you see now.
  2. The website's DNS account was hacked and is now redirecting you to another IP address.
  3. You are witnessing a DNS poisoning attack. To avoid this circumstance, use an anonymity network or a VPN.


You may also want to try searching through various online cache repositories that take a historical snapshot of various sites, including Cached View and the Internet Archive's Wayback machine.



To find a reliable email provider

Scenario- Surveillance Profiling your identity and actions


Ideally you would not need to rely on your email provider if you encrypted all your email. In general, there are several important factors to consider when choosing an email provider:

  • Who is behind the service - is it a big corporation or a small company?
  • Where are their servers located, where is the company registered?
  • What are the privacy and security features of the account?

Answers to these questions may help you understand how far the email provider will go to protect your privacy and identity, the relevant laws that will govern that company and your messages on their servers. Here's a list from the Privacy Tools website on ethical email providers. It is best to read carefully each provider's terms of service and privacy policies before registration. Be aware that apart from protecting the contents of your email messages with encryption, you should also consider email metadata - that is information about who you send and receive email from, when, how often and the subject line, which is never encrypted. Please refer to the EFF Surveillance Self Defense Guide - why Metadata matters.




To send an email that no one but me and the recipient can read

Scenario- Surveillance


There are several options for sending a confidential email that no one but the sender and recipient/s can read. Unlike traditional letters, email isn't protected by an envelope and isn't just one copy of a message travelling from the sender to the receiver. Rather, it is plainly visible to anyone who has access to its several copies, which are stored in several computers along the way. So you have to trust that those copies won't be read by your email provider, the Internet service provider and anyone else responsible for sending and delivering your message. If you want to be sure that no one but you and the recipient can read your messages, the solution relies on using encryption. The Electronic Frontier Foundation has a good introductory guide to communicating with others in a secure way.



Tutanota

Service- Surveillance


Tutanota is a German email provider offering built-in RSA/AES 2048 encryption and an open source codebase. Messages sent within the Tutanota service are encrypted end-to-end and you have an option of sending an encrypted (password protected) email to an external address. Terms of Service & Privacy Policy



Useful apps for my phone

Solution
Tools and Services: BittorrentSync, Panicbutton

  • Any app from the Guardian Project is recommended for Android users
  • BittorrentSync allows for secure file or folder synchronisation
  • The Panicbutton app will send out a number of SMS messages and your GPS location to pre-configured contacts



Last modified on 23 September 2015, at 17:02