← Back to All Articles

Post-Quantum Cryptography (PQC) Migration in Hybrid Microsoft Environments: Lab-Verified Implementation, Production Impact, and Audit Guide

A 5-phase hybrid Microsoft PQC roadmap aligned with Microsoft's 2029 target, backed by Hyper-V lab measurements of X25519 vs. X25519_MLKEM768 packet growth, Schannel Event ID 36880 (255-bit vs. 1216-bit) auditing, Intune Policy CSP deployment, and production breakage risks.

·16 min read
Post-Quantum Cryptography (PQC) Migration in Hybrid Microsoft Environments: Lab-Verified Implementation, Production Impact, and Audit Guide

For enterprises running an end-to-end Microsoft estate, the primary architectural advantage in transitioning to Post-Quantum Cryptography (PQC) is that the client operating system (Windows), identity plane (Microsoft Entra ID), cloud (Azure), and productivity suite (Microsoft 365) share the same core cryptographic engine (SymCrypt / CNG). With Microsoft pulling its critical product and service PQC transition target forward to 2029 under the Microsoft Quantum Safe Program (QSP), enterprise migration plans must align with three core pillars: data-in-transit protection, data-at-rest hardening, and trust chains with identity modernization.

In practice, however, organizations frequently assume that because Microsoft Edge negotiates hybrid PQC key exchange by default, the entire Windows endpoint is already quantum-safe. This engineering guide pairs a 5-phase hybrid roadmap with before-and-after measurements captured in a live Hyper-V hybrid lab (WIN11-01 Windows 11 Pro 26H2 Build 26300.9974, DC01 Windows Server 2025 Datacenter 24H2 Build 26100.33828 with ADCS, and a live Microsoft Intune tenant), detailing byte-level packet growth, production breakage risks, and agentless audit workflows.

Before-and-After Lab Evidence: Why Default Windows Builds Are Not Enough

According to Microsoft Schannel documentation, hybrid PQC groups (x25519_mlkem768, secp256r1_mlkem768, and secp384r1_mlkem1024) are supported on Windows 11 24H2 (26100.8514+), 25H2/26H2, and Windows Server 2025, but they are disabled by default at the operating system layer.

Running a read-only audit across WIN11-01 and DC01 prior to any configuration change exposed four concrete baseline realities:

Figure 1: Verified before-and-after lab measurements on WIN11-01 (Windows 11 Pro 26H2) and DC01 (Windows Server 2025 + ADCS)
  • OS-level TLS blind spot: Both WIN11-01 (26300.9974) and DC01 (26100.33828) shipped with only curve25519, NistP256, and NistP384 enabled. Native Windows services, PowerShell, and .NET workloads relying on Schannel negotiated classical tls=TLSv1.3; kex=X25519 against https://pq.cloudflareresearch.com/cdn-cgi/trace.
  • Legacy and non-PFS cipher suites remain active: Out of 28 enabled cipher suites on both hosts, only 2 were TLS 1.3 suites, while 8 non-PFS TLS_RSA_* suites—including TLS_RSA_WITH_NULL_SHA256 and TLS_RSA_WITH_NULL_SHA—remained in the default list.
  • BitLocker 128-bit default: manage-bde -status C: on WIN11-01 reported XTS-AES 128 (Used Space Only Encrypted). Because Grover's algorithm reduces effective symmetric brute-force security quadratically, enterprise endpoints should standardize on XTS-AES 256.
  • On-premises ADCS Root CA outliving the 2029 horizon: On DC01, the enterprise root certificate (CORP-DC01-CA) uses RSA-4096 / sha256RSA with a 3,653-day validity window (2026-11-26 to 2036-11-26), while the LDAPS 636 DC certificate uses RSA-2048 (365 days). Replacing a root CA without first mapping LDAPS, RADIUS, VPN, and IIS dependencies and automating short-lived certificates will cause service outages.

