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.
Sign up for CIO Asia eNewsletters.