Detection rules › Kusto
Malware Detected
'Creates an incident when a Symantec Endpoint Proection agent detects malware and the malware was not cleaned.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution |
Rule body
id: 072ee087-17e1-474d-b162-bbe38bcab9f9
name: Malware Detected
description: |
'Creates an incident when a Symantec Endpoint Proection agent detects malware and the malware was not cleaned.'
severity: Medium
status: Available
requiredDataConnectors:
- connectorId: SyslogAma
datatypes:
- Syslog
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
- Execution
relevantTechniques:
- T1204.002
query: |
SymantecEndpointProtection
| where LogType == "Agent Risk Logs"
| where CategorySet == "Malware"
| where ActualAction !contains "Cleaned"
| summarize StartTimeUtc = min(TimeGenerated), EndTimeUtc = max(TimeGenerated) by SrcIpAddr, SrcHostName, UserName, FilePath, ActualAction, CategorySet, CategoryType
entityMappings:
- entityType: Account
fieldMappings:
- identifier: FullName
columnName: UserName
- entityType: IP
fieldMappings:
- identifier: Address
columnName: SrcIpAddr
- entityType: Host
fieldMappings:
- identifier: FullName
columnName: SrcHostName
version: 1.0.3
kind: Scheduled
Stages and Predicates
Stage 1: source
SymantecEndpointProtection
Stage 2: where
| where LogType == "Agent Risk Logs"
Stage 3: where
| where CategorySet == "Malware"
Stage 4: where
| where ActualAction !contains "Cleaned"
Stage 5: summarize
| summarize StartTimeUtc = min(TimeGenerated), EndTimeUtc = max(TimeGenerated) by SrcIpAddr, SrcHostName, UserName, FilePath, ActualAction, CategorySet, CategoryType
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
ActualAction | contains | Cleaned | excludes:ActualAction field:"ActualAction" value:"Cleaned" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CategorySet | eq |
| field:"CategorySet" kind:eq value:"Malware" |
LogType | eq |
| field:"LogType" kind:eq value:"Agent Risk Logs" |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
ActualAction | summarize |
CategorySet | summarize |
CategoryType | summarize |
EndTimeUtc | summarize |
FilePath | summarize |
SrcHostName | summarize |
SrcIpAddr | summarize |
StartTimeUtc | summarize |
UserName | summarize |