Skip to content

Latest commit

 

History

History
47 lines (23 loc) · 762 Bytes

Account_Discovery.md

File metadata and controls

47 lines (23 loc) · 762 Bytes

Account Discovery

MITRE ATT&CK Technique: T1087

Net user and group Enumeration

Domain Group Enumeration:

net groups "domain administrators" /domain

Domain User Enumeration:

net user <username> /domain

Local Group Enumeration:

net localgroup "administrators"

Local User Enumeration:

net user

wmic.exe

Reconnaissance

Input:

wmic useraccount get /ALL

Input:

wmic process get caption,executablepath,commandline

Input:

wmic qfe get description,installedOn /format:csv

Input:

wmic /node:"192.168.0.1" service where (caption like "%sql server (%")

Input:

get-wmiobject –class "win32_share" –namespace "root\CIMV2" –computer "targetname"