OSCP notesExtended library
Browse tracks

Active Directory

Start with your identity and domain context

Run these from a Windows domain member with a domain logon:

whoami /all
echo %USERDOMAIN%
echo %LOGONSERVER%
net user /domain
net group /domain
net accounts /domain

Inspect a selected identity/group rather than dumping every object's properties:

net user USER /domain
net group "GROUP NAME" /domain

Choose the next AD page

Directory ACL, GPO and AD CS findings require a controlled object plus a usable privileged consumer or enrollment path. Check the exact right/template requirements before choosing an attack; generic write access somewhere in the domain is insufficient. After obtaining a new identity, repeat group, object-right and host-access checks.