Hide Your Valuables: Mitigating Physical Credential
Where
Talks
ShmooCon 2023
Duration
21 min
Shows how a kernel driver keeps LSASS memory from lingering in physical RAM to thwart credential dumping.
Summary
The talk starts with the basics of virtual and physical memory on Windows, then explains why attackers target LSASS for Kerberos tickets, NTLM hashes and cleartext passwords. It walks through common dumping routes: reading process memory directly, using bring-your-own-vulnerable-driver attacks to get past Protected Process Light, and pulling physical memory through forensic drivers, crash dump settings, or virtual machine snapshot files.
The core idea is to shorten how long sensitive pages stay resident in RAM. The presenters built Silhouette, a kernel driver that watches LSASS's working set and flushes standby and modified pages so they are not resident for long. They also cover blocking raw disk reads and volume shadow copy access to the page file. Live demos show the dumping tools failing against the protected setup, and the speakers are candid about limits, such as flushing that applies systemwide and attackers who might repeatedly race short-lived pages.
For defenders, the takeaways are to run LSASS as a protected process with its UEFI lock, enable Credential Guard where hardware allows, block vulnerable and forensic memory drivers, and watch for changes to page file configuration. Their basic benchmarks showed no noticeable performance hit, though results will depend on workload and hardware.
Related talks
Breaking Ground·37 min
Omri Misgav
Shows new ways to bypass Windows driver signing enforcement by tampering with kernel memory, plus defenses against them.
Track 2·56 min
Derek Melber
Shows how common Active Directory misconfigurations enable domain takeover and how to audit and fix them with PowerShell.
Talks
Covers abusing the GPU and Windows Cloud Filter for fileless execution and privilege escalation.


