Timing-based evasion is a technique used by malware to avoid detection by controlling when its harmful code runs. Automated analysis tools usually observe a suspicious file in a security sandbox for only a few minutes. Malware that sleeps for a long period, waits for a particular date, or acts only after signs of genuine use, such as mouse movement or a number of reboots, can appear harmless during that window and pass the check.
Related tricks include measuring how long instructions take to run, which can reveal an emulated environment, and splitting delays into many short pauses, a pattern also called a stalling delay. Defenders respond by accelerating clocks in sandboxes, watching for unusual sleep calls and relying on behaviour monitoring on the device itself. The technique is common in information-stealing and wallet-stealing malware and in banking trojans, where staying hidden until a user opens a financial account or crypto wallet is the whole aim.
Ref 1140000194