sharing the load
play

SHARING THE LOAD: BUILDING A BETTER HW COMMUNITY HARDWEAR.IO - PowerPoint PPT Presentation

SHARING THE LOAD: BUILDING A BETTER HW COMMUNITY HARDWEAR.IO OPENING KEYNOTE KATE TEMKIN /@ktemkin THE STATE OF HARDWARE SECURITY KINDA SUCKS. Linux version 2.6.31 (root@dnixm-compiler1) # whoami root # HORIZON-NX SOFTWARE STACK


  1. SHARING THE LOAD: BUILDING A BETTER HW COMMUNITY HARDWEAR.IO OPENING KEYNOTE KATE TEMKIN /@ktemkin

  2. THE STATE OF HARDWARE SECURITY… KINDA SUCKS.

  3. Linux version 2.6.31 (root@dnixm-compiler1) # whoami root #

  4. HORIZON-NX SOFTWARE STACK • Hardened, custom security microkernel • Ultra-minimal custom TrustZone monitor • Tegra X1 SoC

  5. HORIZON-NX SOFTWARE STACK • Hardened, custom security microkernel • Ultra-minimal custom TrustZone monitor • Tegra X1 SoC

  6. Tegra X1 SoC oh, yeah, that’ll do it

  7. SO, HOW DID WE WIND UP HERE?

  8. SO, WHO REALLY ARE YOU? Katherine/Kate Temkin (@ktemkin): • founder, Insomnia Security • Nintendo Switch inspector • glitch witch & open-source-tool-builder • educational (reverse) engineer • occasional engineering streamer

  9. EECE CS

  10. EECE CS EE CE

  11. EECE CS EE CE COMPUTER SCI Felt things like microcontrollers were “too hardware”. COMPUTER ENG ELECTRICAL ENG Felt they’d never wind up holding a Felt they didn’t have to touch soldering iron. code…

  12. EECE CS EE CE ALL MAJORS Tended to think they were there to apply techniques created by ‘heroic inventors’.

  13. FAST FORWARD N YEARS

  14. HORIZON-NX SOFTWARE STACK • Extremely difficult to attack on the software front • But that software is built – and runs – atop hardware .

  15. BOOTROM LOCKOUT • Prevents any software running on the X1 from accessing bootROM code.

  16. BOOT CONFIGURATION ENTRIES • As documented in NVIDIA’s open-source cboot bootloader ( src/t210/nvboot_sdram_param_t210.h ). LIVE MEMORY PATCHING • This gives us a way to dump the bootROM on a non- production device (like an Jetson TX1 dev board).

  17. ctrl_transfer(STANDARD_REQUEST_DEVICE_TO_HOST_TO_ENDPOINT, GET_STATUS, 0, 0, 4096) USB tools at: https://github.com/ktemkin/Facedancer

  18. THE FATAL FLAW? • A minor mistake in some USB logic resulted in a memcpy of user-controlled length… • … and or long enough reads, user-controlled content!

  19. CVE-2018-6242 (“Fusée Gelée” / ”shofEL2”) • Easy to apply locally, easy to discover , and simple in mechanism . • Completely compromises all root-of-trust technology on relevant processors. • Wait, which processors?

  20. TEGRA PROCESSOR SERIES • Tegra APX: affected • Tegra 2: affected • Tegra 3: affected • Tegra 4: affected • Tegra K1: affected • Tegra X1: affected phew • Tegra X2: not affected

  21. CVE-2018-6242 (“Fusée Gelée” / ”shofEL2”) • Easy to apply locally, easy to discover , and simple in mechanism . • Completely compromises all root-of-trust technology on most Tegras . So: how the heck did this stick around for so long?

  22. OKAY: SO WHAT DO WE DO NOW?

  23. WELL, THEY DON’T CALL IT EASY-WARE. — @securelyfitz Show hardware hacking as approachable , rather than as deep wizardry .

  24. WELL, THEY DON’T CALL IT EASY-WARE. — @securelyfitz Fill in the artificial divide between hardware and software engineers.

  25. SOMETIMES, WE HAVE TO KILL OUR HEROES. Celebrate those who lift others up . Fewer rockstars , more teachers .

  26. OPEN A DOOR, TEAR DOWN A BARRIER. Produce more entry-level materials , and build more open, inexpensive tools .

  27. CHIPWHISPERER LITE GLITCHING & SIDE-CHANNEL BOARD https://newae.com/tools/chipwhisperer/ https://github.com/newaetech/chipwhisperer

  28. OPEN A DOOR, TEAR DOWN A BARRIER. Don’t let educational spaces develop additional barriers .

  29. DON’T TOLERATE RACISM / SEXISM / ABLEISM / *PHOBIA IN YOUR COMMUNITIES.

  30. OPEN A DOOR, TEAR DOWN A BARRIER. Don’t let educational spaces develop additional barriers .

  31. AND FOR GOODNESS SAKE, STOP HIDING MY STUFF. Vendors: hardware isn’t just an implementation detail .

  32. ONE MORE THING: SO, WHY BRING THIS UP NOW?

  33. QUESTIONS ? THANKS FOR LISTENING!

  34. IMAGE CREDITS • slide 6: nintendo switch icon by Sweet Farm from the Noun Project

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend