Sentient ServersGet a welcome note

Research

How does an Android app get permission to manage an eSIM?

Android exposes supported secure elements, including some SIM cards, through the Open Mobile API (OMAPI). An app can discover a reader and ask Android to open a channel to an application on the card. The card’s access rules determine which apps can use that channel.

What we found on the test phone

Senser could see the reader before it could manage the card. The card already had a rule for a particular Android package and signing certificate. With a lab build that matched that identity, Senser could open the channel and inspect the installed profiles.

Reaching the profile server involved a second identity check. Senser also had to verify the server’s certificate before it could download a profile. Those two checks happen at different ends of the installation.

Sources we used

Questions we’re working on

How could a separately signed Senser app obtain access on supported cards? When a phone refreshes the card after a profile switch, when can the app read it again and confidently report which profile is enabled?