The NSA Wants You to Trust Tor, Should You?

by

In the ongoing drizzle of Snowden revelations the public has witnessed a litany of calls for the widespread adoption of online anonymity tools. One such technology is Tor, which employs a network of Internet relays to hinder the process of attribution. Though advocates at the Electronic Frontier Foundation openly claim that “Tor still works[i]” skepticism is warranted. In fact anyone risking incarceration (or worse) in the face of a highly leveraged intelligence outfit like the NSA would be ill-advised to put all of their eggs in the Tor basket. This is an unpleasant reality which certain privacy advocates have been soft-pedaling.

The NSA Wants You To Use Tor

Tor proponents often make a big deal of the fact that the NSA admits in its own internal documents that “Tor Stinks,” as it makes surveillance more work-intensive[ii]. What these proponents fail to acknowledge is that the spies at the NSA also worry that Internet users will abandon Tor:  “[A] Critical mass of targets use Tor. Scaring them away from Tor might be counterproductive”

Go back and re-read that last sentence. Tor is a signal to spies, a big waving flag that gets their attention and literally draws them to your network traffic[iii]. Certain aspects of Tor might “stink” but ultimately the NSA wants people to keep using Tor. This highlights the fact that security services, like the FBI[iv], have developed sophisticated tools to remove the veil of anonymity that Tor aims to provide.

For example, the Washington Post reports[v]:

“One document provided by Snowden included an internal exchange among NSA hackers in which one of them said the agency’s Remote Operations Center was capable of targeting anyone who visited an al-Qaeda Web site using Tor.”

It’s well known that Tor is susceptible to what’s called a traffic confirmation attack (AKA end-to-end correlation), where an entity monitoring the network traffic on both sides of a Tor session can wield statistical tools to identify a specific communication path. Keep in mind that roughly 90 percent of the world’s internet communication flows through the United States[vi], so it’s easy for U.S. intelligence to deploying this approach by watching data flows around entry and exit points[vii].

Another method involves “staining” data with watermarks. For example, the NSA has been known to mark network traffic by purchasing ad space from online companies like Google. The ads cause web browsers to create a cookie artifact on the user’s computer which identifies the machine viewing the ad[viii]. IP addresses may change but the cookie and its identifiers do not.

De-cloaking Tor users doesn’t necessarily require a federal budget either. According to a couple of researchers slated to speak at Black Hat in a few weeks[ix]:

“In our analysis, we’ve discovered that a persistent adversary with a handful of powerful servers and a couple gigabit links can de-anonymize hundreds of thousands Tor clients and thousands of hidden services within a couple of months. The total investment cost? Just under $3,000.”

Client Network Exploitation (CNE) Trumps Crypto   

Back in 2009 security researcher Joanna Rutkowska implemented what she dubbed the “Evil Maid” attack to foil TrueCrypt’s disk encryption scheme[x]. By compromising the Windows boot environment her team was able to capture the hard disk’s encryption passphrase and circumvent TrueCrypt’s protection. While users can [usually] defend against this sort of monkey business, by relying on a trusted boot process, the success of the Evil Maid attack underscores the capacity for subversion to trump encryption.

This type of client-side exploitation can be generalized for remote network-based operations. In a nutshell, it doesn’t matter how strong your network encryption is if a spy can somehow hack your computer and steal your encryption passphrase (to decrypt your traffic) or perhaps just pilfer the data that they want outright.

Enter the NSAs QUANTUM and FOXACID tag team. QUANTUM servers have the ability to mimic web sites and subsequently re-direct user requests to a second set of FOXACID servers which infects the user’s computer with malware[xi]. Thanks to Ed Snowden it’s now public knowledge that the NSA’s goal is to industrialize this process of subversion (a system codenamed TURBINE[xii]) so it can be executed on an industrial scale. Why go to the effort of decrypting Tor network traffic when spies can infect, infiltrate, and monitor millions of machine at a time?

Is it any wonder that the Kremlin has turned to old-school typewriters[xiii] and that German officials have actually considered a similar move[xiv]? In the absence of a faraday cage even tightly configured air-gapped systems can be breached using clever radio and cellular-based rootkits[xv]. As one user shrewdly commented in an online post[xvi]:

“Ultimately, I believe in security. But what I believe about security leaves me far from the cutting edge; my security environment is more like bearskins and stone knives, because bearskins and stone knives are simple enough that I can *know* they won’t do something I don’t want them to do. Smartphones and computers simply cannot provide that guarantee. The parts of their security models that I do understand, *won’t* prevent any of the things I don’t want them to do.”

Software is hard to trust, there are literally thousands upon thousands of little nooks where a flaw can be “accidentally” inserted to provide a back door. Hardware is even worse.

