Skip to content

Windows 11 with VeraCrypt and SecureBoot enabled, doesn't work with newer Laptops with only UEFI CA 2023 Certificates #1778

@MG4o

Description

@MG4o

Expected behavior

Encrypting a Windows 11 device with VeraCrypt system encryption and keeping Secure Boot enabled using VeraCrypt-DCS.

After successful VeraCrypt pre-boot authentication, the system should continue booting into Windows.

Observed behavior

The device freezes after successful VeraCrypt authentication:

Success
Start 0 ...

The device only boots into Windows after disabling Secure Boot.

When restoring the OEM/factory Secure Boot keys, the device does not reach the VeraCrypt authentication screen and fails earlier with:

Secure Boot Violation
Invalid signature detected.
Check Secure Boot Policy in Setup.

Steps to reproduce

  1. Use a Windows 11 x64 device whose OEM/factory Secure Boot configuration uses only the 2023 Secure Boot certificate chain
  2. Install VeraCrypt 1.26.29
  3. Encrypt the Windows system drive C:
  4. Execute the VeraCrypt-DCS Secure Boot script with the correct manufacturer certificates
  5. Boot the device with Secure Boot enabled
  6. Successfully authenticate in the VeraCrypt pre-boot environment
  7. The system gets stuck at:
Success
Start 0 ...

Additional findings

The OEM/factory Secure Boot configuration appears to use the newer 2023 Secure Boot certificate chain.

However, the VeraCrypt-DCS bootloader files installed by VeraCrypt 1.26.29 are still signed by:

CN=Microsoft Corporation UEFI CA 2011

Example files:

S:\EFI\VeraCrypt\DcsBoot.efi
S:\EFI\BOOT\bootx64.efi

PowerShell output for both files shows:

Subject : CN=Microsoft Windows UEFI Driver Publisher, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Issuer  : CN=Microsoft Corporation UEFI CA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Not After : 26.06.2026 21:35:19

This results in two different failure modes:

  1. With OEM/factory Secure Boot keys restored:
    • The device fails before the VeraCrypt authentication screen with Secure Boot Violation.
    • This appears to happen because the VeraCrypt DCS bootloader is still signed by Microsoft Corporation UEFI CA 2011, which is not trusted by this factory Secure Boot configuration.
  2. After running the VeraCrypt-DCS Secure Boot script:
    • VeraCrypt pre-boot authentication starts and succeeds.
    • The system then freezes at Success / Start 0 ....
    • Comparing the Secure Boot variables with dumpEfiVars.exe shows that the VeraCrypt-DCS script installs the older Microsoft 2011 certificates, but does not preserve the required 2023 Secure Boot certificate chain.

Thesis

This looks like a compatibility problem between VeraCrypt-DCS and newer Secure Boot configurations.

VeraCrypt 1.26.29 release notes mention support for Microsoft UEFI CA 2023 signed EFI bootloaders. However, on this fresh installation the actually installed DCS EFI files are still signed by Microsoft Corporation UEFI CA 2011.

On systems whose OEM/factory Secure Boot configuration no longer trusts the 2011 Microsoft UEFI CA, VeraCrypt system encryption with Secure Boot enabled appears to fail.

The VeraCrypt-DCS Secure Boot script seems to work around the first problem by installing 2011-based certificates, allowing VeraCrypt authentication to start. But it appears to break the 2023 Secure Boot trust chain required by the Windows boot process on this device.

Questions

  1. Is the VeraCrypt-DCS Secure Boot script still supported?
  2. Will the VeraCrypt-DCS Secure Boot script updated with new the new UEFI CA 2023 Certificate?

Your Environment

Freshly bought Lenovo ThinkPad L16 Gen3 (21XC0019GE)

VeraCrypt version: 1.26.29

Operating system and version: Windows 11 25H2 Build 26200.8655

BIOS-Version: R3GET19W (1.19 )

System type: 64-bit, UEFI/GPT

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions