~/talk

Detecting (un)Intentionally Hidden Injected Code by Examining Page Table Entries

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

Demonstrates that common memory-forensic plugins (malfind, hashtest, psinfo) miss injected, executable code when page protections are manipulated per-page or pages are paged out; uses PTE and PFN analysis to enumerate actual executable pages and detect modified mapped-file pages; builds a Rekall plugin (u-ptnum / PTNUM) that finds 22 executable altered pages in tests and exposes paged-out hits that require a pagefile dump; shows the technique reliably finds injections malfind misses.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Code injection and hiding
  3. 3:47VAD structure issues
  4. 8:14Hiding code from plugins
  5. 12:25Rootkit paradox and executable search
  6. 15:17Page table entries for detection
  7. 18:24Code detection in stack example
  8. 20:47Reflective delayed injection detection
  9. 21:29Unloaded pages scenario
  10. 22:10Limitations and combined approach
  11. 23:52Summary and future plans
  12. 24:57Q&A
~/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.