Skip to content
WETNav
FirewallDefense Evasion

Event ID 2003: Firewall profile setting changed

Written when a firewall setting within a profile changes, such as turning the firewall off for the Domain, Private or Public profile. Records the profile, the setting and the account.

Channel
Microsoft-Windows-Windows Firewall With Advanced Security/Firewall
Logged by default
Yes
Written on
Any host
Volume
Low
Provider
Microsoft-Windows-Windows Firewall With Advanced Security
Needs a SACL
No

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

ProfileChangedWhich profile changed (Domain, Private or Public)
SettingTypeThe setting that changed (e.g. Enable Windows Firewall)
SettingValueThe new value (e.g. No, meaning the firewall was turned off for that profile)
ModifyingUserAccount that made the change
ModifyingApplicationProgram used to make the change
Have one of these events? Paste it into the decoder

Analyst notes

  • 01A setting change that turns the firewall off for a profile (SettingType 'Enable Windows Firewall' set to No) is a direct defense-evasion signal; check ModifyingUser and ModifyingApplication.
  • 02Correlate with Security 4950 (firewall setting changed) and with any new listeners or rules added around the same time.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Microsoft-Windows-Windows Firewall With Advanced Security/Firewall' -FilterXPath "*[System[(EventID=2003)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 2003 mean?
Written when a firewall setting within a profile changes, such as turning the firewall off for the Domain, Private or Public profile. Records the profile, the setting and the account. It is written to the Windows Defender Firewall log (Microsoft-Windows-Windows Firewall With Advanced Security/Firewall).
Is event 2003 logged by default?
Yes, a default Windows installation records it.
Where is event 2003 recorded?
In the Microsoft-Windows-Windows Firewall With Advanced Security/Firewall channel on the any host.

Written when a firewall setting within a profile changes, such as turning the firewall off for the Domain, Private or Public profile. Records the profile, the setting and the account. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.