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

twitter.png
fb.png
linkedin.png
hackernews.png
reddit.png

 

Latest posts:

Nominations opened for sixth Péter Szőr Award

Virus Bulletin is seeking nominations for the sixth annual Péter Szőr Award.

Haroon Meer and Adrian Sanabria to deliver VB2019 closing keynote

New additions to the VB2019 conference programme include a closing keynote address from Thinkst duo Haroon Meer and Adrian Sanabria and a talk on attacks against payment systems.

Free VB2019 tickets for students

Virus Bulletin is excited to announce that, thanks to generous sponsorship from Google Android, we are able to offer 20 free tickets to students who want to attend VB2019.

VB2018 paper: Lazarus Group: a mahjong game played with different sets of tiles

The Lazarus Group, generally linked to the North Korean government, is one of the most notorious threat groups seen in recent years. At VB2018 ESET researchers Peter Kálnai and Michal Poslušný presented a paper looking at the group's various…

Book your VB2019 ticket now for a chance to win a ticket for BSides London

Virus Bulletin is proud to sponsor this year's BSides London conference, which will take place next week, and we have a number of tickets to give away.

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.