👩‍🏫 How To fill DCS

Domain Name

wmic computersystem get domain

Hosts

Domain Users

# Always do this if possible
Get-NetUser | select samaccountname,useraccountcontrol,ServicePrincipalName

# Else
## w/ PtH
impacket-GetADUsers -all -dc-ip 10.10.121.140 -hashes :e728ecbadfb02f51ce8eed753f3ff3fd oscp.exam/celia.almeda
## w/ Password
impacket-GetADUsers -all -dc-ip 10.10.121.140 oscp.exam/celia.almeda:PASS

Local Users

Windows

  1. List all users by: Get-LocalUser (only Enabled)
  2. User detail by: net user NAME

Linux

  1. List all users by: cat /etc/passwd (only remarkable ones)
  2. User detail by: id NAME