The following read-only audit script captures this exact baseline without modifying system state (requires elevated Windows PowerShell 5.1 or PowerShell 7):

powershell
# Code Security Classification: Read-only audit# Required Privilege: Local Administrator (BitLocker & SCHANNEL registry read)$os   = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'$fips = Get-ItemPropertyValue 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy' -Name Enabled -ErrorAction SilentlyContinue [PSCustomObject]@{    ComputerName    = $env:COMPUTERNAME    DisplayVersion  = $os.DisplayVersion    Build           = "$($os.CurrentBuild).$($os.UBR)"    FipsModeEnabled = [bool]$fips    SupportedGroups = ((Get-TlsEccCurve | ForEach-Object { $_ }) -join ', ')} | Format-List $ciphers = @(Get-TlsCipherSuite | ForEach-Object { $_ })[PSCustomObject]@{    TotalCiphers = $ciphers.Count    Tls13Count   = @($ciphers | Where-Object { $_.Name -like 'TLS_AES_*' -or $_.Name -like 'TLS_CHACHA20_*' }).Count    EcdheCount   = @($ciphers | Where-Object { $_.Name -like 'TLS_ECDHE_*' }).Count    RsaKexCount  = @($ciphers | Where-Object { $_.Name -like 'TLS_RSA_*' }).Count} | Format-Table -AutoSize manage-bde -status C: | Select-String 'Conversion Status|Encryption Method|Protection Status'

Step 1.1: On-Premises ADCS and LDAPS Certificate Inventory (`DC01`)

In hybrid estates, baseline auditing must cover on-premises Active Directory Certificate Services (ADCS) root lifetimes and LDAPS 636 bindings alongside endpoints. The read-only audit script below reproduced our CORP-DC01-CA (RSA-4096, 3,653 days) and published template findings on DC01 (requires Local Administrator or read-only CA access on the ADCS host):

powershell
# Code Security Classification: Read-only audit# Required Privilege: Local Administrator on the ADCS host (read-only)certutil -cainfo name | Select-String 'CA name'certutil -cainfo type | Select-String 'CA type' Get-ChildItem Cert:\LocalMachine\My | ForEach-Object {    [PSCustomObject]@{        Subject      = $_.Subject        Issuer       = $_.Issuer        KeyAlg       = $_.PublicKey.Oid.FriendlyName        KeySize      = $_.PublicKey.Key.KeySize        SigAlg       = $_.SignatureAlgorithm.FriendlyName        NotAfter     = $_.NotAfter.ToString('yyyy-MM-dd')        ValidityDays = ($_.NotAfter - $_.NotBefore).Days    }} | Format-Table -AutoSize # List published ADCS templatescertutil -catemplates | Where-Object { $_ -match ':' }

Packet-Level Proof: ClientHello Expansion from 447 Bytes to 1,568 Bytes

After enabling X25519_MLKEM768 (IANA 0x11ec / decimal 4588, standardized via NIST FIPS 203 and IETF RFC 10024) at position 0 on WIN11-01 and DC01 using Enable-TlsEccCurve -Name 'X25519_MLKEM768' -Position 0, we captured TCP 443 handshakes using built-in Windows pktmon (etl2pcap) and parsed both captures (cap-classic.pcapng vs. cap-pqc-fresh.pcapng) at the byte level:

Figure 2: Built-in pktmon capture on WIN11-01 comparing classical X25519 (506 B frame) against hybrid X25519MLKEM768 (1,627 B frame)
  • Before (cap-classic.pcapng — Classical X25519): TLS Record length was 447 bytes, ClientHello payload was 443 bytes, and total Ethernet frame length was 506 bytes. The key_share extension carried group 0x001d (X25519) with a 32-byte public share, fitting comfortably inside a single 1,460-byte TCP MSS segment.
  • After (cap-pqc-fresh.pcapng — Hybrid X25519_MLKEM768): TLS Record length jumped to 1,568 bytes (+1,121 bytes, 3.53x growth), ClientHello payload reached 1,564 bytes, and the pre-LSO/TSO NIC frame reached 1,627 bytes. The key_share extension switched to 0x11ec (X25519MLKEM768) with a 1,216-byte key exchange payload (1,184 B ML-KEM-768 + 32 B X25519).
  • Network impact: Because 1,568 bytes exceeds the standard 1,460-byte TCP MSS by 108 bytes, the initial ClientHello splits across two TCP segments on the wire.

