noise floor

59
NOISE FLOOR Melissa Elliott / 0xABAD1DEA

Upload: vicente-venegas-gellibert

Post on 10-May-2017

227 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Noise Floor

NOISE FLOORMelissa Elliott / 0xABAD1DEA

Page 2: Noise Floor

exploring the world of unintentional radio emissions

spoilers: every electronic device you own is screaming its name into the infinite

void

Page 3: Noise Floor

shield your eyes, the color scheme is about to change

Page 4: Noise Floor

IT'S PRONOUNCED A BAD IDEABinary analysis researcher at Veracode

accused of destroying infosec

Page 5: Noise Floor

What are we learning about in this talk?

How to evaluate our own devices for compromising radio emissions using

simple and cheap equipment!

Page 6: Noise Floor

Radio emissions?

Electronics naturally generate radio interference. It can leak information about the machine’s state

Page 7: Noise Floor

ZOMG IT HAS USB DOES IT RUN ON LINUX

Yes.

and OSX and Windows.

Page 8: Noise Floor

THE SCRIPT KIDDIE OF RADIOSRadio engineering expertise? Don't need

it.

You need ten dollars and a working computer.

Heck, even a Raspberry Pi will do.

There's python bindings.

IT'S REALLY EASY.

Page 9: Noise Floor

WHAT ARE WE DOING?We're using extremely cheap USB SDR

(software defined radio) dongles, intended for receiving television broadcasts, to pick up emissions from YOUR electronics (or your neighbor’s) to evaluate risk

The chipset is called Realtek RTL2832U and the dongles are sold under various brands, usually labeled as DVB-T.

Page 10: Noise Floor

WHAT ARE WE DOING?

Everyone who just giggled at the word "dongle" is uninvited from the secret club.

Nope, sorry, too late. No take-backs.

Page 11: Noise Floor
Page 12: Noise Floor

PAL female connector

Elonics E4000 - this one is really good

FC0013B - not as good but I got a crate of ten of them for $100! Including antennas and a CD I wouldn't dare install.

You can get ANYTHING on Ali Express!Even HUMAN HAIR. And radios.

Page 14: Noise Floor

WHY ARE WE DOING IT?Ever hear of TEMPEST? Van Eck

phreaking? That stuff’s real. It’s not just for CRT screens. “Compromising

Electromagnetic Emanations of Wired and Wireless Keyboards” by Martin Vuagnoux and Sylvain Pasini, 2009

http://infoscience.epfl.ch/record/140523/files/VP09.pdf

Intercept ALL the keyboards!

Page 15: Noise Floor

WHY ARE WE DOING IT?You deserve to know what other people

can determine about your computers

You need to know how to test if your mitigations are effective

It's the most fun you can have with a $10 radio and not get arrested*

* maybe

Page 16: Noise Floor

IS IT LEGAL?Yes, no, maybe so? Laws regarding radio

receivers vary vastly and are an utter quagmire.

BUT – it turns out that simply receiving is mostly passive-ish. Unlike that messy transmitter business.

Nonetheless, I would never, ever advocate carelessly flouting your local laws. Ever.

Page 17: Noise Floor

IS IT LEGAL?

"Scanning receivers and frequency converters designed or marketed for use with scanning receivers... shall be incapable of bla bla bla look don't tune into cell phone stuff okay"

