WindowsEvent.EventData.CommandLine
7 rules filter it on a literal value.
String match (has, contains, startswith …)
$b,15,$b.Length-151
-encodedCommand1
/q /c color f7&1
FromBase64String1
Net.We$()bClient1
Set-MpPreference1
\Microsoft\Windows\CurrentVersion1
backup1
bcdedit1
bootstatuspolicy ignoreallfailures1
catalog1
delete1
delete shadows1
recoveryenabled no1
shadowcopy delete1
systemstatebackup1
wbadmin1
wmic1
Every rule that filters it
- Gain Code Execution on ADFS Server via Remote WMI Execution
- Midnight Blizzard - Script payload stored in Registry
- Powershell Empire Cmdlets Executed in Command Line
- Backup Deletion
- Potential Microsoft Security Services Tampering
- Dev-0056 Command Line Activity November 2021
- Caramel Tsunami Actor IOC - July 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.