VeriKQL by Kaushik Saha

DeviceFileEvents in Content Hub rules

33 rules read DeviceFileEvents · table guide.

Filtered columns

The most used values; a dashed chip is a string match (has, contains …).

Joined with

Parsing

split on DeviceName4
split on FolderPath2
split on FileName1

Entity mappings

Host.FullName ← DeviceName9
Host.HostName ← DeviceName4
Account.Name ← InitiatingProcessAccountName3
File.Name ← FileName3
Account.NTDomain ← InitiatingProcessAccountDomain2
Account.NTDomain ← RequestAccountDomain2
Account.Name ← RequestAccountName2
Account.Sid ← InitiatingProcessAccountSid2
Account.Sid ← RequestAccountSid2
FileHash.Value ← SHA2562
Host.HostName ← HostName2
Process.CommandLine ← InitiatingProcessCommandLine2
Account.FullName ← InitiatingProcessAccountUpn1
Account.UPNSuffix ← InitiatingProcessAccountDomain1
File.Directory ← FolderPath1
File.Directory ← InitiatingProcessFolderPath1
File.Name ← InitiatingProcessFileName1
FileHash.Algorithm ← HashAlgorithm1
FileHash.Algorithm ← SHA11
FileHash.Value ← InitiatingProcessSHA11
FileHash.Value ← MD51
Host.DnsDomain ← DnsDomain1
Host.DnsDomain ← HostNameDomain1

ATT&CK techniques of these rules

T1052 3T1546 3T1071 2T1543 2T1543.003 2T1570 2T1027 1T1041 1T1052.001 1T1059 1T1059.001 1T1078 1T1105 1T1140 1T1190 1T1195 1T1203 1T1204 1T1211 1T1219 1T1486 1T1554 1T1564.004 1T1574 1T1574.002 1

Severity

High 9Medium 9Low 1

Schedules (analytic rules)

every 1d over 1d 7every 1h over 1h 5every 1h over 14d 4every 6h over 6h 2every 1d over 14d 1

Look-back windows in ago()

7d 5

Every rule that reads it

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.