Detection rules › Kusto

Malware Detected

Status
available
Severity
medium
Time window
1h
Group by
ActualAction, CategorySet, CategoryType, FilePath, SrcHostName, SrcIpAddr, UserName
Source
github.com/Azure/Azure-Sentinel

'Creates an incident when a Symantec Endpoint Proection agent detects malware and the malware was not cleaned.'

MITRE ATT&CK coverage

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.

FieldKindExcluded values
ActualActioncontainsCleaned

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.

FieldKindValues
CategorySeteq
  • Malware transforms: cased
LogTypeeq
  • Agent Risk Logs transforms: cased

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.

FieldSource
ActualActionsummarize
CategorySetsummarize
CategoryTypesummarize
EndTimeUtcsummarize
FilePathsummarize
SrcHostNamesummarize
SrcIpAddrsummarize
StartTimeUtcsummarize
UserNamesummarize