~/talk

You Can Run, but You Can't Hide - Finding the Footprints of Hidden Shellcode

Talkat Black Hat Asia 2023 · 2023-05-09..05-12· [security]
links:none on file
slides:none on file

Describes three concrete detection techniques and three tools being released: monitoring ETW ProtectVM events to count virtualprotect toggles and alert on frequent non-executable→executable flips; a mutable code-page heuristic that tracks pages historically marked executable to catch oscillation despite VAD loss; and scanning the CFG safety bitmap to find pages that executed earlier but were later toggled non-executable. Demonstrations show reliable detection with tunable thresholds, some false positives (JIT reuse, freed pages) and practical mitigations and tradeoffs documented in the repo.

AI-written summary · about

  1. 0:00Hidden shellcode detection intro
  2. 1:29Memory scanning in endpoint security
  3. 6:50Memory scanning techniques today
  4. 10:42Evasion: Gargoyle and variants
  5. 13:32Detecting Gargoyle memory fluctuation
  6. 17:03Immutable code page principle
  7. 20:13CFG bitmap for detection
  8. 25:12Defense in depth opportunities
  9. 27:19Hunting abnormal syscalls
  10. 29:48Syscall behavior at scale
  11. 30:31Summary and future
~/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.