noise floor
TRANSCRIPT
![Page 1: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/1.jpg)
NOISE FLOORMelissa Elliott / 0xABAD1DEA
![Page 2: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/2.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/3.jpg)
shield your eyes, the color scheme is about to change
![Page 4: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/4.jpg)
IT'S PRONOUNCED A BAD IDEABinary analysis researcher at Veracode
accused of destroying infosec
![Page 5: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/6.jpg)
Radio emissions?
Electronics naturally generate radio interference. It can leak information about the machine’s state
![Page 7: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/7.jpg)
ZOMG IT HAS USB DOES IT RUN ON LINUX
Yes.
and OSX and Windows.
![Page 8: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/11.jpg)
![Page 12: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/12.jpg)
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 13: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/13.jpg)
WHY ARE WE DOING IT?Well for starters, I bet the NSA is.
http://www.guardian.co.uk/world/interactive/2013/jun/20/exhibit-b-nsa-procedures-document
![Page 14: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/15.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/16.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/17.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/18.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/19.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/20.jpg)
![Page 21: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/21.jpg)
at NRAO in West Virginia
GREEN BANK GREAT BIG TELESCOPE
![Page 22: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/22.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/23.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/24.jpg)
![Page 25: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/25.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/26.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/27.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/28.jpg)
after the netbook is powered on...
spikes ahoy!!!
![Page 29: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/29.jpg)
moving the antenna, it blows the radio station out of the sky
![Page 30: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/30.jpg)
Accounting for jitter, the spikes are between 32 and 33 khz apart
which reminds me of...
![Page 31: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/31.jpg)
for those in the back... it says 32.768 khzhttp://en.wikipedia.org/wiki/Real-time_clock
![Page 32: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/32.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/33.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/34.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/35.jpg)
Just a shade over 70FPS...
the word you're looking for is BINGO
![Page 36: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/36.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/37.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/38.jpg)
I KNOW YOU’RE LISTENINGHey NSA I pay my taxes. Send me your
algorithms for this!
![Page 39: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/39.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/40.jpg)
1600MHz dual-channel laptop RAM visible at (1600/2) = 800Mhz
![Page 41: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/41.jpg)
Splorts caused by loading Chrome with a zillion tabs on my Macbook Air - visible across a wide chunk of bandwidth
![Page 42: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/42.jpg)
Here is a wireless mic leaking all over the place. I would like to note that there was informed consent...
![Page 43: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/43.jpg)
Spikes from my iPhone connecting to Twitter over 3G
![Page 44: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/44.jpg)
My phone contacting Verizon over 3G
![Page 45: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/45.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/46.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/47.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/48.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/49.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/50.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/51.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/52.jpg)
![Page 53: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/53.jpg)
device inside microwave oven with SDR dongle and antenna- USB cable kept to minimum length outside of microwave
![Page 54: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/54.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/55.jpg)
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 57: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/57.jpg)
Well I’ll never feel safe again
Now you know why all security researchers are a bit twitchy
![Page 58: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/58.jpg)
Hey... I can pick up the police radio from here... it isn’t encrypted
Viva Las Vegas.
![Page 59: Noise Floor](https://reader033.vdocument.in/reader033/viewer/2022051520/577ccde41a28ab9e788cd9c9/html5/thumbnails/59.jpg)
@0xabad1deathat’s a zero, x, and oneI need more followers than my hex nemesis @0xcharlie