Russian cyberweapons cross-pollinating commercial malware, analysis claims

'Gyges' malware shows ominous mixing of forms

Sophisticated code of the sort used in Russian Government cyberweapons could be seeping into the commercial malware wielded by the country's criminals, a security firm has suggested after analysing the apparent cross-pollination in a previously unknown piece of malware called 'Gyges'.

Frustratingly, US security startup Sentinel Labs doesn't say where it encountered Gyges nor whom it was targeting, simply that it first encountered it in March 2014.

Gyges is certainly an oddity, showing a gap between the sophisticated code that allows it to bypass defences - the bit Sentinel ascribes to a possible government programme - and the more quick and dirty executable that directs the payload.

The clue is in the relatively complex and arcane techniques used by Gyges to beat sandboxing and security products that run or 'emulate' suspected malware to see what it does. It also includes code that makes it harder to reverse engineer or debug some of its inner workings.

Other parts of the 'government code' carry out data theft, screen capturing, credential keylogging and eavesdropping on network traffic while the commercial element of the programme executes ransomware, botnetting and online bank fraud.

How does the firm know the evasion code was used in government cybwerweapons? The firm doesn't go into much detail but says it detected it in previous targeted attacks, code for small-scale attacks carried out against specific organisations or individuals. It is also inference; no commercial malware would have access to such sophisticated mechanisms or would go to such lengths to use obscure, almost experimental techniques.

Gyges further uses what the firm calls a hooking bypass 'logic bug' in Windows 7 and 8, the sort of unusual exploit normally jealously guarded by the need-to-knows who write government malware.

If the analysis stands up - and the evidence presented by Sentinel Labs is still a bit thin - Russian Government malware has somehow escaped to be used by commercial malware writers, a slightly worrying trend although one that has long been predicted by security experts.

The implication is that the Russians outsource at least part of their cyberweapon development to commercial malware writers. If so, it's hard to believe they would be pleased that some of it has now turned up in a criminal campaign because government malware needs absolute secrecy to do its job.

"It comes as no surprise to us that this type of intelligence agency-grade malware would eventually fall into cybercriminals' hands," wrote Sentinel Labs research head, Udi Shamir.

"Gyges is an early example of how advanced techniques and code developed by governments for espionage are effectively being repurposed, modularized and coupled with other malware to commit cybercrime."

Russian state malware is still fairly poorly understood, drowned out by the raging fuss over alleged Chinese state attacks on US organisations. This seems to be part of the general dismissal of Russia as an opponent worth worrying about; the West, it seems, just doesn't rate Russia as a cyber-power.

This is starting to look pretty complacent. Evidence of fairy sophisticated attacks from within Russia has trickled out in recent months, in particular the 'Snake' (aka 'Turla' or 'Uroburos') malware that has been traced back as far as 2005. If the Russians have been hard at it in the cyberweapon stakes, their campaigns are not a new phenomenon.

Interestingly, earlier this month Finnish security firm F-Secure published an analysis of another piece of malware called Cosmu, which it suggested could be a Russian cyberweapon that had re-used ancient code from a commercial Trojan.

The inter-mixing of money-making malware and cyberweapons might, in fact, we quite well advanced without that being apparent until now.

Whether this matters is moot. If criminals can access advanced techniques then that makes them more potent. But if criminals can access advanced malware then that reduces the impact of government-level atttacks because they will be detected earlier.

Join the CSO newsletter!

Error: Please check your email address.

Tags Personal TechsecuritySentinel Labs

More about F-SecureWest

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by John E Dunn

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts