Top Banner
Going Nuclear Programmatic Protections Against Extreme Vetting, Social Pressures, and Coercion Cara Marie & Andy Grant Enigma 2018
33

Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Jul 07, 2018

Download

Documents

buimien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Going NuclearProgrammatic Protections Against Extreme Vetting, Social Pressures, and Coercion

Cara Marie & Andy Grant Enigma 2018

Page 2: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

DISCLAIMER #1All thoughts and opinions expressed are our own and are not endorsed by,

nor do they represent the thoughts and opinions of our employers.

Page 3: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Why Are We Here?

Page 4: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced
Page 5: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Device Searches Increased by Approximately 60%– technically 58.5129%

Out of ~400 million visitors

Page 6: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

U.S. Customs And Border ProtectionCBP Directive No. 3340-049A

Subject: Border Search of Electronic Devices

Page 7: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

What’s in an Encrypted Backup?

● Keychain Database○ Application Passwords○ Session Tokens

● Application Data○ Social Media Account Data○ Banking Data○ Images/Videos

● Location Data● Phone Data

○ Contacts○ Voicemails○ Text (& Sext!) Messages

Cellebrite Extraction Report Excerpt

Page 8: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

UNMITIGATED PERPETUAL

ACCESS TO YOUR DIGITAL LIFE

Page 9: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

BUT WAIT

It’s not 1984, yet...

Page 10: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Network Access Is Disabled

Page 11: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Network Access Is Disabled

1. Prevents MDM and other recovery solutions from remote wipe

2. Doesn’t prevent future cloud access (cause backups)

Misleading...

Page 12: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Applications Cache Data

Previously downloaded data is still accessible even when

network access has been disabled

Page 13: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

WHAT ABOUT THE 4TH?!?

Page 14: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

5.1.3 Basic Search. Any border search of an electronic device that is not an advanced search, as described below, may be referred to as a basic search. In the course of a basic search, with or without suspicion, an Officer may examine an electronic device and may review and analyze information encountered at the border, subject to the requirements and limitations provided herein and applicable law.

CBP Directive No. 3340-049A

5.1.4 Advanced Search. An advanced search is any search in which an Officer connects external equipment...to review, copy, and/or analyze its contents. In instances in which there is reasonable suspicion...or in which there is a national security concern...an Officer may perform an advanced search of an electronic device.

Page 15: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

DUE PROCESSWe aren’t trying to prevent law enforcement from doing their job.

Page 16: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Move the Conversation Forward...

...since it’s currently stalled...

Page 17: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Digital Privacy Protections While Traveling

Page 18: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced
Page 19: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

MULTIPLE USERS

Page 20: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

CONFIGURATOR 2

Page 21: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced
Page 22: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

BURNERS

Page 23: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Upload images to

the cloud

Download images and

reimage devices

(optional)

Revert device to factory

settings and install only

what’s needed for travel

1

2

3

Clean Device 101

Page 24: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced
Page 25: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

We should have more options

WE CAN DO BETTER

Page 26: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

DISCLAIMER #2We are not legal experts, but did consult lawyers during the creation of each PoC.

While these solutions and PoCs can be applied elsewhere, we caution the audience to do their own research (and consult your own legal experts) prior to using these solutions and PoCs to

cross a border or oppose law enforcement.

We structure them as individual solutions since that’s the best way we found to demonstrate them, but these should ideally be implemented by OEMs and service providers.

Page 27: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Dead Man’s Switch

● Programmatic wipe of device○ NOT an MDM solution○ Does not rely on a network solution

(entirely local to the device)● Automatically wipes device if connected while

unlocked (when enabled)● Password protected functionality

CAUTION! EXTREME MEASURE

Page 28: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

B-PR (Beyond Password Reset)

Text one-time

password

Change passwords to randomly

generated passwords

Passwords are then

stored, encrypted,

on cloud storage

Enduser has no access

to decrypt at that time

Page 29: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

DEMO

Page 31: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

WE MUST DO BETTER

In offering user-friendly traveling privacy protections

Page 32: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Resourceshttps://github.com/nccgroup/escalating-measures

[email protected]@bones_codes

[email protected]@andywgrant

Page 33: Going Nuclear - usenix.org · – technically 58.5129% Out of ~400 million visitors. U.S. Customs And Border Protection ... CBP Directive No. 3340-049A 5.1.4 Advanced Search. An advanced

Resources

● Digital Privacy at the U.S. Border: Protecting the Data On Your Devices and In the Cloud

● Protecting Data at the Border Act● 34C3: Protecting Your Privacy at the

Border

Tools

● 1Password● Apple Configurator 2● Dead Man’s Switch● usbkill ● B-PR

Android

● How to enable multiple user accounts on an Android smartphone

● How to Hide Apps from Android’s App Drawer with Nova Launcher

iOS

● Personal International Infosec● Counter-Forensics: Pair-Lock Your Device

with Apple’s Configurator● Reduced Annoyances and Increased

Security on iOS 9: A Win Win!