Detection rules › Kusto

McAfee ePO - Task error

Status
available
Severity
medium
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Detects when task error occurs.'

MITRE ATT&CK coverage

Rule body kusto

id: 3e397e31-7964-417e-a3e0-0acfaa2056f4
name: McAfee ePO - Task error
description: |
  'Detects when task error occurs.'
severity: Medium
requiredDataConnectors:
  - connectorId: SyslogAma
    datatypes:
      - Syslog
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
status: Available
tactics:
  - DefenseEvasion
relevantTechniques:
  - T1562
  - T1070
query: |
  McAfeeEPOEvent
  | where EventId in ('1003', '1067')
  | extend EventMessage = case(EventId == '1003', 'Error starting Task',
                                'Unable to start scheduled task')
  | project DvcIpAddr, EventId, EventMessage
  | extend IPCustomEntity = DvcIpAddr
entityMappings:
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: IPCustomEntity
version: 1.0.2
kind: Scheduled

Stages and Predicates

Stage 1: source

McAfeeEPOEvent

Stage 2: where

| where EventId in ('1003', '1067')

Stage 3: extend

| extend EventMessage = case(EventId == '1003', 'Error starting Task',
                              'Unable to start scheduled task')
EventMessage =
ifEventId == 1003'Error starting Task'
else'Unable to start scheduled task'

Stage 4: project

| project DvcIpAddr, EventId, EventMessage

Stage 5: extend

| extend IPCustomEntity = DvcIpAddr

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
EventIdin
  • 1003 transforms: cased
  • 1067 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
DvcIpAddrproject
EventIdproject
EventMessageproject
IPCustomEntityextend