Feeds

How to marry malware to software downloads in an undetectable way (Hint: Please use HTTPS)

Boffins demo how traffic redirect can endanger code

Choosing a cloud hosting partner with confidence

Be thankful it's only a proof-of-concept of a hack: German researchers have shown that internet software distribution mechanisms can be turned into virus vectors, without modifying the original code.

The Ruhr University boffins – Felix Gröbert, Ahmad-Reza Sadeghi and Marcel Winandy – have developed an on-the-fly mechanism for injecting code into a download. As they write in their paper [PDF] hosted at PacketStorm:

“Our algorithm deploys virus infection routines and network redirection attacks, without requiring to modify the application itself. This allows to even infect executables with a embedded signature when the signature is not automatically verified before execution.”

They use what they call a binder to concatenate the original application and the malicious code. “Upon starting the infected application the binder is started. It parses its own file for additional embedded executable files, reconstructs and executes them, optionally invisible for the user,” they write.

Since the application is intact, “one can attach malware even to an executable with a embedded signature and still succeed to execute the malware under certain circumstances”.

The two components of the proof-of-concept are called Cyanid (to fetch, modify and filter the HTTP downloads) and Calcium, the binder that infects the binaries.

A successful attack depends most of all on the ability to redirect traffic, as shown below.

Ruhr University's malware architecture

Traffic redirection plus malware injection equals trouble. Image: Ruhr University

Governments, the paper notes, could be in a position to exploit network nodes between a sender and receiver to hijack the traffic (or, for that matter, vulnerable routers could be exploited to the same end).

To mitigate against such attacks, the researchers say, software distributors need to tighten up their delivery mechanisms, to defend against traffic hijacks. OpenVPN, IPSec or HTTPS would help here, they state, provided one can trust the certificate chain.

Presumably, cryptographic code-signing would work too, again if the necessary certificates involved can be reliably obtained and verified as authentic.

Providing, say, a SHA-256 digest of the download isn't much help though, they suggest, because while the user or OS could check against a hash, “the reference values would have to be obtained through a trusted channel” – which may not be available. Users would have to get hold of a valid hash some other way, which isn't convenient.

Antivirus software could be modified to check for binder behaviour, they add, and “trusted virtualisation” architectures could also help, since the secure, verifiable boot process helps isolate critical applications. ®

Beginner's guide to SSL certificates

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
Carders punch holes through Staples
Investigation launched into East Coast stores
Kill off SSL 3.0 NOW: HTTPS savaged by vicious POODLE
Pull it out ASAP, it is SWISS CHEESE
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.