first commit
This commit is contained in:
commit
0d90363116
6510 changed files with 679146 additions and 0 deletions
324
data/ACLU_-_egotistical-giraffe/ACLU_-_egotistical-giraffe.md
Normal file
324
data/ACLU_-_egotistical-giraffe/ACLU_-_egotistical-giraffe.md
Normal file
|
|
@ -0,0 +1,324 @@
|
|||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
TAILORED ACCESS OPERATIONS
|
||||
|
||||
## (TS//SI//REL) Peeling Back the Layers of TOR with
|
||||
# EGOTISTICALGIRAFFE
|
||||
|
||||
DATA NETWORK TECHNOLOGIES
|
||||
NOTHING BUT NET
|
||||
|
||||
Derived From: NSA/CSSM 1-52
|
||||
Dated: 20070108
|
||||
Declassify On: 20371101
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## Overall Classification
|
||||
|
||||
This briefing is classified
|
||||
TOP SECRET//COMINT//REL USA, FVEY
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) Overview
|
||||
|
||||
* (U) What is TOR?
|
||||
* (S//SI//REL) The TOR Problem
|
||||
* (TS//SI//REL) EGOTISTICALGOAT
|
||||
* (TS//SI//REL) EGOTISTICALGIRAFFE
|
||||
* (U) Future Development
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) What is TOR?
|
||||
|
||||
* (U) "The Onion Router"
|
||||
* (U) Enables anonymous internet activity
|
||||
* General privacy
|
||||
* Non-attribution
|
||||
* Circumvention of nation state internet policies
|
||||
* (U) Hundreds of thousands of users
|
||||
* Dissidents (Iran, China, etc)
|
||||
* (S//SI//REL) Terrorists!
|
||||
* (S//SI//REL) Other targets too!
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) What is TOR?
|
||||
|
||||
```
|
||||
TOR
|
||||
ENTRY
|
||||
|
||||
Client Browsing
|
||||
The Web
|
||||
w/ TOR client
|
||||
Installed
|
||||
INTERNET OCONUS
|
||||
Internet Site
|
||||
|
||||
TOR TOR
|
||||
RELAY EXIT
|
||||
|
||||
|
||||
```
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) What is TOR?
|
||||
|
||||
```
|
||||
TOR
|
||||
ENTRY
|
||||
|
||||
Client Browsing
|
||||
The Web
|
||||
w/ TOR client
|
||||
Installed
|
||||
OCONUS
|
||||
Internet Site
|
||||
|
||||
TOR TOR
|
||||
RELAY EXIT
|
||||
```
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) What is TOR?
|
||||
|
||||
* (U) TOR Browser Bundle
|
||||
* Portable Firefox 10 ESR (tbb-firefox.exe)
|
||||
* Vidalia
|
||||
* Polipo
|
||||
* TorButton
|
||||
* TOR
|
||||
* “Idiot-proof”
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (S//SI//REL) The TOR Problem
|
||||
|
||||
* (TS//SI//REL) Fingerprinting TOR
|
||||
* (TS//SI//REL) Exploiting TOR
|
||||
* (TS//SI//REL) Callbacks from TOR
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Fingerprinting TOR
|
||||
|
||||
```
|
||||
Windows XP Ubuntu 11.10
|
||||
Firefox 10.0.5 ESR? Firefox 10.0.7 ESR?
|
||||
- 32-bit Windows 7 - 32-bit Windows 7
|
||||
- Firefox/10.0 - Firefox/10.0
|
||||
|
||||
64-bit Mac OS X 64-bit Windows 7
|
||||
Firefox 10.0.4 ESR? Firefox 10.0.10 ESR?
|
||||
- 32-bit Windows 7 - 32-bit Windows 7
|
||||
- Firefox/10.0 - Firefox/10.0
|
||||
|
||||
Windows 7
|
||||
Firefox 10.0, not running TOR?
|
||||
- 32-bit Windows 7
|
||||
- Firefox/10.0
|
||||
```
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Fingerprinting TOR
|
||||
|
||||
(TS//SI//REL) BuildID gives a timestamp for
|
||||
when the Firefox release was built
|
||||
|
||||
## 20121024073032
|
||||
Year Month Day Hour Min Sec
|
||||
|
||||
(TS//SI//REL) tbb-firefox's BuildID:
|
||||
|
||||
0
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Fingerprinting TOR
|
||||
|
||||
* (TS//SI//REL) TorButton cares about TOR
|
||||
users being indistinguishable from TOR users
|
||||
* (TS//SI//REL) We only care about TOR users
|
||||
versus non-TOR users
|
||||
* (TS//SI//REL) Thanks to TorButton, it's easy!
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (S//SI//REL) The TOR Problem
|
||||
|
||||
* ~~(TS//SI//REL) Fingerprinting TOR~~
|
||||
* (TS//SI//REL) Exploiting TOR
|
||||
* (TS//SI//REL) Callbacks from TOR
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Exploiting TOR
|
||||
|
||||
* (TS//SI//REL) tbb-firefox is barebones
|
||||
* Flash is a no-no
|
||||
* NoScript addon pre-installed...
|
||||
...but not enabled by default!
|
||||
* TOR explicitly advises against using any addons or
|
||||
extensions other than TorButton and NoScript
|
||||
* (TS//SI//REL) Need a native Firefox exploit
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Exploiting TOR
|
||||
|
||||
* (TS//SI//REL) ERRONEOUSINGENUITY
|
||||
* Commonly known as ERIN
|
||||
* First native Firefox exploit in a long time
|
||||
* Only works against 13.0-16.0.2
|
||||
* (TS//SI//REL) EGOTISTICALGOAT
|
||||
* Commonly known as EGGO
|
||||
* Configured for 11.0-16.0.2...
|
||||
...but the vulnerability also exists in 10.0!
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (U) EGOTISTICALGOAT
|
||||
|
||||
* (TS//SI//REL) Type confusion vulnerability in
|
||||
E4X
|
||||
* (TS//SI//REL) Enables arbitrary read/write
|
||||
access to the process memory
|
||||
* (TS//SI//REL) Remote code execution via the
|
||||
CTypes module
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Exploiting TOR
|
||||
|
||||
* (TS//SI//REL) Can't distinguish OS until on box
|
||||
* That's okay
|
||||
* (TS//SI//REL) Can't distinguish Firefox version
|
||||
until on box
|
||||
* That's also okay
|
||||
* (TS//SI//REL) Can't distinguish 64-bit from 32-
|
||||
bit until on box
|
||||
* I think you see where this is going
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (S//SI//REL) The TOR Problem
|
||||
|
||||
* ~~(TS//SI//REL) Fingerprinting TOR~~
|
||||
* ~~(TS//SI//REL) Exploiting TOR~~
|
||||
* (TS//SI//REL) Callbacks from TOR
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Callbacks from TOR
|
||||
|
||||
* (TS//SI//REL) Tests on Firefox 10 ESR worked
|
||||
* (TS//SI//REL) Tests on tbb-firefox did not
|
||||
* Gained execution
|
||||
* Didn't receive FINKDIFFERENT
|
||||
* (TS//SI//REL) Defeated by Prefilter Hash!
|
||||
* Requests EGGI: Hash(tor_exit_ip || session_id)
|
||||
* Requests FIDI: Hash(target_ip || session_id)
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (TS//SI//REL) Callbacks from TOR
|
||||
|
||||
* (TS//SI//REL) Easy fix
|
||||
* Turn off prefilter hashing
|
||||
* FUNNELOUT
|
||||
* (TS//SI//REL) OPSEC Concerns
|
||||
* Pre-play attacks
|
||||
* PSPs
|
||||
* Adversarial Actors
|
||||
* Targets worth it?
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
---
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
|
||||
## (S//SI//REL) The TOR Problem
|
||||
|
||||
* ~~(TS//SI//REL) Fingerprinting TOR~~
|
||||
* ~~(TS//SI//REL) Exploiting TOR~~
|
||||
* ~~(TS//SI//REL) Callbacks from TOR~~
|
||||
|
||||
TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL
|
||||
86
data/ACLU_-_egotistical-giraffe/metadata.json
Normal file
86
data/ACLU_-_egotistical-giraffe/metadata.json
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"title": "Peeling Back the Layers of TOR with EGOTISTICALGIRAFFE",
|
||||
"type": "REPORTED",
|
||||
"description": "An NSA Tailored Access Operations presentation describing EGOTISTICALGIRAFFE and EGOTISTICALGOAT — Firefox browser exploits targeting Tor Browser Bundle users — covering fingerprinting Tor users via the TorButton BuildID, the EGOTISTICALGOAT type confusion vulnerability in Firefox's E4X implementation enabling remote code execution, and the FINKDIFFERENT/FUNNELOUT callback infrastructure used to exfiltrate data from exploited targets.",
|
||||
"long_description": "This is a TOP SECRET//COMINT//REL TO USA, FVEY NSA Tailored Access Operations presentation from the Data Network Technologies division, covering the EGOTISTICALGIRAFFE and EGOTISTICALGOAT Firefox exploits targeting users of the Tor Browser Bundle. The document frames the challenge as three sequential problems: fingerprinting Tor users, exploiting them, and receiving callbacks through Tor.\n\nThe fingerprinting section demonstrates that TorButton's privacy hardening — designed to make all Tor Browser Bundle users look identical to each other — inadvertently makes them trivially distinguishable from non-Tor Firefox users. Regardless of the underlying operating system or Firefox version, tbb-firefox reports a BuildID of zero rather than a genuine timestamp, while regular Firefox reports a build timestamp such as 20121024073032. This single field is sufficient to identify any Tor Browser Bundle user in passive collection. The document notes: \"Thanks to TorButton, it's easy.\"\n\nThe exploitation section describes two named Firefox vulnerabilities. ERRONEOUSINGENUITY (ERIN) was the first native Firefox exploit available in a long time, working only against Firefox versions 13.0 through 16.0.2. EGOTISTICALGOAT (EGGO) is a type confusion vulnerability in Firefox's E4X implementation — a now-deprecated XML processing feature — enabling arbitrary read and write access to process memory and remote code execution via the CTypes module. EGGO was configured for Firefox 11.0 through 16.0.2 but the underlying vulnerability also existed in Firefox 10.0, which was the version shipped with the Tor Browser Bundle. The document notes that operating system, Firefox version and 32/64-bit architecture cannot be determined until code execution is achieved on the target machine, but frames this as acceptable since the exploit can be attempted without that information.\n\nThe callbacks section describes the infrastructure for receiving data exfiltrated from exploited targets. Initial tests on standard Firefox 10 ESR worked but tests on tbb-firefox failed — execution was achieved but FINKDIFFERENT (the callback payload) was not received. The failure was traced to prefilter hashing: the FOXACID infrastructure was computing EGGI as Hash(tor_exit_ip || session_id) and FIDI as Hash(target_ip || session_id), and because the exploit runs inside the Tor network the callback came from a Tor exit IP rather than the target's real IP, causing the hash mismatch. The fix was to disable prefilter hashing using FUNNELOUT, though this raised OPSEC concerns about pre-play attacks from personal security products (PSPs) and adversarial actors.\n\nTaken together the document describes a complete operational pipeline for deanonymising Tor Browser Bundle users through browser exploitation: passive identification via BuildID fingerprinting, exploitation of a type-confusion vulnerability in E4X, and receiving callbacks from Tor once prefilter hashing was turned off. This connects directly to the FOXACID and BLINDDATE documents, confirming the end-to-end exploitation workflow against Tor users.",
|
||||
"tags": [
|
||||
"Tor",
|
||||
"Tor Browser",
|
||||
"Firefox",
|
||||
"browsers",
|
||||
"exploitation",
|
||||
"targeting",
|
||||
"fingerprints",
|
||||
"Windows",
|
||||
"Linux",
|
||||
"macOS",
|
||||
"noscript",
|
||||
"extensions",
|
||||
"addons",
|
||||
"vulnerabilities",
|
||||
"remote code execution",
|
||||
"OPSEC",
|
||||
"web",
|
||||
"dark web",
|
||||
"anonymity",
|
||||
"privacy",
|
||||
"terrorism"
|
||||
],
|
||||
"document": {
|
||||
"creator": "NSA",
|
||||
"date_created": "",
|
||||
"classification": [
|
||||
"TOP SECRET",
|
||||
"COMINT"
|
||||
],
|
||||
"dissemination": [
|
||||
"REL TO USA, AUS, CAN, GBR, NZL"
|
||||
],
|
||||
"banner": "TOP SECRET//COMINT//REL TO USA, AUS, CAN, GBR, NZL",
|
||||
"genre": "slides",
|
||||
"programs": [
|
||||
"EGOTISTICALGIRAFFE",
|
||||
"EGOTISTICALGOAT",
|
||||
"ERRONEOUSINGENUITY",
|
||||
"ERIN",
|
||||
"EGOTISTICALGOAT",
|
||||
"EGGO",
|
||||
"FINKDIFFERENT",
|
||||
"FIDI",
|
||||
"EGGI",
|
||||
"FUNNELOUT"
|
||||
],
|
||||
"countries": [
|
||||
"China",
|
||||
"Iran"
|
||||
],
|
||||
"people": []
|
||||
},
|
||||
"publication": [
|
||||
{
|
||||
"publisher": "The Guardian",
|
||||
"date_published": "2013-10-04",
|
||||
"title": "NSA and GCHQ target Tor network that protects anonymity of web users",
|
||||
"link": "https://www.theguardian.com/world/2013/oct/04/nsa-gchq-attack-tor-network-encryption",
|
||||
"reporters": [
|
||||
"Ball, James",
|
||||
"Schneier, Bruce",
|
||||
"Greenwald, Glenn"
|
||||
],
|
||||
"contributors": []
|
||||
}
|
||||
],
|
||||
"aka_id": [
|
||||
{
|
||||
"id": "EFF_-_20131004-guard-egotistical_giraffe"
|
||||
},
|
||||
{
|
||||
"id": "nsa-egotistical-giraffe"
|
||||
},
|
||||
{
|
||||
"id": "nsa-egotisticalgiraffe"
|
||||
}
|
||||
],
|
||||
"pdf_sha256": "39a27194a4dc5c4d10b3ab7da1611a433af66c5bcd36a19a1ba007cec20329f5",
|
||||
"pages": 20
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue