Windows event log · Microsoft-Windows-Windows Firewall With Advanced Security/Firewall2006 A rule has been deleted in the Windows Defender Firewall exception list
- Defender and policy
- 2 fields
Microsoft-Windows-Windows Firewall With Advanced Security%4Firewall.evtxMicrosoft-Windows-Windows Firewall With Advanced Security
Fields EvtxECmd extracts
2 columns in the EvtxECmd CSV
- PayloadData1
RuleName: %RuleName%- %RuleName% = /Event/EventData/Data[@Name="RuleName"]
- PayloadData2
ModifyingApplication: %ModifyingApplication%- %ModifyingApplication% = /Event/EventData/Data[@Name="ModifyingApplication"]
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>2006</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000020000000000</Keywords>
<TimeCreated SystemTime="2020-12-22T16:13:25.1271174Z"/>
<EventRecordID>4015</EventRecordID>
<Correlation/>
<Execution ProcessID="3028" ThreadID="5732"/>
<Channel>Microsoft-Windows-Windows Firewall With Advanced Security/Firewall</Channel>
<Computer>ComputerName</Computer>
<Security UserID="{UserID}"/>
</System>
<EventData>
<Data Name="RuleId">{3EBDF2BA-35BB-436E-A51B-F97D09E58C37}</Data>
<Data Name="RuleName">WinDefend Outbound for TCP</Data>
<Data Name="ModifyingUser">S-1-5-18</Data>
<Data Name="ModifyingApplication">C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2011.6-0\MsMpEng.exe</Data>
</EventData>
</Event>References
4 links
- kb.eventtracker.com/evtpass/evtPages/EventId_2004_Microsoft-Windows-WindowsFirewallwithAdvancedS_65673.asp(opens in new tab)
- social.technet.microsoft.com/Forums/security/en-US/b1f62441-2c15-4706-b5f6-bb274bfed020/event-id-2004-and-2006-rules-created-automatically-on-windows-firewall?forum=winserversecurity(opens in new tab)
- nasbench.medium.com/finding-forensic-goodness-in-obscure-windows-event-logs-60e978ea45a3(opens in new tab)
- github.com/nasbench/EVTX-ETW-Resources/blob/main/ETWProvidersCSVs/Internal/Microsoft-Windows-Windows%20Firewall%20With%20Advanced%20Security.csv(opens in new tab)
Source: evtx/Maps/Microsoft-Windows-Windows-Firewall-With-Advanced-Security-Firewall_Microsoft-Windows-Windows-Firewall-With-Advanced-Security_2006.map(opens in new tab) by Hyun Yi @hyuunnn and contributors(opens in new tab), MIT License(opens in new tab)