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. 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, to future versions of the specification, and to mobile operator processes to increase the robustness of eSIM security.
翻译:消费者设备远程SIM 供给(RSP) 消费者设备远程 SIM 供给(RSP) 是 GSM 协会为将 SIM 配置下载到移动设备安全元素而指定的协议。 这一过程通常被称为 eSIM, 预计将取代可移动的 SIM 卡。 协议的安全性至关重要, 因为配置包含移动设备认证到移动网络的认证证书。 在本文中, 我们对消费 RSP 协议进行正式的安全分析。 我们在应用的 Pi 微分中以多党协议为模型, 定义正式的安全目标, 并在 ProVerif 中进行核查。 分析显示, 消费者 RSP 协议保护网络对手免受所有预定参与者诚实的网络敌人的伤害。 然而, 我们还在现实的局部折中模拟协议协议, 协议中包含对合法参与者或通信渠道的验证。 部分折中的安全性设想方案的设计存在缺陷。 最重要的观察是, RSP 安全性协议的安全性取决于它是否在TLS 隧道中被封装。 此外, 事先确定的身份标识意味着, 在世界任何地方的错误下载服务器上都会下载服务器,, 或者 安全性用户对安全性用户系统进行安全性测试的改进。