← Lab /Security & privacy

Basic Access Control in e-passports provides no real confidentiality or anti-tracing protection

Basic Access Control (BAC) fails to achieve its security objectives, while PACE and Chip Authentication effectively address these weaknesses.

Security & privacy Trail of Bits 31 Oct 2025 Explainer Theory

Published as “The cryptography behind electronic passports”

Why it matters

Deployments that still rely on BAC are vulnerable to offline brute-force and tracing attacks, so they should migrate to PACE and Chip Authentication.

Summary

The blog explains the structure and cryptographic protocols of e-passports, focusing on legacy mechanisms like BAC and newer ones such as PACE, Chip Authentication, and Terminal Authentication. It shows that BAC’s key derivation from the low-entropy MRZ can be brute-forced offline and enables tracing attacks, so it does not meet its confidentiality or anti-tracing goals. Modern protocols replace BAC with PACE and use Diffie-Hellman-based Chip Authentication to secure the channel, mitigating those weaknesses. The evidence is based on protocol specifications and known attacks rather than new experimental data.

What they found 2

  1. BAC fails to achieve any of its security objectives

    “BAC fails to achieve any of its security objectives.”

  2. Passive authentication does not prevent copying of passports

    “it does nothing to prevent the copying of existing passports”

Caveats 4

  • Passive authentication (PA) meets all of its stated objectives and is still used without changes
  • Chip Authentication (CA) provides a stronger secure channel than BAC
  • If an attacker knows the MRZ password, PACE and other protections no longer prevent eavesdropping or tracing
  • Zero-knowledge proof schemes require exposing passport data to a prover, which downgrades the threat model

What’s new here 3

  • Detailed walkthrough of legacy and modern e-passport cryptographic protocols
  • Analysis of why BAC is insecure and how PACE mitigates its flaws
  • Discussion of the security implications of using e-passports for zero-knowledge identity proofs