Detection rules › Sigma

Firewall Disabled

Status
experimental
Severity
high
Log source
product macos, category firewall_events, service unifiedlog
Author
Eric Brown - Nebulock, Inc.
Source
github.com/Nebulock-Inc/macos-coresigma

Detects disabling of the macOS firewall which exposes the system to network attacks

MITRE ATT&CK coverage

Rule body yaml

title: Firewall Disabled
id: 29e86bb3-3940-42e7-8da9-0ea4d47f20df
status: experimental
description: Detects disabling of the macOS firewall which exposes the system to network
  attacks
references:
- https://attack.mitre.org/techniques/T1562/004/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.defense_evasion
- attack.t1562.004
logsource:
  product: macos
  service: unifiedlog
  category: firewall_events
detection:
  selection:
    subsystem: com.apple.alf
    message|contains:
    - firewall disabled
    - firewall stopped
    - global state disabled
  condition: selection
falsepositives:
- Network troubleshooting
level: high
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  subsystem: com.apple.alf
  message|contains:
  - firewall disabled
  - firewall stopped
  - global state disabled

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
  • firewall disabled
  • firewall stopped
  • global state disabled
subsystemeq
  • com.apple.alf