Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Defender Firewall

Direct answer

Microsoft Defender Firewall filters host traffic using active network profiles and effective rules. This topic explains its security role; detailed profile/rule administration and command guidance remain in Windows → Windows Firewall.

When to use this

Use this topic when a Windows host may be permitting or blocking a connection and you need to prove whether the host-firewall boundary is the first failed security boundary.

First 30 seconds

1. Get-NetFirewallProfile — all enabled.

2. Default inbound Block.

3. Rules managed centrally.

4. Logging dropped packets where needed.

5. Test exposure.

Operational verification

profile → rules → enforcement

Evidence · next step

If the local firewall permits the flow, verify listener/socket, route/neighbor and remote/return path boundaries.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not disable the firewall as the first test. That changes a large security boundary and can hide the exact rule/profile issue. Prefer a narrow rule/evidence comparison for the same flow.

Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security
Scope / prerequisiteUse this topic when a Windows host may be permitting or blocking a connection and you need to prove whether the host-fi…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Capture the exact test flow, active profile and effective rules. Correlate firewall logging/events where available, then verify whether the application is actually listening and whether return traffic succeeds.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Firewall enabled does not prove a specific rule permits or blocks the flow.
  • Profile selection changes which policy set is effective.
  • Rule presence does not prove rule match.
  • A blocked inbound flow can still have another upstream or application failure.
  • Detailed firewall administration stays in Windows Firewall.
Key checks
  • Get-MpComputerStatus — Defender state and signature age
  • Get-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard — VBS, Credential Guard, HVCI state
  • Get-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions — ASR rules
  • Get-ProcessMitigation -System — system exploit mitigations
  • Get-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 30 — Defender events
ReferenceWhat it is1 section · depth on demand

Core model

Defender Firewall is a host firewall, so it evaluates traffic at the Windows endpoint. Its result depends on active profiles, effective policy merge, rule conditions and stateful connection context.

ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Keep local host firewall evidence separate from upstream firewalls, routing, DNS and application listeners. A flow can fail before or after the Windows firewall boundary.

In depth

Defender Firewall in the Windows Security app reflects the same firewall as wf.msc; security baselines recommend: all profiles on, default inbound block, logging of dropped packets, local rule merging disabled on managed servers, and notifications off on servers.

Get-NetFirewallProfile | ft Name,Enabled,DefaultInboundAction,AllowLocalFirewallRules,NotifyOnListen
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

Authoritative/upstream documentation reviewed for bounded claims in Windows Security → Defender Firewall. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/security/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
defender firewallmicrosoft defender firewallwindows host firewall securitywindows security firewall
Embedded reference data

Quick lookup tables

Windows Security → Defender Firewall reference map

Fast lookup boundaries for Windows Security → Defender Firewall.

BoundaryMeaningEvidence limit
ProfileActive policy contextdoes not prove flow match
RuleConfigured condition/actionpresence is not match
Flow tupleTraffic being evaluatedmust match direction/addresses/ports
Decision/logObserved allow/blocklocal firewall only
Confirmation

Confirm action

Continue?