03 May 2017

Truly Private? Cyber Security for Everyone?

Cyber security for the People: How to Keep Your Chats Truly Private With Signal

The Intercept
Video by Lauren Feeney



Whether your private conversations are personal, professional, or political, what you say or type into your phone may be of interest to snooping governments, both foreign and domestic. Criminals might be interested as well, especially when you send someone a password or credit card number. There are others you might worry about too: You might want to apply for a job without your current employer finding out. You might discuss something with a lawyer. You might talk to your friends about attending a protest, getting an abortion, or buying a gun. You might send private selfies to your partner that you don’t want anyone else to see. You might be dating someone new and not want your coworkers to find out. The list goes on.
Fortunately, privacy is a fundamental human right.
Unfortunately, most ways that people communicate with their phones — voice calls, SMS messages, email, Facebook, Skype, Hangouts, etc. — are not as private as you might think. Your phone company, internet provider, and the corporations that make the apps you use to communicate can spy on what you say. Your chats can be accessed by police, the FBI, and spy agencies like the NSA. They can also be seen by anyone who can pick up your phone and sift through it. Some of them can even be read by anyone in a position to simply glance at your phone’s lock screen and read the notifications displayed there.
But it’s possible to make sure that your private conversations are actually private. It starts with installing an app known as Signal, and getting your friends to install it too. Then you’ll want to tweak the settings to lock everything down.
The Signal app is easy to use, works on both Apple’s mobile operating system iOS and Google’s Android, and encrypts communications so that only you and the people you’re talking to can decipher them. It also has open source code, so experts can verify its security claims. You can download Signal from the Android Play Store and the iPhone App Store.
Although Signal is well-designed, there are extra steps you must take if you want to maximize the security of your most sensitive conversations. (I outlined some of these steps last year, but Signal has changed significantly since then.) There are also some useful features in Signal that you might not know about.
I discuss these at length below — and in the video above, created with Lauren Feeney.
If you wish to jump ahead to a specific section, you can click the appropriate link:

Get Your Friends to Use Signal

You can only send encrypted messages, and make encrypted calls, to other people who are on Signal. There’s not much point in having Signal if all of your most private texts are still going over unencrypted SMS, so get your friends to install the app, too.
If you’re an activist, get everyone at your next meeting to install the app. If you’re a journalist, tell your sources and editors. If you’re running for office, consider using Signal to communicate with your campaign staff.

Lock Down Your Phone

Signal uses strong end-to-end encryption, which, when properly verified, ensures that no one involved in facilitating your conversation can see what you’re saying — not the makers of Signal, not your cellphone or broadband provider, and not the NSA or another spy agency that collects internet traffic in bulk.
But Signal’s encryption can’t stop someone from picking up your phone and opening the app to read through your conversations. For that, you need to configure your phone to require a passcode, or some other form of authentication, to unlock. You should also make sure that the storage on your phone is encrypted and that you update your phone’s operating system and apps promptly, which makes it significantly harder for anyone to remotely hack into your phone.
If you’re using Android:
  • Set up screen lock, which requires you to draw a pattern, type a numeric PIN, or type a password to unlock your phone. You can do this from the Settings app under Security > “Screen lock.” Try to make your pattern or passcode random, and avoid using anything obvious such as birthdates. Don’t tell anyone how to unlock your phone unless you’re OK with them reading all of your encrypted messages — and everything else on your phone.
  • Encrypt your phone’s storage. A screen lock is not much use if a thief can copy your phone’s data to a different device. Encrypting the flash memory on your phone blocks such an attack by scrambling your data so that it can only be unlocked using the same pattern, PIN, or password used to unlock your phone. You can do this from the Settings app under Security > “Encrypt phone.” Note that you need to have a full battery before Android lets you encrypt your phone, and you may have to wait up to an hour while your phone is encrypting.
  • Install all updates promptly. Updates fix security bugs, so every day you haven’t installed them is a day you’re vulnerable to attack. You can check for Android updates by opening the Settings app, and under System tap “About phone” > “System updates.” You should also update all of your apps from the Play Store promptly.
  • Lock your Signal app with a passphrase. The Android version of Signal lets you lock down the whole app, requiring a separate passphrase to access it. If you followed the steps above (set up a lock screen and encrypted your phone), this isn’t necessary. However, if you ever let others use your phone, you may want to enable it anyway. Open the Signal app, tap the menu icon in the top-right, and go to Settings. Tap Privacy and then tap “Enable passphrase” to set a passphrase. Important caveat: If you lose your passphrase, you’ll have to delete all of your Signal data and start over to keep using the app.
