Feeds

That earth-shattering NSA crypto-cracking: Have spooks smashed RC4?

Ageing cipher at heart of HTTPS and VPNs fingered by experts

Securing Web Applications Made Simple and Scalable

Analysis Fresh revelations from whistleblower Edward Snowden suggest that the NSA can crack TLS/SSL connections, the widespread technology securing HTTPS websites and virtual private networks (VPNs).

Although reports from the New York Times and its allied publications held off on the specifics, it may all mean that US spooks can reliably crack RC4, a popular encryption cipher, security experts fear.

As reported last night, the NSA and GCHQ are able to foil basic safeguards that supposedly ensure privacy on the web, allowing spooks to peek inside the encrypted contents of VPN traffic, online banking and shopping, and more. No wonder Blighty's intelligence agents shrugged off Brits' attempts to hide their data in SSL.

The UK and US governments can probably compromise HTTPS connections by gaining access to the root certificates and encryption keys, exploiting backdoors in equipment and algorithms, or otherwise allow the signals intelligence agencies to run man-in-the-middle attacks on encrypted traffic. GCHQ is alleged to have broken the security on some 30 VPN systems, and has plans to get into 300 by 2015.

The NSA's highly classified Bullrun programme allows the agencies to inspect data sniffed from submarine cables, and might involve, at least in part, collaboration with unnamed technology companies.

Tough ciphers, such as 256-bit AES, remain unbroken by the g-men, it's hoped. Snowden himself famously said "encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on".

What the NSA appears to have done is circumvent or nobble the software and hardware that underpin widely used encryption systems, rather than all-out breaking the mathematical foundations of modern-day cryptography.

However, the agency's unspecified "groundbreaking cryptanalytic capabilities" could include a practical attack on RC4.

"Most major SSL-enabled websites use RC4, which was designed in 1987. This NSA crypto story should be a wake up call for the tech industry," said Christopher Soghoian, principal technologist and senior policy analyst at the ACLU in an update to his personal Twitter account.

Encryption guru Bruce Schneier concurred that an attack against RC4 was at least a more than plausible theory. "I don't know one way or the other, but that's a good speculation," Schneier said in blog post.

RC4 is an ageing but still widely used stream cipher that's often used as a component of Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols of HTTPS to protect sensitive web traffic from snooping. Security researchers have shown data encrypted by the algorithm can be carefully analysed to silently extract information, such as an authentication cookie used to log into a victim's Gmail account.

An attack develop by security researchers at Royal Holloway, University of London and University of Illinois at Chicago and unveiled back in March relies on statistical flaws in the keystream generated by the RC4 algorithm. It relies on getting a victim to open a web page containing malicious JavaScript code that repeatedly tries to log into Google's Gmail, for example. This allows an attacker to get hold of a bulk of traffic needed to perform cryptanalysis.

This particular attack requires at least 16,777,216 captured sessions but it's easy to imagine that code breakers at the NSA and GCHQ are far further ahead of the game and have come up with a far more elegant, and therefore practical, attack.

RC4 was invented by Ron Rivest in 1987. Various attacks have been developed against RC4, allowing determined hackers to break the encryption, but the technology is still widely used - it's also used in Wi-Fi WEP protection.

It's understood about 50 per cent of all TLS traffic is protected using RC4 and its use is, if anything, growing after the discovery of various attacks (including BEAST and Lucky 13) against Cipher-block Chaining (CBC), a mode of encryption used by TLS.

Mobile application security vulnerability report

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you on YouPorn lately, perhaps? White House website?
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
British data cops: We need greater powers and more money
You want data butt kicking, we need bigger boots - ICO
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.