When Malware Plays Dead: Why Content Reconstruction Matters Before Detonation
FileDNA Research · September 2026 · 8 min read
Modern malware increasingly checks whether it is running inside a sandbox before exposing its real behavior. It may inspect virtualization artifacts, measure execution timing, wait for believable user activity, or even analyze the geometry of mouse movements. If the environment appears artificial, the malware remains dormant — leaving a dangerous ambiguity behind: did the sandbox receive a harmless file, or did the malware recognize the analysis environment and deliberately play dead?
A documented, resurgent technique — not a hypothetical
The LummaC2, an information-stealer that samples five consecutive cursor positions and runs the results through Euclidean-distance and angle checks to tell real hand movement from a scripted replay, and Blitz, which races two threads against each other and reads CPUID timing to catch the overhead a hypervisor adds — alongside more conventional checks of processor count, screen resolution, and known sandbox drivers is tracking by as T1497, Virtualization/Sandbox Evasion, split into three sub-techniques that map directly onto the examples above: T1497.001, System Checks, T1497.002, User Activity Based Checks, and T1497.003, Time Based Checks. It is also not a fringe pattern: Picus Security’s Red Report 2026 places T1497 back at the fourth most commonly observed ATT&CK technique industry-wide, after two straight years absent from the top ten — a resurgence, not a novelty.
More than one way to play dead
Mouse geometry and CPU timing are two entries in a much longer, well-documented catalog. The pattern goes back years and keeps getting more mathematically deliberate:
LummaC2
Samples cursor positions and checks Euclidean distance and angle between them — real movement has micro-curves and hesitation; scripted input doesn’t.
Blitz
Runs two threads in parallel and compares their timing, using CPUID and floating-point math to detect the overhead a hypervisor adds.
GuLoader
Plants 0xCC breakpoint-trap instructions and a custom exception handler that detects hardware or software breakpoints and kills the process before a debugger can step through it.
Lampion
Abuses the CPU’s single-bit trap flag: a hypervisor that mishandles single-step timing during a VM exit reveals itself by one instruction.
Kovter & Dyreza
Kovter delayed over 20 minutes on GetTickCount before acting; Dyreza read CPU core counts through the Process Environment Block to sniff out a resource-constrained sandbox.
Sazoora & Dridex
Sazoora checked for mouse movement years before LummaC2’s geometry test existed; Dridex inspected Most-Recently-Used registry keys for a plausible document history.
When the carrier itself does the checking
The two examples below matter most for FileDNA’s argument specifically, because the sandbox-detection logic and the malicious payload travel inside the same document — exactly the delivery shape FileDNA CADR is built to intercept.
A weaponized Office macro, documented by Zscaler, counted the victim’s Recently-Used-Files list — terminating if the count looked like a freshly imaged sandbox — and separately queried an IP-geolocation API, checking the result against known security-vendor and hosting-provider ranges. Only when both checks passed did the macro download its payload chain (Matsnu, then Nitol and Nymaim). Zscaler noted the same document-delivery pattern behind CryptoWall, Locky, Cerber, Dridex, Kasidet, Fareit, VawTrak, and Pony.
A Dridex campaign, documented by Proofpoint, went further inside a single Excel macro: checking for the Sandboxie analysis tool’s DLL, inspecting the hard-drive serial number, Windows product ID, executable filename, and username for known sandbox artifacts, and reading the hard drive’s hardware label for VMware, VirtualBox, or VirtualPC strings. Proofpoint’s point stands as well today as it did then: sandbox-evasion logic this deliberate had already become routine in high-volume phishing, not just targeted attacks.
In both cases, a sandbox that opened the file and watched nothing happen would have logged it as clean. Nothing was ever supposed to happen there.
FileDNA does not need the malware to cooperate
A behavioral sandbox must give a suspicious component an opportunity to execute and reveal itself. FileDNA CADR approaches the earlier delivery stage differently: it examines the structure and capabilities of the carrier without depending on the payload’s decision to run.
For supported documents, PDFs, archives, images, and other complex files, FileDNA can:
- Identify the file’s true format rather than trusting its name or extension.
- Recursively unpack nested and embedded content.
- Expose macros, scripts, executables, and other active components.
- Decode supported concealed or obfuscated content for analysis.
- Apply policy based on the file’s structural capabilities and anomalies.
- Remove or neutralize risky components and reconstruct a usable clean version.
A macro that counts recently-used files before deciding whether to run remains a macro containing that logic. An embedded executable that races two threads to fingerprint a hypervisor remains an embedded executable. A trap-flag check, a geolocation lookup, an Anubis artifact scan — each is a capability of the carrier, present in the file whether or not a sandbox ever coaxes it into running.
From behavioral verdicts to enforceable content trust
This does not mean FileDNA automatically proves that every extracted component is malicious. Its more important contribution is reducing dependence on that determination.
Instead of asking only:
“Did this file behave maliciously in our sandbox?”
FileDNA enables an earlier policy question:
“Does this file contain capabilities that should be allowed to reach the user or application at all?”
A quiet sandbox result can therefore become one piece of evidence — not an automatic declaration of safety. FileDNA can preserve the original and its extracted artifacts for deeper investigation while delivering a reconstructed version without the active content that created the risk.
Where FileDNA fits — and where it does not
FileDNA is most effective when malware or its loader arrives inside a supported content carrier: an Office document, PDF, archive, image, or similarly structured file. It can break the delivery chain before sandbox-aware code ever reaches a real endpoint.
It does not replace behavioral analysis, EDR, or bare-metal detonation. Runtime-only payloads, directly delivered native executables, memory-resident activity, and attacks that have already passed the file-delivery stage still require complementary controls.
The architectural lesson is straightforward:
Sandbox evasion attacks the defender’s ability to observe behavior.
CADR reduces the attacker’s opportunity to produce that behavior in the first place.
That gives FileDNA a credible role alongside sandboxes — not as another environment malware must be persuaded to trust, but as a preventive Content Security Layer that can inspect, constrain, and reconstruct the carrier before execution begins.
References
- Sila Ozeren Hacioglu, “When Malware Does Math: The Arms Race Between Sandboxes and Self-Aware Threats,” eSecurity Planet, August 28, 2026.
https://www.esecurityplanet.com/threats/when-malware-does-math-the-arms-race-between-sandboxes-and-self-aware-threats/ - “The New Turing Test: How Threats Use Geometry to Prove ‘Humanness,’” BleepingComputer, March 10, 2026.
https://www.bleepingcomputer.com/news/security/the-new-turing-test-how-threats-use-geometry-to-prove-humanness/ - MITRE ATT&CK, “T1497: Virtualization/Sandbox Evasion.”
https://attack.mitre.org/techniques/T1497/ - MITRE ATT&CK, “T1497.001: System Checks.”
https://attack.mitre.org/techniques/T1497/001/ - MITRE ATT&CK, “T1497.002: User Activity Based Checks.”
https://attack.mitre.org/techniques/T1497/002/ - MITRE ATT&CK, “T1497.003: Time Based Checks.”
https://attack.mitre.org/techniques/T1497/003/ - “Defeating GuLoader Anti-Analysis Technique,” Unit 42, Palo Alto Networks.
https://unit42.paloaltonetworks.com/guloader-variant-anti-analysis/ - “Evade Sandboxes With a Single Bit – the Trap Flag,” Unit 42, Palo Alto Networks.
https://unit42.paloaltonetworks.com/single-bit-trap-flag-intel-cpu/ - “Evolution of Malware Sandbox Evasion Tactics – A Retrospective Study,” McAfee Labs.
https://www.mcafee.com/blogs/other-blogs/mcafee-labs/evolution-of-malware-sandbox-evasion-tactics-a-retrospective-study/ - “Malicious Documents Leveraging New Anti-VM & Anti-Sandbox Techniques,” Zscaler ThreatLabz.
https://www.zscaler.com/blogs/security-research/malicious-documents-leveraging-new-anti-vm-anti-sandbox-techniques - “There’s a Macro in Your Sandbox,” Proofpoint Threat Insight.
https://www.proofpoint.com/us/threat-insight/post/Theres-a-Macro-in-your-Sandbox - “T1497: Virtualization/Sandbox Evasion Technique Explained” (Red Report 2026), Picus Security.
https://www.picussecurity.com/resource/blog/t1497-virtualization-sandbox-evasion-technique-explained

