~/talk

Discovering C&C in Malicious PDF with Obfuscation, Encoding and Other Techniques

Talkat BSides Vancouver 2021 · 2021-06-07..06-08· [security]
slides:none on file

Scan of a malicious PDF reveals 15 objects and an open action executes JavaScript that auto-runs on open; analysis uses file/libmagic, pdfid and pdf-parser (DjVu/DJ Stevens tools), extracting five JS streams and one large stream that decodes to a payload. Obfuscation is percent‑encoded Unicode (UTF‑16/uc2) inside JS; decoding via an HTML unescape workflow produces a binary which, after reassembly and HTTP extraction, reveals a live C2 server IP.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 4:54Understanding threats and malware analysis
  3. 12:39File identification and magic numbers
  4. 28:37PDF structure and analysis tools
  5. 39:32Obfuscation and payload extraction
  6. 45:57C&C server discovery and conclusion
~/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.