Detection criteria for Advanced rules
Advanced custom rules are query-based EDR detection rules you can use to scan endpoints for patterns of malicious behavior. This page lists the detection criteria available when building Advanced custom detection rules. Each criterion consists of a category, a field, and a value that together define the behavior you want to detect.
The API methods that use these criteria are the following:
Advanced rules use a query syntax where criteria follow this format:
Category.Field:Value
For example: Process.Name:'powershell.exe'
You can combine multiple criteria using logical and comparison operators. For more information on the Advanced rule syntax, refer to this section Advanced rule syntax.
Important
Criteria that accept string values support pattern matching using wildcards. The following criteria do not support wildcards:
Process.MD5Process.SHA2File.MD5File.SHA2
Field | Category | Value validation rules |
|---|---|---|
Process.Name | Process | String |
Process.FullPathName | ||
Process.CommandLine | ||
Process.User | ||
Process.CreatedBy.Name | ||
Process.CreatedBy.Path | ||
Process.CreatedBy.FullPathName | ||
Process.CreatedBy.CommandLine | ||
Process.MD5 | Hash | |
Process.SHA2 | ||
Process.Files | Array ImportantThese fields can be used only with parentheses ( ) and the + operator. | |
Process.Registries | ||
Process.Connections | ||
Process.Services | ||
Process.Emails | ||
File.Name | File | String |
File.FullPathName | ||
File.Extension | ||
File.CreatedBy.Name | ||
File.CreatedBy.Path | ||
File.CreatedBy.FullPathName | ||
File.CreatedBy.Name | ||
File.CreatedBy.User | ||
File.MD5 | Hash | |
File.SHA2 | ||
File.Operation | Possible values:
| |
File.CertificateSignedStatus ImportantRequires either | Possible values
ImportantThe | |
File.CertificateSigner Important
| String | |
File.CertificateIssuer Important
| String | |
Registry.Key | Registry | String |
Registry.Value | ||
Registry.CreatedBy.Name | ||
Registry.CreatedBy.Path | ||
Registry.CreatedBy.FullPathName | ||
Registry.CreatedBy.CommandLine | ||
Registry.Operation | Possible values:
| |
Registry.DataType | Possible values:
| |
Registry.Data Important
| String ImportantFor the | |
Connection.SourceIP | Connection | IP |
Connection.DestinationIP | ||
Connection.SourcePort | Numeric | |
Connection.DestinationPort | ||
Connection.Protocol | Possible values:
| |
Connection.Url | String | |
Connection.Domain ImportantThe | String | |
Connection.HTTPUser Important
| ||
Connection.SMBUser Important
| ||
Connection.FTPUser Important
| ||
Connection.SSHUser Important
| ||
Service.Name | Service | String |
Service.Path | String | |
Service.StartType | Possible values:
| |
Service.CreatedBy.Name | String | |
Service.CreatedBy.Path | ||
Service.Operation | Possible values:
| |
Email.Sender | String | |
Email.Receivers | ||
Email.Subject | ||
Email.Attachments | ||
Email.CreatedBy.Name | ||
Email.CreatedBy.Path | ||
Email.CreatedBy.FullPathName | ||
Email.CreatedBy.CommandLine | ||
Email.Operation | Possible values
| |
UserLogin.Name | UserLogin | String |
UserLogin.Domain | ||
UserLogin.IP | IP |