L1BIO 13.01.02ISO A.13.1.1CIS Windows - Firewall policy merge
Intune: Windows Firewall Public - Block Local IPsec Policy Merge
π 2025-10-30
β’
β±οΈ 3 minuten lezen
β’
π΄ Must-Have
πΌ Management Samenvatting
Block local IPsec policy merge on Public profile - prevents local admins from weakening firewall (centralized control ONLY).
Aanbeveling
IMPLEMENT
Risico zonder
Medium
Risk Score
6/10
Implementatie
2u (tech: 1u)
Van toepassing op:
β Windows 10 β Windows 11
Policy merge = local override risk: IPsec policies: VPN, connection security rules (encryption, authentication), Local merge: Local admin can add IPsec rules β bypasses centralized GPO/Intune policy, Attack: Compromised admin account β adds IPsec rule β weakens security (allows traffic), malware with admin rights β modifies firewall. Public profile: STRICTEST control (public WiFi = untrusted), Block merge: ONLY centralized policies apply (no local overrides). Defense: Centralized enforcement (Intune/GPO ONLY).
PowerShell Modules Vereist
Primary API: Microsoft Graph API Connection:Connect-MgGraph Required Modules: Microsoft.Graph.DeviceManagement
Implementatie
Block IPsec merge: Policy: Allow local IPsec policy merge: False, Effect: Local IPsec policies IGNORED (centralized policies ONLY), Centralized control: Intune firewall rules = only source of truth, Public WiFi: Maximum security (no local weakening).
Vereisten
Intune subscription
Windows 10/11
Centralized firewall management (Intune)
Implementatie
Intune Settings Catalog: Windows Firewall β Public Profile β Allow local IPsec policy merge: False (block local overrides).
Compliance
CIS Windows Benchmark L1, BIO 13.01, ISO 27001 A.13.1.1.
Monitoring
Gebruik PowerShell-script enable-public-network-firewall-allow-local-ipsec-policy-merge-is-set-to-false.ps1 (functie Invoke-Monitoring) β Controleren.
Remediatie
Gebruik PowerShell-script enable-public-network-firewall-allow-local-ipsec-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).