~/talk

Doors of Durin: The Veiled Gate to Siemens S7 Silicon

Talkat Black Hat Europe 2019 · 2019-12-02..12-05· [embedded-and-hardware, security]
links:none on file
links:none on file
slides:none on file

Research uncovers a UART MFGT1 handshake in the S7-1200 bootloader that opens a diagnostic console; bootloader uses CRC32 (not cryptographic) for firmware checks. Hardware work includes decapping, X‑ray and a custom CPU mount; software work uses ~50 IDA Python scripts to parse 84,000 functions. Bootloader handlers (notably the 0x1C handler and 0x80) allow raw SPI/IRAM read/write, enabling RAM payload injection, firmware dumping (verified identical to Siemens update files) and eventual code execution — demos include remote RAM dump and a tic‑tac‑toe payload; Siemens is notified.

AI-written summary · about

  1. 0:00Intro
  2. 1:49Process Automation
  3. 2:09What we do with much more complex control loops?
  4. 3:06Programmable Logic Controllers
  5. 4:56Recent Attacks Against ICS
  6. 7:51S7-1200 V4 PLC HARDWARE - SOC DECAP
  7. 8:43S7-1200 v4 Closer Look
  8. 9:25M25P40/ Serial Flash Embedded Memory (bootloader)
  9. 10:09S7-1200 Specs, 3D X-Ray Tomography
  10. 13:57Siemens Firmware Components
  11. 15:30Execution Mode Stack in S7-1200 v4
  12. 17:26ADONIS MPU Configuration at 0x000400B4
  13. 17:59Siemens Firmware Boot Process
  14. 18:21ADONIS Kernel
  15. 20:48Firmware Update Process On S7 PLC
  16. 22:05Decompressed Firmware Update File Structure
  17. 23:20Undocumented HTTP Handlers
  18. 24:42Special Access Feature
  19. 26:26Primary Handlers After Handshake
  20. 27:15x80 Handler, Update Mode Function
  21. 28:18Ox1C Primary Handler
  22. 29:53Siemens S7-1200 PLC Bootloader Arbitrary Code Execution
  23. 40:01Conclusions and Future Works
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.