Detection rules › Sigma

DNS Resolution Failure Spike

Status
experimental
Severity
medium
Time window
1m
Log source
product macos, category network_events, service unifiedlog
Author
Eric Brown - Nebulock, Inc.
Source
github.com/Nebulock-Inc/macos-coresigma

Detects spike in DNS resolution failures which may indicate C2 infrastructure takedown or DGA activity

MITRE ATT&CK coverage

Rule body yaml

title: DNS Resolution Failure Spike
id: b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e
status: experimental
description: Detects spike in DNS resolution failures which may indicate C2 infrastructure
  takedown or DGA activity
references:
- https://attack.mitre.org/techniques/T1568/002/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.command_and_control
- attack.t1568.002
logsource:
  product: macos
  service: unifiedlog
  category: network_events
detection:
  selection:
    subsystem: com.apple.network
    message|contains:
    - DNS query failed
    - resolution error
    - NXDOMAIN
  condition: selection
  timeframe: 1m
  # Note: Count aggregation (> 50 in 1m) would need to be applied
  # at query time in Kibana/Elasticsearch, not in Sigma rule
falsepositives:
- Network connectivity issues
- DNS server problems
level: medium
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  subsystem: com.apple.network
  message|contains:
  - DNS query failed
  - resolution error
  - NXDOMAIN

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
messagematch
  • DNS query failed
  • NXDOMAIN
  • resolution error
subsystemeq
  • com.apple.network