This Is How They Tell Me the World Ends: The Cyberweapons Arms Race
4/5
()
About this ebook
"Written in the hot, propulsive prose of a spy thriller" (The New York Times), the untold story of the cyberweapons market-the most secretive, government-backed market on earth-and a terrifying first look at a new kind of global warfare.
Zero-day: a software bug that allows a hacker to break into your devices and move around undetected. One of the most coveted tools in a spy's arsenal, a zero-day has the power to silently spy on your iPhone, dismantle the safety controls at a chemical plant, alter an election, and shut down the electric grid (just ask Ukraine).
For decades, under cover of classification levels and nondisclosure agreements, the United States government became the world's dominant hoarder of zero-days. U.S. government agents paid top dollar-first thousands, and later millions of dollars-to hackers willing to sell their lock-picking code and their silence. Then the United States lost control of its hoard and the market. Now those zero-days are in the hands of hostile nations and mercenaries who do not care if your vote goes missing, your clean water is contaminated, or our nuclear plants melt down.
Filled with spies, hackers, arms dealers, and a few unsung heroes, written like a thriller and a reference, This Is How They Tell Me the World Ends is an astonishing feat of journalism. Based on years of reporting and hundreds of interviews, Nicole Perlroth lifts the curtain on a market in shadow, revealing the urgent threat faced by us all if we cannot bring the global cyberarms race to heel.
Nicole Perlroth
Nicole Perlroth spent a decade as the lead cybersecurity, digital espionage and sabotage reporter for The New York Times. Her work has received widespread praise from The New Yorker, The New York Review of Books, The Economist, and The New York Times, including mentions in Wired, PBS, NPR, The Wall Street Journal, and The Washington Post, among others. She has been featured as a guest on Fresh Air, The Rachel Maddow Show, CNN, the New York Times podcasts The Daily and Sway, VOX's Pivot podcast, and many more. She lectures at Stanford University and regularly delivers keynote addresses and speeches. She is currently serving as an advisor to the Department of Homeland Security's Cybersecurity and Infrastructure Security Agency (CISA). She also joined the Council on Foreign Relations' Cybersecurity Task Force. She lives with her family in the Bay Area.
Related to This Is How They Tell Me the World Ends
Related ebooks
No Place to Hide: Edward Snowden, the NSA, and the U.S. Surveillance State Rating: 4 out of 5 stars4/5Active Measures: The Secret History of Disinformation and Political Warfare Rating: 4 out of 5 stars4/5We Are Bellingcat: Global Crime, Online Sleuths, and the Bold Future of News Rating: 4 out of 5 stars4/5Dark Territory: The Secret History of Cyber War Rating: 4 out of 5 stars4/5The Punch Escrow Rating: 4 out of 5 stars4/5Who Owns the Future? Rating: 4 out of 5 stars4/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5The Doomsday Machine: Confessions of a Nuclear War Planner Rating: 4 out of 5 stars4/5The Puzzle Palace: A Report on NSA, America's Most Secret Agency Rating: 4 out of 5 stars4/5The Bug: A Novel Rating: 4 out of 5 stars4/5Moneyland: The Inside Story of the Crooks and Kleptocrats Who Rule the World Rating: 4 out of 5 stars4/5How to Hide an Empire: A History of the Greater United States Rating: 4 out of 5 stars4/5Longitude: The True Story of a Lone Genius Who Solved the Greatest Scientific Problem of His Time Rating: 4 out of 5 stars4/5Uncanny Valley: A Memoir Rating: 4 out of 5 stars4/5The Master & Margarita Rating: 4 out of 5 stars4/5Close to the Machine: Technophilia and Its Discontents Rating: 4 out of 5 stars4/5The Boy Who Could Change the World: The Writings of Aaron Swartz Rating: 4 out of 5 stars4/5Summary of Nicole Perlroth's This Is How They Tell Me the World Ends Rating: 2 out of 5 stars2/5Thank You for Being Late: An Optimist's Guide to Thriving in the Age of Accelerations Rating: 4 out of 5 stars4/5Why the Germans Do it Better: Notes from a Grown-Up Country Rating: 4 out of 5 stars4/5Corruptible: Who Gets Power and How It Changes Us Rating: 4 out of 5 stars4/5Billionaire Wilderness: The Ultra-Wealthy and the Remaking of the American West Rating: 0 out of 5 stars0 ratingsWhere Wizards Stay Up Late: The Origins Of The Internet Rating: 4 out of 5 stars4/5The Curse of Bigness: Antitrust in the New Gilded Age Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5Freedom to Think: The Long Struggle to Liberate Our Minds Rating: 4 out of 5 stars4/5Freezing Order: A True Story of Money Laundering, Murder, and Surviving Vladimir Putin's Wrath Rating: 4 out of 5 stars4/5Class Warfare: Inside the Fight to Fix America's Schools Rating: 0 out of 5 stars0 ratingsHacker, Hoaxer, Whistleblower, Spy: The Many Faces of Anonymous Rating: 4 out of 5 stars4/5
Politics For You
A People's History of the United States Rating: 4 out of 5 stars4/5The Real Anthony Fauci: Bill Gates, Big Pharma, and the Global War on Democracy and Public Health Rating: 4 out of 5 stars4/5The Republic by Plato Rating: 4 out of 5 stars4/5The Devil's Chessboard: Allen Dulles, the CIA, and the Rise of America's Secret Government Rating: 5 out of 5 stars5/5On Palestine Rating: 4 out of 5 stars4/5Gaza in Crisis: Reflections on the U.S.-Israeli War on the Palestinians Rating: 4 out of 5 stars4/5The Madness of Crowds: Gender, Race and Identity Rating: 4 out of 5 stars4/5Son of Hamas: A Gripping Account of Terror, Betrayal, Political Intrigue, and Unthinkable Choices Rating: 4 out of 5 stars4/5Fear: Trump in the White House Rating: 4 out of 5 stars4/5The Cult of Trump: A Leading Cult Expert Explains How the President Uses Mind Control Rating: 3 out of 5 stars3/5Sex Trafficking: Inside the Business of Modern Slavery Rating: 4 out of 5 stars4/5Capitalism and Freedom Rating: 4 out of 5 stars4/5The Great Awakening: Defeating the Globalists and Launching the Next Great Renaissance Rating: 4 out of 5 stars4/5The Parasitic Mind: How Infectious Ideas Are Killing Common Sense Rating: 4 out of 5 stars4/5The Girl with Seven Names: A North Korean Defector’s Story Rating: 4 out of 5 stars4/5Freedom Is a Constant Struggle: Ferguson, Palestine, and the Foundations of a Movement Rating: 4 out of 5 stars4/5How to Hide an Empire: A History of the Greater United States Rating: 4 out of 5 stars4/5The Humanity Archive: Recovering the Soul of Black History from a Whitewashed American Myth Rating: 4 out of 5 stars4/5Daily Stoic: A Daily Journal On Meditation, Stoicism, Wisdom and Philosophy to Improve Your Life Rating: 5 out of 5 stars5/5Government Gangsters: The Deep State, the Truth, and the Battle for Our Democracy Rating: 5 out of 5 stars5/5The U.S. Constitution with The Declaration of Independence and The Articles of Confederation Rating: 5 out of 5 stars5/5The Gulag Archipelago [Volume 1]: An Experiment in Literary Investigation Rating: 4 out of 5 stars4/5Killing the SS: The Hunt for the Worst War Criminals in History Rating: 4 out of 5 stars4/5The Art of War & Other Classics of Eastern Philosophy Rating: 4 out of 5 stars4/5Controversial Essays Rating: 4 out of 5 stars4/5Unhumans: The Secret History of Communist Revolutions (and How to Crush Them) Rating: 4 out of 5 stars4/5
Related categories
Reviews for This Is How They Tell Me the World Ends
75 ratings5 reviews
- Rating: 4 out of 5 stars4/5Perlroth has written a timely, eye-opening and important book about a topic that intersects with our lives on so many levels. Granted, it's not a flawless work. I would have probably pared down some of the "inside baseball" journalistic fact-finding verbiage to produce a book about a third shorter than its current girth. But "This is How They Tell Me the World Ends" provides a wealth of insightful information about cybersecurity, geopolitics, espionage, changing technology and many other relevant issues that profoundly impact society.
- Rating: 5 out of 5 stars5/5I would use another term for this book, one we used in college. But social media may have accused me of using unparliamentary language. So, I will say that the book blew my mind. I have known of the growth of cyberwar and espionage. But this book exposed a shadowy world, which should make you panic. Once upon a time, people used carrier pigeons, embedded microphones into walls, or spied on typewriters. We live in a connected world, and it is sobering to realize that none of our great tech giants or state agencies have great defense systems. It is sobering to realize that our phones can be broken in minutes. What will the future bring? I don't know. Nicole wove a compelling and engaging tale. It will keep you hooked and worried. There is an audiobook, which is excellent.
- Rating: 4 out of 5 stars4/5Did you know it was the Russians that got Trump elected in 2016? Did you know that the big tech companies weren't complicit in the NSA's "PRISM" program?Our author, Perlroth, has been covering cybersecurity for more than a decade. She was on the team at the New York Times that broke the Snowden story. Since then, she has been following the saga of "0-day" exploits (exploits which developers learn of after they've already been exploited in the wild).I'm sure you've been hearing about hacking a lot in the news (you can't avoid it): the US hack of the Iranian nuclear program, the hack that voided PGP, the hack that allowed the FBI to get into an iOS device without Apple's support, the ransomware, Ukraine's grid being shut down (twice). But there are so many reports, it is almost impossible to keep track of their relative importance, and weave the story into a larger (meaningful) narrative. Perlroth deftly accomplishes this.As someone who works in the tech, and consider myself at least to know the basics about good security practices, I was surprised by how many times in the narrative there were threads or interconnections that I had missed. For this alone the book is worth reading. In addition, it is also entertaining!If you're interested in the geopolitical, historical, and ethical implications of cybersecurity, this is the book for you!
- Rating: 4 out of 5 stars4/5This was a very good book. One of the scariest I've read, all the more so because it's not fiction. Anyone could appreciate what it has to tell its readers: geek computer programmers, general computer techs, average computer-savvy folks. (Okay, maybe not my 95 year old mother-in-law who apparently has never used a computer.) Still, in our intensely online connected world, many readers will grasp just how important the information is that involves our computer security. Read it and you'll surely agree. Having said that, I rather abruptly had to question who the author was targeting with her book when I reached the epilogue. I've been working around computers since the very early 80s. My highest paid jobs were in computers. The ending of the book covers little if anything that I didn't already know about, but I can't say the same about the average smart phone user or Facebook junky. Certainly, one of the most recent U.S. presidents wouldn't know these things. Was the bulk of the book *not* aimed at them, too, after everything that went before? It just seemed like a disconnect to me. Moreover, the author gave a list of suggested actions to take, but, as so many similar books do, it failed to say *how* those actions would be taken, in the current American political environment where solutions are blocked simply because the opposing side suggested them, and for no other reason. In the end, I have to recommend the book, but I can't promise how you might absorb the ending.
1 person found this helpful
- Rating: 3 out of 5 stars3/5A deftly told summary of the recent spread of cyber-weapons. It is largely news-based, and I can't say that any of it was surprising, but still seeing it all in one place is sobering. The writing was just serviceable, though, and I think I would have better enjoyed a Michael Lewis-style narrative with well-drawn characters and a narrower focus. > Before Stuxnet, the IRGC reportedly budgeted $76 million a year for its fledgling cyber force. After Stuxnet, Iran poured $1 billion into new cyber technologies, infrastructure, and expertise, and began enlisting, and conscripting, Iran’s best hackers into its new digital army.> It was national security “maverick” Senator John McCain who led Republican opposition to the bill that summer of 2012. The lobbyists had even managed to convince McCain, a senator who prioritized national security over most everything else, that any security regulations would be too onerous for the private companies that oversee the nation’s dams, water sources, pipelines, and grid.
Book preview
This Is How They Tell Me the World Ends - Nicole Perlroth
More Praise for This Is How They Tell Me the World Ends
Possibly the most important book of the year … Perlroth’s precise, lucid, and compelling presentation of mind-blowing disclosures about the underground arms race is a must-read exposé.
—Booklist (starred review)
[A] wonderfully readable new book. Underlying everything Perlroth writes is the question of ethics: What is the right thing to do? Too many of the people she describes never seemed to think about that; their goals were short-term or selfish or both. A rip-roaring story of hackers and bug-sellers and spies that also looks at the deeper questions.
—Steven M. Bellovin, professor of computer science, Columbia University
The murky world of zero-day sales has remained in the shadows for decades, with few in the trade willing to talk about this critical topic. Nicole Perlroth has done a great job tracing the origin stories, coaxing practitioners into telling their fascinating tales, and explaining why it all matters.
—Kim Zetter, author of Countdown to Zero Day
Nicole Perlroth does what few other authors on the cyber beat can: She tells a highly technical, gripping story as if over a beer at your favorite local dive bar. A page-turner.
—Nina Jankowicz, author of How to Lose the Information War
From one of the literati, a compelling tale of the digerati: Nicole Perlroth puts arresting faces on the clandestine government-sponsored elites using 1s and 0s to protect us or menace us—and profit.
—Glenn Kramon, former New York Times senior editor
Reads like a thriller. A masterful inside look at a highly profitable industry that was supposed to make us safer but has ended up bringing us to the brink of the next world war.
—John Markoff, former New York Times cybersecurity reporter
A whirlwind global tour that introduces us to the crazy characters and bizarre stories behind the struggle to control the internet. It would be unbelievable if it wasn’t all so very true.
—Alex Stamos, director, Stanford Internet Observatory and former head of security for Facebook and Yahoo
Lays bare the stark realities of disinformation, hacking, and software vulnerability that are the Achilles’ heel of modern democracy. I work in this field as a scientist and technologist, and this book scared the bejesus out of me. Read it.
—Gary McGraw, PhD, founder, Berryville Institute of Machine Learning and author of Software Security
Usually, books like this are praised by saying that they read like a screenplay or a novel. Nicole Perlroth’s is better: her sensitivity to both technical issues and human behavior give this book an authenticity that makes its message—that cybersecurity issues threaten our privacy, our economy, and maybe our lives—even scarier.
—Steven Levy, author of Hackers and Facebook
You MUST read this book—every word.
—Tom Peters, author of In Search of Excellence
For Tristan, who always pulled me out of my secret hiding spots.
For Heath, who married me even though I couldn’t tell him where I was hiding.
For Holmes, who hid in my belly.
CONTENTS
Author’s Note
Prologue
PART I: MISSION IMPOSSIBLE
1. Closet of Secrets
2. The Fucking Salmon
PART II: THE CAPITALISTS
3. The Cowboy
4. The First Broker
5. Zero-Day Charlie
PART III: THE SPIES
6. Project Gunman
7. The Godfather
8. The Omnivore
9. The Rubicon
10. The Factory
PART IV: THE MERCENARIES
11. The Kurd
12. Dirty Business
13. Guns for Hire
PART V: THE RESISTANCE
14. Aurora
15. Bounty Hunters
16. Going Dark
PART VI: THE TWISTER
17. Cyber Gauchos
18. Perfect Storm
19. The Grid
PART VII: BOOMERANG
20. The Russians Are Coming
21. The Shadow Brokers
22. The Attacks
23. The Backyard
Epilogue
Acknowledgments
Notes
Index
There’s something happening here.
What it is ain’t exactly clear.
There’s a man with a gun over there
Telling me I got to beware
I think it’s time we stop, children, what’s that sound,
Everybody look what’s going down
—BUFFALO SPRINGFIELD
AUTHOR’S NOTE
This book is the product of more than seven years of interviews with more than three hundred individuals who have participated in, tracked, or been directly affected by the underground cyberarms industry. These individuals include hackers, activists, dissidents, academics, computer scientists, American and foreign government officials, forensic investigators, and mercenaries.
Many generously spent hours, in some cases days, recalling the details of various events and conversations relayed in these pages. Sources were asked to present documentation, whenever possible, in the form of contracts, emails, messages, and other digital crumbs that were considered classified or, in many cases, privileged through nondisclosure agreements. Audio recordings, calendars, and notes were used whenever possible to corroborate my own and sources’ recollection of events.
Because of the sensitivities of the subject matter, many of those interviewed for this book agreed to speak only on the condition that they not be identified. Two people only spoke with me on the condition that their names be changed. Their accounts were fact-checked with others whenever possible. Many agreed to participate only to fact-check the accounts provided to me by others.
The reader should not assume that any individual named in these pages was a source for the events or dialogue described. In several cases accounts came from the person directly, but in others they came from eyewitnesses, third parties, and, as much as possible, written documentation.
And even then, when it comes to the cyberarms trade, I have learned that hackers, buyers, sellers, and governments will go to great lengths to avoid any written documentation at all. Many accounts and anecdotes were omitted from the following pages simply because there was no way to back up their version of events. I hope readers will forgive those omissions.
I have done my best, but to this day, so much about the cyberarms trade remains impenetrable that it would be folly to claim that I have gotten everything right. Any errors are, of course, my own.
My hope is that my work will help shine even a glimmer of light on the highly secretive and largely invisible cyberweapons industry so that we, a society on the cusp of this digital tsunami called the Internet of Things, may have some of the necessary conversations now, before it is too late.
—Nicole Perlroth
November 2020
PROLOGUE
Kyiv, Ukraine
By the time my plane touched down in Kyiv—in the dead of winter 2019—nobody could be sure the attack was over, or if it was just a glimpse of what was to come.
A note of attenuated panic, of watchful paranoia, had gripped our plane from the moment we entered Ukrainian airspace. Turbulence had knocked us upward so suddenly I could hear bursts of nausea in the back of the plane. Beside me, a wisp of a Ukrainian model gripped my arm, shut her eyes, and began to pray.
Three hundred feet below, Ukraine had gone into orange alert. An abrupt windstorm was ripping roofs off apartment buildings and smashing their dislodged fragments into traffic. Villages on the outskirts of the capital and in western Ukraine were losing power—again. By the time we jerked onto the runway and started to make our way through Boryspil International Airport, even the young, gangly Ukrainian border guards seemed to be nervously asking one another: Freak windstorm? Or another Russian cyberattack? These days, no one could be sure.
One day earlier, I had bid my baby adieu and traveled to Kyiv as a kind of dark pilgrimage. I came to survey the rubble at ground zero for the most devastating cyberattack the world had ever seen. The world was still reeling from the fallout of a Russian cyberattack on Ukraine that less than two years earlier had shut down government agencies, railways, ATMs, gas stations, the postal service, even the radiation monitors at the old Chernobyl nuclear site, before the code seeped out of Ukraine and haphazardly zigzagged its way around the globe. Having escaped, it paralyzed factories in the far reaches of Tasmania, destroyed vaccines at one of the world’s largest pharmaceutical companies, infiltrated computers at FedEx, and brought the world’s biggest shipping conglomerate to a halt, all in a matter of minutes.
The Kremlin had cleverly timed the attack to Ukraine’s Constitution Day in 2017—the equivalent of our Fourth of July—to send an ominous reminder to Ukrainians. They could celebrate their independence all they wished, but Mother Russia would never let them out of its grip.
The attack was the culmination of a series of escalating, insidious Russian cyberattacks, revenge for Ukraine’s 2014 revolution, when hundreds of thousands of Ukrainians took to Kyiv’s Independence Square to revolt against the Kremlin’s shadow government in Ukraine and ultimately oust its president, and Putin’s puppet, Viktor Yanukovych.
Within days of Mr. Yanukovych’s fall, Putin had pulled Yanukovych back to Moscow and sent his forces to invade the Crimean Peninsula. Before 2014, the Crimean Peninsula was a Black Sea paradise, a diamond suspended off the south coast of Ukraine. Churchill once coined it the Riviera of Hades.
Now it belonged to Russia, the infernal epicenter of Vladimir Putin’s standoff with Ukraine.
Putin’s digital army had been messing with Ukraine ever since. Russian hackers made a blood sport of hacking anyone and anything in Ukraine with a digital pulse. For five long years, they shelled Ukrainians with thousands of cyberattacks a day and scanned the country’s networks incessantly for signs of weakness—a weak password, a misplaced zero, pirated and unpatched software, a hastily erected firewall—anything that could be exploited for digital mayhem. Anything to sow discord and undermine Ukraine’s pro-Western leadership.
Putin laid down only two rules for Russia’s hackers. First, no hacking inside the motherland. And second, when the Kremlin calls in a favor, you do whatever it asks. Otherwise, hackers had full autonomy. And oh, how Putin loved them.
Russian hackers are like artists who wake up in the morning in a good mood and start painting,
Putin told a gaggle of reporters in June 2017, just three weeks before his hackers laid waste to Ukraine’s systems. If they have patriotic leanings, they may try to add their contribution to the fight against those who speak badly about Russia.
Ukraine had become their digital test kitchen, a smoldering hellscape where they could test out every hacking trick and tool in Russia’s digital arsenal without fear of reprisal. In the first year, 2014, alone, Russian state media and trolls barraged Ukraine’s presidential election with a disinformation campaign that alternately blamed the country’s mass pro-Western uprisings on an illegal coup, a military junta,
or deep states
in America and Europe. Hackers stole campaign emails, prowled for voter data, infiltrated Ukraine’s election authority, deleted files, and implanted malware in the country’s election reporting system that would have claimed victory for a far-right fringe candidate. Ukrainians discovered the plot just before the results were reported to Ukraine’s media. Election security experts called it the most brazen attempt to manipulate a national election in history.
In retrospect, this should have all set off louder alarm bells in the United States. But in 2014, Americans’ gaze was elsewhere: the violence in Ferguson, Missouri; the horrors of ISIS and its seeming emergence out of nowhere; and, on my beat, the North Korean hack of Sony Pictures that December, when Kim Jong-un’s hackers exacted revenge on the movie studio for a Seth Rogen–James Franco comedy depicting the assassination of their Dear Leader. North Korean hackers torched Sony’s servers with code, then selectively released emails to humiliate Sony executives in an attack that offered Putin the perfect playbook for 2016.
For most Americans, Ukraine still felt a world away. We caught passing glimpses of Ukrainians protesting in Independence Square, and later celebrating as a new pro-Western leadership replaced Putin’s puppet. Some kept an eye on the battles in eastern Ukraine. Most can recall the Malaysian airplane—filled with Dutch passengers—that Russian separatists shot out of the sky.
But had we all been paying closer attention, we might have seen the blaring red warning lights, the compromised servers in Singapore and Holland, the blackouts, the code spiking out in all directions.
We might have seen that the end game wasn’t Ukraine. It was us.
Russia’s interference in Ukraine’s 2014 elections was just the opening salvo for what would follow—a campaign of cyberaggression and destruction the world had never seen.
They were stealing a page from their old Cold War playbooks, and as my taxi made its way from Boryspil to Kyiv’s center, Independence Square, the bleeding heart of Ukraine’s revolution, I wondered which page they might read from next, and if we’d ever get to a place where we might anticipate it.
The crux of Putin’s foreign policy was to undercut the West’s grip on global affairs. With every hack and disinformation campaign, Putin’s digital army sought to tie Russia’s opponents up in their own politics and distract them from Putin’s real agenda: fracturing support for Western democracy and, ultimately, NATO—the North Atlantic Treaty Organization—the only thing holding Putin in check.
The more disillusioned Ukrainians became—where were their Western protectors, after all?—the better the chance they might turn away from the West and return to the cold embrace of Mother Russia.
And what better way to aggravate Ukrainians and make them question their new government than to turn off Ukraine’s heat and power in the dead of winter? On December 23, 2015, just ahead of Christmas Eve, Russia crossed a digital Rubicon. The very same Russian hackers that had been laying trapdoors and virtual explosives in Ukrainian media outlets and government agencies for months had also silently embedded themselves in the nation’s power stations. That December they made their way into the computers that controlled Ukraine’s power grid, meticulously shutting off one circuit breaker after another until hundreds of thousands of Ukrainians were without power. For good measure, they shut down emergency phone lines. And for added pain, they shut off the backup power to Ukraine’s distribution centers, forcing operators to fumble around in the dark.
The power wasn’t out long in Ukraine—less than six hours—but what happened in western Ukraine that day is without precedent in history. The digital Cassandras and the tinfoil-hat crowd had long warned that a cyberattack would hit the grid, but until December 23, 2015, no nation-state with the means had the balls to actually pull it off.
Ukraine’s attackers had gone to great lengths to hide their true whereabouts, routing their attack through compromised servers in Singapore, the Netherlands, and Romania, employing levels of obfuscation that forensics investigators had never seen. They’d downloaded their weapon onto Ukraine’s networks in benign-looking bits and pieces to throw off intrusion detectors and carefully randomized their code to evade antivirus software. And yet Ukraine officials immediately knew who was behind the attack. The time and resources required to pull off a grid attack with that level of sophistication were simply beyond that of any four-hundred-pound hacker working from his bed.
There was no financial profit to be gleaned from turning off the power. It was a political hit job. In the months that followed, security researchers confirmed as much. They traced the attack back to a well-known Russian intelligence unit and made their motives known. The attack was designed to remind Ukrainians that their government was weak, that Russia was strong, that Putin’s digital forces were so deep into Ukraine’s every digital nook and cranny that Russia could turn the lights off at will.
And just in case that message wasn’t clear, the same Russian hackers followed up one year later, turning off Ukraine’s power again in December 2016. Only this time they shut off heat and power to the nation’s heart—Kyiv—in a display of nerve and skill that made even Russia’s counterparts at the National Security Agency headquarters in Fort Meade, Maryland, wince.
For years classified national intelligence estimates considered Russia and China to be America’s most formidable adversaries in the cyber realm. China sucked up most of the oxygen, not so much for its sophistication but simply because its hackers were so prolific at stealing American trade secrets. The former director of the NSA, Keith Alexander, famously called Chinese cyberespionage the greatest transfer of wealth in history.
The Chinese were stealing every bit of American intellectual property worth stealing and handing it to their state-owned enterprises to imitate.
Iran and North Korea were high up on the list of cyber threats, too. Both demonstrated the will to do the United States harm. Iran had brought down U.S. banking websites and obliterated computers at the Las Vegas Sands casino after Sands CEO Sheldon Adelson publicly goaded Washington into bombing Iran, and—in a wave of ransomware attacks—Iranian cybercriminals had held American hospitals, companies, entire towns hostage with code. North Korea had torched American servers simply because Hollywood had offended Kim Jong-un’s film tastes, and later, Jong-un’s digital minions managed to steal $81 million from a bank in Bangladesh.
But there was no question that in terms of sophistication, Russia was always at the top of the heap. Russian hackers had infiltrated the Pentagon, the White House, the Joint Chiefs of Staff, the State Department, and Russia’s Nashi youth group—either on direct orders from the Kremlin or simply because they were feeling patriotic—knocked the entire nation of Estonia offline after Estonians dared to move a Soviet-era statue. In one cyberattack Russian hackers, posing as Islamic fundamentalists, took a dozen French television channels off the air. They were caught dismantling the safety controls at a Saudi petrochemical company—bringing Russian hackers one step closer to triggering a cyber-induced explosion. They bombarded the Brexit referendum, hacked the American grid, meddled with the 2016 U.S. elections, the French elections, the World Anti-Doping Agency, and the holy goddamn Olympics.
But for the most part, by 2016 the U.S. intelligence community still assumed that America’s capabilities far exceeded those of the opposition. The Kremlin was testing out the best of its cyber arsenal in Ukraine, and as far as American counterintelligence specialists could tell, Russia was still nowhere close to the cyber skills of the USA.
And it might have stayed that way for some time. For how long exactly, no one could predict; but between 2016 and 2017 the gap between the United States’ cyber capabilities and those of every single other nation and bad-faith actor on earth closed substantially. Starting in 2016, the U.S. National Security Agency’s own cyber arsenal—the sole reason the United States maintained its offensive advantage in cyberspace—was dribbled out online by a mysterious group whose identity remains unknown to this day. Over a period of nine months a cryptic hacker—or hackers; we still don’t know who the NSA’s torturers are—calling itself the Shadow Brokers started trickling out NSA hacking tools and code for any nation-state, cybercriminal, or terrorist to pick up and use in their own cyber crusades.
The Shadow Brokers’ leaks made headlines, but like most news between 2016 and 2017, the news did not stick in the American consciousness for long. The public’s understanding of what was transpiring was—to put it mildly—a mismatch to the gravity of the situation, and to the impact those leaks would soon have on the NSA, on our allies, and on some of America’s biggest corporations and smallest towns and cities.
The Shadow Brokers leaks were the world’s first glimpse of the most powerful and invisible cyber arsenal on earth. What these cryptic hackers had exposed was the largest government program you have never heard of, a cyberweapons and espionage operation so highly classified that for decades it was kept off the books completely, hidden from the public via shell companies, mercenaries, black budgets, nondisclosure agreements, and, in the early days, giant duffel bags of cash.
By the time the Shadow Brokers started dribbling out the NSA’s cyberweapons, I had been closely tracking the agency’s offensive program for four years—ever since I’d caught a privileged glimpse of it in documents leaked by former NSA contractor Edward J. Snowden. I had tracked the program’s three-decade-long history. I had met its Godfather. I had met its hackers, its suppliers, its mercenaries. And I had become intimately acquainted with its copycats as they sprung up all over the world. Increasingly, I was coming across the very men and women whose lives had been ruined by their tools.
In fact, the only thing I had not seen—up close—is what happened when the NSA’s most powerful cyberweapons got into our adversary’s hands.
So in March 2019 I went to Ukraine to survey the ruins for myself.
Russia’s attacks on Ukraine’s power grid thrust the world into a new chapter of cyberwar. But even those 2015 attacks did not compare to what happened when Russia got ahold of the NSA’s best-kept hacking tools two years later.
On June 27, 2017, Russia fired the NSA’s cyberweapons into Ukraine in what became the most destructive and costly cyberattack in world history. That afternoon Ukrainians woke up to black screens everywhere. They could not take money from ATMs, pay for gas at stations, send or receive mail, pay for a train ticket, buy groceries, get paid, or—perhaps most terrifying of all—monitor radiation levels at Chernobyl. And that was just in Ukraine.
The attack hit any company that did any business in Ukraine. All it took was a single Ukrainian employee working remotely for the attack to shut down entire networks. Computers at Pfizer and Merck, the pharmaceutical companies; at Maersk, the shipping conglomerate; at FedEx, and at a Cadbury chocolate factory in Tasmania were all hijacked. The attack even boomeranged back on Russia, destroying data at Rosneft, Russia’s state-owned oil giant, and Evraz, the steelmaker owned by two Russian oligarchs. The Russians had used the NSA’s stolen code as a rocket to propel its malware around the globe. The hack that circled the world would cost Merck and FedEx, alone, $1 billion.
By the time I visited Kyiv in 2019, the tally of damages from that single Russian attack exceeded $10 billion, and estimates were still climbing. Shipping and railway systems had still not regained full capacity. All over Ukraine, people were still trying to find packages that had been lost when the shipment tracking systems went down. They were still owed pension checks that had been held up in the attack. The records of who was owed what had been obliterated.
Security researchers had given the attack an unfortunate name: NotPetya. They initially assumed it was ransomware called Petya, only to find out later that Russian hackers had specifically designed NotPetya to appear as run-of-the-mill ransomware, though it was not ransomware at all. Even if you paid the ransom, there was no chance of getting any data back. This was a nation-state weapon designed to exact mass destruction.
I spent the next two weeks in Ukraine ducking frigid air blasts from Siberia. I met with journalists. I walked Independence Square with protesters as they recounted the bloodiest days of the revolution. I trekked out to the industrial zone to meet with digital detectives who walked me through the digital wreckage of NotPetya. I met with Ukrainians whose family business—tax reporting software used by every major Ukrainian agency and company—had been Patient Zero for the attacks. The Russians had cleverly disguised their malware as a tax software update from the company’s systems, and now all its mom-and-pop operators could do was half cry, half laugh at the role they had played in nation-state cyberwar. I spoke with the head of Ukraine’s cyber police force and with any Ukrainian minister who would have me.
I visited with American diplomats at the U.S. embassy just before they became entangled in the impeachment of President Donald Trump. On the day I visited, they were overwhelmed by Russia’s latest disinformation campaign: Russian trolls had been inundating Facebook pages frequented by young Ukrainian mothers with anti-vaccination propaganda. This, as the country reeled from the worst measles outbreak in modern history. Ukraine now had one of the lowest vaccination rates in the world and the Kremlin was capitalizing on the chaos. Ukraine’s outbreak was already spreading back to the States, where Russian trolls were now pushing anti-vaxxer memes on Americans. American officials seemed at a loss for how to contain it. (And they were no better prepared when, one year later, Russians seized on the pandemic to push conspiracy theories that Covid-19 was an American-made bioweapon, or a sinister plot by Bill Gates to profit off vaccines.) There seemed no bottom to the lengths Russia was willing to go to divide and conquer.
But that winter of 2019, most agreed that NotPetya was the Kremlin’s boldest work to date. There was not a single person I met in Kyiv over the course of those two weeks who did not remember the attack. Everyone remembered where they were and what they were doing the moment the screens went dark. It was their twenty-first-century Chernobyl. And at the old nuclear plant, some ninety miles north of Kyiv, the computers went black, black, black,
Sergei Goncharov, Chernobyl’s gruff tech administrator, told me.
Goncharov was just returning from lunch when the clock struck 1:12 P.M., and twenty-five hundred computers went dark over the course of seven minutes. Calls started flooding in; everything was down. As Goncharov tried to get Chernobyl’s networks back up, he got the call that the computers that monitored radiation levels—over the very same site of the blast more than three decades earlier—had gone dark. Nobody knew if the radiation levels were safe, or if they were being sabotaged in some sinister way.
In the moment, we were so consumed with making our computers work again that we didn’t think too much about where this was coming from,
Goncharov told me. But once we pulled up our heads and saw the sheer speed with which the virus had spread, we knew we were looking at something bigger, that we were under attack.
Goncharov got on a loudspeaker and told anyone who could still hear him to rip their computers out of the wall. He instructed others to go out and manually start monitoring the radiation levels atop the Nuclear Exclusion Zone.
Goncharov was a man of few words. Even as he described the worst day of his life, he spoke in monotone. He was not one prone to loud emotion. But the day of the NotPetya attack, he told me, I went into psychological shock.
Two years later, I could not tell if he’d come out of it.
We are now living in a totally different era,
he told me. There is now only Life before NotPetya and Life after NotPetya.
Everywhere I went in Ukraine over the course of those two weeks, Ukrainians felt the same. At a bus stop, I met a man who was in the midst of buying a car when the dealership turned him away—a first in used car sales history?—after the registration systems shut down. At a coffee shop I met a woman whose livelihood, a small online knitting supply shop, went bankrupt after the postal service lost track of her packages. Many shared tales of running out of cash or gas. But for the most part, like Goncharov, they all just remembered the sheer speed at which everything went down.
Given the timing—on the eve of Ukraine’s Independence Day—it didn’t take long to connect the dots. It was that old, bitter scoundrel, Mother Russia, messing with them again. But the Ukrainians are a resilient bunch. Over twenty-seven years of tragedy and crises, they’d coped with a dark humor. Some joked that with everything down, Vova—their nickname for Putin—had tacked a few extra days onto their Independence Day holiday. Others said the attack was the only thing that had gotten them off Facebook in years.
For all the psychological shock and financial cost of the events that June 2017, Ukrainians seemed to recognize that things could have been a lot worse. Front office systems were badly damaged. Important records would never be retrieved. But the attack had stopped short of the kind of deadly calamity that could derail passenger jets and planes or ignite a deadly explosion of some kind. Beyond the radiation monitors at Chernobyl, Ukraine’s nuclear stations were still fully operational.
Moscow had pulled some punches in the end. Like the earlier power-grid attacks before it—when the lights went off just long enough to send a message—the damage from NotPetya was immeasurably low compared to what Russia could have done, with the access it had and the American weapons at its disposal.
Some surmised that Russia had used the NSA’s stolen arsenal to thumb its nose at the agency. But the Ukrainian security experts I spoke with had a disturbing alternate theory: the NotPetya attack, and the power-grid attacks before it, were just a dry run.
This is what Oleh Derevianko, the blond Ukrainian cybersecurity entrepreneur, told me one evening over vareniki dumplings in aspic, Ukrainian meat encased in some kind of fatty Jell-O. Derevianko’s firm had been on the front lines of the attacks. Over and over again, the forensics showed that the Russians were just experimenting. They were employing a cruel version of the scientific method: testing one capability here, one method there, honing their skills in Ukraine, demonstrating to their Russian overlords what could be done, earning their stripes.
There was a reason that the NotPetya attack was so destructive, why it wiped 80 percent of Ukraine’s computers clean, Derevianko told me. They were just cleaning up after themselves. These are new weapons in a new war. Ukraine was just their testing ground. How do they plan to use their weapons in the future? We don’t know.
But the country had not had a cyberattack of that magnitude in two years, and although there was some evidence that Russia was planning to interfere in Ukraine’s 2019 elections in two short weeks, the wave of cyber destruction had slowed to a trickle.
That means they’ve moved on,
he said.
We poked at our meat Jell-O in silence, got the check, and ventured outside. For the first time, it seemed, the violent windstorms had subsided. Even so, the typically lively cobblestone streets of Old Kyiv were empty. We walked up Andrew’s Descent, Kyiv’s equivalent of Paris’s Montmartre, a famous narrow, winding cobblestone slope, past art galleries, antique shops, and art studios toward St. Andrew’s Church, a glimmering white, blue, and gold vision originally designed as a summer residence for the Russian empress Elizabeth in the 1700s.
As we reached the church, Derevianko stopped. He looked up at the yellow glow of the lamppost above us.
You know,
he began, if they switch off the lights here, we might be without power for a few hours. But if they do the same to you …
He didn’t finish his sentence. But he didn’t have to. I’d already heard the same, over and over again, from his countrymen and my sources back in the United States.
We all knew what came next.
What had saved Ukraine is precisely what made the United States the most vulnerable nation on earth.
Ukraine wasn’t fully automated. In the race to plug everything into the internet, the country was far behind. The tsunami known as the Internet of Things, which had consumed Americans for the better part of the past decade, had still not washed up in Ukraine. The nation’s nuclear stations, hospitals, chemical plants, oil refineries, gas and oil pipelines, factories, farms, cities, cars, traffic lights, homes, thermostats, lightbulbs, refrigerators, stoves, baby monitors, pacemakers, and insulin pumps were not yet web-enabled.
In the United States, though, convenience was everything; it still is. We were plugging anything we could into the internet, at a rate of 127 devices a second. We had bought into Silicon Valley’s promise of a frictionless society. There wasn’t a single area of our lives that wasn’t touched by the web. We could now control our entire lives, economy, and grid via a remote web control. And we had never paused to think that, along the way, we were creating the world’s largest attack surface.
At the NSA—whose dual mission is gathering intelligence around the world and defending U.S. secrets—offense had eclipsed defense long ago. For every hundred cyberwarriors working on offense, there was only one lonely analyst playing defense. The Shadow Brokers leak was by far the most damaging in U.S. intelligence history. If Snowden leaked the PowerPoint bullet points, the Shadow Brokers handed our enemies the actual bullets: the code.
The biggest secret in cyberwar—the one our adversaries now know all too well—is that the same nation that maintains the greatest offensive cyber advantage on earth is also among its most vulnerable.
Ukraine had another edge on the USA: its sense of urgency. After five years of getting beat up and blacked out by one of the world’s greatest predators, Ukraine knew that its future depended on a vigilant cyber defense. NotPetya had in many ways been a chance to start over, to build new systems from the ground up, and to keep Ukraine’s most critical systems from ever touching the web. In the weeks after I left the country, Ukrainians would cast their vote in the presidential election on paper. There would be no fancy ballot-marking machines; every vote would be marked by hand. Paper ballots would be counted manually. Of course, that wouldn’t stop allegations of nationwide vote-buying. But the idea of migrating Ukraine’s elections to computers struck everyone I met during my time there as pure insanity.
Over and over again, the United States failed to reach the same sobering conclusions. We failed to see that the world of potential war has moved from land to sea to air to the digital realm. A few months after I left Ukraine, it wasn’t the Russian attacks in Ukraine that stuck in Americans’ memory, but the country’s role in Trump’s looming impeachment. We seemed to have somehow forgotten that, in addition to Russia’s disinformation campaign in 2016—the dumping of Democratic emails, the Russians who posed as Texan secessionists and Black Lives Matter activists to sow discord—they had also probed our back-end election systems and voter registration data in all fifty states. They may have stopped short of hacking the final vote tallies, but everything they did up to that point, American officials concluded, was a trial run for some future attack on our elections.
And yet, Trump was still blaming Russian interference in the 2016 election on, alternately, a four-hundred-pound hacker on his bed and China. With Putin grimacing merrily by his side at a press conference in Helsinki in 2018, Trump not only snubbed the findings of his own intelligence community—I have President Putin; he just said it’s not Russia. I will say this, I don’t see any reason why it would be
—but welcomed Putin’s offer to allow Russia to join the U.S. hunt for its 2016 meddlers. And with the next election steadily approaching, Putin and Trump met once more, this time in Osaka in June 2019, where they chuckled together like old college buddies. When a reporter asked Trump if he would warn Russia not to meddle in 2020, Trump sneered and waved his finger jovially at his friend: Don’t meddle in the election, President.
And now here we are. As of this writing, the 2020 election is still being litigated, foreign actors have seized on our domestic chaos, our cyberweapons have leaked, with Russian hackers inside our hospitals, the Kremlin’s agents deep in the American grid, determined attackers probing our computer networks millions of times a day, fighting a pandemic that has virtualized our lives in ways previously unimaginable, and more vulnerable to the kind of Cyber Pearl Harbor
attacks security experts warned me about for seven tumultuous years.
Back in Kyiv, the Ukrainians wouldn’t let me forget it. They stopped just short of grabbing me by the ears and screaming You’re next!
The warning lights were blinking red once again. And we were no more enlightened than we were the last go-around.
If anything, we were more exposed. Worse, our own cyberweapons were coming for us. The Ukrainians knew it. Our enemies certainly knew it. The hackers had always known it.
This is how they tell me the world ends.
PART I
Mission Impossible
Be careful. Journalism is more addictive than crack cocaine. Your life can get out of balance.
—DAN RATHER
CHAPTER 1
Closet of Secrets
Times Square, Manhattan
I was still covered in dust when my editors told me to surrender my devices, take an oath of silence, and step into Arthur Sulzberger’s storage closet in July of 2013.
Just days earlier I’d been driving across the Maasai Mara in an open jeep, wrapping up a three-week trek across Kenya. I had hoped a few weeks off the grid would help repair nerves frayed by two years covering cyberterrorism. My sources kept insisting that this was just the beginning—that things would only get worse.
I was only thirty then, but already felt the immense burden of my assigned subject. When I got the call to join the New York Times in 2010, I was writing magazine cover stories from Silicon Valley about venture capitalists who, by sheer luck or skill, had invested early in Facebook, Instagram, and Uber and were now all too aware of their celebrity status. The Times had caught notice and was interested in hiring me, only for a different beat. "You’re the Times, I told them.
I’ll cover anything you want me to cover. How bad could it be?" When they told me they were considering me for the cybersecurity beat, I was sure they were joking. Not only did I not know anything about cybersecurity, I had actively gone out of my way to not know anything about cybersecurity. Surely they could find cybersecurity reporters who were more qualified.
We interviewed those people,
they told me. We didn’t understand anything they were saying.
A few short months later, I found myself in a dozen half-hour interviews with senior editors at Times headquarters, trying not to let my panic show. When the interviews wrapped up that evening, I marched across the street to the nearest bodega, bought the cheapest twist-cap wine I could find, and chugged it straight from the bag. I told myself that one day I would at least be able to tell my grandchildren that the holy New York Times had once invited me into the building.
But to my surprise, I was hired. And three years later I was still trying not to let my panic show. In those three years, I’d covered Chinese hackers as they infiltrated thermostats, printers, and takeout menus. I’d covered an Iranian cyberattack that replaced data at the world’s richest oil company with an image of a burning American flag. I’d watched as Chinese military hackers and contractors crawled through thousands of American systems in search of everything from plans for the latest stealth bomber to the formula for Coca-Cola. I’d covered an escalating series of Russian attacks on American energy companies and utilities. And I’d embedded with the Times’ own IT security team as the Chinese hacker we came to refer to as the summer intern
popped up on our networks each morning at 10:00 A.M. Beijing time and rolled out by 5:00 P.M. in search of our sources.
All the while I clung desperately to the idea that I could live a normal life. But the deeper I ventured into this world, the more I found myself adrift. Breaches happened around the clock. Weeks went by when I rarely slept; I must have looked ill. The unpredictable hours cost me more than one relationship. And it wasn’t long before the paranoia began to seep in. One too many times I caught myself staring suspiciously at anything with a plug, worried it was a Chinese spy.
By mid-2013 I was determined to get as far away as possible from anything to do with computers. Africa seemed like the only logical place. After three weeks of sleeping in tents, running with giraffes, and finishing each day with a sundowner in hand, watching the sun dip behind a slow-moving parade of elephants and, later, cozied by a campfire as my safari guide, Nigel, narrated each lion’s roar, I was just beginning to feel the salve of remoteness.
But when I arrived back in Nairobi, my phone resumed its incessant buzzing. Standing outside an elephant orphanage in Karen, Kenya, I took one last deep breath and scrolled through the thousands of unread messages in my inbox. One screamed louder than the others: Urgent. Call me.
It was my editor at the Times. Our connection was already spotty, but he insisted on whispering, burying his words in the din of the newsroom. "How quickly can you get to New York? … I can’t say over the phone … They need to tell you in person … Just get here."
Two days later I stepped out of an elevator onto the upper, executive floor at Times headquarters in tribal sandals I’d bought off a Maasai warrior. This was July 2013, and Jill Abramson and Dean Baquet—the then and very-soon-to-be executive editors of the Times—were waiting. Rebecca Corbett, the Times investigative editor, and Scott Shane, our veteran national security reporter, had been summoned as well. There were also three faces I did not yet recognize but would come to know all too well: James Ball and Ewen MacAskill from the British newspaper the Guardian and Jeff Larson from ProPublica.
James and Ewan relayed how days earlier, British intelligence officers had stormed the Guardian’s headquarters back in London and forced the newspaper to take drills and whirring blades to Snowden’s hard drives of classified secrets, but not before a copy had been smuggled to the New York Times. Together, Jill and Dean said Scott and I were to work alongside the Guardian and ProPublica to write two stories based off the leaks from Edward Snowden, the infamous NSA contractor who had removed thousands of classified documents from the agency’s computers before fleeing to Hong Kong, and later taking up exile in Moscow. Snowden had given his trove of classified secrets to Glenn Greenwald, a Guardian columnist. But we were reminded that day, Britain lacked the same free speech protections as the United States. Collaborating with an American paper, especially one with top First Amendment lawyers, like the New York Times, gave the Guardian some cover.
But first, the Guardian had rules. We were not to speak a word of the project to anyone. No fishing,
which meant that we were forbidden from searching the documents for keywords not directly related to our assignments. There would be no phones, no internet. Oh, and no windows.
That last bit proved particularly problematic. Italian architect Renzo Piano had designed the Times headquarters as a model of full transparency. The entire building—every floor, every conference room, every office—is encased in floor-to-ceiling glass, with the exception of one space: Arthur Sulzberger’s tiny storage closet.
This last demand struck me as absurdly paranoid, but the Brits were insistent. There was the possibility that the National Security Agency, its British counterpart, the Government Communications Headquarters (GCHQ), or some foreign something somewhere would shoot laser beams at our windows and intercept our conversations. The same GCHQ technicians who looked on as the Guardian smashed Snowden’s hard drives had told them so.
And so began my first taste of post-Snowden reality.
Day after day, for the next six weeks, I bid adieu to my devices, crawled into this strange, undisclosed semisecure location, wedged myself between Scott, Jeff, and the Brits, pored over top-secret NSA documents, and told no one.
To be honest, my reaction to the leaked NSA documents was probably very different from that of most Americans, who were shocked to discover that our nation’s spy agency was indeed spying. After three years of covering nonstop Chinese espionage, a big part of me was reassured to see that our own hacking capabilities far exceeded the misspelled phishing emails Chinese hackers were using to break into American networks.
Scott’s assignment was to write a sweeping account of the NSA’s capabilities. My assignment was more straightforward, but—given that I had no phone, no internet, and was forbidden from calling any sources—also insanely tedious: I was to find out how far the world’s top intelligence agencies had come in cracking digital encryption.
As it turned out, not very far. After several weeks of sorting through documents, it was becoming clear that the world’s digital encryption algorithms were—for the most part—holding up quite nicely. But it was also clear that the NSA didn’t need to crack those encryption algorithms when it had acquired so many ways to hack around them.
In some cases, the NSA was back-channeling with the international agencies that set the cryptographic standards adopted by security companies and their clients. In at least one case, the NSA successfully convinced Canadian bureaucrats to advocate for a flawed formula for generating the random numbers in encryption schemes that NSA computers could easily crack. The agency was even paying major American security companies, like RSA, to make its flawed formula for generating random numbers the default encryption method for widely used security products. When paying companies off didn’t do the trick, the NSA’s partners at the CIA infiltrated the factory floors at the world’s leading encryption chip makers and put backdoors into the chips that scrambled data. And in other cases still, the agency hacked its way into the internal servers at companies like Google and Yahoo to grab data before it was encrypted.
Snowden would later say he leaked the NSA data to draw the public’s attention to what he viewed as unlimited surveillance. The most troubling of his revelations seemed to be the NSA’s phone call metadata collection program—a log of who called whom, when, and how long they spoke—and the lawful interception programs that compelled companies like Microsoft and Google to secretly turn over their customer data. But for all the shock and outrage those programs churned up on cable television and on Capitol Hill, it was becoming apparent that Americans were missing something bigger.
The documents were littered with NSA claims that the agency's hackers had access to nearly every piece of commercial hardware and software on the market. The agency appeared to have acquired a vast library of ways into every major app, social media platform, server, router, firewall, antivirus software, iPhone, Android, BlackBerry, computer, and operating system.
In the hacking world, these invisible entry points have sci-fi names: they call them zero-days. Zero-day is one of those cyber terms like infosec and man-in-the-middle attack that security professionals throw around to make it all too easy for the rest of us to tune them out.
For the unindoctrinated: zero-days offer digital superpowers. They are a cloak of invisibility, and for spies and cybercriminals, the more invisible you can make yourself, the more power you will have. At the most basic level a zero-day is a software or hardware flaw for which there is no existing patch. They got their name because when a zero-day flaw is discovered, the good guys have had zero days to fix them. Like Patient Zero in an epidemic, everyone using the affected system is at risk until the software or hardware maker comes up with a defense. Until the vendor learns of the flaw in their system, comes up with a fix, disseminates its patch to users around the globe, and users run their software updates—Dear reader: run your software updates!—or swaps out, or otherwise mitigates, the vulnerable hardware, everyone who relies on that affected system is vulnerable.
Zero-days are the most critical tool in a hacker’s arsenal. A first-rate zero-day in Apple’s mobile software allows spies and hackers with the requisite skills to exploit it, to remotely break into iPhones undetected, and glean access to every minutiae of our digital lives. A series of seven zero-day exploits* in Microsoft Windows and Siemens’ industrial software allowed American and Israeli spies to sabotage Iran’s nuclear program. Chinese spies used a single Microsoft zero-day to steal some of Silicon Valley’s most closely held source code.
Finding a zero-day is a little like entering God mode in a video game. Once hackers have figured out the commands to exploit it, they can break into otherwise inaccessible systems and scamper around undetected until the day the underlying flaw is found and patched. Zero-day exploitation is the most direct application of the cliché Knowledge is power if you know how to use it.
Exploiting a zero-day, hackers can break into any system—any company, government agency, or bank—that relies on the affected software or hardware and drop a payload to achieve their goal, whether it be espionage, financial theft, or sabotage. It doesn’t matter if that system is fully patched. There are no patches for zero-days, until they are uncovered. It’s a little like having the spare key to a locked building. It doesn’t matter if you’re the most vigilant IT administrator on earth. If someone has a zero-day for a piece of software that runs on your computer system, and knows how to exploit it, they can use it to break in to your computers, unbeknownst to you, making zero-days one of the most coveted tools in a spy or cybercriminal’s arsenal.
For decades, as Apple, Google, Facebook, Microsoft, and others introduced more encryption to their data centers and customers’ communications, the only way to intercept unencrypted data was to break into someone’s device before its contents had been scrambled. In the process, zero-day exploits
became the blood diamonds of the security trade, pursued by nation-states, defense contractors, and cybercriminals on one side, and security defenders on the other. Depending where the vulnerability is discovered, a zero-day exploit can grant the ability to invisibly spy on iPhone users the world over, dismantle the safety controls at a chemical plant, or send a spacecraft hurtling into earth. In one of the more glaring examples, a programming mistake, a single missing hyphen, sent the Mariner 1—the first American spacecraft to attempt an exploration of Venus—off-course, forcing NASA to destroy its $150 million spacecraft 294 seconds after launch, or risk it crashing into a North Atlantic shipping lane or worse, a heavily populated city. In our virtual world, the equivalent of the missing-hyphen error was everywhere, hackers were exploiting them, and now I was seeing just how critical to our nation’s premier spies they had become. According to the descriptions littered before me, the NSA’s expansive catalog meant that they could break into and spy on devices when they were offline, or even turned off. The agency could skirt most anti-intrusion detection systems and turn antivirus products—the very software designed to keep spies and criminals out—into a powerful spy tool. The Snowden documents only alluded to these hacking tools. They did not contain the tools themselves, the actual code and algorithmic breakthroughs.
The tech companies weren’t giving the agency unlawful backdoors into their systems. When the first Snowden documents dropped, my sources at the nation’s top technology companies—Apple, Google, Microsoft, Facebook—swore up and down that, yes, they complied with legal requests for specific customer information, but no, they had never granted the NSA, or any other government agency for that matter, a backdoor to any of their apps, products, or software. (Some companies, like Yahoo, were later found to be going above and beyond to comply with lawful NSA requests.)
The NSA was searching for and honing its own zero-days inside the agency’s Tailored Access Operations (TAO) unit. But as I pored through the Snowden documents, it also became apparent that many of these zero-days and exploits were sourced from outside the agency too. The documents hinted at a lively outsourcing trade with the NSA’s commercial partners
and security partners,
though it never named names or spelled those relationships out in detail. There had long been a black market for cybercriminals looking to procure hacking tools off the dark web. But over the past few years, there were growing reports of a murky but legal gray market between hackers and government agencies, their zero-day brokers and contractors. Reporters had only scratched the surface. The Snowden documents confirmed the NSA played in it too, but like so many of Snowden’s leaks, the documents withheld critical context and detail.
I came back to the questions at the heart of this again and again. There were only two explanations that made any sense: either Snowden’s access as a contractor didn’t take him far enough into the government’s systems for the intel required, or some of the government’s sources and methods for acquiring zero-days were so confidential, or controversial, that the agency never dared put them in writing.
That closet would be my first real glimpse into the most secretive, highly classified, and invisible market on earth.
The storage closet made it impossible to think. After a month of arid African winds and open savanna, I was having an especially hard time without windows.
It was also becoming painfully clear that documents that would prove critical to our encryption story were missing from our trove. Early on in the project, James and Ewan had referenced two memos that laid out, in clear detail, the steps the NSA had taken to crack, weaken, and hack around encryption. But after weeks of searching, it was obvious that those memos were missing from our stash. The Brits conceded as much, and promised to retrieve them from Glenn Greenwald, the Guardian writer, who was now living in the jungles of Brazil.
We only had a slice of the documents Snowden had stolen. Greenwald had the entire trove—including the two memos the Brits told us were critical to our encryption story—but apparently he was holding them hostage. Greenwald was no fan of the New York Times—to put it mildly—and Ewen and James told us he was furious the Guardian had brought the Times into the project.
Greenwald was still reeling from a Times decision a decade earlier to delay publication of a 2004 story detailing how the NSA was wiretapping American phone calls without the court-approved warrants ordinarily required for domestic spying. The Times had held the story for a year after the Bush administration argued that it could jeopardize investigations and tip off suspected terrorists. Like Greenwald, Snowden was also furious with the Times for holding the story. That was the reason, Snowden said, that he had not brought the stolen NSA documents to the Times in the first place. He falsely assumed we’d sit on the trove or sit idly by as the government thwarted publication. So when Snowden and Greenwald learned that we had been brought into the project, James and Ewan told us, they were apoplectic.
James and Ewan assured us that Greenwald was more reasonable than the screeching mess of a man we saw on Twitter every day. But despite their repeated promises to fetch the missing memos from Greenwald’s Brazilian compound, it was clear that somebody was in no mood to share his toys.
It would be weeks