MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | |
| Defense Impairment |
Telemetry coverage
Rule body
id: 0c9243d6-d2ec-48e1-8593-e713859c8f3c
name: McAfee ePO - Logging error occurred
description: |
'Detects when logging errors on agent.'
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 ('1040', '1076', '3032', '3033', '3034', '3036', '3038')
| extend EventMessage = case(EventId == '1040', 'Activity Log error',
EventId == '1076', 'Error logging information',
EventId == '3032', 'Error while trying to open/create activity log file',
EventId == '3033', 'Activity log file maximum size reached',
EventId == '3034', 'Unable to write the activity log file',
EventId == '3036', 'Error during initialization of the activity log file',
'Error writing to log')
| 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 ('1040', '1076', '3032', '3033', '3034', '3036', '3038')
Stage 3: extend
| extend EventMessage = case(EventId == '1040', 'Activity Log error',
EventId == '1076', 'Error logging information',
EventId == '3032', 'Error while trying to open/create activity log file',
EventId == '3033', 'Activity log file maximum size reached',
EventId == '3034', 'Unable to write the activity log file',
EventId == '3036', 'Error during initialization of the activity log file',
'Error writing to log')
EventMessage =if
EventId == 1040'Activity Log error'elif
EventId == 1076'Error logging information'elif
EventId == 3032'Error while trying to open/create activity log file'elif
EventId == 3033'Activity log file maximum size reached'elif
EventId == 3034'Unable to write the activity log file'elif
EventId == 3036'Error during initialization of the activity log file'else
'Error writing to log'Stage 4: project
| project DvcIpAddr, EventId, EventMessage
Stage 5: extend
| extend IPCustomEntity = DvcIpAddr
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
EventId | in |
| field:"EventId" kind:in |
Output fields
These fields are emitted when the rule matches.
| Field | Source |
|---|---|
DvcIpAddr | project |
EventId | project |
EventMessage | project |
IPCustomEntity | extend |