VeriKQL by Kaushik Saha

Event in Content Hub rules

35 rules read Event · table guide.

Filtered columns

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

Joined with

Parsing

parse_xml on EventData16

1 2 3 5 8 18 20 22 23 24 25 29 30 33 34 35

split on Computer11
split on RenderedDescription6
parse on EventData: * 'ServiceName">' ServiceName "<" * 'ImagePath">' ImagePath "<" *3
parse on EventData: * 'TargetObject">' TargetObject "<" * 'Details">' Details "<" *3
split on UserName3
parse on EventData: * 'AccountName">' AccountName "<" *2
parse on EventData: * 'ProcessGuid">' ProcessGuid "<" * 'Description">' Description "<" * 'CommandLine">' CommandLine "<" * 'CurrentDirectory">' CurrentDirectory "<" * 'User">' User "<" * 'LogonGuid">' LogonGuid "<" * 'Hashes">' Hashes "<" * 'ParentProcessGuid">' ParentProcessGuid "<" * 'ParentImage">' ParentImage "<" * 'ParentCommandLine">' ParentCommandLine "<" * 'ParentUser">' ParentUser "<" *2
parse on RenderedDescription: * "IPAddress: " ipaddress " FileID:" * " FileName: " filename " FolderID: " folderid " FolderPath: " folderpath " Username: " username " AgentBrand: " *2
parse on RenderedDescription: * "User '" userdisplayname "' (" *2
parse on EventData: * 'CommandLine">' CommandLine "<" *1
parse on EventData: * 'CommandLine">' CommandLine "<" * 'ParentCommandLine">' ParentCommandLine "<" *1
parse on EventData: * 'Image">' Image "<" * 'CommandLine">' CommandLine "<" * 'ParentImage">' ParentImage "<" *1
parse on EventData: * 'Image">' Image "<" * 'OriginalFileName">' OriginalFileName "<" *1
parse on EventData: * 'ProcessGuid">' ProcessGuid "<" * 'Description">' Description "<" * 'CurrentDirectory">' CurrentDirectory "<" * 'User">' User "<" * 'LogonGuid">' LogonGuid "<" * 'ParentProcessGuid">' ParentProcessGuid "<" * 'ParentImage">' ParentImage "<" * 'ParentCommandLine">' ParentCommandLine "<" * 'ParentUser">' ParentUser "<" *1
parse on EventData: * 'ProcessGuid">' ProcessGuid "<" * 'Image">' Image "<" *1
parse on EventData: * 'ProcessGuid">' ProcessGuid "<" * 'Image">' Image "<" * 'Description">' Description "<" * 'CurrentDirectory">' CurrentDirectory "<" * 'User">' User "<" * 'LogonGuid">' LogonGuid "<" * 'ParentProcessGuid">' ParentProcessGuid "<" * 'ParentImage">' ParentImage "<" * 'ParentCommandLine">' ParentCommandLine "<" * 'ParentUser">' ParentUser "<" *1
parse on EventData: * 'ProcessGuid">' ProcessGuid "<" * 'Image">' Image "<" * 'Description">' Description "<" * 'OriginalFileName">' OriginalFileName "<" * 'CommandLine">' CommandLine "<" * 'CurrentDirectory">' CurrentDirectory "<" * 'User">' User "<" * 'LogonGuid">' LogonGuid "<" * 'IntegrityLevel">' IntegrityLevel "<" * 'Hashes">' Hashes "<" * 'ParentProcessGuid">' ParentProcessGuid "<" * 'ParentImage">' ParentImage "<" * 'ParentCommandLine">' ParentCommandLine "<" * 'ParentUser">' ParentUser "<" *1
parse on EventData: * 'ProcessId">' ProcessId "<" * 'Image">' Image "<" * 'OriginalFileName">' OriginalFileName "<" *1
parse on EventData: * 'ProcessId">' ProcessId "<"* 'Image">' Image "<" * 'TargetObject">' TargetObject "<" * 'Details">' Details "<" * 'User">' User "<" *1
parse on EventData: * 'SourceProcessGUID">' SourceProcessGUID "<" * 'SourceImage">' SourceImage "<" *1
parse on EventData: * 'TargetFilename">' TargetFilename "<" *1
parse on EventData: * 'TargetImage">' TargetImage "<" * 'GrantedAccess">' GrantedAccess "<" * 'CallTrace">' CallTrace "<" *1
parse_json on EventData1

Entity mappings

Host.FullName ← Computer18

3 4 5 6 7 11 12 13 14 15 16 17 23 29 30 31 32 33

Host.HostName ← HostName18

4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 22 29 30

Host.DnsDomain ← DnsDomain12
Account.FullName ← UserName6
Account.Name ← AccountName5
Host.DnsDomain ← HostNameDomain5
Account.NTDomain ← AccountNTDomain4
Account.NTDomain ← NTDomain4
Process.CommandLine ← CommandLine4
RegistryKey.Key ← TargetObject4
Account.Name ← Name3
Account.Name ← User3
File.Name ← ImagePath3
Account.FullName ← User2
Account.Name ← UserName2
Account.Name ← userdisplayname2
File.Directory ← ImageDirectory2
File.Name ← ImageFileName2
Host.HostName ← Computer2
IP.Address ← ipaddress2
Process.ProcessId ← ProcessId2
Account.FullName ← AccountName1
File.Name ← DirSample1
File.Name ← FileSample1
File.Name ← Image1
File.Name ← TargetFilename1
FileHash.Algorithm ← HashAlgo1
FileHash.Value ← SHA11
Host.NTDomain ← HostNameDomain1
IP.Address ← SourceIp1
Process.CommandLine ← Image1
Process.CommandLine ← SourceImage1

ATT&CK techniques of these rules

T1003.001 3T1005 2T1020 2T1021.003 2T1059 2T1204 2T1543 2T1546 2T1546.012 2T1003 1T1068 1T1071 1T1072 1T1078 1T1098 1T1105 1T1190 1T1210 1T1218.011 1T1219 1T1529 1T1543.003 1T1546.008 1T1546.009 1T1546.010 1T1562.001 1T1569.002 1

Severity

Medium 17High 8Low 2

Schedules (analytic rules)

every 1h over 1h 12every 1d over 1d 7every 15m over 15m 2every 6h over 6h 2every 1d over 7d 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.