The following telemetry collection script reproduces this capture cleanly without installing third-party packet sniffers (requires elevated PowerShell):

powershell
# Code Security Classification: Telemetry collection# Required Privilege: Local Administrator (pktmon driver access)New-Item -ItemType Directory -Path 'C:\Temp\PQC-Lab' -Force | Out-Null pktmon filter remove | Out-Nullpktmon filter add -p 443 | Out-Nullpktmon start --capture --pkt-size 0 --file-name 'C:\Temp\PQC-Lab\capture-pqc.etl' | Out-Null # Spawn a fresh child process to bypass HTTP/1.1 Keep-Alive and TLS session cache$trace = powershell.exe -NoProfile -Command "Invoke-RestMethod -Uri 'https://pq.cloudflareresearch.com/cdn-cgi/trace' -TimeoutSec 15"$trace -split "`n" | Where-Object { $_ -match '^(tls|kex|http)=' } pktmon stop | Out-Nullpktmon etl2pcap 'C:\Temp\PQC-Lab\capture-pqc.etl' --out 'C:\Temp\PQC-Lab\capture-pqc.pcapng' | Out-Nullpktmon filter remove | Out-Null

Step 2.1: Inspecting the Captured `pcapng` Files in Wireshark

Open before-pqc.pcapng and after-pqc.pcapng in Wireshark and apply three targeted filters to confirm the transition:

  • Isolate TLS ClientHello frames: Apply tls.handshake.type == 1 to compare the ~506 B classical frame against the ~1,627 B PQC frame and observe [2 Reassembled TCP Segments] at the TCP layer.
  • Filter for hybrid PQC offers: Apply tls.handshake.extensions_supported_group == 0x11ec to list only handshakes advertising X25519MLKEM768 (4588).
  • Verify key_share payload size: Expand Transport Layer Security -> Handshake Protocol: Client Hello -> Extension: key_share and confirm the jump from Group: x25519 (0x001d) (Key Exchange Length: 32) to Group: X25519MLKEM768 (0x11ec) (Key Exchange Length: 1216).

Microsoft Intune Deployment and Agentless Schannel Auditing

At enterprise scale, hybrid PQC groups must be deployed via Microsoft Intune rather than local scripts. Per Microsoft Policy CSP Cryptography documentation, the valid Windows 11 24H2+ OMA-URI path is ./Device/Vendor/MSFT/Policy/Config/Cryptography/ConfigureEllipticCurveCryptography (informal paths like TLSECCCurveOrder are invalid), configured as a semicolon-delimited string: x25519_mlkem768;curve25519;NistP256;NistP384.

We deployed SEC-PQC-Win11-TLS-SupportedGroups-Pilot through Microsoft Graph (/v1.0/deviceManagement/deviceConfigurations) in our lab tenant and verified handshake negotiation natively via Windows Schannel Event ID 36880:

Step 3.1: Step-by-Step Intune Portal Policy Creation

Create two pilot-scoped policies in the Microsoft Intune admin center (intune.microsoft.com):

  • Schannel PQC Supported Groups profile: Navigate to Devices -> Manage devices -> Configuration -> Create -> New Policy, select Windows 10 and later and Templates -> Custom. Add an OMA-URI row with ./Device/Vendor/MSFT/Policy/Config/Cryptography/ConfigureEllipticCurveCryptography, Data type String, and Value x25519_mlkem768;curve25519;NistP256;NistP384, then assign strictly to a pilot device group.
  • BitLocker XTS-AES 256-bit profile: Navigate to Endpoint security -> Disk encryption -> Create policy, select Windows -> BitLocker, enforce XTS-AES 256-bit across OS, fixed, and removable drives, and require Entra ID recovery key backup.

