Rules for T1047
How the 7 rules tagged with T1047 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
SecurityEvent 4IdentityInfo 3_Im_Authentication 3_Im_ProcessEvent 3DeviceInfo 2WindowsEvent 1_Im_AuditEvent 1
Filtered columns
SecurityEvent.EventID468824624146251_Im_Authentication.EventResultPartial3Success3_Im_ProcessEvent.EventTypeProcessCreated3DeviceInfo.IsAzureADJoinedTrue2DeviceInfo.JoinTypeAzure AD2Entra2Hybrid2_Im_Authentication.EventProductMicrosoft Entra ID2_Im_Authentication.EventSubTypeRemoteInteractive2_Im_Authentication.LogonMethodManaged Identity2Multi factor authentication2PKI2Passwordless2Service Principal2_Im_Authentication.LogonProtocolOAuth2OpenID2SAML2_Im_ProcessEvent.TargetProcessCommandLine-computername2-enc2/node:2create2invoke-command2SecurityEvent.CommandLine-encodedCommand1SecurityEvent.ParentProcessNamewmiprvse.exe1SecurityEvent.ProcessNameWmiPrvSE.exe1WindowsEvent.EventData-encodedCommand1powershell.exe1powershell_ise.exe1pwsh.exe1WindowsEvent.EventData.CommandLine-encodedCommand1
Joins
IdentityInfo ⋈ _Im_AuthenticationIdentityInfo ⋈ _Im_ProcessEvent_Im_Authentication ⋈ _Im_ProcessEventDeviceInfo ⋈ IdentityInfoDeviceInfo ⋈ _Im_AuthenticationDeviceInfo ⋈ _Im_ProcessEventIdentityInfo ⋈ _Im_AuditEvent_Im_AuditEvent ⋈ _Im_Authentication_Im_AuditEvent ⋈ _Im_ProcessEvent_Im_Authentication ⋈ _Im_Authentication_Im_ProcessEvent ⋈ _Im_ProcessEvent
Idioms
make_set 4arg_max (latest or earliest row per key) 3dcount 1
Severity
Low 1Medium 1
Schedules (analytic rules)
every 12h over 12h 1
Look-back windows in ago()
7d 1
Every rule tagged with it
- Powershell Empire Cmdlets Executed in Command Line
- Remote Login Performed with WMI
- AAD Connect host remote admin followed by Entra privilege operation
- Entra hybrid user sign-in followed by on-prem lateral movement
- WMI or remote admin execution on hybrid device followed by cloud sign-in
- WMIC Windows Internal Discovery and Enumeration
- 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.