Program turns anti-analysis tools against the malware

Posted by   Virus Bulletin on   May 14, 2013

Users cautioned to be wary of a false sense of security.

Could you defeat VM-aware malware by making your system aware of VM-aware malware?

Tricks to frustrate researchers and make automatic analysis more difficult are a common feature of today's malware. One such trick is to make the malware 'VM-aware': it won't run if it detects that it is being executed in a virtual environment.

Two researchers at Rapid7, the company behind the Metasploit tool, have attempted to turn this trick on its head and use it against the malware. They have written a small proof-of-concept program that creates a number of registry keys, files and directories and starts some processes - all of which make it look as if the machine on which the program is running is, in fact, a virtual environment and that a popular debugger is being used.

While, as the researchers readily admit, this is by no means a new idea, it is a nice one and could work against many of the larger malware outbreaks. It is part of the general idea of 'security through obscurity', which also includes running services on non-standard ports, or using non-default directory names for web tools like WordPress. If the obscurity is performed well enough, it could work against many automated threats.

But one should be wary of a false sense of security: malware would work just as well without the anti-analysis functionality. Malware authors may also start to include checks for tools like the one created by the researchers.

Cryptography experts commonly refer to Kerckhoff's principle: the idea that a cryptographic system should be secure, even if everything about it (except for the key) is known to the attacker. This applies here as well: the tools could prevent some malware from infecting your machine, and that would of course be a good thing, but you should still act as if you are just as vulnerable.

Posted on 14 May 2013 by Martijn Grooten



Latest posts:

VB2019 paper: APT cases exploiting vulnerabilities in region-specific software

At VB2019, JPCERT/CC's Shusei Tomonaga and Tomoaki Tani presented a paper on attacks that exploit vulnerabilities in software used only in Japan, using malware that is unique to Japan. Today we publish both their paper and the recording of their…

New paper: Detection of vulnerabilities in web applications by validating parameter integrity and data flow graphs

In a follow-up to a paper presented at VB2019, Prismo Systems researchers Abhishek Singh and Ramesh Mani detail algorithms that can be used to detect SQL injection in stored procedures, persistent cross-site scripting (XSS), and server‑side request…

VB2020 programme announced

VB is pleased to reveal the details of an interesting and diverse programme for VB2020, the 30th Virus Bulletin International Conference.

VB2019 paper: Cyber espionage in the Middle East: unravelling OSX.WindTail

At VB2019 in London, Jamf's Patrick Wardle analysed the WindTail macOS malware used by the WindShift APT group, active in the Middle East. Today we publish both Patrick's paper and the recording of his presentation.

VB2019 paper: 2,000 reactions to a malware attack – accidental study

At VB2019 cybercrime journalist and researcher Adam Haertlé presented an analysis of almost 2000 unsolicited responses sent by victims of a malicious email campaign. Today we publish both his paper and the recording of his presentation.

We have placed cookies on your device in order to improve the functionality of this site, as outlined in our cookies policy. However, you may delete and block all cookies from this site and your use of the site will be unaffected. By continuing to browse this site, you are agreeing to Virus Bulletin's use of data as outlined in our privacy policy.