Rules for T1552.007
How the 5 rules tagged with T1552.007 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
AzureActivity 5AADServicePrincipalSignInLogs 3CloudStorageAggregatedEvents 2AADNonInteractiveUserSignInLogs 1SigninLogs 1
Filtered columns
AzureActivity.ActivitySubstatusValueok5AzureActivity.OperationNameValue/get4/read4/secrets/4microsoft.keyvault/vaults/4read2AADServicePrincipalSignInLogs.ResultType01Success1
Joins
AADServicePrincipalSignInLogs ⋈ AzureActivityAADServicePrincipalSignInLogs ⋈ AADServicePrincipalSignInLogsAzureActivity ⋈ CloudStorageAggregatedEventsAADNonInteractiveUserSignInLogs ⋈ AADNonInteractiveUserSignInLogsAADNonInteractiveUserSignInLogs ⋈ AADServicePrincipalSignInLogsAADNonInteractiveUserSignInLogs ⋈ AzureActivityAADNonInteractiveUserSignInLogs ⋈ SigninLogsAADServicePrincipalSignInLogs ⋈ SigninLogsAzureActivity ⋈ AzureActivityAzureActivity ⋈ SigninLogsCloudStorageAggregatedEvents ⋈ CloudStorageAggregatedEventsSigninLogs ⋈ SigninLogs
Idioms
make_set 5dcount 4leftanti join (A without B) 4arg_min (latest or earliest row per key) 3mv-expand (unpack arrays) 1
Every rule tagged with it
- Key Vault secret read then partial storage exfil
- Key Vault harvest to SPN sign-in then out-of-scope resource access
- Key Vault secret harvest followed by novel SPN sign-in from non-1P IP
- Key Vault secret read then Storage key-auth pivot
- Novel identity then Key Vault secret burst
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.