Denouement   

About a year ago John Young, the operator of the leaks site Cryptome, voiced serious concerns in a mailing list thread about the perception of security being conveyed by tools like Tor[xvii]:

“Security is deception. Comsec a trap. Natsec the mother of secfuckers”

Jacob Appelbaum, who by the way is intimately involved with the Tor project, responded:

“Whatever you’re smoking, I wish you’d share it with the group”

Appelbaum’s cavalier dismissal fails to appreciate the aforementioned countermeasures. What better way to harvest secrets from targets en mass than to undermine a ubiquitous technology that everyone thinks will keep them safe? Who’s holding the shit-bag now? For activists engaged in work that could get them executed, relying on crypto as a universal remedy is akin to buying snake oil. John Young’s stance may seem excessive to Tor promoters like Appelbaum but if Snowden’s revelations have taught us anything it’s that the cynical view has been spot on.

Bill Blunden is an independent investigator whose current areas of inquiry include information security, anti-forensics, and institutional analysis. He is the author of several books, including The Rootkit Arsenal and Behold a Pale Farce: Cyberwar, Threat Inflation, and the Malware-Industrial Complex. Bill is the lead investigator at Below Gotham Labs.

Notes.


[i] Cooper Quintin, “7 Things You Should Know About Tor,” Electronic Frontier Foundation, July 1, 2014, https://www.eff.org/deeplinks/2014/07/7-things-you-should-know-about-tor

[ii] ‘Tor Stinks’ presentation, Guardian, October 4, 2013, http://www.theguardian.com/world/interactive/2013/oct/04/tor-stinks-nsa-presentation-document

[iii] J. Appelbaum, A. Gibson, J. Goetz, V. Kabisch, L. Kampf, L. Ryge, “NSA targets the privacy-conscious,” http://daserste.ndr.de/panorama/aktuell/nsa230_page-1.html

[iv]Kevin Poulsen, “FBI Admits It Controlled Tor Servers Behind Mass Malware Attack,”

Wired, September 13, 2013, http://www.wired.com/threatlevel/2013/09/freedom-hosting-fbi/

[v] Barton Gellman, Craig Timberg, and Steven Rich, “Secret NSA documents show campaign against Tor encrypted network,” Washington Post, October 4, 2013

[vi] James Ball, “NSA stores metadata of millions of web users for up to a year, secret files show,” Guardian, September 30, 2013, http://www.theguardian.com/world/2013/sep/30/nsa-americans-metadata-year-documents/print

[vii] Maxim Kammerer, [tor-talk] End-to-end correlation for fun and profit, August 20, 2007, https://lists.torproject.org/pipermail/tor-talk/2012-August/025254.html

[viii] Seth Rosenblatt, “NSA tracks Google ads to find Tor users,” CNET, October 4, 2013, http://news.cnet.com/8301-1009_3-57606178-83/nsa-tracks-google-adsto-find-tor-users/

[ix] Alexander Volynkin &  Michael McCord, “You Don’t Have to be the NSA to Break Tor: Deanonymizing Users on a Budget,” Black Hat USA 2014, https://www.blackhat.com/us-14/briefings.html#you-dont-have-to-be-the-nsa-to-break-tor-deanonymizing-users-on-a-budget

[x] Joanna Rutkowska, “Evil Maid goes after TrueCrypt!” Invisible Things Lab’s Blog, October 16, 2009, http://theinvisiblethings.blogspot.com/2009/10/evil-maid-goes-after-truecrypt.html

[xi] Bruce Schneier, “Attacking Tor: how the NSA targets users’ online anonymity,” Guardian, October 4, 2013, http://www.theguardian.com/world/2013/oct/04/tor-attacks-nsa-users-online-anonymity/print

[xii] Ryan Gallagher and Glenn Greenwald, “How the NSA Plans to Infect ‘Millions’ of Computers with Malware,” Intercept, March 12, 2014, https://firstlook.org/theintercept/article/2014/03/12/nsa-plans-infect-millions-computers-malware/

[xiii] Chris Irvine, “Kremlin returns to typewriters to avoid computer leaks,” Telegraph, July 11, 2014, http://www.telegraph.co.uk/news/worldnews/europe/russia/10173645/Kremlin-returns-to-typewriters-to-avoid-computer-leaks.html

[xiv] Cyrus Farivar, “In the name of security, German NSA committee may turn to typewriters,” Ars Technica, July 14, 2014, http://arstechnica.com/tech-policy/2014/07/in-the-name-of-security-german-nsa-committee-may-turn-to-typewriters/

