Sigma rule: Modify System Firewall
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-caff47ffa9f5, updated 2025-10-12T00:00:00.000Z.
Rule
- Title
- Modify System Firewall
- Status
- test
- Level
- medium
- Author
- IAI
- Date
- 2023-03-06
- Modified
- 2025-10-12
- File
- rules/linux/auditd/execve/lnx_auditd_modify_system_firewall.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the removal of system firewall rules. Adversaries may only delete or modify a specific system firewall rule to bypass controls limiting network usage or access.
Detection rules that match only on the disabling of firewalls will miss this.
Log source
- product
- linux
- service
- auditd
Detection
selection1:
type: 'EXECVE'
a0: 'iptables'
a1|contains: 'DROP'
selection2:
type: 'EXECVE'
a0: 'firewall-cmd'
a1|contains: 'remove'
selection3:
type: 'EXECVE'
a0: 'ufw'
a1|contains: 'delete'
selection4:
type: 'EXECVE'
a0: 'nft'
a1|contains:
- 'delete'
- 'flush'
condition: 1 of selection*False positives (as the rule lists them)
- Legitimate admin activity
Tags
- attack.defense-impairment
- attack.t1686
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.trendmicro.com/en_us/research/22/c/cyclops-blink-sets-sights-on-asus-routers--.html
- https://blog.aquasec.com/container-security-tnt-container-attack
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/getting-started-with-nftables_configuring-and-managing-networking
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_modify_system_firewall.yml
Sources and licences
SigmaHQ
"Modify System Firewall" by IAI (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_modify_system_firewall.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Modify System Firewall",
entity page, dataset version ref-caff47ffa9f5, updated 2025-10-12T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/323ff3f5-0013-4847-bbd4-250b5edb62cc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 323ff3f5-0013-4847-bbd4-250b5edb62cc, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.