Rules for T1021.006
How the 2 rules tagged with T1021.006 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
DeviceInfo 1IdentityInfo 1SecurityEvent 1_Im_Authentication 1_Im_ProcessEvent 1
Filtered columns
DeviceInfo.IsAzureADJoinedTrue1DeviceInfo.JoinTypeAzure AD1Entra1Hybrid1SecurityEvent.EventID46881SecurityEvent.ParentProcessNamewmiprvse.exe1_Im_Authentication.EventProductMicrosoft Entra ID1_Im_Authentication.EventResultPartial1Success1_Im_Authentication.LogonMethodManaged Identity1Multi factor authentication1PKI1Passwordless1Service Principal1_Im_Authentication.LogonProtocolOAuth1OpenID1SAML1_Im_ProcessEvent.EventTypeProcessCreated1_Im_ProcessEvent.TargetProcessCommandLine-computername1-enc1/node:1create1invoke-command1
Joins
DeviceInfo ⋈ IdentityInfoDeviceInfo ⋈ _Im_AuthenticationDeviceInfo ⋈ _Im_ProcessEventIdentityInfo ⋈ _Im_AuthenticationIdentityInfo ⋈ _Im_ProcessEvent_Im_Authentication ⋈ _Im_ProcessEvent
Idioms
arg_max (latest or earliest row per key) 1make_set 1
Every rule tagged with it
- WMI or remote admin execution on hybrid device followed by cloud sign-in
- Commands executed by WMI on new hosts - potential Impacket
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.