kevmap

TechniquesT1059.009 › AN0215

AN0215 Analytic 0215

IaaS · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects adversarial use of cloud APIs for command execution, resource control, or reconnaissance. Focuses on CLI/SDK/scripting language abuse via stolen credentials or in-browser Cloud Shells. Monitors for anomalous API calls chained with authentication context shifts (e.g., stolen token -> privileged action) and cross-service impacts.</p>
Detects
T1059.009 Cloud API
Part of
DET0078 Behavioral Detection of Malicious Cloud API Scripting

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
AWS:CloudTraileventName: RunInstances, CreateUser, PutRolePolicy, InvokeCommandDC0064 Command Execution
azure:activityoperationName: Write, Access Review, RoleAssignmentDC0069 Cloud Service Modification
Okta:SystemLogeventType: user.authentication.sso, app.oauth2.token.grantDC0002 User Account Authentication

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
TimeWindowOff-hours API usage or configuration changes are more suspicious outside business context.
UserAgentUnexpected SDK usage (e.g., `boto3`, `azcopy`, unknown User-Agent strings).
CredentialTypeHigh-risk if access token or API key used outside expected geographic/IP behavior.
APISequenceUnusual or rapid chaining of provisioning, IAM, and execution APIs.
ConsoleContextBrowser-based Cloud Shell vs local CLI may indicate insider vs external use case.