[xv] Jacob Appelbaum, “Shopping for Spy Gear: Catalog Advertises NSA Toolbox,” Der Spiegel, December 29, 2013, http://www.spiegel.de/international/world/catalog-reveals-nsa-has-back-doors-for-numerous-devices-a-940994.html

[xvi] “Iron Box Security,” Cryptome, June 6, 2014, http://cryptome.org/2014/06/iron-box-security.htm

[xvii] “Natsec the Mother of Secfuckers,” Cryptome, June 9, 2013, http://cryptome.org/2013/06/nat-secfuckers.htm

Bill Blunden is a journalist whose current areas of inquiry include information security, anti-forensics, and institutional analysis. He is the author of several books, including “The Rootkit Arsenal” andBehold a Pale Farce: Cyberwar, Threat Inflation, and the Malware-Industrial Complex.” Bill is the lead investigator at Below Gotham Labs.

Like What You’ve Read? Support CounterPunch
Weekend Edition
September 4-6, 2015
Lawrence Ware
No Refuge: the Specter of White Supremacy Still Haunts Black America
Andrew Levine
Compassionate Conservatism: a Reconsideration and an Appreciation
Paul Street
Bi-Polar Disorder: Obama’s Environmental Bait-and-Switch Politics
Arun Gupta
Field Notes to Life During the Apocalypse
Steve Hendricks
Come Again? Second Thoughts on My Ashley Madison Affair
Ron Jacobs
Bernie Sanders’ Vision: As Myopic as Every Other Candidate or Not?
Jeffrey St. Clair
Arkansas Bloodsuckers: the Clintons, Prisoners and the Blood Trade
Richard W. Behan
Republican Fail, Advantage Sanders: the Indefensible Budget for Defense
Ted Rall
Call It By Its Name: Censorship
Susan Babbitt
“Swarms” Entering the UK? What We Can Still Learn About the Migrant Crisis From Che Guevara
Kali Akuno
Until We Win: Black Labor and Liberation in the Disposable Era
John Wight
Adrift Without Sanctuary: a Sick and Twisted Morality
Binoy Kampmark
Sieges in an Age of Austerity: Monitoring Julian Assange
Kathleen Wallace
The Child Has a Name, They All Do
David Rosen
Why So Few Riots?
Norm Kent
The Rent Boy Raid: Homeland Security Should Monitor Our Borders Not Our Bedrooms
John Helmer
IMF Officials Implicated in Theft, Concealment of Ukraine Loan Corruption
Michael Welton
Canada’s Arrogant Autocrat: the Rogue Politics of Stephen Harper
Patrick T. Hiller
There’s Nothing Collateral About a Toddler Washed Ashore
Ramzy Baroud
Palestine’s Crisis of Leadership: Did Abbas Destroy Palestinian Democracy?
Pepe Escobar
Say Hello to China’s New Toys
Sylvia C. Frain
Tiny Guam, Huge US Marine Base Expansions
Pete Dolack
Turning National Parks into Corporate Profit Centers
Ann Garrison
Africa’s Problem From Hell: Samantha Power
Christopher Brauchli
Poor, Poor, Pitiful Citigroup
Norman Pollack
Paradigm of a Fascist Mindset: Nicholas Burns on Iran
Roger Annis
Canada’s Web of Lies Over Syrian Refugee Crisis
Chris Zinda
Constitutional Crisis in the Heart of Dixie
Rannie Amiri
Everything Stinks: Beirut Protests and Garbage Politics
Missy Comley Beattie
In Order To Breathe
James McEnteer
Blast From the Past in Buenos Aires
Edward Leer
Love, Betrayal, and Donuts
Cesar Chelala
Cruelty is Not a Human Right
Louis Proyect
Migrating Through Hell: Quemada-Diez’s “La Jaula de Oro”
Charles R. Larson
Class and Colonialism in British Cairo
September 03, 2015
Sal Rodriguez
How California Prison Hunger Strikes Sparked Solitary Confinement Reforms
Lawrence Ware
Leave Michael Vick Alone: the Racism and Misogyny of Football Fans
Dave Lindorff
Is Obama the Worst President Ever?
Vijay Prashad
The Return of Social Democracy?
Ellen Brown
Quantitative Easing for People: Jeremy Corbyn’s Radical Proposal
Paul Craig Roberts
The Rise of the Inhumanes: Barron, Bybee, Yoo and Bradford
Binoy Kampmark
Inside Emailgate: Hillary’s Latest Problem
Lynn Holland
For the Love of Water: El Salvador’s Mining Ban
Geoff Dutton
Time for Some Anger Management
Jack Rasmus
The New Colonialism: Greece and Ukraine