Automated Vulnerability Hunting In SMM Using Brick
summary
Automated SMM scanner Brick uses IDA and Hex‑Rays to statically spot concrete flaws: missing comm‑buffer size checks, unsanitized nested pointers, and double‑fetch TOCTOUs that allow SMM memory corruption. The demo scans directories or full BIOS images via a Python harness, parallelizes with either, and generates HTML reports. Tool is open source, finds real issues — three CVEs so far (two Lenovo, one ASUS) — and typically flags a few true positives per vendor when scanning many modules.
AI-written summary · about
chapters (19)
- 0:00Intro
- 3:36System Management Interrupts
- 5:21hardwear.io Invoking SMis (2/9)
- 9:03hardwear.io Attacks against SMM
- 9:14SMM privileges
- 10:14hardwear.io Attack scenario
- 10:57Full attack flow
- 11:46hardwear.io Attack surface
- 12:40hardwear.io Restrictions
- 13:36Not validating CommBufferSize
- 16:31hardwear.io Exploiting nested pointer issues
- 17:33Double-fetches from the CommBuffer
- 18:35hardwear.io Exploiting TOCTOU issues
- 24:14hardwear.io SUMMARY OF SCAN RESULTS
- 31:26hardwear.io Harvest phase
- 32:05hardwear.io Analysis phase
- 33:11hardwear.io Brick modules
- 39:54hardwear.io Thank you for your attention!
- 40:32hardwear.io Detection heuristic - unsanitized nested pointers
