DeviceProcessEvents joined with DeviceNetworkEvents
6 rules join them.
Keys
DeviceName == DeviceName4
DeviceId == DeviceId2
InvestigatedProcessCommandLine == InvestigatedProcessCommandLine2
InvestigatedProcessId == InvestigatedProcessId2
InvestigatedProcessName == InvestigatedProcessName2
InvestigatedProcessStartTime == InvestigatedProcessStartTime2
ServiceProcess == ServiceProcess2
ServiceProcessCmdline == ServiceProcessCmdline2
ServiceProcessCreationTime == ServiceProcessCreationTime2
ServiceProcessID == ServiceProcessID2
ServiceProcessSHA1 == ServiceProcessSHA12
ServiceProcessUser == ServiceProcessUser2
DCOMHostPID == InitiatingProcessParentId1
DCOMPID == InitiatingProcessId1
Time conditions after the join
whoamiTime < mailTime + 4h1
whoamiTime > mailTime - 4h1
Rules
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.