sam_the_admin (sAMAccountName Spoofing)
NEW Privilege EscalationExecutionCredential Access LinuxActiveDirectoryWindows
WazeHell's sam_the_admin.py is a self-contained implementation of the CVE-2021-42278 + CVE-2021-42287 chain. It creates a computer account, spoofs its sAMAccountName to impersonate the DC machine account, and automatically impersonates the Administrator to obtain a privileged ticket. Requires MachineAccountQuota > 0 and an unpatched DC. Pass -shell for a semi-interactive SYSTEM shell on the DC or -dump to run secretsdump; the account only needs valid domain credentials (no special privileges). Command Reference: Domain: test.local Username: john Password: password123 DC IP: 10.10.10.1