Step 3.2: Pilot Host Activation and Temporary Schannel Audit Logging

On co-managed lab endpoints (WIN11-01) or Windows Server 2025 hosts (DC01), apply the security configuration sequence below to enable X25519_MLKEM768, verify Event ID 36880, and restore EventLogging to 1 immediately after pilot validation (requires elevated PowerShell):

powershell
# Code Security Classification: Security configuration (Pilot / Lab validation)# Required Privilege: Local Administrator (back up current curves first)Get-TlsEccCurve | Out-File -FilePath 'C:\Temp\PQC-Lab\baseline-curves.txt' -Encoding utf8 # Temporarily enable verbose Schannel handshake logging on the pilot host (Event ID 36880)Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL' -Name EventLogging -Value 7 -Type DWord # Enable X25519_MLKEM768 at position 0Enable-TlsEccCurve -Name 'X25519_MLKEM768' -Position 0Get-TlsEccCurve # Verify PQC negotiation in a fresh child process (expects kex=X25519MLKEM768)powershell.exe -NoProfile -Command "(Invoke-RestMethod -Uri 'https://pq.cloudflareresearch.com/cdn-cgi/trace' -TimeoutSec 15) -split '\n' | Where-Object { `$_ -match '^(tls|kex|http)=' }" # Restore default Schannel logging level (1) after verificationSet-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL' -Name EventLogging -Value 1 -Type DWord
Figure 3: Intune Custom OMA-URI deployment via Graph API alongside Windows Schannel Event ID 36880 (255 bits vs. 1216 bits)

Setting HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\EventLogging to 7 on pilot endpoints exposes an unmistakable agentless audit signal in the Windows System log under Event ID 36880:

  • Classical X25519 handshake: Protocol version: TLS 1.3, CipherSuite: 0x1302 (TLS_AES_256_GCM_SHA384), Exchange strength: 255 bits.
  • Hybrid X25519_MLKEM768 handshake: Protocol version: TLS 1.3, CipherSuite: 0x1302 (TLS_AES_256_GCM_SHA384), Exchange strength: 1216 bits.

Auditing with PowerShell (Schannel) and Defender for Endpoint KQL

Use the following read-only audit script on pilot endpoints to separate PQC handshakes (1216 bits) from classical handshakes (255/256 bits) and surface handshake failures (Event ID 36874, 36888, 36871):

powershell
# Code Security Classification: Read-only audit# Required Privilege: Local Administrator or Event Log Readers$events = Get-WinEvent -FilterHashtable @{    LogName      = 'System'    ProviderName = 'Schannel'    Id           = @(36880, 36874, 36888, 36871)    StartTime    = (Get-Date).AddHours(-24)} -ErrorAction SilentlyContinue $events | ForEach-Object {    $msg = $_.Message    $proto = if ($msg -match 'Protocol version:\s*(.+)')   { $Matches[1].Trim() } else { '-' }    $suite = if ($msg -match 'CipherSuite:\s*(\S+)')       { $Matches[1].Trim() } else { '-' }    $bits  = if ($msg -match 'Exchange strength:\s*(\d+)') { [int]$Matches[1] }   else { 0 }    $sni   = if ($msg -match 'Target name:\s*(.+)')        { $Matches[1].Trim() } else { '-' }    [PSCustomObject]@{        TimeCreated = $_.TimeCreated        EventId     = $_.Id        Protocol    = $proto        CipherSuite = $suite        ExchangeBit = $bits        PqcHybrid   = ($bits -ge 1000)        Target      = $sni    }} | Format-Table -AutoSize

