WhyMI so Sexy: WMI Attacks - Real Time Defense and Advanced Forensics
summary
WMI stores persistent payloads and event subscriptions in a proprietary repository that FireEye reverse engineers and documents, revealing how attackers hide code, C2 and scraped data in objects.data. The team builds a Python SIM parser and a fast C++ SIM parser to reconstruct paged records, recover B64 payloads (demo: credit‑card memory scraper), and extract timestamps; they also ship a PowerShell-based WMI Host IDS that registers permanent WQL alerts for real‑time detection. Code and a ~100‑page paper are available on GitHub.
AI-written summary · about
chapters (35)
- 0:00Intro
- 1:09Presentation Overview
- 4:53Willie Ballentine
- 5:36Matt Graver
- 7:12Cloud
- 9:00WMI Basics
- 11:09WMI Architecture
- 13:50PowerShell
- 15:17Other utilities
- 18:41Query language
- 20:06Event queries
- 22:09Eventing
- 26:44Event Consumers
- 28:00Permanent WMI Events
- 28:30Decom Protocol
- 29:33PowerShell Protocol
- 30:24Sim Commandlets
- 34:42Attack Lifecycle
- 35:26Reconnaissance
- 36:07Code Execution
- 37:42Persistence Example
- 39:10Storage Mechanism
- 40:03What is WMI
- 43:46Conclusion
- 44:01Motivation
- 45:44What we saw
- 46:24What we could have done
- 49:08Object Data Files
- 50:17Data Analysis
- 51:19Differential Analysis
- 56:28Artifact Recovery Method
- 57:48Page Structure
- 58:31Keys
- 58:55Whitepaper
- 59:24Tools
