T1087 Account Discovery
Discoveryon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0587 Enumeration of User or Account Information Across Platforms
AN1612 Windows
Detection of processes performing local or domain account enumeration by invoking account directory queries or security APIs followed by structured output of account lists. The defender observes command execution or API invocation patterns that retrieve account information and produce enumeration artifacts shortly afterward.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SecurityEventCode=4688 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SecurityEventCode=4798, 4799 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
AN1613 Linux
Enumeration of users and groups through suspicious shell commands or unauthorized access to /etc/passwd or /etc/shadow.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLPATH | Not mapped to Sentinel yet. |
linux:SysmonEventCode=1 |
|
AN1614 macOS
Detection of account enumeration through directory service queries or system utilities accessing account metadata stores, followed by structured enumeration output.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogprocess event | Not mapped to Sentinel yet. |
macos:unifiedlogDirectoryService queries retrieving account information | Not mapped to Sentinel yet. |
AN1615 IaaS
Detection of enumeration of identity entities through cloud provider APIs where principals retrieve account metadata such as IAM users or roles in rapid succession.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailDescribeUsers / ListUsers / GetUser | Not mapped to Sentinel yet. |
AN1616 Identity Provider
Detection of identity directory enumeration through API calls or administrative queries retrieving multiple account objects within a short interval.
| MITRE log source | In Microsoft Sentinel |
|---|---|
azure:signinlogsGraph API Query |
|
saas:oktaUser Enumeration Events | Not mapped to Sentinel yet. |
AN1617 ESXi
Detection of enumeration activity when system processes query ESXi host account configuration or management APIs to retrieve user account listings.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vpxdvCenter Management | Not mapped to Sentinel yet. |
AN1618 SaaS
Account enumeration via bulk access to user directory features or hidden APIs.
| MITRE log source | In Microsoft Sentinel |
|---|---|
gcp:auditDirectory API Access | Not mapped to Sentinel yet. |
AN1619 Office Suite
Account discovery via VBA macros, COM objects, or embedded scripting.
| MITRE log source | In Microsoft Sentinel |
|---|---|
m365:unifiedScripted Activity | interpreted
The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity. |
Content Hub rules tagged with it (57)
- AFD WAF - Path Traversal Attack
- App GW WAF - Path Traversal Attack
- Copilot - Plugin Tampering (Enable and Disable Within 5 Minutes)
- Cross-tenant Access Settings Organization Added
- Cross-tenant Access Settings Organization Deleted
- Cross-tenant Access Settings Organization Inbound Collaboration Settings Changed
- Cross-tenant Access Settings Organization Inbound Direct Settings Changed
- Cross-tenant Access Settings Organization Outbound Collaboration Settings Changed
- Cross-tenant Access Settings Organization Outbound Direct Settings Changed
- CYFIRMA - Attack Surface - Cloud Weakness High Rule
- CYFIRMA - Attack Surface - Cloud Weakness Medium Rule
- CYFIRMA - Attack Surface - Configuration High Rule
- CYFIRMA - Attack Surface - Configuration Medium Rule
- CYFIRMA - Public Accounts Leaks Detection Rule
- Detect Suspicious Commands Initiated by Webserver Processes
- External guest invitation followed by Microsoft Entra ID PowerShell signin
- Guest accounts added in Entra ID Groups other than the ones specified
- Highly Sensitive Password Accessed
- New Sonrai Ticket
- Powershell Empire Cmdlets Executed in Command Line
- Probable AdFind Recon Tool Usage
- PROD (TM011.1) - LAPS - Tier Level Computer Object LAPS Password Expiration Time Set Manually
- Red Canary Threat Detection
- Sensitive Data Discovered in the Last 24 Hours
- Sensitive Data Discovered in the Last 24 Hours - Customized
How the Content Hub rules for T1087 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
41 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- AD Privileged Users or Groups Reconnaissance
- BloodHound Collection Files
- Chopper Webshell Process Pattern
- Discovery Using AzureHound
- HackTool - Bloodhound/Sharphound Execution
- HackTool - SOAPHound Execution
- HackTool - winPEAS Execution
- Hacktool Ruler
- Malicious PowerShell Commandlets - PoshModule
- Malicious PowerShell Commandlets - ProcessCreation
- Malicious PowerShell Commandlets - ScriptBlock
- Network Reconnaissance Activity
- PUA - AdFind Suspicious Execution
- PUA - Seatbelt Execution
- PUA - Suspicious ActiveDirectory Enumeration Via AdFind.EXE
- Potential Pikabot Discovery Activity
- Reconnaissance Activity
- Renamed AdFind Execution
- SharpHound Recon Account Discovery
- Suspicious Active Directory Database Snapshot Via ADExplorer
- Webshell Detection With Command Line Keywords
- Webshell Hacking Activity Patterns
- Active Directory Database Snapshot Via ADExplorer
- Active Directory Structure Export Via Csvde.EXE
- Potential AD User Enumeration From Non-Machine Account
Mitigations
Sub-techniques
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.