If you’re using an iPhone:
  • Set a strong passcode. iPhones automatically have encrypted storage, but this encryption only protects your data if you lock your device with a passcode. Everyone should use at least a six-digit passcode, and you should up that to 11 digits if you’re concerned that your phone might fall into the hands of a powerful attacker like a government. Avoid using anything obvious such as birthdates. I wrote about this in detail last year — skip to the bottom of that article for instructions on changing your passcode, and for considerations about using Touch ID.
  • Install updates promptly. Updates fix security bugs, so every day you haven’t installed them is a day you’re vulnerable to attack. You can check for iPhone updates in the Settings app under General > Software Update. You should also update all of your apps in the App Store app under the Updates tab.

Hide Signal Messages on Your Lock Screen

Signal’s encryption won’t necessarily help you if other people can see incoming messages displayed on your lock screen. Displaying messages on the lock screen is Signal’s default behavior, but you should change this if your phone is frequently in physical proximity to people who shouldn’t see your Signal messages — roommates, coworkers, or airport screeners, for example.

Don’t Retain Your Messages Forever

After your encrypted Signal message is sent to someone, copies of the plaintext message exist in only two locations: on your phone and on the recipient’s phone. (Unlike other messaging apps, the Signal server never has access to your plaintext messages, and only stores your encrypted messages on the internet for a short amount of time.) This means that if you delete the message from your phone, and the recipient deletes it from their phone, the message will no longer exist. It’s a good idea to regularly delete old messages, especially if they’re part of a sensitive conversation. This way, if your phone ever gets searched, the conversations you don’t even remember having from a year ago — as well as the sensitive conversations from last week — won’t get compromised.
Signal lets you send messages that disappear from both your phone and the recipient’s phone after a specified amount of time (between 5 seconds and 1 week). This is useful when you and a friend both want to retain messages from your conversation for a short period of time. But keep in mind, nothing stops the recipient from recording the messages anyway before they disappear (like, by taking screenshots).
If you have contacts or Signal groups (more on that below) that you regularly send private text messages to, I recommend setting disappearing messages to 1 week. It’s also easy to temporarily enable disappearing messages and then disable it when you’re done, for example when you need to send someone a password.

Send and Receive Private Photos and Videos

Signal makes it simple to send people encrypted photos and videos (including animated GIFs!). While you’re in a conversation with someone, just tap the paperclip icon to browse your photo library, or access your camera directly.
But Signal also includes a subtle security feature: If you take photos or video with your camera from within the Signal app itself, these won’t automatically save to your phone’s library. Likewise, when you receive a Signal message containing a photo or video, this also won’t automatically save to your phone’s library. If you’d like to save a photo to your library, you can long-press the photo and choose to save it.
Why does this matter? Many people automatically sync all of the photos and videos on their phones to iCloud, Google, or other cloud services. And people often allow other apps on their phone, such as Facebook or Instagram, to access their photo library as well. While convenient, this means that, after you’ve uploaded your photos to a cloud service provider, that provider can access them as well. And by extension, so can anyone who can convince the provider to hand over your data, like a law enforcement agency, or who hack your account, as in 2014, when nude photos of female celebrities were published online after their iCloud accounts were compromised.
So, if you’re taking a photo of a top secret document to send to a journalist, or if you’re taking a sexy selfie to send to your bae, make sure to take these photos directly from within the Signal app — this way, they’ll have the same level of encryption and privacy as the rest of your Signal messages.

