Sigma rule: Flush Iptables Ufw Chain
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-f744f8d33030, updated 2023-01-18T00:00:00.000Z.
Rule
- Title
- Flush Iptables Ufw Chain
- Status
- test
- Level
- medium
- Author
- Joseliyo Sanchez, @Joseliyo_Jstnk
- Date
- 2023-01-18
- File
- rules/linux/process_creation/proc_creation_lnx_iptables_flush_ufw.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detect use of iptables to flush all firewall rules, tables and chains and allow all network traffic
Log source
- product
- linux
- category
- process_creation
Detection
selection_img:
Image|endswith:
- '/iptables'
- '/xtables-legacy-multi'
- '/iptables-legacy-multi'
- '/ip6tables'
- '/ip6tables-legacy-multi'
selection_params:
CommandLine|contains:
- '-F'
- '-Z'
- '-X'
selection_ufw:
CommandLine|contains:
- 'ufw-logging-deny'
- 'ufw-logging-allow'
- 'ufw6-logging-deny'
- 'ufw6-logging-allow'
# - 'ufw-reject-output'
# - 'ufw-track-inputt'
condition: all of selection_*False positives (as the rule lists them)
- Network administrators
Tags
- attack.defense-impairment
- attack.t1686
MITRE ATT&CK ids this rule names
References
- https://blogs.blackberry.com/
- https://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html
- https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
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/process_creation/proc_creation_lnx_iptables_flush_ufw.yml
Sources and licences
SigmaHQ
"Flush Iptables Ufw Chain" by Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_iptables_flush_ufw.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: Flush Iptables Ufw Chain",
entity page, dataset version ref-f744f8d33030, updated 2023-01-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3be619f4-d9ec-4ea8-a173-18fdd01996ab (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3be619f4-d9ec-4ea8-a173-18fdd01996ab, 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.