Rules for T1219
How the 9 rules tagged with T1219 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 4SecurityAlert 3DeviceProcessEvents 2DeviceFileEvents 1Event 1_Im_Dns 1imProcess 1
Filtered columns
SecurityAlert.ProviderNameMDATP3SecurityEvent.NewProcessNameAnyDesk.exe1bcdedit.exe1client32.exe1cmd.exe1meshagent.exe1DeviceProcessEvents.ProcessCommandLinecmd /c elrs.exe1cmd.exe /c "wmic /node:[^ ]* process call create "ntdsutil s1save HKLM\SYSTEM [^ ]*_System.HIV1SecurityEvent.CommandLine-b64exec1-kvm11GetAgent1atera.com1integratorLogin1DeviceFileEvents.FileNameelrs.exe1DeviceProcessEvents.InitiatingProcessCommandLinesave HKLM\SYSTEM [^ ]*_System.HIV1Event.EventID70451SecurityEvent.ActivityProcess1SecurityEvent.ParentProcessNamemeshagent.exe1imProcess.CommandLinecmd.exe /c "wmic /node:[^ ]* process call create "ntdsutil s1save HKLM\SYSTEM [^ ]*_System.HIV1
Joins
DeviceProcessEvents ⋈ SecurityAlertDeviceFileEvents ⋈ DeviceProcessEventsDeviceFileEvents ⋈ SecurityAlertSecurityAlert ⋈ imProcess
Idioms
mv-expand (unpack arrays) 4arg_max (latest or earliest row per key) 1make_list 1
Look-back windows in ago()
7d 1
Every rule tagged with it
- Potential beaconing activity (ASIM DNS Solution)
- AnyDesk Execution from Abnormal Folder - Potential Malicious Use of RMM Tool
- AnyDesk Service Installation - Potentially Malicious RMM Tool Installation
- MeshAgent Suspicious Child Process - Potential Malicious RMM Tool Usage
- NetSupport Manager Execution from Abnormal Folder - Potential Malicious Use of RMM Tool
- Remote Atera Agent Download - Command Line
- Dev-0322 Command Line Activity November 2021 (ASIM Version)
- Dev-0322 Command Line Activity November 2021
- Dev-0322 File Drop Activity November 2021
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.