%SystemRoot%\System32\Winevt\Logs\Microsoft-Windows-Windows Firewall With Advanced Security%4Firewall.evtx
Artifact Interpretation
Field
Interpretation
Reference
System/Security/UserID
Provides the Security Identifier (SID) of the account that added the new firewall rule.
EventData/ModifyingUser
Provides the Security Identifier (SID) of the account that added the new firewall rule.
EventData/ModifyingApplication
Provides the full image path of the process that added the new firewall rule.
System/Execution/ProcessID
Provides the Process ID of the application that created the new firewall rule.
System/Execution/ThreadID
Provides the Thread ID of the application that created the new firewall rule.
The presence of this event indicates that the system's firewall was modified by adding a new rule. This may be indicative of attacker activity. There are many legitimate processes such as svchost.exe that will be observed modifying the Windows Firewall, so this event should be correlated with others to determine if the activity is legitimate or not.
The following additional fields are available in this event:
XML Path
Interpretation
EventData/RuleId
A GUID for the new firewall rule
EventData/RuleName
The name for the firewall rule as it appears in the Windows Firewall
EventData/Direction
1 for inbound rules and 2 for outbound rules
EventData/Profiles
What profiles (Private/Domain/Public) this rule applies to.
EventData/Active
0 for disabled rules and 1 for enabled rules
EventData/Action
3 for allow and 2 for block
EventData/SecurityOptions
0 for none and 1 for require authentication
EventData/ApplicationPath
If the rule applies only to a specific application it will be listed here
EventData/ServiceName
If the rule applies only to a specific service it will be listed here
Example - Windows 10
On an example system, a new Windows Firewall rule was added from the command line, causing the following event to be logged: