Windows event log · Microsoft-Windows-Windows Firewall With Advanced Security/Firewall2003 The firewall has enabled/disabled

  • Defender and policy
  • 3 fields
  • Microsoft-Windows-Windows Firewall With Advanced Security%4Firewall.evtx
  • Microsoft-Windows-Windows Firewall With Advanced Security

Fields EvtxECmd extracts

3 columns in the EvtxECmd CSV

  • ExecutableInfo%ModifyingApplication%
    • %ModifyingApplication% = /Event/EventData/Data[@Name="ModifyingApplication"]
  • Username%ModifyingUser%
    • %ModifyingUser% = /Event/EventData/Data[@Name="ModifyingUser"]
  • PayloadData1SettingValue: %SettingValue%
    • %SettingValue% = /Event/EventData/Data[@Name="SettingValue"]

Value lookups

Codes that EvtxECmd turns into text

SettingValue

01-00-00-00
Enable
00-00-00-00
Disable

Sample event

Event XML from the map file

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Windows Firewall With Advanced Security" Guid="{GUID}"/>
    <EventID>2003</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2020-12-29T08:02:40.1537755Z"/>
    <EventRecordID>3921</EventRecordID>
    <Correlation/>
    <Execution ProcessID="2952" ThreadID="5308"/>
    <Channel>Microsoft-Windows-Windows Firewall With Advanced Security/Firewall</Channel>
    <Computer>ComputerName</Computer>
    <Security UserID="{UserID}"/>
  </System>
  <EventData>
    <Data Name="Profiles">2</Data>
    <Data Name="SettingType">1</Data>
    <Data Name="SettingValueSize">4</Data>
    <Data Name="SettingValue">01000000</Data>
    <Data Name="SettingValueString">Yes</Data>
    <Data Name="Origin">1</Data>
    <Data Name="ModifyingUser">S-1-5-21-513373498-3903154681-3342767705-1001</Data>
    <Data Name="ModifyingApplication">C:\Windows\explorer.exe</Data>
  </EventData>
</Event>

References

2 links

Source: evtx/Maps/Microsoft-Windows-Windows-Firewall-With-Advanced-Security-Firewall_Microsoft-Windows-Windows-Firewall-With-Advanced-Security_2003.map(opens in new tab) by Hyun Yi @hyuunnn, Tony Knutson and contributors(opens in new tab), MIT License(opens in new tab)