HackerTube

Defcon 21 - The Secret Life of SIM Cards

HackersOnBoard3 HN recommenders · recommended in 3 months, 2014–2026
YouTube
talk · intermediate · evergreen · 2014–2026 on HN

A DEF CON 21 talk by Karl Koscher and Eric Butler on how SIM cards work, including Java Card applets, the SIM toolkit and the OS running on the card. It shows how much control the network and the card have independent of the phone.

HN cites it as the go-to overview of what SIM cards can run and do, usually in threads about Java Card, SIM attacks or phone security.

12 comments from Hacker News

@comboy2021-12 · in “Apple said to be preparing for iPhones without SIM card slot in 2022”

There was one really good talk about from black hat or defcon [1] but there's also this [2] which seems more thorough so I'm gonna watch it too later. I happen to have a friend who writes software for simcards so that's what really was my main source. 1. link 2. ▶ this video

Recommends View on HN
@Silasdev2021-11 · in “What is AT&T doing at 1111340002?”

This video from defcon gives a good overview of what Java Card applets is, the limitations and what it can do: ▶ this video

Recommends View on HN
@adamnew1234562021-04 · in “This Blog is now hosted on a GPS/LTE modem”

Seeing the ShadySIM project mentioned on that page reminded me of this DEFCON talk, which talks about some of the capabilities of the SIM OS (some of them run Java!) and what power they grant you over phones if you have control over the underlying cell network (legitimately or otherwise). ▶ this video

Recommends View on HN
@M95D2026-03 · in “Motorola GrapheneOS devices will be bootloader unlockable/relockable”

None of it matters. If the device has a SIM card (virtual or physical), it will execute commands sent over the network. It's required by the GSM/LTE standards. The best you can hope for is to have separate SoC for the OS and separate SoC for the GSM/LTE connectivity, but that means double the power consumption. See presentation at DEFCON21 about SIM cards: ▶ this video

@paulmd2023-07 · in “I have written a JVM in Rust”

also every SIM card. which is potentially quite a bit less benign - the baseband chip is this completely separate processor which the SOC can't see into, and the SIM card can snoop messages, send commands, and generally act like a secure enclave. It is/was? used for a couple banking systems for feature-phones like MPESA, where the app can run as a featurephone app with the menu item toolkits the phone provides. ▶ this video I think the e-sim idea is probably a net security benefit imo, apple has leveraged the carriers out of a fairly dangerous tool. I was thinking about what a program written to take advantage of Optane's persistent-memory model would have looked like, if you use it like RAM it's forever gonna be slow shitty RAM. Javacard seems to be the closest hit for that, in some ways.