Assessing The Security Of An SMM Supervisor
summary
Code review of Microsoft Project Mu’s SMM supervisor (public GitHub module) inspects the assembly syscall entry and C dispatcher, finds about nine issues—integer overflow on IO ranges, TOCTOU freeing, missing bounds and index checks, unchecked device descriptors and an unregister path that can drop privileged handlers—and reports them; most are patched but one remaining device-validation bug stays unfixed because the fix is invasive. Review uses manual auditing of code and tests patches over weeks and recommends rewrite new SMM code in Rust to avoid class errors.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 1:51Talk agenda and acknowledgments
- 2:54What is System Management Mode
- 8:08Why SMM is a security target
- 12:18The need for SMM supervision
- 13:20Intel's STM and its challenges
- 16:49AMD's SMM supervisor approach
- 18:57Microsoft's open-source SMM supervisor
- 22:28Reviewing Microsoft's SMM supervisor code
- 25:43Discovered security issues overview
- 28:52Detailed analysis of vulnerabilities
- 37:44Observations on code quality and security
- 39:09Call to action: Move from C to Rust
- 41:36Future challenges: Policy enforcement
- 42:44Q&A: Static analysis discussion
