~/talk

Advanced VBA Macros Attack & Defence

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

VBA macros remain a primary malware delivery vector in 2019, with campaigns like Emotet sending hundreds of thousands of phishing emails daily; attackers use EvilClippy to perform VBA stomping (replace readable source while leaving executable P‑code intact) and hide payloads. Analysis and tooling evolve: olevba extracts and auto‑decrypts VBA/P‑code and integrates into Cuckoo/Hybrid/VT, while ViperMonkey emulates VBA to reveal second‑stage JavaScript and shellcode. A simple detector (MacroRaptor) flags auto‑run + write/execute patterns and is fast enough for mail‑gateway filtering.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Disclaimer
  3. 1:29Agenda
  4. 2:08History of Macros
  5. 4:31Macro Based Campaigns
  6. 5:40Typical Macro Viewer
  7. 5:51What can happen
  8. 7:25Macros in 2019
  9. 10:07Macro Example
  10. 11:55VBA Encryption
  11. 13:33Analysis Tools
  12. 14:56VBA
  13. 16:40Demo
  14. 18:03Integrations
  15. 18:37Macros
  16. 19:29How it works
  17. 23:04VBA stomping
  18. 23:54The problem
  19. 25:27The demo
  20. 28:02The new technique
  21. 29:33Excel for macros
  22. 31:47Quick demo
  23. 32:27How does it work
  24. 33:08Detection Prevention
  25. 34:47Detecting Macros
  26. 35:46Macro Raptor
  27. 38:32Macro Block
  28. 39:19Microsoft GPO
  29. 39:32Application Guard
  30. 40:24Safe Features
  31. 42:28Future Work
~/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.