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.
Defender Firewall
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.
1. Get-NetFirewallProfile — all enabled.
2. Default inbound Block.
3. Rules managed centrally.
4. Logging dropped packets where needed.
5. Test exposure.
profile → rules → enforcement
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
Get-MpComputerStatus— Defender state and signature ageGet-CimInstance -Namespace root\Microsoft\Windows\DeviceGuard -ClassName Win32_DeviceGuard— VBS, Credential Guard, HVCI stateGet-MpPreference | Select AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions— ASR rulesGet-ProcessMitigation -System— system exploit mitigationsGet-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
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Windows Security → Defender Firewall reference map
Fast lookup boundaries for Windows Security → Defender Firewall.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Profile | Active policy context | does not prove flow match |
| Rule | Configured condition/action | presence is not match |
| Flow tuple | Traffic being evaluated | must match direction/addresses/ports |
| Decision/log | Observed allow/block | local firewall only |