%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 modified the firewall rule.
EventData/ModifyingUser
Provides the Security Identifier (SID) of the account that modified the firewall rule.
EventData/ModifyingApplication
Provides the full image path of the process that modified the firewall rule.
System/Execution/ProcessID
Provides the Process ID of the application that modified the firewall rule.
System/Execution/ThreadID
Provides the Thread ID of the application that modified the firewall rule.
The presence of this event indicates that the system's firewall was modified by editing a 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 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, an existing Windows Firewall rule was modified from within the Windows Defender Firewall with Advanced Security control panel, causing the following event to be logged:
This example was produced on Windows 10, Version 10.0.19044 Build 19044
Example - Windows 11
On an example system, an existing Windows Firewall rule was modified from within the Windows Defender Firewall with Advanced Security control panel, causing the following event to be logged: