-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindows-firewall.json
More file actions
542 lines (542 loc) · 20.7 KB
/
Copy pathwindows-firewall.json
File metadata and controls
542 lines (542 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
{
"dataset": {
"name": "EID Quick Reference - Windows Firewall",
"version": "1.4.0",
"generatedAt": "2026-05-10T00:00:00Z",
"id": "https://raw.githubusercontent.com/zerber0s/windows-eid-data/main/windows-firewall.json",
"schema": "https://raw.githubusercontent.com/zerber0s/windows-eid-data/main/schema.json",
"license": {
"name": "Creative Commons Attribution 4.0 International",
"spdx": "CC-BY-4.0",
"notice": "Event descriptions are paraphrased summaries written for this dataset. Source links point to authoritative references."
},
"sources": [
{
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/",
"type": "primary"
}
]
},
"entries": [
{
"id": 2003,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "Windows Firewall setting changed",
"summary": "A Windows Defender Firewall profile-level setting was modified.",
"details": "Generated when a Windows Defender Firewall profile setting is changed (e.g., default inbound/outbound action, notifications, unicast responses to multicast/broadcast). Records which profile was changed, the new setting value, and the process or policy source responsible for the change.",
"category": "Firewall Configuration",
"tags": [
"firewall",
"configuration-change",
"defense-evasion"
],
"relatedEventIds": [
{
"id": 4950,
"log": "Security"
},
{
"id": 4954,
"log": "Security"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Identify ProfileChanged to determine which network profile was affected (Domain vs. Private/Public)",
"Correlate timestamp with process creation events (EID 4688 or Sysmon EID 1) to identify the responsible process",
"Verify whether the change aligns with a scheduled Group Policy update (EID 4954)"
],
"commonFalsePositives": [
"Group Policy pushing standard firewall profile configurations",
"IT administration tools managing firewall settings centrally",
"OS installation or major feature updates resetting profile defaults"
]
},
"keyFields": [
{
"name": "ProfileChanged",
"xpath": "EventData/Data[@Name='ProfileChanged']",
"description": "The firewall profile that was modified (Public, Private, or Domain)"
},
{
"name": "NewSettingValue",
"xpath": "EventData/Data[@Name='NewSettingValue']",
"description": "The new value applied to the profile setting"
},
{
"name": "ModifiedBy",
"xpath": "EventData/Data[@Name='ModifiedBy']",
"description": "The process or policy source that made the change"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2004,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "Firewall rule added",
"summary": "A new inbound or outbound firewall rule was added to the exception list.",
"details": "Generated when a rule is added to the Windows Defender Firewall exception list. Records the rule name, ID, application path, protocol, ports, direction (inbound/outbound), action (allow/block), and the process or policy source that added it.",
"category": "Firewall Rule Change",
"tags": [
"firewall",
"rule-add",
"defense-evasion",
"persistence"
],
"relatedEventIds": [
{
"id": 2005,
"log": "Firewall"
},
{
"id": 2006,
"log": "Firewall"
},
{
"id": 4946,
"log": "Security"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"ApplicationPath reveals the binary being allowed — flag paths in user-writable directories (AppData, Temp, Downloads)",
"Rules with Direction=Inbound and Action=Allow are highest priority for review",
"ModifiedBy identifies the process or policy source that added the rule",
"Cross-reference RuleName with known software — generic, randomized, or blank names are suspicious"
],
"commonFalsePositives": [
"Software installers adding rules for legitimate applications (e.g., game clients, VoIP, videoconferencing)",
"Enterprise endpoint management platforms pushing approved firewall policy",
"Windows components and services adding rules during initial setup or update"
]
},
"keyFields": [
{
"name": "RuleName",
"xpath": "EventData/Data[@Name='RuleName']",
"description": "Name of the firewall rule added"
},
{
"name": "RuleId",
"xpath": "EventData/Data[@Name='RuleId']",
"description": "Unique identifier for the rule"
},
{
"name": "ApplicationPath",
"xpath": "EventData/Data[@Name='ApplicationPath']",
"description": "Path of the binary allowed by the rule"
},
{
"name": "Direction",
"xpath": "EventData/Data[@Name='Direction']",
"description": "Whether the rule applies to inbound or outbound traffic"
},
{
"name": "Action",
"xpath": "EventData/Data[@Name='Action']",
"description": "Whether the rule allows or blocks traffic"
},
{
"name": "ModifiedBy",
"xpath": "EventData/Data[@Name='ModifiedBy']",
"description": "Process or policy source that added the rule"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2005,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "Firewall rule modified",
"summary": "An existing firewall rule was modified.",
"details": "Generated when an existing Windows Defender Firewall rule is changed. Records the rule name, ID, application path, protocol, ports, and the process or policy source responsible. Adversaries may modify existing legitimate-looking rules rather than creating new ones to avoid detection heuristics that alert only on rule creation.",
"category": "Firewall Rule Change",
"tags": [
"firewall",
"rule-modify",
"defense-evasion"
],
"relatedEventIds": [
{
"id": 2004,
"log": "Firewall"
},
{
"id": 2006,
"log": "Firewall"
},
{
"id": 4947,
"log": "Security"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Review preceding EID 2004 for the same RuleId to compare before/after state",
"Flag modifications that broaden port ranges or remove ApplicationPath restrictions",
"ModifiedBy should be a trusted management process or SYSTEM — user-mode processes modifying rules are suspicious"
],
"commonFalsePositives": [
"Software updates modifying their own pre-existing firewall rules",
"Group Policy applying updated rule configurations from a new baseline",
"Administrative tools adjusting rules during maintenance windows"
]
},
"keyFields": [
{
"name": "RuleName",
"xpath": "EventData/Data[@Name='RuleName']",
"description": "Name of the modified firewall rule"
},
{
"name": "RuleId",
"xpath": "EventData/Data[@Name='RuleId']",
"description": "Unique identifier for the rule; compare with EID 2004 to see before/after state"
},
{
"name": "ApplicationPath",
"xpath": "EventData/Data[@Name='ApplicationPath']",
"description": "Binary path associated with the rule"
},
{
"name": "ModifiedBy",
"xpath": "EventData/Data[@Name='ModifiedBy']",
"description": "Process or policy source that modified the rule"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2006,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "Firewall rule deleted",
"summary": "A firewall rule was removed from the exception list.",
"details": "Generated when a Windows Defender Firewall rule is deleted. Records the rule name, ID, direction, and the process or policy source responsible for the deletion.",
"category": "Firewall Rule Change",
"tags": [
"firewall",
"rule-delete",
"defense-evasion",
"anti-forensics"
],
"relatedEventIds": [
{
"id": 2004,
"log": "Firewall"
},
{
"id": 2005,
"log": "Firewall"
},
{
"id": 4948,
"log": "Security"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Identify whether the deleted rule was an allow or block rule — deletion of block rules is higher severity",
"Deletion of rules for services on ports 3389, 445, or 135 warrants immediate escalation",
"Correlate ModifiedBy with process creation events to identify the responsible binary",
"Check if EID 2004 shows a matching RuleId was added shortly before deletion (indicates attacker cleanup)"
],
"commonFalsePositives": [
"Software uninstallers removing their own registered firewall rules",
"IT policy cleanup removing stale or expired rules",
"Group Policy removing rules superseded by a newer baseline"
]
},
"keyFields": [
{
"name": "RuleName",
"xpath": "EventData/Data[@Name='RuleName']",
"description": "Name of the deleted firewall rule"
},
{
"name": "RuleId",
"xpath": "EventData/Data[@Name='RuleId']",
"description": "Unique identifier of the deleted rule"
},
{
"name": "Direction",
"xpath": "EventData/Data[@Name='Direction']",
"description": "Whether the deleted rule applied to inbound or outbound traffic"
},
{
"name": "ModifiedBy",
"xpath": "EventData/Data[@Name='ModifiedBy']",
"description": "Process or policy source that deleted the rule"
}
],
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2009,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Error",
"title": "Firewall rules failed to load",
"summary": "Windows Defender Firewall could not load rules from the local policy store.",
"details": "Generated when the Windows Firewall service fails to load rules from the local Group Policy store or registry, leaving the system operating without expected policy constraints. This may follow GPO corruption, registry manipulation, or malicious tampering with firewall policy storage (typically under HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy). While often a benign configuration error, this event occurring in proximity to other firewall or defense-evasion events should be treated as potential policy tamper until ruled out.",
"category": "Firewall Service Error",
"tags": [
"firewall",
"error",
"tamper",
"defense-evasion"
],
"relatedEventIds": [
{
"id": 2033,
"log": "Firewall"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Inspect HKLM\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy for unexpected modifications",
"Review System log for GPO processing errors (EID 1085) around the same timestamp",
"Verify the effective firewall policy and running service state after this event fires"
],
"commonFalsePositives": [
"Policy store corruption after an abrupt shutdown or failed OS update",
"First-boot configuration issues in newly provisioned or cloned environments"
]
},
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2033,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "All firewall rules deleted",
"summary": "All rules in the Windows Defender Firewall exception list were deleted.",
"details": "Generated when all rules are removed from the Windows Defender Firewall exception list for a profile. Bulk rule deletion effectively removes all traffic filtering for the affected profile. This can be achieved via netsh advfirewall reset, PowerShell Remove-NetFirewallRule -All, or direct registry manipulation.",
"category": "Firewall Configuration",
"tags": [
"firewall",
"rules-cleared",
"defense-evasion",
"critical"
],
"relatedEventIds": [
{
"id": 2004,
"log": "Firewall"
},
{
"id": 2006,
"log": "Firewall"
},
{
"id": 4949,
"log": "Security"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Correlate with process creation logs to identify the process that invoked the bulk deletion",
"Look for netsh.exe, powershell.exe, or wmic.exe in EID 4688 or Sysmon EID 1 near the event timestamp",
"Review network connection events immediately after — an open firewall is often followed by C2 or lateral movement activity",
"Confirm whether this was authorized via a change management record"
],
"commonFalsePositives": [
"Authorized firewall policy reset during system reimaging or reprovisioning",
"Enterprise security tools performing a controlled policy reset before applying a new baseline"
]
},
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
},
{
"id": 2052,
"log": "Firewall",
"provider": "Microsoft-Windows-Windows Firewall With Advanced Security",
"channel": "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall",
"level": "Information",
"title": "Windows Firewall active profile changed",
"summary": "The active Windows Defender Firewall network profile has switched.",
"details": "Generated when the active firewall profile switches between Domain, Private, and Public. The active profile determines which rule set is enforced, and profiles typically differ significantly in their permissiveness. Adversaries may exploit profile switching to bypass stricter Domain profile rules — for example, by disconnecting the endpoint from the domain network to force a switch to the Public or Private profile, where rules may permit broader inbound access. Unexpected Domain-to-Public switches on domain-joined endpoints are anomalous and should be correlated with network adapter or DHCP events.",
"category": "Firewall Configuration",
"tags": [
"firewall",
"profile-change",
"defense-evasion"
],
"relatedEventIds": [
{
"id": 2003,
"log": "Firewall"
}
],
"mitreAttack": [
{
"techniqueId": "T1686",
"techniqueName": "Disable or Modify System Firewall",
"tactics": [
{
"tacticId": "TA0112",
"tacticName": "Defense Impairment"
}
]
}
],
"notesGuidance": {
"investigationPivots": [
"Determine if the new profile (NewProfile) is less restrictive than the previous profile",
"Correlate with network adapter and DHCP events in the System log to understand the trigger",
"On domain-joined endpoints, a switch away from Domain profile during active business hours is anomalous"
],
"commonFalsePositives": [
"Laptops switching between office (Domain) and home/remote (Private) networks",
"VPN connections and disconnections triggering profile changes",
"Virtual machines with dynamic or bridged network adapters"
]
},
"source": {
"name": "Microsoft Learn",
"url": "https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/"
},
"volumeIndicator": "low",
"windowsVersions": {
"minVersion": "Windows Vista / Server 2008"
},
"lastReviewed": "2026-05-10"
}
]
}