Rules for T1550.001
How the 21 rules tagged with T1550.001 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Tables and parsers
AuditLogs 6AWSCloudTrail 5AzureActivity 4AADServicePrincipalSignInLogs 3CloudStorageAggregatedEvents 3AADNonInteractiveUserSignInLogs 2_Im_AuditEvent 2_Im_Authentication 2CloudAppEvents 1DeviceImageLoadEvents 1
Filtered columns
AWSCloudTrail.EventSourcests.amazonaws.com5AWSCloudTrail.SourceIpAddressec2.amazonaws.com3glue.amazonaws.com1lambda.amazonaws.com1AuditLogs.OperationNameCertificates and secrets management3Add service principal2Consent to application1StsRefreshTokenValidFrom1AzureActivity.OperationNameValue/get2/read2/secrets/2microsoft.keyvault/vaults/2microsoft.authorization/roleassignments/read1AWSCloudTrail.UserAgentAmazon ECS Agent1kubernetes1AuditLogs.InitiatedBy.app.displayName@3AuditLogs.InitiatedBy.user.userPrincipalName@3AuditLogs.Resultsuccess3AzureActivity.ActivitySubstatusValueok3AADNonInteractiveUserSignInLogs.ResultType02Success2AADServicePrincipalSignInLogs.ResultType02Success2_Im_Authentication.ActorUserTypeService Principal2_Im_Authentication.EventResultSuccess2AADServicePrincipalSignInLogs.ConditionalAccessStatusfailure1notApplied1AuditLogs.ActivityDisplayNamecertificate1credential1key credential1password credential1secret1
Joins
(derived) ⋈ AWSCloudTrailAWSCloudTrail ⋈ AWSCloudTrailAADServicePrincipalSignInLogs ⋈ AADServicePrincipalSignInLogsAADNonInteractiveUserSignInLogs ⋈ AADNonInteractiveUserSignInLogsAzureActivity ⋈ CloudStorageAggregatedEventsCloudStorageAggregatedEvents ⋈ CloudStorageAggregatedEventsAADNonInteractiveUserSignInLogs ⋈ AzureActivityAADNonInteractiveUserSignInLogs ⋈ DeviceImageLoadEventsAADServicePrincipalSignInLogs ⋈ AuditLogsAADServicePrincipalSignInLogs ⋈ AzureActivityCloudAppEvents ⋈ CloudAppEventsCloudAppEvents ⋈ _Im_AuditEventDeviceImageLoadEvents ⋈ DeviceImageLoadEvents_Im_AuditEvent ⋈ _Im_Authentication_Im_Authentication ⋈ _Im_Authentication
Idioms
make_set 11mv-expand (unpack arrays) 9leftanti join (A without B) 8arg_max (latest or earliest row per key) 5dcount 5join with no kind= (innerunique: duplicate left keys collapse) 3arg_min (latest or earliest row per key) 2
Severity
High 6Medium 3Low 1
Schedules (analytic rules)
every 1h over 1h 3
Every rule tagged with it
- AWSCloudTrail - AWS STS token suspicious activity from EC2
- AWSCloudTrail - STS token suspicious activity from ECS
- AWSCloudTrail - STS token suspicious activity from Glue
- AWSCloudTrail - STS Token Suspicious Activity from Kubernetes Worker Node
- AWSCloudTrail - STS Token Suspicious Activity from Lambda
- Interactive STS refresh token modifications
- Key Vault secret read then partial storage exfil
- Key Vault secret harvest followed by novel SPN sign-in from non-1P IP
- Identity and app enumeration followed by novel non-interactive tuple
- OAuth consent change followed by first-seen OAuthAppId burst
- Key Vault secret read then Storage key-auth pivot
- Partial failures followed by read concentration
- App credential change followed by SP sign-in burst
- Rare kernel load followed by novel non-interactive sign-in tuple
- Rare service principal authentication tuple
- Service principal Conditional Access anomaly
- Service principal credential change followed by novel SP sign-in
- full_access_as_app Granted To Application
- First access credential added to Application or Service Principal where no credential was present
- New access credential added to Application or Service Principal
- NRT First access credential added to Application or Service Principal where no credential was present
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.