CAPEC-614: Rooting SIM Cards
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.
Last updated
Overview
CAPEC-614 (Rooting SIM Cards) is a detailed-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
What the attacker needs
Prerequisites
- A SIM card that relies on the DES cipher.
Skills required
- Medium skill: This is a sophisticated attack, but detailed techniques are published in open literature.
Consequences
What a successful CAPEC-614 attack can achieve.
Execute Unauthorized Commands
Affects: Confidentiality, Integrity
How to mitigate it
Defenses that reduce the risk of CAPEC-614.
- Upgrade the SIM card to use the state-of-the-art AES or the somewhat outdated 3DES algorithm for OTA.
Frequently asked questions
Common questions about CAPEC-614.
- What is CAPEC-614?
- 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.
- How do you prevent CAPEC-614?
- Upgrade the SIM card to use the state-of-the-art AES or the somewhat outdated 3DES algorithm for OTA.
- What weaknesses does CAPEC-614 target?
- CAPEC-614 exploits one CWE weakness: CWE-327 (Use of a Broken or Risky Cryptographic Algorithm).
- How severe is CAPEC-614?
- MITRE rates CAPEC-614 as High severity.
Sources
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-614
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.