Skip the navigation
)

Yes, your iPhone is tracking you -- the question's why

It could be a bug, a mistake or something to do with 'geofencing'

April 23, 2011 06:02 AM ET

Computerworld - Overshadowing Apple's earnings news this past week was the publicity surrounding the discovery that iPhones and 3G iPads track users' locations and store the data in an unencrypted file. The discovery was made by O'Reilly researchers Alasdair Allan and Pete Warden, and it caused quite an uproar.

The file, named "consolidated.db," is an unencrypted SQLite database that can be found in the devices' file systems and in the iOS backup files created and updated by iTunes every time an iPhone or 3G iPad is synced. Although the file isn't immediately accessible on the device itself, it can be accessed on a jailbroken device via the iTunes-generated backup file. It also could potentially be accessed using other tools that allow you to explore an iOS device's file system while it's attached to a computer.

The file contains location data about cell towers the device accessed and Wi-Fi networks that it was within range of, plus other information, like the direction a device was facing as determined by the digital compass that became standard on the iPhone 3GS. Other data points appear to be supported by the database file but don't appear to be used in its current iteration.

One type of data included in the file noted by Allan and Warden is related to so-called geofencing. Geofencing allows a business or organization to create a virtual "fence" around a location that can provide information to mobile devices. A coffee shop could use a geofence technology to broadcast daily specials, or a school could use it to create a perimeter that would allow a phone to indicate that a child has safely arrived for class or is headed home.

Allan and Warden created a proof-of-concept Mac OS X app that can pull information from the database of a user's iPhone backup and display it on a map -- clearly showing where a device has been used.

It's worth noting that an iPhone's position isn't being continuously tracked. When I ran the app, for example, it showed a number of sporadic entries between upstate N.Y. where I live and the location in Virginia where two of my friends got married last August. If my iPhone had been recording my location constantly, there would've been a solid line of entries through New Jersey, Delaware, and Maryland. The only entries along the route I drove, however, were at places where I used a location-related feature or app -- to look up directions, to check the distance to the next rest area, to snap photos in D.C., or to check in at restaurants.

This clearly implies that the file records data when and where the iOS location services are used (although all manner of apps use location services, potentially generating a lot of entries).

It's also important to realize that this file doesn't have actual GPS data. It contains location data based on other, less accurate, sources -- like cell tower triangulation and a database of known Wi-Fi hot spots.

While this week's news about the location-tracking file generated a lot of angst -- and prompted members of Congress to ask Apple what's going on -- this isn't really new information. Data forensics specialists have known about this file for some time, along with a file called h-cells.plist that stored similar location data in previous iOS versions. It was much more difficult to extract that file or its data, however.

iPhone tracking map
O'Reilly researchers Alasdair Allan and Pete Warden created an app that creates a map showing where an iPhone has been, based on the data in the consolidated.db file. (The information displayed here is from an iPhone owner living in New England.)


What is Tech Briefcase?
TechBriefcase is a new, free service where IT Professionals can Search, Store and Share IT white papers and content like this. Learn more
Bookmark content
Speed up your research efforts with content across the web.
Search and Store
Find the white papers you need. Create folders for any topic.
View Anywhere
Open your briefcase on your iPhone, tablet or desktop. Share with colleagues.
Don't have an account yet?
Additional Resources
Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

Smartphones White Papers
What to Look For in Solutions For Mobile Device Management
Managing an increasingly mobile workforce has become one of the most challenging - and important - responsibilities for IT departments. This paper examines...
Tour Operator Uses BlackBerry Smartphone to Help Drive Sales
Sending more than 22,000 high school and university students on trips abroad each year requires logistical prowess and constant communication. Dealing primarily with...
Independent Guidelines for Enterprise Mobility
With the ever accelerating adoption of mobile devices and applications in both the consumer world and the workplace, there is an increasing challenge...
The BlackBerry PlayBook tablet's Good Bones
Find out why the BlackBerry Tablet OS built from the advanced QNX® Neutrino® real-time operating system makes the BlackBerry PlayBook tablet the smart...
Telecom and Network Infrastructure Company Improves Inventory Accuracy
Expertech developed a custom in-house built BlackBerry application called Expertech Tool Room to provide near real-time inventory and tracking of their capitalized tools....
All Smartphones White Papers
Smartphones Webcasts
The Office of Tomorrow with BlackBerry
Curious about the office of the future and how to prepare with BlackBerry solutions? This session discusses the office needs of tomorrow and...
The Changing Role of Tablets in the Enterprise
Do you understand all the capabilities and potential of the BlackBerry PlayBook tablet? BlackBerry® PlayBook™ tablet can help enterprises do business differently.

This webcast...
PlayBook Video about two Grade 6 classrooms that are using PlayBook tablets
RIM recently worked with Park Manor Public School in Elmira, ON to integrate BlackBerry PlayBook tablets in two Grade 6 classrooms. The project...
Introducing BlackBerry(R) Mobile Fusion - the evolution of Enterprise Mobility
The landscape of the BlackBerry Enterprise portfolio is evolving to provide more function, more control and more possibilities to meet the needs of...
Enterprise Ready Tablet Security
Learn more about the design philosophy that drives all of the security features engineered into the BlackBerry® solution.
Hear how this philosophy drove the...
All Smartphones Webcasts
Can prepaid smartphones save you money?
Samsung Exhibit prepaid smartphone

Prepaid service has started to transform from a source of cheap, bottom-of-the-barrel phones into a viable outlet for compelling smartphones. Read more...

Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs