sonic gun to smart devices - black hat | home · sonic gun to smart devices your devices lose...

50
SONIC GUN TO SMART DEVICES YOUR DEVICES LOSE CONTROL UNDER ULTRASOUND/SOUND

Upload: lytuyen

Post on 01-Apr-2018

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

SONIC GUN TO SMART DEVICES YOUR DEVICES LOSE CONTROL UNDER ULTRASOUND/SOUND

Page 2: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Authors

Wang, Zhengbo & Wang, Kang Alibaba Security

Yang, BoCAICT

Li, Shangyuan Tsinghua University

Pan, AiminAlibaba Security

Page 3: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

About Us

- Who are we:A research team of Alibaba security.

- Our research interests: Security issues about IoT, AI and their combinations.

- Previous briefing:Time and Position Spoofing with Open Source Projects

Blackhat Europe 2015

Page 4: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Outline

- An attack demo of Oculus headset - Physical Principle of MEMS - Other attack attempts on VR devices - Attack attempts on drones - Attack attempts on self-balanced vehicles - - Countermeasures

Page 5: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Attack Demo on Facebook Oculus

Page 6: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How This Happens?

Photo from ifixit.com

Page 7: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

What is MEMSMicro Electro-Mechanical Systems

Page 8: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

What is MEMS

Page 9: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS WorksAccelerometer

Page 10: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

Sensing Mass

Springs

Capacitor

Accelerometer

Page 11: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

m

CC

How MEMS Works

CC

Accelerometer

1 DoF (Degree of Freedom) Spring-Mass System

Page 12: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

C↑C↓

C↑C↓

Accelerometer

Page 13: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

C↑ C↓

C↑ C↓

Accelerometer

Page 14: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

C↑C↓

C↑C↓

Accelerometer

Page 15: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

C↑ C↓

C↑ C↓

Accelerometer

Page 16: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

m

How MEMS WorksAccelerometer

acc acc

Page 17: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How to Attack

m

Resonance

Page 18: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Previous Work

T. Trippel, et al. EuroS&P, 2017.

Page 19: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS WorksGyroscope

Page 20: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS WorksGyroscope

Page 21: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

m m

m

No Rotation

cosω0t

How MEMS WorksGyroscope

2 DoF (Degree of Freedom) Spring-Mass System

Page 22: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

m m

m

Rotation

cosω0t

D:displacement D = A cos ω0t A > 0 : clockwise rotation A < 0 : counter clockwise

How MEMS WorksGyroscope

Page 23: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Fc = 2mv×W

Fc - Coriolis forcem - vibratory massv - linear velocityW - angular rotation

W

How MEMS WorksGyroscope

Page 24: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Fc = 2mv×W

Fc - Coriolis forcem - vibratory massv - linear velocityW - angular rotation

How MEMS WorksGyroscope

Page 25: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How MEMS Works

m m

m

Rotation

cosω0t

D:displacement

Nornal Output:

OUT = LPF{2 D cos ω0t} = LPF{2 A cos ω0t cos ω0t} = LPF{A + A cos 2ω0t} = A

Page 26: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How to Attack

Attack Output:

OUT = LPF{2 D cos ω0t}

= LPF{Au cos [(ω0-ωu)t - ΔΦ] + Au cos [(ω0+ωu)t + ΔΦ]}

= Au cos [(ω0-ωu)t - ΔΦ]

Displacement Under Attack:

D = Au cos(ωut + ΔΦ)

Au : ultrasound induced amplitude

ωu : ultrasound frequency

ΔΦ : ultrasound phase shift

Gyroscope

Page 27: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

0 < < πOUT > 0

pi < < 2πOUT < 0

How to AttackGyroscope

Page 28: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

How to AttackGyroscope

: 0 π

Page 29: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Modulation Demo

11

00

10

01

1 1 0 0 0 1 0 1 ...

B. Farshteindiker, WOOT, 2016

This work.

Page 30: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Attack Attempts

VR Devices(including Phones) Facebook Oculus Rift CV1

