Defcon 21 - The Secret Life of SIM Cards

Channel:HackersOnBoard · Length:42:36 · Published:2013-11-16 · Views:708025

Watch on YouTube

Summary

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.

Why HN recommends it

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.

This video from defcon gives a good overview of what Java Card applets is — HN, 2021

Networking & internet infrastructure · Security & hacking

Subtitles (excerpt)

welcome everyone my name is Eric Butler and I'm Carl ker uh we're here to talk to you about uh SIM cards this is a project that started for me last year when I heard about tour camp this is a hacker camping trip you could think Defcon but um outdoors and with tents instead of hotel rooms um this was the second one the first one was a lot of fun and I was looking for a way to get more involved and I thought would be great because it was in the middle of nowhere to run a cell phone network there was no GSM service out on the Washington coast and um so I got some I pitched the idea to some friends and we got people together and um we decided we could make this happen and my part of the project specifically was to procure SIM cards um so I didn't know anything about what a SIM card was so it stands for uh subscriber identity module uh SIM cards contain uh identity information usually the imsi the international mobile subscriber identity and the Ki which is the key used um to authenticate with the cell network and to um create session Keys SIM cards are smart cards that are designed to be secure and um tamper resistant so the idea is that the key information can't be extracted from the card even if you have physical possession uh Sim car they're designed not to be

On Hacker News

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. [VIDEO] — comboy, 2021-12
This video from defcon gives a good overview of what Java Card applets is, the limitations and what it can do: [VIDEO] — Silasdev, 2021-11
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). [VIDEO] — adamnew123456, 2021-04
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: [VIDEO] — M95D, 2026-03
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 … — paulmd, 2023-07

Related videos