How Did Snowden Do It?
The full story of just how the now-infamous systems administrator Edward Snowden was able to grab highly classified documents from the world’s most secretive spy agency and expose its controversial spying practices may never be public, but some clues have emerged that provide a clearer picture of how the most epic insider leak in history may have transpired.
Snowden, the former Booz Allen contractor working as a low-level systems admin for the NSA at its Hawaii post, reportedly coerced several of his colleagues to provide him with their credentials, according to a report by Reuters late last week. He may have convinced up to 25 staffers at the NSA regional operations center there to hand over their usernames and passwords under the pretext that he needed them for his job, according to the report.
Meanwhile, General Keith Alexander, the director of the NSA, in June told the House Permanent Select Committee on Intelligence that Snowden had “fabricated digital keys” to gain access to information to which he wasn’t authorized. U.S. government officials reportedly told NPR that
Snowden’s responsibilities included moving highly sensitive documents off of NSA’s intranet site, and that the documents he leaked, including memos, PowerPoint presentations, reports, court orders and opinions, had been stored in a file-sharing sector of the intranet. That provided Snowden the cover he needed to siphon the files, according to the report.
Now security firm Venafi says it has figured out how it all went down: Snowden fabricated SSH keys and self-signed digital certificates to access and ultimately steal the NSA documents. And the company — which provides security for crypto keys and digital certs — is challenging the NSA and Snowden to prove its conclusion wrong. Snowden succeeded in stealing the documents, according to Venafi, because the NSA was unable to detect Snowden’s unauthorized access to, and ultimate exfiltration of, the information.
“He took his credentials with his CAC [Common Access Card] to get onto systems and as a systems admin, he had certain levels of privilege. From that basic platform, he was able to fabricate SSH [Secure Shell] keys that allowed him to jump to another system,” says Jeff Hudson, CEO of Venafi. “He got to other systems, got elevated privileges, targeted the data and used self-signed certificates in combination with SSH keys he fabricated to exfiltrate the data out of the NSA.”
Hudson says Venafi studied and analyzed all of the public revelations about the case, including Alexander’s mention of fabricated keys, connected the dots based on its own insight into attacks exploiting digital keys at global corporations, and gathered peer review from outside industry experts before publishing its conclusion today.
“We cross-referenced this with all we know about fabricating keys in organizations, and it points to one and only thing: fabricating SSH keys to jump to other systems. Then how did he exfiltrate the data? He used encryption. In his own interview, he said encryption is the best system when it’s well-managed and it’s not breakable,” Hudson says. “And because he had elevated privileges, he could actually cover his tracks.”
SSH, a cryptographic protocol for remote access and connection using an encrypted communications channel, is a key tool for systems admins.
What about the revelation that Snowden got his co-workers’ credentials? “That absolutely ties in with” our conclusion, says Kevin Bocek, vice president of product marketing and threat intelligence for Venafi. “Insiders don’t want to be discovered, and it does take some time to go ahead and research your target, find data and vulnerabilities you want to leverage.”
Bocek says when you log into someone else’s account, you can also get their SSH key and can potentially access their certificates. “Many enterprises and the NSA have systems to changes passwords, but they don’t change keys,” he says.
So far, none of the Snowden leaks have offered any additional details on how he accessed the sensitive NSA documents, but using others’ credentials indeed was a big jump he needed, experts say.
“I don’t think just having access would be enough to get in everything he ended up getting into or that we know he got into. It’s hard to speculate on that,” or on what exactly Alexander meant by “fabricating” keys, says Jared Thorkelson, president of DLP Experts. “But any way you slice this, it’s a failure to follow widely accepted best practices across the board. It’s just a total breakdown.”
Sharing among privileged and admin account holders is fairly commonplace. More than half of organizations surveyed earlier this year by CyberArk said their “approved” users share their admin and privileged account passwords.
Snowden’s social-engineering of his colleagues to get their credentials played off of an environment of trust. “Employees want to please their co-workers, so if he said, ‘hey, I need your help because I’ve gotta get something done’ … there a trust that can be taken advantage of,” says John Worrall, chief marketing officer at CyberArk.
“What’s troubling is there are a couple of basic tenets of security that you never want to screw around with, [including] you never share your credentials,” Worrall says. “The whole access control model is based on identity and then the access model is useless and it blows up.”
Worrall says between Snowden’s own credentials and that of his co-workers, he may well have had plenty of power to get the documents he pilfered. “Just that alone is a big enough problem that may have allowed him to do what he did,” he says.
Whether Snowden fabricated credentials isn’t clear, Worrall says. “It depends on what access those other users had,” he says. “You would also have the ability to manage the key vault encryption keys and things like that that would be a whole other level of access.”
Next: Getting the NSA to come clean