HTC Vive + ControllerMicrosoft HoloLensiPhone 7Samsung Galaxy S7

DroneDJI phantom 3

Self Balancing Vehicles(including Toys)DIY balancing robot Mi Mitu toy robotMi Ninebot Mini

Page 31: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

HTC Vive

•HTC Vive Headset

Page 32: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

HTC Vive Controller

MEMS Chip

Controller

Page 34: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Video Demo: Samsung S7

STMicroelectronics LSM6DS3

MEMS Chip

Page 35: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Video Demo: iPhone 7

InvenSense 773C

Page 36: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Video Demo: iPhone 7

Page 37: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

with Doppler Frequency Shift

Page 38: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

DJI Phantom 3 Standard

MP65L1508

Page 39: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

DJI Phantom 3 Standard - Camera

Page 40: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

DIY Self-balancing RobotMPU6050 module

Acknowledgement: Resonating frequency first found by T. Trippel, et al. EuroS&P, 2017.

Page 41: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

MiTu Self-balancing Robot

Page 43: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Commerical Scooter

Without Power Amplifier With Power Amplifier

Page 44: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

What about real car?

?

Page 45: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

MEMS and Security: An inexhaustive list

Gyroscope Accelerometer Other MEMS*

DoS Son, et al. Trippel, et al. TODO

Manipulation This work! Trippel, et al. TODO

Long Range TODO TODO TODO

* Other MEMS chips include MEMS microphones, barometers, digital micromirror display and so on.

Page 46: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Countermeasures1. Shell

- prevent sonic energy from intruding.- reflective material with multilayer may be considered.

2. Software- actively detect the resonating sound with microphone.

- warn or perform noise cancelling.

3. Chip- new design of MEMS chips that can resist sonic attacks*.

4. Multi Sensors*Serrano D E, et al. PLANS, 2016.

Page 47: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

BOM

Device Model Price

Signal Genenerator SP F20AMax Freq: 20MHz (>> 30kHz)Max Ampl: 20Vpp

$320

Ultrasound Emitter 2425 $0.4

Amplifier TDA8932 $2

DC Power LRS-100-24 $10

Signal Generator(Cheaper one)

UTG9002CMax Freq: 2MHzMax Ampl: 25Vpp

$16

Page 48: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

References1. Man, Kin F. "MEMS reliability for space applications by elimination of potential failure modes through testing and

analysis." MEMS Reliability for Critical and Space Applications. Vol. 3880. 1999.2. Dean, Robert N., et al. "On the degradation of MEMS gyroscope performance in the presence of high power acoustic

noise." Industrial Electronics, 2007. ISIE 2007. IEEE International Symposium on. IEEE, 2007.3. Castro, Simon, et al. "Influence of acoustic noise on the dynamic performance of MEMS gyroscopes." ASME 2007

International Mechanical Engineering Congress and Exposition. American Society of Mechanical Engineers, 2007.4. Son, Yunmok, et al. "Rocking Drones with Intentional Sound Noise on Gyroscopic Sensors." USENIX Security. 2015.5. Trippel, Timothy, et al. "WALNUT: Waging doubt on the integrity of mems accelerometers with acoustic injection

attacks." IEEE European Symposium on Security and Privacy, 2017.6. Mikko Saukoski. System and circuit design for a capacitive mems gyroscope, Doctoral Dissertation, 2008.7. Serrano D E, et al. Environmentally-robust high-performance tri-axial bulk acoustic wave gyroscopes. Position,

Location and Navigation Symposium (PLANS), 2016.8. Farshteindiker, Benyamin, et al. "How to Phone Home with Someone Else's Phone: Information Exfiltration Using

Intentional Sound Noise on Gyroscopic Sensors." WOOT. 2016.

AcknowledgementDr. Sun, Yinan - Tsinghua UniversityDr. Li, Ke

Page 49: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Q&A

Page 50: SONIC GUN TO SMART DEVICES - Black Hat | Home · sonic gun to smart devices your devices lose control under ultrasound/sound

Thank you.