Have Secure Group Discussions

One of the most useful features of Signal, in my experience, is the ability to create encrypted group chats. Anyone can create a Signal group and add as many people as they’d like, and everyone in the group can send encrypted messages to everyone else. As with one-on-one Signal conversations, group chats support disappearing messages as well as photos and videos. Here are a few cases where Signal groups can prove useful:
  • Communicating as a team on work projects that are too sensitive for non-encrypted tools like Slack or HipChat
  • Keeping track of your friends and colleagues at a conference
  • Keeping track of your affinity group at a protest
  • Organizing a weekly TV watching night
  • Running a rogue Twitter account as a team

Make Secure Voice and Video Calls

In addition to enabling secure text messaging, Signal can also be used to make encrypted voice and video calls. While you’re in a text conversation with someone, just tap the phone icon to call them. When they answer, you can just start talking to them like on a normal call, but with the assurance that the Signal call is end-to-end encrypted. If you’d like to start a video call, tap the video camera icon on your phone during a voice call to turn on your camera. That’s it.
When you make a voice or video call, it’s possible for the person you’re calling to see what your IP address is, which could be used to learn your location. This probably doesn’t matter most of the time, but occasionally it might — for example, maybe you’d like to have a secure call with someone, but without letting them have any way of knowing what country you’re currently in. Signal has a feature that allows you to relay your calls through their server so that the person on the other end of the call can only see the Signal server’s IP address, and not yours. If you enable it, it will slow down your connection slightly, which might reduce the call quality.

Send Messages to Numbers Without Adding Them to Your Contacts

Most people sync their phone contacts to iCloud, Google, their employer, or other cloud services. This can be very convenient: If you lose your phone and buy a new one, you don’t lose all of your contacts. But this means that your contact list is accessible to the service providers you sync to — and by extension, it’s also accessible to law enforcement that can send data requests to those service providers.
You might have some contacts that you need to talk to securely, but don’t want those phone numbers ending up in your contact list. For example, if you want to leak something to a journalist without becoming a suspect in a leak investigation, you’ll need to avoid having the journalist’s phone numbers in your contacts that get synced to the cloud.
Signal allows you to start conversations with people that aren’t in your contact list. To do this, open the Signal app, tap the pen icon to start a new conversation, and type a phone number in the search field. If that phone number has a Signal account, you can then send an encrypted message — without adding the phone number as a contact in your phone.

Verify That the Encryption Isn’t Under Attack Using Safety Numbers

Sorry if this section is confusing for you — the inner-workings of encryption are always somewhat confusing. The important part is that you learn how to verify safety numbers below.
I said earlier that Signal ensures your communications stay private when it is properly verified. Using Signal properly involves verifying that your communications are not subject to a “man-in-the-middle attack.”
A man-in-the-middle attack is where two parties — Alice and Bob, for example — think they’re speaking directly to each other, but instead, Alice is speaking to an attacker, Bob is speaking to the same attacker, and the attacker is connecting the two, spying on everything along the way. In order to fully safeguard your communications, you have to take extra steps to verify that you’re encrypting directly to your friends and not to impostors.
You and each of your Signal contacts share a unique “safety number.” For example, Alice has one safety number with Bob, but she has a different safety number with Charlie. When Alice compares the safety number she sees on her phone with the number Bob sees on his, if the numbers are the same, that means the encryption is secure. But if the numbers are different, something is wrong: Maybe Alice is seeing a safety number between her and an attacker, or Bob is seeing a safety number between him and an attacker, and this is why they don’t match.
Because it’s unlikely that anyone is trying to attack your encryption the very first time you send a contact a message, Signal automatically trusts the first safety number that it sees for each contact. (If you discuss anything sensitive, you might want to confirm anyway).
 

No comments:

The Sapir-Whorf Hypothesis