CAPECattack pattern
CAPEC-614 Rooting SIM Cards
High
Official page ↗
- Abstraction
- Detailed
- Status
- Draft
- Typical severity
- High
- CAPEC version
- 3.9
Description
SIM cards are the de facto trust anchor of mobile devices worldwide. The cards protect the mobile identity of subscribers, associate devices with phone numbers, and increasingly store payment credentials, for example in NFC-enabled phones with mobile wallets. This attack leverages over-the-air (OTA) updates deployed via cryptographically-secured SMS messages to deliver executable code to the SIM. By cracking the DES key, an attacker can send properly signed binary SMS messages to a device, which are treated as Java applets and are executed on the SIM. These applets are allowed to send SMS, change voicemail numbers, and query the phone location, among many other predefined functions. These capabilities alone provide plenty of potential for abuse.
Prerequisites
• A SIM card that relies on the DES cipher.
Skills required
• [Medium] This is a sophisticated attack, but detailed techniques are published in open literature.
Consequences
• Confidentiality, Integrity: Execute Unauthorized Commands
Mitigations
• Upgrade the SIM card to use the state-of-the-art AES or the somewhat outdated 3DES algorithm for OTA.
Related
Child of · CAPEC (1)
- CAPEC-186 Malicious Software Update attack pattern
Weakness · CWE (1)
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
Referenced by CWE · attack pattern (1)
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness