New Firewall Rule Added Via Netsh.EXE
Description
Detects the addition of a new rule to the Windows firewall via netsh
Query · sigma
selection_img:
- Image|endswith: \netsh.exe
- OriginalFileName: netsh.exe
selection_cli:
CommandLine|contains|all:
- ' firewall '
- ' add '
filter_optional_dropbox:
CommandLine|contains:
- advfirewall firewall add rule name=Dropbox dir=in action=allow "program=?:\Program
Files (x86)\Dropbox\Client\Dropbox.exe" enable=yes profile=Any
- advfirewall firewall add rule name=Dropbox dir=in action=allow "program=?:\Program
Files\Dropbox\Client\Dropbox.exe" enable=yes profile=Any
condition: all of selection_* and not 1 of filter_optional_*
Known false positives
- Legitimate administration activity
- Software installations