Rules for T1140
How the 12 rules tagged with T1140 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 5DynatraceSecurityProblems 3DeviceProcessEvents 2WindowsEvent 2DeviceFileEvents 1DynatraceProblems 1imProcessCreate 1
Filtered columns
SecurityEvent.CommandLine.decode('base64')2.decode64(2TVqQAAMAAAAEAAA2base64 --decode2.bat1SecurityEvent.EventID46884DynatraceSecurityProblems.DAVISRiskLevelCRITICAL2DynatraceSecurityProblems.MutedFalse3DeviceProcessEvents.FileNamearp.exe1certutil1certutil.exe1net.exe1netstat.exe1DynatraceSecurityProblems.VulnerabilityTypeCODE_LEVEL1WindowsEvent.EventData.decode('base64')1.decode64(1TVqQAAMAAAAEAAA1base64 --decode1WindowsEvent.EventID46882DeviceFileEvents.FileNamecertutil1DeviceFileEvents.PreviousFileNamecertutil1DeviceProcessEvents.InitiatingProcessCommandLine-a1-nao1-t1/all1127.0.0.11DeviceProcessEvents.InitiatingProcessFileNameexplorer.exe1mobsync.exe1DeviceProcessEvents.ProcessCommandLinecertutil1imProcessCreate.CommandLineTVqQAAMAAAAEAAA1
Idioms
arg_max (latest or earliest row per key) 4make_set 2dcount 1
Severity
Medium 8Informational 2Low 1
Schedules (analytic rules)
every 1d over 1d 7every 1h over 14d 1every 1h over 1h 1
Look-back windows in ago()
7d 1
Every rule tagged with it
- Base64 encoded Windows process command-lines (Normalized Process Events)
- Dynatrace Application Security - Code-Level runtime vulnerability detection
- Dynatrace Application Security - Non-critical runtime vulnerability detection
- Dynatrace Application Security - Third-Party runtime vulnerability detection
- Dynatrace - Problem detection
- Base64 encoded Windows process command-lines
- Process executed from binary hidden in Base64 encoded file
- Ingress Tool Transfer - Certutil
- Execution BAT Script to Unpack Payload
- Qakbot Discovery Activies
- NRT Base64 Encoded Windows Process Command-lines
- NRT Process executed from binary hidden in Base64 encoded file
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.