PDF revision 2 RC4-40 reference
Revision 2 is the legacy 40-bit Standard Security Handler. Its defining weakness is the five-byte file key. This reference documents the exact variant, related collider modes, and how to verify a candidate against the original file.
Scope
This page covers only R2/40-bit behavior. It is not the general PDF encryption history and it does not claim every old PDF is recoverable without variant verification.
Revision
R=2
File key
40 bits
Cipher
RC4
Hashcat
10400 · 10410 · 10420
Identify the exact R2 dictionary
A typical R2 file reports Standard Security Handler fields consistent with `/V 1`, `/R 2`, and a 40-bit key. The extracted record also binds document ID, permissions, and user/owner entries.
Do not route a file from its extension or age. Confirm the encryption dictionary is complete and that the extracted verifier matches the original bytes.
Why the five-byte file key matters
The effective content key space contains 2^40 possibilities. This is fundamentally different from modern password-dependent AES-256 revisions. Password length cannot expand the 40-bit file key.
Legacy tools may exploit the finite key space or construct colliding credentials. A candidate key or password still needs an independent open/decrypt check on the original PDF.
Mode 10400 and collider modes
Mode 10400 handles the normal R2 password-verifier record. Modes 10410 and 10420 are related collider workflows for the same legacy family. They are not generic aliases for every protected PDF.
Record which mode produced the candidate, which extracted hash was used, and whether the result opens the original document rather than only matching an intermediate structure.
Use the public fixture
The PDF encryption lab publishes a synthetic R2 RC4-40 file, known password, byte size, and SHA-256 checksum. It is suitable for parser and known-password validation without exposing a customer document.
A fixture proves tool behavior for that fixture. It does not prove production throughput, universal recovery, or correctness for a malformed customer file.
Primary references
Frequently asked questions
Does a long password make an R2 file stronger than 40 bits?
No. The legacy handler still uses a 40-bit file key.
Are modes 10410 and 10420 modern PDF modes?
No. They are collider variants for the legacy R2 family.
What proves success?
The candidate must open or decrypt the original PDF and expose expected content; an intermediate match is not enough.