New Firewall Rule Added Via Netsh.EXE
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects the addition of a new rule to the Windows firewall via netsh
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\netsh.exe" OR ORIGINALFILENAME = "netsh.exe") AND (COMMANDLINE contains " firewall " AND COMMANDLINE contains " add ")) AND COMMANDLINE notcontains "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" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Markus Neis, Sander Wiebing


