
Keep it secret, keep it safe
By Gabriel Landau and Mark Mager at Elastic Security.
From Hide Your Valuables — Mitigating Physical Credential Dumping Attacks presented at Shmoocon 2023. Slides here.
Silhouette is a POC that mitigates the use of physical memory to dump credentials from LSASS. It does this in three ways:
pagefile.sys and hiberfil.sys (e.g. Invoke-NinjaCopy).FILE_READ_DATA for pagefile.sys in all Volume Shadow Copy snapshots to block access with tools like hobocopy.It is highly recommended to enable RunAsPPL before using Silhouette.
This is a proof of concept. Use it at your own risk.
sc create Silhouette type= filesys start= demand binpath= %CD%\Silhouette.sys
reg import FilterKeys.reg
sc start Silhouette
Silhouette is covered by the ELv2 license. It uses phnt from SystemInformer under the MIT license.