SCP03

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

ซอฟต์แวร์

Secure Channel Protocol 03 -- GlobalPlatform protocol using AES for secure communication between card and host.

Also known as: Secure Channel Protocol 03

SCP03

Secure Channel Protocol 03 (AES-based secure channel protocol." data-category="Software">SCP03) is the current-generation secure communication protocol defined by GlobalPlatform for authenticated and encrypted management operations between a host application and a smart card. Replacing the legacy 3DES-based SCP02, SCP03 uses AES for both encryption and integrity protection, providing a modern cryptographic foundation for applet installation, key management, and card lifecycle operations.

Protocol Flow

An SCP03 session is established through a three-step mutual authentication handshake:

  1. INITIALIZE UPDATE: The host sends a random challenge. The card responds with its own challenge, a key diversification value, and a card cryptogram (AES-CMAC over both challenges using the session MAC key).
  2. EXTERNAL AUTHENTICATE: The host verifies the card cryptogram, derives session keys, and sends a host cryptogram. The card verifies the host cryptogram to complete mutual authentication.
  3. Secure Session: All subsequent APDUs are wrapped with AES-CMAC integrity and optionally AES-CBC encryption.

Session Key Derivation

SCP03 derives three session keys from static card keys using the AES-based KDF specified in NIST SP 800-108:

Session Key Purpose
S-ENC Encryption of command and response data (AES-CBC)
S-MAC Integrity protection via AES-CMAC (command APDUs)
S-RMAC Response integrity via AES-CMAC (response APDUs)

The derivation uses the host challenge, card challenge, and a key derivation constant, ensuring unique session keys for every authenticated session. Static card keys are never used directly for data protection.

Security Levels

SCP03 supports three security levels, selectable per session:

Level Protection
C-MAC Command integrity only
C-MAC + C-DECRYPTION Command integrity + encryption
C-MAC + C-DECRYPTION + R-MAC Full bidirectional protection

Most production deployments use full bidirectional protection (C-MAC + C-DECRYPTION + R-MAC) for applet loading and key rotation operations, as both the command data (applet code, new keys) and response data (status, confirmations) are security-sensitive.

SCP03 vs SCP02

Feature SCP02 (Legacy) SCP03 (Current)
Cipher 3DES AES-128/192/256
MAC algorithm DES-CBC MAC AES-CMAC (NIST SP 800-38B)
Key derivation DES-based AES KDF (NIST SP 800-108)
Response integrity Not available R-MAC supported
Pseudo-random generation DES-based AES-CTR DRBG

SCP03 is mandatory for new GlobalPlatform deployments. The migration from SCP02 is particularly important for SIM cards and eSIM platforms where GSMA SAS certification increasingly requires AES-based secure channels.

GlobalPlatform Card Management

มาตรฐานและโพรโทคอล

…are controlled by the applet provider. Security Channels: SCP03 and Predecessors All GlobalPlatform management APDUs…

Secure Channel Protocols (SCP02/SCP03)

มาตรฐานและโพรโทคอล

Secure Channel Protocols (SCP02/SCP03) GlobalPlatform Secure Channel Protocols establish a…

Smart Card Cryptography

ความปลอดภัย

…natively via the crypto coprocessor . AES-128 is used in SCP03 secure channels, AES-256 in high-assurance key storage and…

Key Management for Smart Cards

ความปลอดภัย

…GlobalPlatform SCP02 3DES-CBC Legacy card management SCP03 AES-CMAC based Current card management NIST SP 800-108…

HSM Integration for Smart Cards

ความปลอดภัย

…key diversification Per-card derived keys GP SCP02/SCP03 PIN block generation / verification PVK, PEK ISO 9564…

TEE vs Secure Element

ความปลอดภัย

…probing of bus between host SoC and SE (mitigated by SCP03 encryption) - Fault injection (laser, EM, voltage glitch)…

Smart Card Lifecycle Security

ความปลอดภัย

…Data Element Command Notes Primary PAN STORE DATA under SCP03 Encrypted under DEK Expiry date STORE DATA PIN CHANGE…

eSIM and Remote SIM Provisioning

การใช้งานในอุตสาหกรรม

…configuration Operator branding assets The SM-DP+ applies SCP03 session keys derived from the eUICC's ISD-P key hierarchy…

Frequently Asked Questions

The smart card glossary is a comprehensive reference of technical terms, acronyms, and concepts used in smart card technology. It covers protocols (APDU, T=0, T=1), security (Common Criteria, EAL, HSM), hardware (SE, EEPROM, contact pad), and applications (EMV, ePassport, eSIM). It serves developers, product managers, and engineers.

Yes. SmartCardFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai.