CMD Commands
Live of The Land!
Here I will compile some CMD commands to enumerate local and domain accounts.
Ok, we have a low-level user and we want to enumerate our machine and AD, first, we need to understand who we are inside the machine and what type of privileges we have.
Local Users & Groups
Who We Are?
C:\Users\student459>whoami

What groups we are associated with?
C:\Users\student459>net localgroup

Enumerate Local Users
C:\Users\student459> net user

Enumerate Local Administrator Account
C:\Users\student459>net user Administrator

Local Services Running
Enumerate Local Services Running as System
TASKLIST /FI "USERNAME eq NT AUTHORITY\SYSTEM"

Local Machine Information
C:\Users\student459>
Local Network Shares
C:\Users\student459> net view \\dcorp-std459 /all

Last updated
Was this helpful?