PAN
The primary account number: the long number on a payment card that identifies the card account.
A stolen card number can be used for fraud, and exposing it brings PCI DSS penalties and breach costs.
In more detail
PAN stands for primary account number. It is usually 16 digits and can be up to 19, the leading digits identify the issuing bank, and the last digit is a Luhn check digit. Under PCI DSS the PAN is the core of cardholder data, so wherever it is stored it must be made unreadable by truncation, tokenisation, strong encryption or a keyed hash. Card numbers often leak into logs, support tickets and chats, so organisations scan for them.
Examples
411111******1111 card numberCANDIDATE = re.compile(r"\b(?:\d[ -]?){12,18}\d\b")Related terms
- cardholder data — The details that identify a payment card account: the full card number, plus the cardholder's name, expiry date and service code when kept with it.
- Luhn check — A simple checksum formula whose last digit lets software spot mistyped card numbers and other identification numbers.
- tokenization — Replacing a sensitive value with a meaningless token and keeping the mapping in a separate, protected system.
- truncation — Permanently removing part of a value, such as all but the first six and last four digits of a card number, so the full value cannot be recovered from what is kept.
Taught in
- Regulatory Compliance: SOC 2, HIPAA, GDPR & PCI-DSS — Cybersecurity Fundamentals, GRC & Cryptography
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography
- Data Loss Prevention & Egress Monitoring — Cybersecurity Fundamentals, GRC & Cryptography
- Enterprise Risk Registers & Treatment Plans — Cybersecurity Fundamentals, GRC & Cryptography