DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs...

30
Revolting Radios Get it? It’s a pun!

Transcript of DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs...

Page 1: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Revolting RadiosGet it? It’s a pun!

Page 2: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ThanksMike Walters

Ang Cui

Schuyler St. Leger

Taylor Streetman

Sergey Bratus

Travis Goodspeed

Page 3: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

A little background“One of the things that makes Orwell's '1984' scary is the way it uses technology. In Orwell’s dystopia, tech is a one-sided means of control. The powers that be use machines for pervasive surveillance, to weaken your sense of self and to make real change feel impossible. Humans deprived of any private space are uniquely vulnerable, and Big Brother knows it.”

- DEF CON 26 theme

“Let’s over-commit to that theme.”

- Mike & Dominic

Page 4: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Who are we?Michael Ossmann

Founder and CEO of Great Scott Gadgets

Dominic Spill

Security Researcher at Great Scott Gadgets

Page 5: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Breadboard SDR

Page 6: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ScenarioWe’ve found that we can reprogram one of Big Brother’s telescreens and stream samples from the auxiliary Analog to Digital Converter (ADC) in its microcontroller.

Can we build a radio receiver out of this microcontroller?

Page 7: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Breadboard SDR

Page 8: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation
Page 9: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

When you build a radio in software, you don’t need much hardware

Page 10: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Clock Signal Transmitters

Page 11: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ScenarioWe need to exfiltrate data from one of Big Brother’s air-gapped networks.

We have an ally but no radio transmitter inside.

Can our ally reprogram a microcontroller on the inside to transmit data over the air?

Page 12: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Toggling IO PinsMiek’s OOK transmitter

https://gfycat.com/gifs/detail/cloudyinfamouscapybara

Ang Cui’s Funtenna

http://www.funtenna.org/CuiBH2015.pdf

Raspberry Pi FM

https://github.com/PNPtutorials/FM_Transmitter_RPi3

Page 13: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

GreatFET One PLL Transmitter

Page 14: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Real World RadiosOur demonstration target used a frequency deviation of +/-25 kHz and a center frequency of 315.005 MHz.

We transmitted with a frequency deviation of +/-50 kHz at a center frequency of 315.050 MHz, and it worked!

Page 15: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

If it oscillates like a radioand emits like a radio

It’s a radio

Page 16: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

GPIO Pin Receiver

Page 17: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ScenarioBig Brother has updated telescreens to a new version without an Analog to Digital Converter (ADC) and has restricted distribution of ADCs in an effort to prevent improvised radio receivers.

Can we use a General-Purpose I/O (GPIO) pin on a microcontroller to implement a receiver without an ADC?

Page 18: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation
Page 19: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

1 bit ought to be enough for anybody

Page 20: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Direction finder to PSK transmitter

Page 21: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ScenarioBig Brother has deployed pseudo-Doppler direction finders to track down illegal radio transmitters.

Can we steal a direction finder and use it as a direction finding countermeasure?

Page 22: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Pseudo-Doppler Direction FindingUsing an antenna switching board, we rapidly change antenna

Pseudo-Doppler Redux, Shmoocon 2018 - https://archive.org/details/Shmoocon2018/Shmoocon2018-Pseudo-dopplerRedux.mp4

Page 23: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Opera Cake antenna switch

Page 24: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Phase shiftingSwitching from one antenna to another that is closer or farther from the other end of the link introduces a phase shift.

Switching from one cable to another that is longer or shorter introduces a phase shift.

Page 25: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Adding phase shifts circumvents pseudo-Doppler

Page 26: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

ScenarioSince we can affect the phase, can we use a direction finder to implement a Phase Shift-Keying (PSK) transmitter?

Page 27: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Opera Cake with delay lines for adding phase shifts

Page 28: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation
Page 29: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

An external modulator can add a covert channel

Page 30: DEF CON 26 Hacking Conference CON 26/DEF CON 26...Find us on Twitter: @michaelossmann / @dominicgs Title DEF CON 26 Hacking Conference Author DEF CON Speaker Subject DEF CON 26 Presentation

Referenceshttps://github.com/greatscottgadgets/greatfet/tree/rfhax

https://github.com/mossmann/hackrf

Find us on Twitter: @michaelossmann / @dominicgs