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.sha256File.md5File.sha256
Field | Category | Value validation rules |
|---|---|---|
Process.name | Process | String |
Process.path | ||
Process.command_line | ||
Process.directory | ||
Process.user | ||
Process.parent_name | ||
Process.parent_directory | ||
Process.parent_path | ||
Process.parent_cmdline | ||
Process.md5 | Hash | |
Process.sha256 | ||
Process.Files | Array ImportantThese fields can be used only with parentheses ( ). You can also use the | |
Process.Registries | ||
Process.Connections | ||
Process.Services | ||
Process.Emails | ||
File.name | File | String |
File.path | ||
File.directory | ||
File.extension | ||
File.parent_name | ||
File.parent_directory | ||
File.parent_path | ||
File.parent_cmdline | ||
File.parent_user | ||
File.md5 | Hash | |
File.sha256 | ||
File.operation | Possible values:
| |
File.certificate_signed_status ImportantRequires either | Possible values
ImportantThe | |
File.certificate_signer Important
| String | |
File.CertificateIssuer Important
| String | |
Registry.key | Registry | String |
Registry.value | ||
Registry.parent_name | ||
Registry.parent_directory | ||
Registry.parent_user | ||
Registry.parent_path | ||
Registry.parent_cmdline | ||
Registry.operation | Possible values:
| |
Registry.type | Possible values:
| |
Registry.data Important
| String ImportantFor the | |
Network.source_ip | Network | IP |
Network.destination_ip | ||
Network.source_port | Integer | |
Network.destination_port | ||
Network.protocol | Possible values:
| |
Network.parent_name | String | |
Network.parent_path | ||
Network.parent_directory | ||
Network.parent_cmdline | ||
Network.parent_user | ||
Network.url | ||
Network.domain ImportantThe | String | |
Network.http_user Important
| ||
Network.smb_user Important
| ||
Network.ftp_user Important
| ||
Network.ssh_user Important
| ||
Service.name | Service | String |
Service.path | String | |
Service.start_type | Possible values:
| |
Service.parent_name | String | |
Service.parent_path | ||
Service.parent_directory | ||
Service.parent_cmdline | ||
Service.parent_user | ||
Service.operation | Possible values:
| |
Email.sender_name | String, valid email | |
Email.receiver_addresses | ||
Email.subject | String | |
Email.attachment_names | ||
Email.parent_name | ||
Email.parent_directory | ||
Email.parent_path | ||
Email.parent_cmdline | ||
Email.parent_user | ||
Email.operation | Possible values
| |
UserConnection.name | UserConnection | String |
UserConnection.domain | ||
UserConnection.ip | IP |