DeviceEvents in Content Hub rules
32 rules read DeviceEvents · table guide.
Filtered columns
ActionTypePowerShellCommand5UsbDriveMounted5NamedPipeEvent3UserAccountCreated2AmsiScriptContent2BrowserLaunchedToOpenUrl2 +9 moreInitiatingProcessFileNamepowershell.exe2wsmprovhost.exe2svchost.exe1excel.exe1powerpnt.exe1winword.exe1AdditionalFields[mArS.deiMos]::inteRaCt()"}2{"Command":"SIEX"}1InitiatingProcessCommandLine-File1.webp1 +1 moreAccountSidS-\d-\d+-\d+-(\d+-){1,5}\d+1AdditionalFields.AttributeListthumbnailPhoto1AdditionalFields.DistinguishedNameCN=ADFS,CN=Microsoft,CN=Program Data1AdditionalFields.PipeName[a-fA-F0-9]{2,10}$1\\(edge|chrome)\.sync\.\d+\.\d+\.1\\PSHost\.\d+\.1\\crashpad_1\\cubeb-pipe-1\\mojo\.\d+\.\d+\.1 +2 moreFileNameNetSetupSvc.dll1InitiatingProcessAccountSidProcessCommandLine.webp1RemoteUrl.lnk1 +1 more
Joined with
DeviceFileEventsitselfIdentityInfoCommonSecurityLogDataverseActivityDeviceInfoDeviceLogonEventsAlertEvidenceAzureActivityCloudAppEventsDeviceProcessEventsEmailEventsMSBizAppsTerminatedEmployeesSecurityAlertThreatIntelIndicators_Im_NetworkSession
Parsing
parse_json on AdditionalFields12
- Azure VM Run Command operations executing a unique PowerShell script
- Mass Download & copy to USB device by single user
- Suspicious Powershell Commandlet Executed
- Suspicious Powershell Commandlet Execution
- Suspicious named pipes
- Dataverse - Terminated employee exfiltration to USB drive
- C2-NamedPipe
- Files Copied to USB Drives
- Local Admin Group Changes
- C2-NamedPipe
- Files Copied to USB Drives
- Local Admin Group Changes
split on DeviceName6
split on InitiatingProcessAccountUpn2
extract on InitiatingProcessCommandLine: \-File\s(script[0-9]{1,9}\.ps1)1
parse on RemoteUrl: Drive '\\' *1
Entity mappings
Account.Name ← AccountName8
- ADFS DKM Master Key Export
- Mass Download & copy to USB device by single user
- Office ASR rule triggered from browser spawned office process.
- Suspicious named pipes
- Dataverse - Terminated employee exfiltration to USB drive
- Dataverse - Dataverse export copied to USB devices
- Service Accounts Performing Remote PS
- Local Admin Group Changes
Account.Name ← InitiatingProcessAccountName4
Account.FullName ← InitiatingProcessAccountUpn3
Account.NTDomain ← AccountDomain3
Account.UPNSuffix ← InitiatingProcessAccountDomain3
Host.HostName ← HostName3
IP.Address ← LocalIP3
Process.CommandLine ← InitiatingProcessCommandLine3
Process.CommandLine ← ProcessCommandLine3
Process.ProcessId ← InitiatingProcessId3
Account.Name ← Username2
Account.Sid ← AccountSid2
Account.UPNSuffix ← UPNSuffix2
Host.DnsDomain ← DnsDomain2
Host.DnsDomain ← DvcDomain2
Host.HostName ← DvcHostname2
Account.DnsDomain ← AccountDomain1
Account.FullName ← AccountName1
Account.NTDomain ← InitiatingProcessAccountDomain1
Account.Sid ← InitiatingProcessAccountSid1
AzureResource.ResourceId ← _ResourceId1
File.Directory ← FolderPath1
File.Directory ← InitiatingProcessFolderPath1
File.Name ← FileName1
File.Name ← InitiatingProcessFileName1
FileHash.Algorithm ← HashAlgorithm1
FileHash.Value ← InitiatingProcessSHA11
FileHash.Value ← SHA2561
Host.DnsDomain ← HostNameDomain1
Host.HostName ← DeviceName1
IP.Address ← RemoteIP1
Process.ProcessId ← ProcessId1
ATT&CK techniques of these rules
T1059 4T1052 3T1005 2T1027 2T1041 2T1059.001 2T1204 2T1546 2T1020 1T1052.001 1T1055 1T1071 1T1071.001 1T1098 1T1102 1T1105 1T1203 1T1210 1T1543 1T1554 1T1559 1T1566 1T1566.002 1T1570 1
Severity
Medium 12High 9Informational 1
Schedules (analytic rules)
every 1d over 1d 8every 1h over 1h 8every 6h over 6h 2every 1h over 14d 1every 4h over 14d 1every 5m over 5m 1
Look-back windows in ago()
1d 130d 17d 1
Every rule that reads it
- Azure VM Run Command operations executing a unique PowerShell script
- ADFS DKM Master Key Export
- Windows host username encoded in base64 web request
- Mass Download & copy to USB device by single user
- Suspicious Powershell Commandlet Executed
- Suspicious Powershell Commandlet Execution
- Office ASR rule triggered from browser spawned office process.
- Suspicious Process Injection from Office application
- Suspicious named pipes
- PowerShell Encoded Command Execution
- Lumen TI IPAddress in DeviceEvents
- Dataverse - Terminated employee exfiltration to USB drive
- Dataverse - Dataverse export copied to USB devices
- Deimos Component Execution
- C2-NamedPipe
- Files Copied to USB Drives
- Service Accounts Performing Remote PS
- Local Admin Group Changes
- Possible Phishing with CSL and Network Sessions
- Execution of software vulnerable to webp buffer overflow of CVE-2023-4863
- SUNSPOT malware hashes
- TEARDROP memory-only dropper
- Deimos Component Execution
- LemonDuck Registration Function
- C2-NamedPipe
- Anomalous Payload Delivered from ISO files
- Files Copied to USB Drives
- Service Accounts Performing Remote PS
- Local Admin Group Changes
- Scheduled Task Creation
- Zinc Actor IOCs files - October 2022
- [Deprecated] - Zinc Actor IOCs domains hashes IPs and useragent - October 2022
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.