Mobile subscriber identity numbers can be exposed over Wi-Fi

Wi-Fi Auto Connect and Wi-Fi calling pose privacy risks for mobile device users, researchers show

For a long time, law enforcement agencies and hackers have been able to track the identity and location of mobile users by setting up fake cellular network towers and tricking their devices to connect to them. Researchers have now found that the same thing can be done much more cheaply with a simple Wi-Fi hotspot.

The devices that pose as cell towers are known in the industry as IMSI catchers, with the IMSI (international mobile subscriber identity) being a unique number tied to a mobile subscriber and stored on a SIM card. IMSI catchers can be used for tracking and in some cases, for intercepting calls, but commercial solutions, such as the Stingray used by the FBI, are expensive.

Researchers Piers O'Hanlon and Ravishankar Borgaonkar from the University of Oxford's Department of Computer Science found that, for the purpose of tracking only, Wi-Fi networks can also be used to trick mobile devices into exposing their IMSI numbers.

That's thanks to protocol and configuration weaknesses in mobile data offloading technologies such as automatic Wi-Fi connections and Wi-Fi calling that mobile operators are increasingly adopting to reduce costs and congestion on their cellular networks.

These technologies are supported on mobile devices running iOS, Android, Windows Mobile, and Blackberry, and in some cases, profiles for automatic Wi-Fi connections are even built into the operating systems themselves. Apple's iOS, for example, has more than 50 hard-coded profiles for Auto Wi-Fi from mobile operators that automatically get enabled whenever a SIM card from one of them is inserted, the researchers found.

Wi-Fi Auto Connect uses Extensible Authentication Protocol over LAN (EAPOL) with authentication methods that use the permanent IMSI number as well as temporary identities. The IMSI is typically used for the initial connection and the temporary identities for re-authentication.

However, most Wi-Fi Auto Connect implementations are currently configured by default in a "liberal" peer mode, where they will always respond to requests for their permanent identity -- the IMSI. This means that an attacker can set up rogue access points -- with SSIDs matching those that devices will automatically connect to -- and then simply request their IMSI for authentication.

For example, someone could set up a device that creates spoofed access points for all the Auto Wi-Fi profiles hard-coded into iOS and then grab the IMSI numbers for all nearby iPhones, O'Hanlon said Thursday during a presentation at the Black Hat Europe security conference in London.

Android requires initial manual configuration for Auto Wi-Fi after before it will automatically connect to such networks, but starting with version 6 (Marshmallow), it also provides a mechanism for privileged applications like those loaded by operators to provide carrier-specific configurations.

The researchers have notified OS makers, mobile operators, and trade group GSMA of their findings, and Apple has already added "conservative" peer support for the Auto Wi-Fi authentication in iOS 10.

In conservative peer mode, the device will only respond to requests for permanent identity when no pseudonym identity is available, so after a user has connected to an operator's legitimate Wi-Fi network once and authenticated using its IMSI, no spoofed access point will later be able to force the device to expose it.

OS makers and operators have acknowledged the problem, but there's no easy way to fix it, the researchers said. There are Extensible Authentication Protocol (EAP) authentication methods that work over Transport Layer Security and are encrypted, but they need to be supported in both mobile OSes and operators' systems. Deploying certificate-based infrastructure requires investments and is harder to maintain, they said.

Wi-Fi calling suffers from a similar problem. This technology allows users to make voice calls over Wi-Fi by connecting to the operator's Edge Packet Data Gateway (EPDG) using the encrypted IPsec protocol. This is different from voice over IP apps like WhatsApp or Skype.

Wi-Fi calling is supported on iOS and Android devices and uses the Internet Key Exchange Protocol (IKEv2) for authentication. Like Wi-Fi auto connect, the IKEv2 authentication is also based on identities like the IMSI number, which are exchanged over EAP-AKA.

EAP-AKA exchanges are encrypted, but are not protected by a certificate, which means they're exposed to man-in-the-middle attacks that could recover the IMSI number, the researchers said.

The good news is that Wi-Fi calling can be disabled on the device by the user, while Auto Wi-Fi can only be disabled when such a network is in range.

Leaking IMSI numbers is a privacy concern because there are services on the Internet that allow matching them to phone numbers, and finding the identity of a phone number's owner is not hard.

In general, IMSI numbers can be used to track and identify who has been in a certain place at a certain time. For example, authorities in a country where freedom of speech is not well respected could use them to identify participants of an unauthorized protest.

Join the PC World newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?