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 | T1204.002 User Execution: Malicious File |
Rule body kusto
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
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
ActualAction | contains | Cleaned |
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CategorySet | eq |
|
LogType | eq |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field | Source |
|---|---|
ActualAction | summarize |
CategorySet | summarize |
CategoryType | summarize |
EndTimeUtc | summarize |
FilePath | summarize |
SrcHostName | summarize |
SrcIpAddr | summarize |
StartTimeUtc | summarize |
UserName | summarize |