Across the endpoint fleet, Microsoft Defender for Endpoint DeviceNetworkEvents (ActionType == "SslConnectionInspected") exposes Zeek-parsed TLS metadata inside AdditionalFields. The telemetry collection query below summarizes TLS versions, cipher suites, and curves over 7 days (requires Security Reader; populates on Windows clients with MDE network inspection enabled; aborted handshakes may leave JSON fields empty; proves cryptographic posture visibility rather than active compromise):

kusto
// Code Security Classification: Telemetry collection (Microsoft Defender XDR Advanced Hunting)// Data Source: DeviceNetworkEvents (ActionType == "SslConnectionInspected", Time: Timestamp)DeviceNetworkEvents| where Timestamp > ago(7d)| where ActionType == "SslConnectionInspected"| extend Parsed = todynamic(AdditionalFields)| extend    TlsVersion  = coalesce(tostring(Parsed.version), "Unknown"),    CipherSuite = coalesce(tostring(Parsed.cipher), "Unknown"),    Curve       = coalesce(tostring(Parsed.curve), "NotReported"),    ServerName  = coalesce(tostring(Parsed.server_name), RemoteIP),    Established = tostring(Parsed.established)| summarize    ConnectionCount = count(),    DistinctDevices = dcount(DeviceId),    SampleTargets   = make_set(ServerName, 5)    by TlsVersion, CipherSuite, Curve, Established| sort by ConnectionCount desc

What Can Break in Production? Six Verified Operational Risks

  • Split ClientHello drops on legacy DPI / SSL Inspection firewalls: Expanding ClientHello to 1,568 bytes forces two TCP segments across standard 1,500-byte MTU links. Older firewalls, proxies, WAFs, and hardware SSL offloaders may drop fragmented ClientHello packets, reject codepoint 0x11ec, or hit CPU ceilings.
  • HTTP Keep-Alive and TLS session cache persistence (Lab finding): Immediately after running Enable-TlsEccCurve on WIN11-01, an in-process request reused its existing HTTP/1.1 Keep-Alive connection and remained on kex=X25519. Only a fresh process or connection reset negotiated kex=X25519MLKEM768. Long-lived IIS workers, .NET agents, and pooled clients will not switch until connections recycle or services restart.
  • Legacy FIPS Mode incompatibility: Per Microsoft Schannel documentation, x25519_mlkem768 and ML-KEM groups are unavailable under Legacy FIPS Mode (FipsAlgorithmPolicy\Enabled = 1), silently reverting regulated endpoints to classical groups.
  • Co-Management (MECM + Intune) workload conflict (Lab finding): While cloud-native WIN11-02 (compliant) evaluates Intune policies immediately, co-managed WIN11-01 (configManager) will not apply Intune Custom OMA-URI profiles until the Device Configuration workload shifts from MECM to Intune.
  • BitLocker XTS-AES 128 to 256 non-conversion trap: Assigning an Intune XTS-AES 256-bit Disk Encryption policy does not automatically re-encrypt existing XTS-AES 128 volumes; it applies only to newly encrypted devices or controlled decrypt/re-encrypt workflows.
  • Legacy client breakage when disabling TLS 1.0/1.1 and TLS_RSA_*: Removing the 8 default TLS_RSA_* suites without at least a 14-day audit window (Enterprise rollout recommendation — not a Microsoft requirement) can break legacy .NET Framework 4.x apps, network printers, and older ERP/SCADA connectors.

