~/talk

Code emulation ... radare2's ESIL

Talkat RuhrSec 2020 #StayAtHome Edition · 2020-05-08..06-08· [security]
slides:none on file

Shows how radare2's ESIL actually executes code snippets as a reverse‑polish stack machine on steroids, mapping CPU registers and virtual memory so emulation produces real register and memory values. Demonstrates extracting a program password by initializing ESIL, emulating from scanf to the comparison, and reading the computed memory cell; automates brute force via the r2 pipe and Python; and decrypts an obfuscated Windows PE in-place using IO cache and emulation — all without running the binary.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23Outline of the talk
  3. 3:28Documentation
  4. 5:11Radare2 tools
  5. 12:18Visual Modes
  6. 16:56What is emulation
  7. 26:06Visual explanation
  8. 26:55Initial expression
  9. 28:44Expression
  10. 29:19Expansion
  11. 30:19Storage
  12. 31:14Comments
  13. 32:54operands
  14. 33:58flags
  15. 35:24practice
  16. 41:27brute force
  17. 41:49magic number
  18. 49:52obfuscation
  19. 50:48function
  20. 58:25conclusion
~/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.