Firewall Rule Deleted Via Netsh.EXE
Description
Detects the removal of a port or application rule in the Windows Firewall configuration using netsh
Query · sigma
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_*
Known false positives
- Legitimate administration activity
- Software installations and removal