161 points · by vvpvijay · 6y ago · 76 comments
IMEI is not required when placing calls or transferring data since this is securely managed by the GSM chip.
If one of these devices gets IMEI blacklisted, now all 13.5K devices are blacklisted... Not so good.
The identifiers actually used over the air are the IMSI (normally written once at the SIM factory and never changed, used as a fallback if no other identity is available), the TMSI (assigned by the core network when the user attaches, can be reassigned at every attach, service request (return from idle to active state), or mobility event that the core knows about), and RNTI (assigned by each cell, changes at each handover, used to address each downlink transmission to the mobile and I think included in the CRC in each uplink transmission from the mobile).
If you just receive a random transmission off the air, you can get the RNTI; if you receive an initial signaling message to the core network you'll get the current TMSI if assigned; you'll see the IMSI only in case of a new SIM or a SIM where the core network has forgotten who it assigned that TMSI to.
There are also some temporary identifiers between the cell and the core network allocated when the cell starts talking to a mobile and released when the mobile goes idle, but these never reach the mobile.
The core knows the IMSI and optionally IMEI of everyone connected. In normal operation, each cell only knows some temporary identifiers (it has the opportunity to record IMSI if the mobile sends it, but the mobile doesn't normally do that).
All the details are available from 3gpp.org, and I can be more specific about which section of which doc if anyone actually cares.
For MAC addresses (also mfgr-allocated) mistakes like this are “fine”, because MAC addresses are layer-2 (switch-local) and therefore a collision will translate to a direct, customer-visible problem: they’ll buy two of the same device, and then their LAN will start acting wonky. As such, market forces will address dumb Ethernet equipment mfgrs, pushing them out of the market as customers stop buying them.
But the people buying cellular handsets aren’t the same people running the network, so there are no market forces in play to push back against dumb handset mfgrs. Instead, the network operators must just play with the hand they’re dealt; and that means coming up with alternative strategies for managing handset connectivity that don’t involve the theoretical primary key (IMEI) but instead make use of other unique keys (e.g. IMSI) that are also included in the connection handshake.
I believe network-IMEI-registration isn’t the primary mechanism by which modern phone anti-theft works by, though, since the device-owner is free to change the phone’s network-reported IMEI (much like you can change an Ethernet controller’s network-reported MAC address.) I might be wrong here, though; the phone’s baseband might come up with its burned-in IMEI and check for validity with the server, before switching to any application-processor-requested IMEI. (You can get around that by just booting up the phone in a Faraday cage—but having to do that every time would definitely decrease the black-market resale value.)
For iOS, at least, I think the anti-theft works by getting onto wi-fi each time the SIM changes and asking some activation server about the validity of [some other internal static device-ID that can’t be tampered with in this way]. Not so sure what, if anything, Android does (Android’s case is harder, since for phones with an unlocked bootloader, you can always flash an altered firmware that has no anti-theft logic.)
For the "more reasonable" HNers...how about an opt-out of the feature?
Though with 13000 devices affected either it was a problem in manufacturing or someone in the Service Center was not doing the job too well...
Hard to imagine for me how this could have happened. I don't know precisely how IMEIs are provisioned or stored, but I suspect they can be changed in software.
Trying to sell a used phone on line is tricky. Legitimate buyers may want the IMEI to check it's not a reported stolen phone. Illegitimate buyers may want a known good one to replace one on a reported stolen phone.
Carriers can blacklist IMEIs from their network (that's a threat they use for certification; they want to make sure families of devices are well behaved).
One of my phones was blacklisted from a carrier a few years ago. They said it was reported stolen. I brought them the receipt; I bought it new in box. They said it was reported stolen by a carrier in a foreign country. I'd been there, maybe ten years earlier, and never with that phone. The local carrier I was a customer of said they couldn't remove the block, since it was reported stolen by a foreign carrier. Seems fishy how carriers work together to ban IMEIs but do nothing to verify reports of stolen devices.
I'm not sure carriers would ban this IMEI if it's tied to 13.5k phones, but I'm sure they're not happy.
If you buy the $150 dongles, they have valid addresses like you would expect.
I wonder: is there a dialect of English in India in which this post follows rules of grammar? I found it uncanny-valley hard to read.
IMSI then can be taken to the carrier and the account holder details will be released by a warrant.
An IMEI (which in most countries it will be illegal to change/clone) only identifies the hardware.
So swapping SIMs between phones don’t help to do anything apart from identifying a number of phones that you have access to.
3/4/5G phones will always drop back to 2G if it sees a 2G service whilst 3/4/5G frequencies are jammed.
So you need to realise that phones by design are tracking devices, and stock up on those burner phones and never switch them on near your home :)
Does that mean they bribed somebody working at a factory? I'm not sure what could be gained by this. Having an "untraceable", replaceable phone? Wouldn't those be easily blacklisted once it's discovered?
At a mobile game dev company we had a hardcoded list of bogus IMEI numbers. If a device returned an IMEI that was on the blacklist, we'd use another method to identify the device.