Feeds

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

Boffins demo how traffic redirect can endanger code

Protecting against web application threats using SSL

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. ®

Reducing the cost and complexity of web vulnerability management

More from The Register

next story
Infosec geniuses hack a Canon PRINTER and install DOOM
Internet of Stuff securo-cockups strike yet again
Apple Pay is a tidy payday for Apple with 0.15% cut, sources say
Cupertino slurps 15 cents from every $100 purchase
Israeli spies rebel over mass-snooping on innocent Palestinians
'Disciplinary treatment will be sharp and clear' vow spy-chiefs
YouTube, Amazon and Yahoo! caught in malvertising mess
Cisco says 'Kyle and Stan' attack is spreading through compromised ad networks
Hackers pop Brazil newspaper to root home routers
Step One: try default passwords. Step Two: Repeat Step One until success
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
Microsoft to patch ASP.NET mess even if you don't
We know what's good for you, because we made the mess says Redmond
NORKS ban Wi-Fi and satellite internet at embassies
Crackdown on tardy diplomatic sysadmins providing accidental unfiltered internet access
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.