Discovery · ATT&CK v20
T1087.002 Account Discovery: Domain Account
A Discovery technique. Learning the environment: accounts, hosts, shares, cloud resources.
- T1087.002Technique ID
- DiscoveryTactic
- 4Places taught
What the attacker does
The attacker lists the domain's accounts and groups to find administrators and service accounts worth stealing. Tools such as AdFind and SharpHound map the whole domain in minutes.
How it shows up in the logs
- net user /domain, net group "Domain Admins" /domain, Get-ADUser or AdFind in process creation logs.
- A high volume of LDAP queries from a workstation (directory service logs, Defender for Identity reconnaissance alerts).
- Security 4661 or 4662 events for SAM and directory objects from one account.
Questions to ask in triage
- Which account ran the queries, and is it an admin doing their job?
- Was a tool such as SharpHound or AdFind used?
- Which privileged accounts are now the likely next targets?
Read T1087.002 on attack.mitre.org
A sub-technique of T1087.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Domain and share enumeration from one host
In the L3 war room
- The attacker enumerated service principal names to find roastable service accounts.
- The attacker enumerated the domain to find admins and domain controllers.
In the cases
Part of the answer in 2 investigations, in these learning paths:
Which case is not said here: finding it is the case.
More Discovery techniques
- T1018 Remote System Discovery
- T1033 System Owner/User Discovery
- T1046 Network Service Discovery
- T1057 Process Discovery
- T1082 System Information Discovery
- T1083 File and Directory Discovery
- T1580 Cloud Infrastructure Discovery
Source: MITRE ATT&CK T1087.002, tactic TA0007.