CVE-2018-0886 = CredSSP vulnerability (2018): CredSSP: Protocol used by RDP, WinRM, PowerShell Remoting (credential delegation), Vulnerability: Encryption oracle attack β attacker relays credentials β MITM gains access, Exploitation: Attacker intercepts RDP connection β relays credentials to different server β authenticated as victim. Patch: Microsoft released CredSSP updates (2018), maar requires BOTH client + server patched. Remediation policy: 'Force updated clients': Only allow RDP to servers with patched CredSSP (blocks connections to vulnerable servers), 'Vulnerable': Allow connections to unpatched servers (INSECURE - NOT recommended).
PowerShell Modules Vereist
Primary API: Microsoft Graph API Connection:Connect-MgGraph Required Modules: Microsoft.Graph.DeviceManagement
Implementatie
Force updated clients: Policy: Encryption Oracle Remediation: Force Updated Clients, Effect: RDP client ONLY connects to patched CredSSP servers (vulnerable servers = connection refused), Security: Prevents credential relay attacks, Compatibility: Legacy servers without patch = connection fails (UPDATE SERVERS!).
Vereisten
Windows 10/11
Intune subscription
RDP servers: MUST be patched (CVE-2018-0886 updates)
Testing: Verify all RDP destinations patched
Implementatie
Intune Settings Catalog: System β Credentials Delegation β Encryption Oracle Remediation: Force Updated Clients. Test: RDP to all servers β verify connections succeed (servers patched).
Compliance
Microsoft Security Advisory (CVE-2018-0886), CIS Windows Benchmark, BIO 12.06, NIST SI-2.
Monitoring
Gebruik PowerShell-script encryption-oracle-remediation-is-set-to-enabled-force-updated-clients.ps1 (functie Invoke-Monitoring) β Controleren.
Remediatie
Gebruik PowerShell-script encryption-oracle-remediation-is-set-to-enabled-force-updated-clients.ps1 (functie Invoke-Remediation) β Herstellen.
Compliance & Frameworks
CIS M365: Control Windows - CredSSP (L1) -
BIO: 12.06.01 -
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).