45
Usable USB Protection

Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Usable USB Protection

Page 2: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Background

Page 3: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 4: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB was meant to be cheap

Page 5: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB was meant to be cheap

Page 6: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB was meant to be cheap

Page 7: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 8: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 9: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Device claim their identity and capabilities

Page 10: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Descriptor

Page 11: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Problems

Page 12: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Session locked with a password?

Page 13: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Attack Surface (Kernel space drivers)

Page 14: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Attack surface of USB

Page 15: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB without borders

Page 16: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

People expect USB to work

Page 17: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Other Solutions

Page 18: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Lock your USB Ports (hardware)

Page 19: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Lock your USB Ports (software)

Page 20: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Windows - Kaspersky

Page 21: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USBGuard - Official Qt applet

Page 22: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USBGuard - Official Qt applet

Page 23: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USBGuard - Official Qt applet

Page 24: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USBGuard GNOME

Page 25: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USBGuard

If there are already working USB protection, why start this project at all?

Page 26: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

apt install usbguard

Page 27: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

apt install usbguard

Page 28: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

"Security at the expense of usability, comes at the expense of security."

-- AviD's Rule of Usability

Page 29: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Our Solution

Page 30: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

GNOME’s USB protection

● Based on USB Guard● Do not break existing behaviour● Reduce attack surface as much as possible without the

user noticing● Tighten security later

Page 31: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Iterative Design

1. On / Off2. Lockscreen3. Keyboards4. Unlocked Protection

Page 32: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 33: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 34: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)
Page 35: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Protection - One of the first iterations

Page 36: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Protection - New single switch

Page 37: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Protection - Notification system

Page 38: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

GNOME Shell integration

Page 39: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Cool, but this doesn’t protect us from the very same attack you showed at the beginning of this talk, does

it?

Page 40: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB protection when the session is unlocked

● Easy to block/allow everything

● Hard to selectively block malicious (or potentially malicious) devices without interfering with users workflow.

Page 41: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

USB Keyboards Protection

Page 42: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Call for Action

Page 43: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Test the Patches!

Stage 1:

GNOME Settings Daemon !75https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/75

Stage 2:GNOME Shell !369https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/369

Page 44: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Thank you

Page 45: Usable USB Protection · 2019. 9. 9. · USB was meant to be cheap. USB was meant to be cheap. USB Device claim their identity and capabilities. USB ... Lock your USB Ports (hardware)

Thank you!