L1BIO 13.01.02ISO A.13.1.1CIS Windows - Firewall policy merge
Intune: Windows Firewall Public - Block Local Firewall Rule Merge
π 2025-10-30
β’
β±οΈ 3 minuten lezen
β’
π΄ Must-Have
πΌ Management Samenvatting
Block local firewall rule merge on Public profile - prevents local admins/malware from adding firewall exceptions (centralized control ONLY).
Aanbeveling
IMPLEMENT
Risico zonder
High
Risk Score
8/10
Implementatie
2u (tech: 1u)
Van toepassing op:
β Windows 10 β Windows 11
Local policy merge = security bypass: Merge enabled: Centralized rules (Intune) + local rules (admin-created) = BOTH apply, Attack: Local admin creates allow rule β bypasses centralized policy, Malware with admin: Adds firewall exception β C2 communication allowed. Public profile: STRICTEST (public WiFi = hostile), Block merge: ONLY Intune rules apply (local rules IGNORED), Defense: Tamper-proof firewall (malware cannot weaken).
PowerShell Modules Vereist
Primary API: Microsoft Graph API Connection:Connect-MgGraph Required Modules: Microsoft.Graph.DeviceManagement
Implementatie
Block policy merge: Policy: Allow local firewall rule merge: False, Effect: Local firewall rules IGNORED (netsh advfirewall rules NOT applied), Intune rules: ONLY source of firewall policy, Public WiFi: Maximum protection (no local weakening possible).
Vereisten
Intune subscription
Windows 10/11
Centralized firewall management (all rules via Intune)
Implementatie
Intune Settings Catalog: Windows Firewall β Public Profile β Allow local policy merge: False (block local rules). Effect: Intune firewall rules ONLY.
Compliance
CIS Windows Benchmark L1, Microsoft Security Baseline, BIO 13.01, ISO 27001 A.13.1.1.
Monitoring
Gebruik PowerShell-script enable-public-network-firewall-allow-local-policy-merge-is-set-to-false.ps1 (functie Invoke-Monitoring) β Controleren.
Remediatie
Gebruik PowerShell-script enable-public-network-firewall-allow-local-policy-merge-is-set-to-false.ps1 (functie Invoke-Remediation) β Herstellen.
Compliance & Frameworks
CIS M365: Control Windows - Firewall policy merge (L1) -
BIO: 13.01.02 -
ISO 27001:2022: A.13.1.1 -
Automation
Gebruik het onderstaande PowerShell script om deze security control te monitoren en te implementeren. Het script bevat functies voor zowel monitoring (-Monitoring) als remediation (-Remediation).