listen to this article:
SIM swapping has become one of the most common attacks on Internet-of-Things (IoT) devices over the past 5 years – and anyone with a cell phone is at risk. In January 2020, Princeton researchers determined that 17 out of 140 online services and websites (12%) and five major US telecommunications firms are vulnerable to SIM swapping attacks.
In this blog, we will explore SIM-swapping attacks – what they are, why they are such a common threat, and what can be done to prevent them.
Background: SMS-Based One-Time-Passwords
SMS-based one-time passwords (OTPs) have become very popular in recent years. This is the familiar authentication method where a service provider, such as a bank or email provider, sends a temporary code to a user’s mobile device that the user is required to submit within a specified time. This provides a level of two-factor authentication (2FA) that, in addition to a user password, is expected to deliver security. One of the primary reasons for SMS OTPs’ popularity is their user-friendliness. Users can authenticate applications or transactions without pre-installing additional applications.
But there are significant security concerns with SMS OTPs. Beyond usability challenges that occur when users are traveling and may not receive SMS messages, SMS OTPs are also vulnerable to SIM swapping, malware, and SS7 attacks.
SIM Swapping: The Ultimate Bait-and-Switch
SIM swapping attacks are the device-driven world’s version of a bait-and-switch: an attacker impersonates the victim to the mobile provider (typically using public information) and switches their phone number to a new mobile device (and SIM) belonging to the attacker. As soon as this happens, any SMS-based OTP will be sent to the attacker (since they now own the victim’s phone number), and they can then gain access to the victim’s accounts.
Preventing SIM Swap Attacks
One effective method for making SIM swap attacks much harder is for users to set up a PIN or password with their mobile carrier; most major US carriers provide this option and then require that PIN to be presented before operations like switching devices is allowed. The problem with this is that it puts the burden on the user and thus depends greatly on their security awareness. In addition, users now have yet another password to protect. Another option is to always require a user password, rather than using SMS OTP as the sole authentication method. Although user passwords are typically weak, the combination of a user password with an SMS OTP makes SIM swapping attacks harder. The problem with this is that SMS OTP is often used as the method for password recovery (i.e., when a user forgets his or her password) and as such this just creates a chicken and egg problem. In addition, given the effectiveness of SIM swapping, the security is reduced to just the password, which is not good enough.
Removing the SIM from the equation
For enterprises looking for better ways to prevent SIM swapping attacks, it is possible to use a better authentication method that utilizes a secret on the device itself and not just the phone number. In this scenario, since the secret inside the mobile phone is needed as part of the authentication process, taking over the victim’s phone number will not help an attacker spoof an identity.
There are several solutions that use a locally stored secret, including software one-time password tokens and soft-token SDKs. However, these suffer from a different vector of attack: the secret can be stolen from the user’s mobile device by malware, and then be used by an attacker elsewhere in order to impersonate the user’s device.
A much better solution would, therefore, require a local secret (so that SIM swapping is of no use to the attacker) while providing strong protection to prevent that secret from being stolen by malware. Traditional solutions to this require dedicated hardware (like hardware one-time password tokens or smartcards) which suffer from very significant usability challenges. A better approach that is software only is offered in the Crypto-of-Things (CoT) solution from Unbound.
Crypto-of-Things, based on a secure multi-party computation (MPC), protects cryptographic keys and secrets from being stolen by splitting them into multiple parts and sharing them between a mobile device and a server. The cryptographic key parts are never combined in any place, at any time – preventing the opportunity for theft. In the event that an attacker steals a portion of the entire cryptographic key, called a key share, that key share is useless without the remaining shares. Furthermore, the key shares are frequently randomized so that an attacker has to steal both shares at essentially the same time in order to learn anything. Given the strong separation between users’ mobile devices and an organization’s server, this is very difficult. The result is a software-only solution that combines great usability and high security.
Interested in learning more? Click here to read our latest whitepaper.