(that's a quote)http://www.gpo.gov/fdsys/pkg/CFR-2010-title47-vol1/xml/CFR-2010-title47-vol1-sec15-121.xml

Page 18: Noise Floor

IS IT LEGAL?

Breaking the law could be as easy as...

(But no-one has ever gone to jail for incrementing an integer.)

Page 19: Noise Floor

WHAT GOT ME WORRIED ABOUT THIS?

I managed to go most of my life not knowing that my electronics were generating radio noise, until I had an opportunity to play with...

Page 20: Noise Floor
Page 21: Noise Floor

at NRAO in West Virginia

GREEN BANK GREAT BIG TELESCOPE

Page 22: Noise Floor

WHAT GOT ME WORRIED ABOUT THIS?

Okay, so they only let me use the old 40-foot dish. That's still bigger than yours.

http://en.wikipedia.org/wiki/File:GBT.png

Page 23: Noise Floor

WHAT GOT ME WORRIED ABOUT THIS?

What I learned at NRAO is that the very electronics they use to study the stars in the radio spectrum are an obstacle for them.

Because they are all. so. NOISY.

Page 24: Noise Floor
Page 25: Noise Floor

This is my friend, "$50 netbook from China with no shielding whatsoever"

let's not discuss how that USB port caught fire.

Page 26: Noise Floor

LET'S GET DANGEROUS

I'll show you the following slides live, but I gotta put it in as screenshots in case the pink laptop catches fire again between now and then.

Demo demons, you know.

Page 27: Noise Floor

an innocent, unsuspecting FM music station at 99.5mhz

(there is always a false spike at the center of the currently viewed region with these cheap SDRs)

Page 28: Noise Floor

after the netbook is powered on...

spikes ahoy!!!

Page 29: Noise Floor

moving the antenna, it blows the radio station out of the sky

Page 30: Noise Floor

Accounting for jitter, the spikes are between 32 and 33 khz apart

which reminds me of...

Page 31: Noise Floor

for those in the back... it says 32.768 khzhttp://en.wikipedia.org/wiki/Real-time_clock

Page 32: Noise Floor

MAGIC HAPPENS HEREWhere do we look for compromising

emissions?

Guess work, poking around, and randomly adding seemingly related numbers together.

Let’s look at a stunning success.

Page 33: Noise Floor

MAGIC HAPPENS HEREThe screen on the Terrible Laptop is 800 x

480. Pixels are 3 bytes of 8 bits (24 bpp). There's a ribbon cable inside.

800 x 480 x 24 = 9216000 hz (9.2 Mhz), below our SDR's range :(

But there's another factor... the refresh rate

Page 34: Noise Floor

MAGIC HAPPENS HEREI don't actually know the refresh rate.

800 x 480 x 24 x 60 = 552960000 (553 Mhz)

800 x 480 x 24 x 75 = 691200000 (691.2 Mhz)

Those are the probable bounds to look for the leaked signal of the LCD

Page 35: Noise Floor

Just a shade over 70FPS...

the word you're looking for is BINGO

Page 36: Noise Floor

THIS IS TERRIBLE HOW DID THIS HAPPENWe are seeing signal transitions from the

cable feeding to the screen. The more uniform the screen, the quieter the signal. It goes crazy when we look at complicated pictures.

Page 37: Noise Floor

THIS IS TERRIBLE HOW DID THIS HAPPENUnfortunately, my dongle’s sample rate

seems to be too low to recover the screen. Or I’m just bad at it. But this is getting close! There WAS a checkerboard pattern on the screen.

Page 38: Noise Floor

I KNOW YOU’RE LISTENINGHey NSA I pay my taxes. Send me your

algorithms for this!

Page 39: Noise Floor

HOW BAD DOES IT GET• Screens – sometimes even when

they’re off• Touchscreen capacitive fields• Physical button presses• The color of status LEDs• Microphones• Hard drive activity• RAM• So actually just everything

Page 40: Noise Floor

1600MHz dual-channel laptop RAM visible at (1600/2) = 800Mhz

Page 41: Noise Floor

Splorts caused by loading Chrome with a zillion tabs on my Macbook Air - visible across a wide chunk of bandwidth

Page 42: Noise Floor

Here is a wireless mic leaking all over the place. I would like to note that there was informed consent...

Page 43: Noise Floor

Spikes from my iPhone connecting to Twitter over 3G

Page 44: Noise Floor

My phone contacting Verizon over 3G

Page 45: Noise Floor

IT GETS PRETTY BADTypes of devices can be profiled and

detected. They can be seen through walls and tracked through 3D space. They’re radio transmitters.

Distinguishing idle and active states is trivial. A sophisticated adversary may be able to distinguish very finely between different possible active states.

Page 46: Noise Floor

IT GETS PRETTY BADThings I am carrying in my pockets and

my bag: iPhone 4S, Nexus 7, Nintendo 3DS, Macbook Air

Could an adversary with knowledge of my preferred toys and proper equipment pinpoint me in a crowd? YES.

Even if I turn off wifi and bluetooth.

Page 47: Noise Floor

IT GETS PRETTY BADReal-world example (uses wifi)

http://www.nytimes.com/2013/07/15/business/attention-shopper-stores-are-tracking-your-cell.html?pagewanted=all&_r=0

Page 48: Noise Floor

WHAT CAN YOU DOThis is why the spooky types say to

remove batteries COMPLETELY (oh wait all four of those devices have integrated batteries)

Store devices in faraday shielding wrappers - aka “booster bags”

Grocery store tinfoil is not very effective - takes a mountain of the stuff

Page 49: Noise Floor

WHAT CAN YOU DOHaving a private talk? Put all personal

devices in the microwave oven (you should probably not run it) and close the door.

My personal tests show that it is not 100% effective but it makes a dramatic difference

Snipping off the power cable may improve its faraday cage properties.

Page 50: Noise Floor

WHAT CAN YOU DOIf you must run a power or data cable

OUT of a faraday cage - keep the length AS SHORT AS POSSIBLE. It functions as an antenna

My first attempt at faraday cage testing was foiled by six feet of “shielded” USB cable on the OUTSIDE of the microwave door.

Page 51: Noise Floor

BE PROACTIVEYou can use even the cheapest SDRs to

evaluate your risk or to scan your area for electronics others may be using to record you without your consent.

In the process you will learn more than you ever wanted to know about the radio signals that surround you every day outside of AM and FM radio stations!

Page 52: Noise Floor
Page 53: Noise Floor

device inside microwave oven with SDR dongle and antenna- USB cable kept to minimum length outside of microwave

Page 54: Noise Floor

BE PROACTIVEWindows: use SDR#

OSX and Linux: use GQRX

Or write command-line utilities with the rtl-sdr library and the pretty radical Python bindings

These links are on the CD

Page 55: Noise Floor

BE PROACTIVEThe US government has its own

standards for being resistant to this kind of attack - you can find them linked from the TEMPEST Wikipedia page http://en.wikipedia.org/wiki/TEMPEST

Correlated emissions are bad. The government knows this and so should you.

Ask your landlady about copper shielding! :)

Page 56: Noise Floor

THE TREE STORYCoworkers said I have to tell you this one

Page 57: Noise Floor

Well I’ll never feel safe again

Now you know why all security researchers are a bit twitchy

Page 58: Noise Floor

Hey... I can pick up the police radio from here... it isn’t encrypted

Viva Las Vegas.

Page 59: Noise Floor

@0xabad1deathat’s a zero, x, and oneI need more followers than my hex nemesis @0xcharlie