Sigma rule: Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-55e0262b51e6, updated 2023-12-11T00:00:00.000Z.
Rule
- Title
- Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE
- Status
- test
- Level
- high
- Author
- Sander Wiebing, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
- Date
- 2020-05-25
- Modified
- 2023-12-11
- File
- rules/windows/process_creation/proc_creation_win_netsh_fw_allow_program_in_susp_location.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects Netsh command execution that whitelists a program located in a suspicious location in the Windows Firewall
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\netsh.exe'
- OriginalFileName: 'netsh.exe'
selection_cli:
- CommandLine|contains|all:
- 'firewall'
- 'add'
- 'allowedprogram'
- CommandLine|contains|all:
- 'advfirewall'
- 'firewall'
- 'add'
- 'rule'
- 'action=allow'
- 'program='
selection_paths:
CommandLine|contains:
- ':\$Recycle.bin\'
- ':\RECYCLER.BIN\'
- ':\RECYCLERS.BIN\'
- ':\SystemVolumeInformation\'
- ':\Temp\'
- ':\Users\Default\'
- ':\Users\Desktop\'
- ':\Users\Public\'
- ':\Windows\addins\'
- ':\Windows\cursors\'
- ':\Windows\debug\'
- ':\Windows\drivers\'
- ':\Windows\fonts\'
- ':\Windows\help\'
- ':\Windows\system32\tasks\'
- ':\Windows\Tasks\'
- ':\Windows\Temp\'
- '\Downloads\'
- '\Local Settings\Temporary Internet Files\'
- '\Temporary Internet Files\Content.Outlook\'
- '%Public%\'
- '%TEMP%'
- '%TMP%'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.defense-impairment
- attack.t1686.003
MITRE ATT&CK ids this rule names
References
- https://www.virusradar.com/en/Win32_Kasidet.AD/description
- https://www.hybrid-analysis.com/sample/07e789f4f2f3259e7559fdccb36e96814c2dbff872a21e1fa03de9ee377d581f?environmentId=100
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_allow_program_in_susp_location.yml
Sources and licences
SigmaHQ
"Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE" by Sander Wiebing, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_fw_allow_program_in_susp_location.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: Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE",
entity page, dataset version ref-55e0262b51e6, updated 2023-12-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a35f5a72-f347-4e36-8895-9869b0d5fc6d (accessed 2026-11-03).
Underlying source: SigmaHQ rule a35f5a72-f347-4e36-8895-9869b0d5fc6d, 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.