Malware Analysis Sandbox Testing Methodology

  • Zoltan Balazs MRG Effitas


Manual processing of malware samples became impossible years ago. Sandboxes are used to automate the analysis of malware samples to gather information about the dynamic behaviour of the malware, both at AV companies and at enterprises. Some malware samples use known techniques to detect when it runs in a sandbox, but most of these sandbox detection techniques can be easily detected and thus flagged as malicious. I invented new approaches to detect these sandboxes. I developed a tool, which can collect a lot of interesting information from these sandboxes to create statistics how the current technologies work. After analysing these results I will demonstrate tricks to detect sandboxes. These tricks can’t be easily flagged as malicious. Some sandboxes don’t not interact with the Internet in order to block data extraction, but with some DNS-fu the information can be extracted from these appliances as well.


[1] N. Rin, EP_XOFF, Virtual Machines Detection Enhanced, 2013,

[2] Michael Boman, Making Virtualbox nearly undetectable, 2014

[3] William Metcalf, Cuckoo building scripts, 2015,

[4] Jurriaan Bremer, "VMCloak, a tool for automatically creating and configuring Virtual Machines for Cuckoo Sandbox", 2015,

[5] VirtualBox Anti-AntiVM, 2014,

[6] Peter Kleissner, AVTracker,

[7] SpiderLabs Research, Magnitude Exploit Kit Backend Infrastructure Insight - Part II, 2014,

[8] Christian Amman, Hyperion: Implementation of a PE-Crypter, Nullsecurity, 2012,

[9] James Wyke, Duping the machine - malware strategies, post sandbox detection, 2015,

[10] Ben Baker, Alex Chiu, Threat Spotlight: Rombertik – Gazing Past the Smoke, Mirrors, and Trapdoors, 2015,

[11] Kaspersky Labs' Global Research & Analysis Team, Animals in the APT Farm, 2015,

[12] Joe Giron, Bypassing FireEye, ToorCon 15,

[13] Th4nat0s, No_Sandboxes,

[14] hfiref0x, VBoxHardenedLoader,
How to Cite
BALAZS, Zoltan. Malware Analysis Sandbox Testing Methodology. The Journal on Cybercrime & Digital Investigations, [S.l.], v. 1, n. 1, jan. 2016. ISSN 2494-2715. Available at: <>. Date accessed: 25 june 2017. doi:
Conference short papers