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

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.

FieldKindExcluded valuesSearch
ActualActioncontainsCleanedexcludes:ActualAction field:"ActualAction" value:"Cleaned"

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
ActualActionsummarize
CategorySetsummarize
CategoryTypesummarize
EndTimeUtcsummarize
FilePathsummarize
SrcHostNamesummarize
SrcIpAddrsummarize
StartTimeUtcsummarize
UserNamesummarize