kevmap

TechniquesT1087.004 › AN1087

AN1087 Analytic 1087

Identity Provider · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Enumeration of identity roles and users via API calls such as Get-MsolRoleMember, az ad user list, or Graph API tokens from unauthorized users or automation accounts.</p>
Detects
T1087.004 Cloud Account
Part of
DET0386 Cloud Account Enumeration via API, CLI, and Scripting Interfaces

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
Microsoft Entra ID Audit LogsRoleManagement.Read.Directory or Directory.Read.AllDC0013 User Account Metadata
azure:signinlogsInteractive/Non-Interactive Sign-InDC0002 User Account Authentication
m365:defenderActivity Log: Command InvocationDC0064 Command Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
TokenScopeFlags excessive or abnormal use of directory read scopes by unexpected principals.
AppContextDifferentiate authorized automation from rogue access tokens or external tools.
TimeWindowTrigger correlation across short bursts of high-volume enumeration.