atomic-red-team/Windows/Discovery/System Owner-User Discovery.md

357 B

System Owner/User Discovery

MITRE ATT&CK Technique: T1018

cmd.exe

"cmd.exe" /C whoami

wmic.exe

wmic useraccount get /ALL

quser

Remote:

quser /SERVER:"<computername>"

Local:

quser

qwinsta

Remote:

qwinsta.exe" /server:<computername>

Local:

qwinsta.exe