XKEYSCORE Tech Strings in Documents (aka Tech Extractor) 2009
Open PDFDocument date: 2009-12
Pages: 14
Genre: slides
Banner: TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Classification: TOP SECRET COMINT
Dissemination: REL TO USA, AUS, CAN, GBR, NZL
A December 2009 TOP SECRET XKeyscore training presentation on the Tech Extractor (Tech Strings in Documents) — an early context-aware scanning capability that tags keywords only when they appear inside email, chat and document bodies rather than anywhere in raw internet traffic, letting analysts find technically interesting documents by terms too generic for traditional content selection, with an example flagging a Pakistani document mentioning WiMAX and DVB satellite technology by scanning inside the file.
XKEYSCORE, CADENCE, UIS
People mentioned:
-
Countries:
Pakistan
Tags:
context-aware scanning, soft selection, content-based selection, email body, chat body, document body, Microsoft Office, TELEX, DNI, Nokia, IMEI, Karachi, tribal regions, metadata tagging, target discovery
Identifier:
xks-tech-extractor-2009
PDF SHA-256:
5479741c928afc690ede67e52ab520a76899bc53c08a95e9fd6c66ea38c752f8
My notes
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123
KEYSCORE Tech Strings in Documents
(aka Tech Extractor)
December 2009
Derived From: NSA/CSSM 1-52
Dated: 20070108
Declassify On: 20291123
DERIVED FROM: NSA/CSSM 1-52
08
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL//20291123
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
What is the Tech. Extractor?
- The "Tech Extractor" is a way of finding valuable intelligence based on keywords in the content of DNI sessions but it is a departure from traditional "soft selection" which tends to bring back a lot of junk.
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
What is soft selection?
- Soft selection, aka content based selection, is an approach at targeting traffic by looking for keywords or phrases rather than specific E-mail accounts
- Content based selection has suffered because of the poor design of content based selection engines
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Soft Selection vs Surgical Selection
- Existing selection techniques are blunt instruments
- XKEYSCORE contextual dictionaries provide an extremely sharp knife to make accurate selection decisions
"That's not a knife.....THAT's a knife!"
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Communication vs DNI Content
- Selection engines in use today were based on designs built to handle TELEX traffic
- TELEX is a highly formatted content rich type of traffic that does not resemble raw DNI seen with Internet traffic
- Raw Internet traffic contains HTML, web-pages, raw base-64 encoded documents etc.
- When analysts think of DNI "content" they are more referring to "communication content" then raw DNI content.
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Communication vs DNI Content
- If an analyst tasks a Boolean equation "bomb” and "chemical” they likely want to see all communication that mentions 'bomb' and 'chemical' and not all web pages, news stories, blog posts etc. where those two words appear
- What we need is a context-aware scanning engine that knows where it is inside of the raw DNI in order to properly apply analyst tasking
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
What is the Tech Extractor
- The Tech Extractor was X-KEYSCORE's first stab at context-aware scanning and it only focuses on three contexts:
- E-mail Bodies
- Chat Bodies
- Document Bodies:
- Microsoft Word, Excel, PowerPoint, Project, Visio
- Adobe PDF, Postscript
- Rich Text Format (RTF)
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
How does the Tech Extractor work?
- The Tech Extractor works by scanning a list of keywords against those three contexts and then tagging the results.
- It's important to note that this is not "filtering and selection" and we're not forwarding any data home
- XKS is simply tagging sessions with meta-data, much like we do with appids+fingerprints
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
How does the Tech Extractor work?
- After the meta-data tag is applied, analysts can then use that meta-data tag as part of a USSID-18 compliant query for traffic
- It's important to note, just like AppIDs+Fingerprints, Tech Extractor tags aren't necessarily USSID-18 compliant by themselves. You may need to add a valid foreign IP address, MAC address or country code before you query!
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Where does XKS get its list of terms?
- Analysts provide the XKS team with lists of terms, called "Tech Dictionaries" which can contain multiple category names (aka "Tech Names"
- Only after the XKS team is supplied with those terms can the system begin scanning and tagging.
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
| ID | DATETIME | DATETIME END | TECH NAME | TECH VALUE | TECH FILENAME |
|---|---|---|---|---|---|
| 1 | 2008-01-01 04:55:00 | 2008-01-01 04:55:01 | wireless | WIMAX | NIB Ranchor Line KHI.doc |
| 2 | 2008-01-01 04:55:00 | 2008-01-01 04:55:01 | satellite | DVB | NIB Ranchor Line KHI.doc |
| 3 | 2008-01-01 04:55:00 | 2008-01-01 04:55:01 | mac | 00200E00953C | NIB Ranchor Line KHI.doc |
This document would have been nearly impossible to find without the context aware tasking. The terms 'wimax' and 'dvb' are too generic for CADENCE style tasking and the MAC address hit on an anchorless regular expression, impossible with current corporate scanning engines
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Context-Aware Tagging
Subject: NFF-66024-GCC-KHI
From: [REDACTED]
To: [REDACTED]
Cc: [REDACTED]
Date: Tue Dec 30 10:57:48 GMT 2008
HTML Plain Text Attachment
IMEI: [REDACTED]
Model: 6300
WON: 66024
ASC:GCC-KHI
Symptom: 4100
Comments: no fault found phone is working properly kindly confirm the fault in detail when and in which condition it
creates problem related to mention symptom
[REDACTED]
GSM Repair Engineer
Tel: [REDACTED]
Mob: [REDACTED]
Fax: [REDACTED]
Event T
email_b
Fm City
KLOST
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Full Foreign Language Support
Supports full foreign language tagging and querying
Ex look for common Arabic expressions in E-mails coming from the Pakistan tribal regions:
UIS Webmail Display Windows Live™ Mail Beta
Active user: Unknown
From: [REDACTED] ([REDACTED]@gmail.com)
Medium risk You may not know this sender Mark as safe|Mark as unsafe
Sent: Thu 1/01/09 12:07 PM
To: [REDACTED]
السلام عليكم ورحمة الله وبركات
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
Live Demo
Published in the Same Report
(10 of 46 documents)
-
XKEYSCORE intro [pdf]
A TOP SECRET NSA presentation from 2008 introducing XKeyscore — one of the earliest overview documents in the archive — describing the system as a globally distributed Linux cluster across approximately 150 sites and 700+ servers that stores a ~3-day rolling buffer of all unfiltered internet traffic, and demonstrating its core capabilities for finding previously unknown targets by mining metadata, tracking documents by embedded image hashes, detecting encryption and VPN use, and language tracking.
Programs: XKEYSCORE · TURMOIL · TURBULENCE · TRAFFICTHIEF · WEALTHYCLUSTER · MOONSHINE · SEARCHLIGHT · MARINA · PSC · SSO · TIMBERLINEPeople: bin Laden, Osama“'Brasil é um grande alvo', diz jornalista sobre vigilância dos EUA” - O Globo ↗ (2013-07-07) · “XKeyscore: NSA tool collects 'nearly everything a user does on the internet'” - The Guardian ↗ (2013-07-31) · “No Place to Hide” - Metropolitan Books ↗ (2014-05-13) · “XKEYSCORE: NSA’s Google for the World’s Private Communications” - The Intercept ↗ (2015-07-01) · Greenwald, Glenn · Bridi, Sônia · Marquis-Boire, Morgan · Lee, Micah -
Advanced HTTP Activity Analysis [pdf]
This NSA training document from 2009 teaches intelligence analysts how to analyze HTTP internet traffic and exploit it using the XKEYSCORE surveillance system to monitor and identify internet users globally.
“XKEYSCORE: NSA’s Google for the World’s Private Communications” - The Intercept ↗ (2015-07-01) · “No Place to Hide” - Metropolitan Books ↗ (2014-05-13) · Marquis-Boire, Morgan · Greenwald, Glenn · Lee, Micah -
Analyzing Mobile/Cellular DNI in XKEYSCORE, May 2009 [pdf]
The XKEYSCORE document explains how the agency analyzes mobile/cellular device internet usage by collecting and processing both converged DNI/DNR data within cellular networks and traditional internet traffic, using various tools and indicators to identify mobile users even when their device type isn't immediately evident. The document demonstrates how the system can track mobile internet activity across applications like Yahoo Mail and identifies devices through various technical "hints" including MSISDN codes, browser fingerprints, and user agent strings.
-
Atomic SIGINT Data Format (ASDF) Configuration Read Me [pdf]
This document is a technical configuration guide for setting up XKEYSCORE surveillance systems to generate and forward metadata in the Atomic SIGINT Data Format (ASDF) to various data repositories including MARINA, which tracks users' browser activity and online behavior.
Marking: SECRET -
CADENCE Read Me [pdf]
This NSA engineering manual details how to configure XKEYSCORE—the agency's sprawling surveillance system—to integrate with CADENCE, an automated keyword scanning tool that filters intercepted communications and routes intelligence based on search terms submitted by analysts.
-
How to configure category throttling in XKEYSCORE [pdf]
An NSA technical guide explains how to configure "category throttling" in XKEYSCORE—a feature that automatically stops forwarding intercepted communications once analyst-defined collection targets hit predetermined data volume or session count limits, allowing the surveillance system to continue processing but prevent overflow from high-volume targets.
-
CNE Analysis in XKEYSCORE [pdf]
This document is an NSA training presentation from October 2009 demonstrating how XKEYSCORE integrates with Computer Network Exploitation (CNE) operations, allowing analysts to search and analyze data extracted from compromised computers including keystrokes, browser history, registry files, documents, emails, and directory structures collected through implants like UNITEDRAKE and OLYMPUS.
Programs: XKEYSCORE · OLYMPUS · UNITEDRAKE · PINWALE · TUNINGFORK · TURBOCHASER · MARINA · JOLLYROGER · TREASUREMAP · TURBINE · PRESSUREWAVE · MAD · TUCKER · EXPANDINGPULLY · UNIX · SEARCHLIGHT · KEYLOGGER · PILBEAM · FOXACID · WAYTIDE · SHADOWQUEST · SEAGULLFARO · DARKHELMET · LUTEUSICARUS · FOGGYBOTTOM · GREENCHAOS · RADIUS · NKB · VALIDATOR -
Communications System - How To Guide [pdf]
A TOP SECRET and sensitive compartmented information (SCI) how-to document for the NSA’s XKEYSCORE “Comms” backbone, laying out ports, peer/allow rules, bandwidth pools, and proxy classifications that stitch clusters to central control—a scalable architecture for moving surveillance data with security markings baked in. It also walks through firewall exceptions, HTTPS port-sharing, and a MAILORDER file pipeline, exposing the nuts‑and‑bolts of how collection flows across sites, proxies, and viewers.
-
DEEPDIVE Readme [pdf]
This document is a confidential technical guide that provides step-by-step procedures for configuring an XKEYSCORE server to function as a DEEPDIVE server. DEEPDIVE enhances XKEYSCORE by adding a front-end filter and a rolling buffer of all unfiltered data, creating a federated query system that can scan all collection sites with a single query.
-
DNI101 [pdf]
This TOP SECRET training guide, "DNI 101," provides a workflow for Digital Network Intelligence analysts on how to investigate a target's email address, detailing the specific tools, databases, and methodology used, and stressing the critical difference between initial open-source/classified research and the active "targeting" of raw SIGINT repositories like XKEYSCORE, PINWALE, and MARINA.
Programs: NKB · FOXTRAIL · FOREMAN · PINWALE · LIONHEART · XKEYSCORE · DISHFIRE · MARINA · MECWEB · MAINWAY · TRAFFICTHIEF · MAUI · ANCHORY · M3 · INTELLINK · HOMEBASE · PROTON · UTT · CADENCE · SPEEDBUMP · TUNINGFORK · MASTERSHAKE · BLACKPEARL · JACKSPARROW · ROADBED · STORYDUTY · LIONROAR · DOPHONE · UIS
Related Documents
-
XKEYSCORE Tech Strings in Documents (aka Tech Extractor) 2010 [pdf]
An April 2010 TOP SECRET XKeyscore training presentation on the Tech Extractor — an expanded version of the December 2009 briefing — teaching analysts to find intelligence by tagging keywords inside email, chat and document bodies, with new detail on tasking rules (including that terms hit as substrings so "ricin" matches "pricing"), its non-retrospective operation, its limitations versus the 65+ context fingerprint language, and confirmation that the capability was operated jointly with GCHQ, whose Cheltenham analysts submitted tasking via an Excel template and wiki.
-
X-KEYSCORE as a SIGDEV tool 2009 [pdf]
A 2009 TOP SECRET NSA presentation describing XKeyscore as a SIGINT development tool — explaining how it captures and temporarily stores the full content of internet traffic (the 95%+ that was previously dropped because it didn't match any target) across 125 sites worldwide, "slowing down the internet" so analysts can retroactively reconstruct a target's entire online session, discover new targets, and search the content of documents, web searches, emails and chats that contain no tasked selector.
Programs: XKEYSCORE · PINWALE · TRAFFICTHIEF · MARINA · AGILITY · PILBEAM · MAILORDER · CADENCE · NKB · PSC · SSO · UIS“XKEYSCORE: NSA’s Google for the World’s Private Communications” - The Intercept ↗ (2015-07-01) · “No Place to Hide” - Metropolitan Books ↗ (2014-05-13) · “FRA has access to controversial surveillance system” - SVT Nyheter ↗ (2013-12-11) · Marquis-Boire, Morgan · Greenwald, Glenn · Lee, Micah · Bergman, Sven · Dyfvermark, Joachim · Gallagher, Ryan · Laurin, Fredrik · Struwe, Filip -
Introduction to XKS Application IDs and Fingerprints [pdf]
This August 2009 NSA training document introduces XKEYSCORE's Application IDs (AppIDs) and Fingerprints system, explaining how metadata tags are automatically applied to intercepted sessions to identify and categorize different types of Internet traffic, applications, and behaviors, evolving through four generations from simple keyword matching to sophisticated code-based metadata extraction.
-
Analyzing Mobile/Cellular DNI in XKEYSCORE, May 2009 [pdf]
The XKEYSCORE document explains how the agency analyzes mobile/cellular device internet usage by collecting and processing both converged DNI/DNR data within cellular networks and traditional internet traffic, using various tools and indicators to identify mobile users even when their device type isn't immediately evident. The document demonstrates how the system can track mobile internet activity across applications like Yahoo Mail and identifies devices through various technical "hints" including MSISDN codes, browser fingerprints, and user agent strings.
-
DNI101 [pdf]
This TOP SECRET training guide, "DNI 101," provides a workflow for Digital Network Intelligence analysts on how to investigate a target's email address, detailing the specific tools, databases, and methodology used, and stressing the critical difference between initial open-source/classified research and the active "targeting" of raw SIGINT repositories like XKEYSCORE, PINWALE, and MARINA.
Programs: NKB · FOXTRAIL · FOREMAN · PINWALE · LIONHEART · XKEYSCORE · DISHFIRE · MARINA · MECWEB · MAINWAY · TRAFFICTHIEF · MAUI · ANCHORY · M3 · INTELLINK · HOMEBASE · PROTON · UTT · CADENCE · SPEEDBUMP · TUNINGFORK · MASTERSHAKE · BLACKPEARL · JACKSPARROW · ROADBED · STORYDUTY · LIONROAR · DOPHONE · UIS