Security Analysis of the Consumer Remote SIM Provisioning Protocol

Abu Shohel Ahmed, Aleksi Peltonen, Mohit Sethi, Tuomas Aura
11/28/2022
cs.CR

Official code: peltona/rsp_model (14 stars, Makefile, last commit 2023-08-22).

Abstract

Remote SIM provisioning (RSP) for consumer devices is the protocol specified by the GSM Association for downloading SIM profiles into a secure element in a mobile device. The process is commonly known as eSIM, and it is expected to replace removable SIM cards.

Show full abstract

The security of the protocol is critical because the profile includes the credentials with which the mobile device will authenticate to the mobile network. In this paper, we present a formal security analysis of the consumer RSP protocol. We model the multi-party protocol in applied pi calculus, define formal security goals, and verify them in ProVerif. The analysis shows that the consumer RSP protocol protects against a network adversary when all the intended participants are honest. However, we also model the protocol in realistic partial compromise scenarios where the adversary controls a legitimate participant or communication channel. The security failures in the partial compromise scenarios reveal weaknesses in the protocol design. The most important observation is that the security of RSP depends unnecessarily on it being encapsulated in a TLS tunnel. Also, the lack of pre-established identifiers means that a compromised download server anywhere in the world or a compromised secure element can be used for attacks against RSP between honest participants. Additionally, the lack of reliable methods for verifying user intent can lead to serious security failures. Based on the findings, we recommend practical improvements to RSP implementations, future versions of the specification, and mobile operator processes to increase the robustness of eSIM security.

View on arXivView PDF

Code Implementations(1)

peltona/rsp_modelOfficial100%
142Makefile, PythonNov 18, 20223 years ago

Similar Papers

Cite this paper

@article{ahmed2022security,
  title  = {Security Analysis of the Consumer Remote SIM Provisioning Protocol},
  author = {Abu Shohel Ahmed and Aleksi Peltonen and Mohit Sethi and Tuomas Aura},
  year   = {2022},
  eprint = {2211.15323},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15323}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.15323.svg)](https://codeofpaper.com/paper/2211.15323)

Discussion