October 16, 2015 By David Strom 2 min read

A great deal of modern malware makes use of what is called polymorphic techniques. TechTarget defines the term as something that frequently changes attack states or uses different file names, hashes or signatures to encrypt or otherwise hide its code so as to avoid detection and eradication.

The Shifu Trojan may be a new beast, for example, but its inner workings are not entirely unfamiliar. The malware relies on a few tried-and-true Trojan mechanisms from other infamous crimeware codes. It appears that Shifu’s internal makeup was composed by savvy developers who are quite familiar with other banking malware, dressing Shifu with select features from the more nefarious of the bunch.

In the past, anti-malware programs would scan for particular signatures or simple behaviors. That isn’t good enough anymore, given all the evasive maneuvers that the latest malware writers are using. Take the example of the sophisticated Angler exploit kit, which targets the vulnerabilities found in plain HTML, JavaScript, Flash and Silverlight and frequently modifies to evade detection. Other infections hide their intent and only show their hand when they decrypt their code and run exploits.

Turning the Tables

But now the good guys are turning the tables and employing some of the same kinds of polymorphic evasive techniques as protective measures. This is gaining interest since a number of vendors are using these techniques to keep malware from infecting endpoints. Just as the attackers rely on particular operating system and device weaknesses, the same knowledge can be used to harden these systems.

The techniques originally were called a “moving target defense” by several academics who held a conference last November in Arizona and presented several papers on the subject. Since then, vendors have been working on commercial polymorphic defenses.

Shape Security offered an illustration of how its Botwall service alters the underlying HTML code of a Web page so that it is constantly changing, all with no discernible pattern and lacking the typical coding constructs that one would expect. It shows a simplified login form, and the software tool replaces certain attributes with random strings. “The resulting code breaks malware, bots or other attacks programmed to submit that form, but renders identically to the original form,” the site stated.

The Hunt for Polymorphic Malware

Other vendors are looking specifically for polymorphic malware by digging deeper into the operating systems that they protect. For example, Trusteer Apex Advanced Malware Protection can prevent zero-day exploitation attempts, malware deployment and malicious communications from an infected bot. Similarly, a newer tool like Cylance Protect assumes that every malware will be a zero-day entity and looks for typical behaviors such as privilege escalation or running processes from within a browser page as part of its procedures.

It is still too early to determine if these defensive products can stay ahead of the bad guys. But turnabout is truly fair play, and it is interesting to see these solutions appear in the marketplace.

More from Advanced Threats

Phishing kit trends and the top 10 spoofed brands of 2023

4 min read -  The 2024 IBM X-Force Threat Intelligence Index reported that phishing was one of the top initial access vectors observed last year, accounting for 30% of incidents. To carry out their phishing campaigns, attackers often use phishing kits: a collection of tools, resources and scripts that are designed and assembled to ease deployment. Each phishing kit deployment corresponds to a single phishing attack, and a kit could be redeployed many times during a phishing campaign. IBM X-Force has analyzed thousands of…

Grandoreiro banking trojan unleashed: X-Force observing emerging global campaigns

16 min read - Since March 2024, IBM X-Force has been tracking several large-scale phishing campaigns distributing the Grandoreiro banking trojan, which is likely operated as a Malware-as-a-Service (MaaS). Analysis of the malware revealed major updates within the string decryption and domain generating algorithm (DGA), as well as the ability to use Microsoft Outlook clients on infected hosts to spread further phishing emails. The latest malware variant also specifically targets over 1500 global banks, enabling attackers to perform banking fraud in over 60 countries…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today