~/talk

Weaponizing Plain Text: ANSI Escape Sequences as a Forensic Nightmare

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

Demonstrates that unescaped ANSI/OSC sequences written into logs can alter and corrupt forensic evidence: injecting colored output and titles in Docker logs, invoking clipboard exfiltration via OSC 52, embedding clickable links and sixel images, clearing scrollback, repeating glyphs to crash terminals, and triggering command execution on specific emulators (notably older iTerm2/kitty behaviors). Proofs show some paths require user interaction, some cause immediate crashes or DoS, and several serious vectors are already patched while others remain exploitable.

AI-written summary · about

  1. 0:00Intro
  2. 1:06Are Log Files Important
  3. 1:39Logs Dont Lie
  4. 2:03The Incident Response Lead
  5. 2:53Log Shipping
  6. 3:51ANSI Escape Sequences
  7. 4:47Terminals
  8. 5:53How can we do this
  9. 6:22The ye strand boys
  10. 7:05Control sequences
  11. 7:44Csip PMM
  12. 8:34Control Sequence Introducer
  13. 10:14Vim
  14. 11:38Is this an issue
  15. 11:59Consequences
  16. 15:23Research
  17. 17:22Epic Fail
  18. 17:53My Dad
  19. 18:56Proprietary Escape Codes
  20. 19:54Using oc8
  21. 22:19Inline image support
  22. 26:25Hide tracks
  23. 27:27Denial of service
  24. 28:25Mouse tracking
  25. 30:43David Leadbeater
  26. 36:05EvilTerminal
  27. 36:54Debugging
  28. 39:03Recap
~/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.