Linux UFW Disable Attempt via Process Execution

Flags Linux commands that stop/flush/unload or disable UFW, reducing firewall protection and exposure.

FreeReviewedSigma · Medium · v3
Product
linux
Category
process_creation
Author
Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ), DRL 1.1
Published
2023-01-18
Updated
2026-07-31

ATT&CK techniques

  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule identifies Linux process executions attempting to disable or stop the Uncomplicated Firewall (UFW). It matches command lines containing UFW disable actions (including the `ufw disable` form and the `systemctl disable ufw` form) and `ufw-init` stop/flush/force-stop sequences that unload or reset firewall state. Disabling UFW can reduce host network protection, and the detection relies on Linux process creation telemetry with command-line details.

Related detections9 linkedT1686 — drag to rearrange
Suspicious Windows Firewall Rule Creation Masquerading as Network Discovery (via process_creation)
Suspicious Firewall Flush via iptables in Kinsing Intrusion
Suspicious Firewall Rule Allowing SSH via New-NetFirewallRule During Ransomware
Suspicious iptables Port Redirect Rule via GRIMBOLT
Suspicious Firewall Allow Rule for TightVNC Server via netsh (via process_creation)
Suspicious Firewall Rule Added to Open RDP Port 3389 via netsh
Suspicious VMware PCI Device Disabled via Devcon
Possible Firewall Rule Manipulation via netsh advfirewall by FishMonger
Suspicious netsh Firewall Rule Masquerading as SSTP HTTP
Linux UFW Disable Attempt via Process Execution
Pivot detection · T1686 · 9 related

Changelog

v3
  1. v3
    Candidate ingested via manual entry.2026-07-31
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.