Sigma rule: Firewall Rule Deleted Via Netsh.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a106b40503a8, updated 2025-10-07T00:00:00.000Z.

Rule

Title
Firewall Rule Deleted Via Netsh.EXE
Status
test
Level
medium
Author
frack113
Date
2022-08-14
Modified
2025-10-07
File
rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the removal of a port or application rule in the Windows Firewall configuration using netsh

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\netsh.exe'
    - OriginalFileName: 'netsh.exe'
selection_cli:
    CommandLine|contains|all:
        - 'firewall'
        - 'delete '
filter_optional_dropbox:
    ParentImage|endswith: '\Dropbox.exe'
    CommandLine|contains: 'name=Dropbox'
filter_optional_avast:
    ParentImage|endswith: '\instup.exe'
    CommandLine|contains: 'advfirewall firewall delete rule name="Avast Antivirus Admin Client"'
condition: all of selection_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Legitimate administration activity
  • Software installations and removal

Tags

  • attack.defense-impairment
  • attack.t1686.003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule.yml

Sources and licences

  • SigmaHQ

    "Firewall Rule Deleted Via Netsh.EXE" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Firewall Rule Deleted Via Netsh.EXE",
entity page, dataset version ref-a106b40503a8, updated 2025-10-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1a5fefe6-734f-452e-a07d-fc1c35bce4b2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1a5fefe6-734f-452e-a07d-fc1c35bce4b2, 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.