Top Banner
#SCChi BadUSB & Beyond Threats Hiding Inside The Enterprise
30

SC Magazine Congress Chicago - BadUSB & Beyond

Jul 11, 2015

Download

Technology

Adam Caudill
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: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

BadUSB & Beyond

Threats Hiding Inside The

Enterprise

Page 2: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Hello Chicago!

Adam Caudill

@adamcaudill

[email protected]

Brandon Wilson

@brandonlwilson

[email protected]

Page 3: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

USB Is Everywhere

• 3+ Billion Devices Sold Annually (USB-IF)

Page 4: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Enter BadUSB

Page 5: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

What is BadUSB?

• Firmware Based Attacks

• Not a specific vulnerability

• An entire class of attacks

Page 6: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Intro to Composite Devices

Page 7: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Firmware as an attack vector

Page 8: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Firmware: A long history of threats

Page 9: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Anatomy of a thumb drive

Page 10: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Updateable Firmware

Page 11: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Unsigned Firmware Updates

Page 12: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Signed Updates - Still Risks

• Weak signing keys

• Verification failures

• Implementation failures

• Exploitable code

Page 13: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Reverse Engineering

Page 14: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

What can BadUSB do?

• Changes to file handling

• Anti-forensics

• Bypass security features

• New features

Page 15: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Changes to file handling

• Hiding data

• Duplicating data to hidden area

• Copying deleted files to hidden area

• Altering file contents

• Inserting malware into executables

Page 16: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Anti-Forensics

• Defeat write blockers

• Self destruct

• Modify files when inserted

• Modify file metadata

Page 17: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Demos

• Thumbdrive Keyboard

• Hidden Data Storage

• Password Protection Bypass

Page 18: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Thumbdrive Keyboard

Page 19: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Hidden Data Storage

Read Request

(Get LBA

0x00000073)

Patch

(Use hidden

area?)

Section 1

(Public)

Section 2

(Hidden)

Page 20: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Password Protection Bypass

Page 21: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Going Beyond BadUSB…

• Beyond Thumbdrives

• Worst Case Scenario

• Where are the Manufacturers?

• How hard are BadUSB attacks?

• Real-world Impact

• BadUSB & BYOD

Page 22: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Just thumbdrives?

• Billions of devices sold annually.

• How many have user updatable firmware?

• How many require signed updates?

• How many are brought from home?

Page 23: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Other Devices

• Keyboards

• Mice

• USB Hubs

• Webcams

• Touchpads

• SD Card Readers

• etc…

Page 24: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Worst Case Scenario

Page 25: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Where are the Manufacturers?

Page 26: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

How hard are BadUSB attacks?

Easy.

(Assuming you have at least a decade of

experience with embedded systems that is…)

Page 27: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

So what's the real risk?

Page 28: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

BYOD & BadUSB

Page 29: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Practical Defense

Page 30: SC Magazine Congress Chicago - BadUSB & Beyond

#SCChi

Adam Caudill

@adamcaudill

Brandon Wilson

@brandonlwilson