NSA caught with its hand in Google's (browser) cookie jar

Ads that hound you from site to site don't seem quite so heinous in the wake of Tuesday's browser cookie-based revelation. The National Security Agency is reportedly using a particular kind of tracking cookie from Google to identify and track potential hacking targets. The NSA is also grabbing location data from third-party advertisers delivering ads to mobile apps, according to The Washington Post.

The latest leaks about the NSA's surveillance activities come once again from the trove of documents leaked by former NSA contractor, Edward Snowden.

If you don't know what a cookie is, it is a small piece of text deposited by a website into your browser. Cookies can be used for handy things like keeping you logged into Facebook even if you shut down your PC, or to help a web app such as Google Docs function correctly. Often, cookies are used to monitor your browsing activity to deliver ads that are supposedly tailored to your interests.

Google stores a number of cookies on your computer whenever you visit one of the company's sites or even a non-Google site with embedded Google elements in it, such as a map.

Choosy NSA agents choose PREF

The Google cookie the NSA favors is called the PREF, which is short for preferences. According to Google's cookie explanation page, the PREF cookie stores data such as your language, the country you're in, how many search results you want to see per page, and other preferences.

The PREF cookie doesn't contain any personal information like your name or email address, but it does include a unique ID made up of a string of characters and numbers. This string can be used to identify an individual browser and is what the NSA reportedly focuses on to figure out who to hack.

Anyone interested can easily find their own PREF cookies. In Chrome, for example, right-click on any Google page and select Inspect Element. In the window that appears at the bottom of the page click on Resources>Cookies and look for PREF under google.com.

Google's PREF cookie isn't used by the NSA to monitor large numbers of people the way some of its other programs reportedly do. Instead, the PREF cookie helps the NSA identify a specific target already under surveillance. Similarly, the NSA uses location data pulled from third-party mobile advertising networks to pinpoint the daily activities of surveillance targets, according to the Post.

While the NSA's dip into Google's cookie stash appears to be about monitoring persons of interest, it's easy to see how cookies with unique ID strings could also be used for mass surveillance.

Actually, what am I saying? Cookies are already used for just thatbut it's private companies watching and tracking us all, not the government.

Join the CSO newsletter!

Error: Please check your email address.

Tags securityU.S. National Security Agency

More about FacebookGoogleNational Security AgencyNSA

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Ian Paul

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place