5-Phase Hybrid Microsoft PQC Implementation Roadmap

  • Phase 1 — Cryptographic Inventory (CBOM) and HNDL Classification (0–3 Months): Inventory on-premises ADCS templates, LDAPS/RADIUS/VPN/IIS certificates, and Azure keys/certificates. In Microsoft Purview, deploy a two-dimensional sensitivity taxonomy adding confidentiality lifespan sublabels (0–3 Years, 3–10 Years, 10+ Years / HNDL). Start with encryption-free labeling and DLP to avoid search/indexing friction, then apply selective AES-256 encryption only to long-lived HNDL data leaving trusted boundaries. Cover structured databases (SQL, ERP) via current Purview discovery workflows, TDE AES-256, and DLP on exported reports.
  • Phase 2 — Endpoint, OS Schannel, and Network Edge Readiness (3–6 Months): Standardize on Windows 11 (24H2/25H2/26H2), deploy ConfigureEllipticCurveCryptography to a pilot group, validate 1,568-byte ClientHello traversal across firewalls and load balancers, and harden IKEv2 + AES-256-GCM + PFS VPNs, EAP-TLS Wi-Fi, SMB Signing/Encryption, and DNSSEC.
  • Phase 3 — Identity, Federation, and PKI Automation (6–12 Months): Retire legacy AD FS in favor of Microsoft Entra ID, enforce CAE, short session lifetimes, and FIDO2 / Passkeys. Shorten ADCS certificate lifetimes with automated Intune SCEP/PKCS or CLM renewal and move code signing to Azure Trusted Signing.
  • Phase 4 — Data-at-Rest, Key Vault, and Immutable Backups (9–18 Months): Enforce XTS-AES 256 on new BitLocker builds, standardize AES-256 across Azure Storage and SQL TDE, transition CMK key wrapping to AES-256 / AES-KW in Azure Key Vault Premium / Managed HSM, and enforce AES-256 plus WORM / Immutability on backups (Veeam, Azure Backup, Commvault).
  • Phase 5 — Application Crypto-Agility, Legacy/OT Isolation, and Supply Chain (Ongoing): Standardize internal .NET workloads on .NET 10+ and OS CNG / SymCrypt APIs, isolate unpatchable OT/SCADA assets behind a TLS 1.3 + Hybrid PQC termination proxy, and embed NIST FIPS 203/204 requirements into vendor RFPs.

Security Boundaries and Production Rollback Plan

Hybrid PQC (X25519_MLKEM768) protects data-in-transit against passive Harvest Now, Decrypt Later (HNDL) collection; it does not replace EDR, Conditional Access, patching, or Purview DLP. Before rolling out any change, record baseline Get-TlsEccCurve and Get-TlsCipherSuite outputs, restrict EventLogging = 7 strictly to pilot groups (reverting to 1 after verification), and validate rollback. If an incompatible middlebox or application fails, remove the pilot device from SEC-PQC-Win11-TLS-SupportedGroups-Pilot in Intune and trigger an MDM sync; on locally tested hosts, execute the following production-applicable change (requires elevated PowerShell) and confirm Event ID 36880 returns cleanly to 255 bits without 36874/36888 errors:

powershell
# Code Security Classification: Production-applicable change (Rollback)# Required Privilege: Local Administrator (remove Intune/GPO policy first on managed devices)Disable-TlsEccCurve -Name 'X25519_MLKEM768'Get-TlsEccCurve

Primary Sources

Verified Primary Sources & Open-Source Repositories

This architectural guide was cross-corroborated against the official advisories, Microsoft Learn docs, and open-source PowerShell / KQL repositories below.

Multi-Channel Distribution Summary (X & LinkedIn Draft)

Toggle X (Twitter) & LinkedIn sharing drafts
X (Twitter) Draft

Measured Microsoft hybrid PQC (X25519_MLKEM768) before/after in our Hyper-V lab: TLS ClientHello jumps from 447 B to 1,568 B (3.53x), Schannel Event ID 36880 shifts from 255 bits to 1216 bits. Full production impact & audit guide. #PQC #WindowsSecurity #Intune

LinkedIn Draft

Moving Post-Quantum Cryptography (PQC) from slides to packets: I tested X25519_MLKEM768 before and after on Windows 11 26H2, Windows Server 2025 (ADCS), and Microsoft Intune. Includes pktmon byte analysis (0x001d -> 0x11ec), 1,460 B TCP MSS split, HTTP Keep-Alive pitfalls, FIPS constraints, and agentless Schannel Event ID 36880 auditing.

Related Architecture Articles

All Quantum & PQC →