NSA Turns Cookies (And More) Into Surveillance Beacons
Yesterday, we learned that the NSA is using Google cookies—the same cookies used for advertisements and search preferences—to track users for surveillance purposes.
These Google cookies—known as “PREF” cookies—last two years and can uniquely identify you. Sniffing one off the Internet as it goes past allows the NSA to recognize your browser whenever you interact with Google from any location or network. Every person who visits a Google site will receive a PREF cookie, regardless of whether they log in or even have an account with Google. Using Google Search without logging in tags you for two years, and that unique tag is sent over the network every time you search even if it’s on a different network (or in a different country).
According to documents just published by the Washington Post, the NSA is using this to “enable remote exploitation” (hacking into people’s computers)—an act aided by the ability to uniquely identify individuals on the Internet.
The Guardian previously reported on the use of intercepted advertising cookies to recognize individuals—it appears in the “Tor Stinks” presentation it posted in October, which talks about recognizing people from their DoubleClick cookies. DoubleClick is also owned by Google, but the use of DoubleClick cookies had no apparent connection to the use of PREF cookies. This goes to show that spy agencies are keen to find any available way to recognize a particular user by their devices’ behavior on the Internet, and that cookies sent with unencrypted web requests are one of the easiest and most straightforward ways of picking out an individual device even as it moves from network to network.
As Ed Felten explains, “The easiest way to protect users against this threat is to refrain from tracking.” But if tracking is to happen, the “approach that does work is for the tracking entity to use https, the secure web protocol, for its communication with the user’s computer.” When HTTPS is turned on, eavesdroppers recording Internet traffic can’t see the contents of cookies sent inside the secure connection. EFF’s HTTPS Everywhere software may provide a degree of protection against the measures reported by the Post because it makes a user’s browser use HTTPS exclusively on certain sites where it would otherwise be optional. But we can’t protect connections where servers don’t make HTTPS an option.
Anonymous User Tracking? The Fragility of Anonymity
The Google PREF cookie is typical of the tracking cookies used by many different Internet sites. (The PREF cookie stands out partly because Google’s services are so popular and so omnipresent, not because there aren’t a number of other cookies that might be used to track people in the same ways.) A typical one looks like
The value after the “ID” is a random number that Google makes up on the spot the first time you visit a Google service in a particular browser. This number is chosen by Google and isn’t derived from anything distinctive about you. But your web browser will remember it for two years, unless you’ve changed your browser settings, and send it out over the Internet every time you interact with any Google web service.
The advertising industry and many website operators have often suggested that cookies like Google’s PREF are “anonymous” or “non-personally-identifiable” if they don’t contain a person’s name or e-mail address. Unfortunately, a persistent cookie can easily become associated with a person’s identity, whether that’s by the website that set the cookie, by a third-party website, or by a spy agency.
For example, suppose you at some point put something in a Google search that allows an eavesdropper to figure out who you are (or do anything else from that same computer that the eavesdropper manages to link to your identity). If the eavesdropper also sees your Google PREF cookie, that eavesdropper knows the real-life identity that’s associated with that cookie, and can remember this association for as long as the cookie lasts, and recognize you wherever else you go. The supposed “anonymity” of any individual tracking cookie is incredibly fragile; it can be lost forever at a moment’s notice.
Fighting Nonconsensual Tracking
These revelations make it ever clearer that we need to fight back against nonconsensual tracking of web users, by deploying and adopting technology that allows users to block online tracking. In the past we’ve been concerned about the profiles that web companies could build up about users without their knowledge or consent. Now we’ve seen that this tracking technology is also being hijacked for government surveillance of Internet users.
NSA Overhears Mobile Apps Reporting Their Location
The Post also reported on other kinds of information that are being scooped up by NSA and used to track and identify individuals. A program called HAPPYFOOT listens to mobile apps that send geolocation information about the current whereabouts of a user’s device back to an app developer or service provider. Tapping these communications lets NSA find a user’s physical location by sitting back and letting the user’s own mobile device inform on their whereabouts. Some of these apps are transmitting this information solely for advertising purposes in ways that users may not even understand or expect. (As the Post reminds us, parts of the mobile app industry have been keen to collect user data for no user benefit: as the newspaper reported last week, even a mobile flashlight app actively gathered data on people’s whereabouts.) Yet if it’s sent unencrypted, NSA can scoop it up to figure out where people are at any moment, even by passively listening to distant Internet links.
Even when location information is sent for a purpose that the user actively understands and wants (say, to enable a location-based service like Yelp or Foursquare), it can still be intercepted and used for location tracking if a particular mobile app fails to encrypt it. Mobile app developers can address this kind of surveillance by encrypting any communications that include a user’s location details.
All of this goes to show that spy agencies have a vast array of tools for tracking people around the Internet and the physical world. As we discuss in an accompanying post, it's important that technology developers confront these privacy problems head-on.
Recent DeepLinks Posts
Sep 1, 2015
Aug 31, 2015
Aug 31, 2015
Aug 31, 2015
Aug 31, 2015
- Fair Use and Intellectual Property: Defending the Balance
- Free Speech
- Know Your Rights
- Trade Agreements and Digital Rights
- State-Sponsored Malware
- Abortion Reporting
- Analog Hole
- Anti-Counterfeiting Trade Agreement
- Bloggers' Rights
- Broadcast Flag
- Broadcasting Treaty
- Cell Tracking
- Coders' Rights Project
- Computer Fraud And Abuse Act Reform
- Content Blocking
- Copyright Trolls
- Council of Europe
- Cyber Security Legislation
- Defend Your Right to Repair!
- Defending Digital Voices
- Development Agenda
- Digital Books
- Digital Radio
- Digital Video
- DMCA Rulemaking
- Do Not Track
- E-Voting Rights
- EFF Europe
- Encrypting the Web
- Export Controls
- FAQs for Lodsys Targets
- File Sharing
- Fixing Copyright? The 2013-2015 Copyright Review Process
- Genetic Information Privacy
- Hollywood v. DVD
- How Patents Hinder Innovation (Graphic)
- International Privacy Standards
- Internet Governance Forum
- Law Enforcement Access
- Legislative Solutions for Patent Reform
- Locational Privacy
- Mandatory Data Retention
- Mandatory National IDs and Biometric Databases
- Mass Surveillance Technologies
- Medical Privacy
- National Security and Medical Information
- National Security Letters
- Net Neutrality
- No Downtime for Free Speech
- NSA Spying
- Online Behavioral Tracking
- Open Access
- Open Wireless
- Patent Busting Project
- Patent Trolls
- PATRIOT Act
- Pen Trap
- Policy Analysis
- Public Health Reporting and Hospital Discharge Data
- Reading Accessibility
- Real ID
- Search Engines
- Search Incident to Arrest
- Section 230 of the Communications Decency Act
- Social Networks
- SOPA/PIPA: Internet Blacklist Legislation
- Student and Community Organizing
- Stupid Patent of the Month
- Surveillance and Human Rights
- Surveillance Drones
- Terms Of (Ab)Use
- Test Your ISP
- The "Six Strikes" Copyright Surveillance Machine
- The Global Network Initiative
- The Law and Medical Privacy
- TPP's Copyright Trap
- Trans-Pacific Partnership Agreement
- Travel Screening
- Trusted Computing
- Video Games