Recently discovered variants of the Ursnif banking Trojan include anti-sandboxing features based on a combination of mouse position and file timestamps, while also attempting to steal data from the Thunderbird email client, Forcepoint security researchers reveal.
The Ursnif malware family has been around since at least 2013, mainly focused on stealing sensitive information from infected users, including passwords. Recent variants were observed testing various sandbox evasion techniques.
A newly observed Ursnif variant is being delivered through malicious emails that contain an encrypted Word document as attachment, with the plaintext password included in the email body. The malicious document contains several obfuscated VBS files designed to load malicious DLLs through Windows Management Instrumentation (WMI).
As soon as the attached document is decrypted, it shows three OLE document icons with the extension “docx” and lures users into double clicking them directly. These are, in fact, three identical VBS scripts that pack highly obfuscated code padded with a great deal of garbage scripts to cover up normal logic, the security researchers explain.
During the infection process, a DLL is dropped that was designed to self-check on integrity and then perform anti-sandboxing and anti-VM checks, implement persistence through an autorun registry key, and inject itself into the ‘explorer.exe’ process.
The anti-sandboxing algorithm in the new malware variant “uses the difference between the current and previous recorded mouse coordinates to detect mouse movement,” because mouse isn’t moved in sandbox environments. The generated value is then used to ‘brute force’ its own decryption key, Forcepoint explained.
The decryption key is a global constant used to decode APIs, a hidden PE file, synchronous objects, Registry data, URLs, and more, the security researchers explain. An additional embedded PE file (a 3rd DLL file) is extracted from the data section of the second DLL file, released to a temporary buffer, and injected into the ‘explorer.exe’ process.
The decoding operations are implemented at run time, meaning that memory analyzers won’t be able to dump the whole plaintext string stream of malware memory.
Related: Ursnif Banking Trojan’s Distribution Networks Exposed
Related: Ursnif Banking Trojan Uses New Sandbox Evasion Techniques

More from Ionut Arghire
- Google Temporarily Offering $180,000 for Full Chain Chrome Exploit
- Toyota Discloses New Data Breach Involving Vehicle, Customer Information
- Adobe Inviting Researchers to Private Bug Bounty Program
- Critical Vulnerabilities Found in Faronics Education Software
- Chrome 114 Released With 18 Security Fixes
- Spyware Found in Google Play Apps With Over 420 Million Downloads
- Millions of WordPress Sites Patched Against Critical Jetpack Vulnerability
- PyPI Enforcing 2FA for All Project Maintainers to Boost Security
Latest News
- Zero-Day in MOVEit File Transfer Software Exploited to Steal Data From Organizations
- Google Temporarily Offering $180,000 for Full Chain Chrome Exploit
- Russia Blames US Intelligence for iOS Zero-Click Attacks
- Toyota Discloses New Data Breach Involving Vehicle, Customer Information
- Cisco Acquiring Armorblox for Predictive and Generative AI Technology
- Moxa Patches MXsecurity Vulnerabilities That Could Be Exploited in OT Attacks
- Amazon Settles Ring Customer Spying Complaint
- Organizations Warned of Salesforce ‘Ghost Sites’ Exposing Sensitive Information
