VeriKQL by Kaushik Saha

DeviceNetworkEvents in Content Hub rules

25 rules read DeviceNetworkEvents · table guide.

Filtered columns

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

Joined with

Parsing

split on InitiatingProcessAccountUpn6
extract on InitiatingProcessCommandLine: (\b25[0-5]|\b2[0-4][0-9]|\b[01]?[0-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}[^ ]*1
extract on InitiatingProcessCommandLine: http[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+1
split on DeviceName1

Entity mappings

Host.FullName ← DeviceName10
IP.Address ← RemoteIP5
URL.Url ← RemoteUrl5
Process.CommandLine ← InitiatingProcessCommandLine4
IP.Address ← LocalIP3
Host.HostName ← DeviceName2
Account.FullName ← InitiatingProcessAccountUpn1
Account.Name ← InitiatingProcessAccountName1
Account.UPNSuffix ← InitiatingProcessAccountDomain1
FileHash.Algorithm ← HashAlgorithm1
FileHash.Value ← InitiatingProcessMD51
Host.DnsDomain ← HostNameDomain1
Host.HostName ← HostName1
Process.ProcessId ← InitiatingProcessId1

ATT&CK techniques of these rules

T1071 9T1218.010 4T1218.011 4T1546 3T1543 2T1543.003 2T1021.003 1T1041 1T1059 1T1071.001 1T1195 1T1203 1T1566 1

Severity

Medium 10High 6Informational 1

Schedules (analytic rules)

every 1h over 14d 6every 1h over 1h 5every 1d over 1d 3every 6h over 6h 2every 1d over 14d 1

Look-back windows in ago()

1d 230d 210d 17d 1

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.