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.
| Field | What it tells you |
|---|---|
| ProfileChanged | Which profile changed (Domain, Private or Public) |
| SettingType | The setting that changed (e.g. Enable Windows Firewall) |
| SettingValue | The new value (e.g. No, meaning the firewall was turned off for that profile) |
| ModifyingUser | Account that made the change |
| ModifyingApplication | Program used to make the change |
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.
Related events
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.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten 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.