Detection rules › Kusto

Known Malware Detected

Status
available
Severity
medium
Time window
1h
Group by
deviceDetails_deviceIpAddress_s, deviceDetails_deviceName_s, eventTime, processDetails_fullUserName_s, processDetails_targetName_s
Source
github.com/Azure/Azure-Sentinel

'This creates an incident when a known Malware is detected on a endpoint managed by a Carbon Black.'

MITRE ATT&CK coverage

TacticTechniques
Execution

Rule body

id: 9f86885f-f31f-4e66-a39d-352771ee789e
name: Known Malware Detected
description: |
  'This creates an incident when a known Malware is detected on a endpoint managed by a Carbon Black.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: VMwareCarbonBlack
    dataTypes:
      - CarbonBlackEvents_CL
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Execution
relevantTechniques:
  - T1204
query: |
  CarbonBlackEvents_CL
  | extend eventTime = datetime(1970-01-01) + tolong(eventTime_d/1000) * 1sec
  | where targetApp_effectiveReputation_s =~ "KNOWN_MALWARE"
  | summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), count() by eventTime, deviceDetails_deviceName_s, deviceDetails_deviceIpAddress_s, processDetails_fullUserName_s, processDetails_targetName_s
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: FullName
        columnName: processDetails_fullUserName_s
  - entityType: Host
    fieldMappings:
      - identifier: FullName
        columnName: deviceDetails_deviceName_s
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: deviceDetails_deviceIpAddress_s
version: 1.0.2
kind: Scheduled

Stages and Predicates

Stage 1: source

CarbonBlackEvents_CL

Stage 2: extend

| extend eventTime = datetime(1970-01-01) + tolong(eventTime_d/1000) * 1sec

Stage 3: where

| where targetApp_effectiveReputation_s =~ "KNOWN_MALWARE"

Stage 4: summarize

| summarize StartTime = min(TimeGenerated), EndTime = max(TimeGenerated), count() by eventTime, deviceDetails_deviceName_s, deviceDetails_deviceIpAddress_s, processDetails_fullUserName_s, processDetails_targetName_s

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
EndTimesummarize
StartTimesummarize
deviceDetails_deviceIpAddress_ssummarize
deviceDetails_deviceName_ssummarize
eventTimesummarize
processDetails_fullUserName_ssummarize
processDetails_targetName_ssummarize