Sigma rule: New Windows Firewall Rule Added Via New-NetFirewallRule Cmdlet
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-2f1e1b126f1d, updated 2024-05-03T00:00:00.000Z.
Rule
- Title
- New Windows Firewall Rule Added Via New-NetFirewallRule Cmdlet
- Status
- test
- Level
- low
- Author
- frack113
- Date
- 2024-05-03
- File
- rules-threat-hunting/windows/process_creation/proc_creation_win_powershell_new_netfirewallrule_allow.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects calls to the "New-NetFirewallRule" cmdlet from PowerShell in order to add a new firewall rule with an "Allow" action.
Log source
- product
- windows
- category
- process_creation
Detection
selection_name:
- Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- '\powershell_ise.exe'
- OriginalFileName:
- 'PowerShell.EXE'
- 'pwsh.dll'
selection_args:
CommandLine|contains|all:
- 'New-NetFirewallRule '
- ' -Action '
- 'allow'
condition: all of selection_*False positives (as the rule lists them)
- Administrator script
Tags
- attack.defense-impairment
- attack.t1686.003
- detection.threat-hunting
MITRE ATT&CK ids this rule names
Related rules
References
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1562.004/T1562.004.md#atomic-test-24---set-a-firewall-rule-using-new-netfirewallrule
- https://malware.news/t/the-rhysida-ransomware-activity-analysis-and-ties-to-vice-society/72170
- https://cybersecuritynews.com/rhysida-ransomware-attacking-windows/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_powershell_new_netfirewallrule_allow.yml
Sources and licences
SigmaHQ
"New Windows Firewall Rule Added Via New-NetFirewallRule Cmdlet" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_powershell_new_netfirewallrule_allow.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: New Windows Firewall Rule Added Via New-NetFirewallRule Cmdlet",
entity page, dataset version ref-2f1e1b126f1d, updated 2024-05-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/51483085-0cba-46a8-837e-4416496d6971 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 51483085-0cba-46a8-837e-4416496d6971, 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.