~/talk

CoDe16; 16 Zero-Day Vulnerabilities Affecting CODESYS Framework Leading to Remote Code Execution

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [security]
links:none on file
slides:none on file

Finds 16 zero-days in the CODESYS SDK that yield remote code execution on millions of devices across hundreds of vendors; analysis uses firmware dumps, IDA Pro, string/table heuristics and reconstruction of a proprietary network protocol keyed by 55CD magic. Vulnerabilities are mainly stack-based overflows in service handlers (app, trace manager, device auth) plus hardcoded crypto enabling credential theft via sniffed login packets. Exploits demonstrate ASLR/DEP bypasses (power‑cycle restore, ROP gadgets), a stealthy chunked app uploader and a direct elevator crash by corrupting global variables.

AI-written summary · about

  1. 0:00CODESYS research intro
  2. 1:51Why CODESYS is critical
  3. 2:33Firmware extraction setup
  4. 5:04CODESYS protocol layers
  5. 10:04Vulnerabilities in components
  6. 11:51Stack overflow in App Handler
  7. 13:14Stack overflow in Trace Manager
  8. 14:41Weak password encryption
  9. 15:4516 zero-day vulnerabilities
  10. 16:27Credential theft for hijacking
  11. 17:53Exploiting stack overflow RCE
  12. 19:37Bypassing TM 251 protections
  13. 21:47CODESYS memory segments
  14. 24:17Bypassing Wago PFC 200 protections
  15. 26:44RCE on Schneider elevator
  16. 29:50Manipulating elevator physics
  17. 32:17Key takeaways and security recommendations
~/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.