{"id":"1a5fefe6-734f-452e-a07d-fc1c35bce4b2","title":"Firewall Rule Deleted Via Netsh.EXE","description":"Detects the removal of a port or application rule in the Windows Firewall configuration using netsh","author":"frack113","status":"test","level":"medium","date":"2022-08-14","modified":"2025-10-07","tags":["attack.defense-impairment","attack.t1686.003"],"technique_ids":["T1686.003"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate administration activity","Software installations and removal"],"references":["https://app.any.run/tasks/8bbd5b4c-b82d-4e6d-a3ea-d454594a37cc/"],"source_path":"rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule.yml","source_sha256":"4c3f76247c1b0dd3216b9e55d22567d49fee3f261a5df1ec89b4810a4fea8ea3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Firewall Rule Deleted Via Netsh.EXE\nid: 1a5fefe6-734f-452e-a07d-fc1c35bce4b2\nstatus: test\ndescription: Detects the removal of a port or application rule in the Windows Firewall configuration using netsh\nreferences:\n    - https://app.any.run/tasks/8bbd5b4c-b82d-4e6d-a3ea-d454594a37cc/\nauthor: frack113\ndate: 2022-08-14\nmodified: 2025-10-07\ntags:\n    - attack.defense-impairment\n    - attack.t1686.003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\netsh.exe'\n        - OriginalFileName: 'netsh.exe'\n    selection_cli:\n        CommandLine|contains|all:\n            - 'firewall'\n            - 'delete '\n    filter_optional_dropbox:\n        ParentImage|endswith: '\\Dropbox.exe'\n        CommandLine|contains: 'name=Dropbox'\n    filter_optional_avast:\n        ParentImage|endswith: '\\instup.exe'\n        CommandLine|contains: 'advfirewall firewall delete rule name=\"Avast Antivirus Admin Client\"'\n    condition: all of selection_* and not 1 of filter_optional_*\nfalsepositives:\n    - Legitimate administration activity\n    - Software installations and removal\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1686.003","id":"T1686.003","name":"Windows Host Firewall","page":"techniques/enterprise/T1686.003/"}],"data_path":"data/detection-rules/1a5fefe6-734f-452e-a07d-fc1c35bce4b2.json","kind":"sigma"}
