Choose Your Own Red Team Adventure: ipconfig, whoami, net commands
1 min readMay 15, 2019
This is a continuation of a Choose Your Own Red Team Adventure series. If you don’t know how you got here, start at the beginning. Otherwise, continue reading …
You run ipconfig: 10.42.98.19
Then you run whoami: CORP\Bob
Then you run whoami /groups — no, Bob is NOT a local administrator, but he belongs to several Finance groups in Active Directory.
You use the net commands to query Active Directory to see more information about those groups, as well as to list who the local administrators are for this host, and who the Domain Admins are for the entire domain.