# Cracking Hashes

```bash
# Domain Cached Credentials 2 (DCC2)
# Format: $DCC2$10240#username#hash
hashcat -m 2100 mscache_machine1.txt /usr/share/wordlists/rockyou.txt

# NTLM Hashes
# Format: Just the NT Portion
hashcat -m 1000 ntlm.txt /usr/share/wordlists/rockyou.txt

# ASREP Roasting (AS-REP)
hashcat -m 18200 asrep.txt /usr/share/wordlists/rockyou.txt

# Kerberoasting (TGS-REP)
hashcat -m 13100 tgs.txt /usr/share/wordlists/rockyou.txt

# NTLMv2
hashcat -m 5600 ntlm2.txt /usr/share/wordlists/rockyou.txt

# Hashcat with Best64 rules
hashcat -m 5600 ntlm2.txt /usr/share/wordlists/rockyou.txt /usr/share/hashcat/rules/best64.rule

# John with default rules
john hash.txt --wordlist=/usr/share/wordlists/rockyou.txt --rules
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gokulkarthik.gitbook.io/pentesting-checklist/windows-and-active-directory/post-compromise-enumeration/cracking-hashes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
