A new variant of the Agent Tesla malware has been observed delivered via a lure file with the ZPAQ compression format to harvest data from several email clients and nearly 40 web browsers.
“ZPAQ is a file compression format that offers a better compression ratio and journaling function compared to widely used formats like ZIP and RAR,” G Data malware analyst Anna Lvova said in a Monday analysis.
“That means that ZPAQ archives can be smaller, saving storage space and bandwidth when transferring files. However, ZPAQ has the biggest disadvantage: limited software support.”
![Cybersecurity](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibqXjBEH-MmRtO3ifVRAZzj02ywPrIi19X4qdnH5rHX_d5Trtbc7spx04mwsKVk1u_8G7oVPvAyzmcO2OQYkwEdj81oaVSMgHLZmlXbmiSxZP0bBamiugH_FFRmdky3yPBOLpNxXNuERyrLGeWH5VkTO6k_16ydDgK5v8D-Tj8hR8TfDW5GCQHXRymv-n3/s728-rw-ft-e30/wiz-d.png)
First appearing in 2014, Agent Tesla is a keylogger and remote access trojan (RAT) written in .NET that’s offered to other threat actors as part of a malware-as-a-service (MaaS) model.
It’s often used as a first-stage payload, providing remote access to a compromised system and utilized to download more sophisticated second-stage tools such as ransomware.
Agent Tesla is typically delivered via phishing emails, with recent campaigns leveraging a six-year-old memory corruption vulnerability in Microsoft Office’s Equation Editor (CVE-2017-11882).
![Agent Tesla Malware Agent Tesla Malware](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbK7VJ870Vd6TD3Fjzfo5fIxDhrljnWm075yVRTMO0FWFcTiTGEyCwoznS25wLfXfqDvkHou1ioz2JfGKzI2XkHtCed5buQ0edXXtIS4_Erl0E62EhPYM0EhmGD6iNul4CHiijUPtZCfVs3Nh0E1z9uMT2t7ZSBWSX5njkIuBOJ-p7HQbFUj6BulTnSl_D/s728-rw-ft-e30/ps.jpg)
The latest attack chain begins with an email containing a ZPAQ file attachment that purports to be a PDF document, opening which extracts a bloated .NET executable that’s mostly padded with zero bytes to artificially inflate the sample size to 1 GB in an effort to bypass traditional security measures.
“The main function of the unarchived .NET executable is to download a file with .wav extension and decrypt it,” Lvova explained. “Using commonly used file extensions disguises the traffic as normal, making it more difficult for network security solutions to detect and prevent malicious activity.”
![Cybersecurity](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZOKevtkycmsYK7Di5jm6SplBRx4gSniKm5V4pkCdgVYZITQmJDxK1oeqMGIH6N9v0HynNkpd1NpH1-xdo4BOAvHXOF2xYmbYIuKCyFnnWcOk9-1a2-btfx87HFYycNEu-siaIDfhytKzpc9j0XTL_cYgvOdDXSiXUkYHmuoaBpzusvQdTy7BBfQ-XmKEB/s728-rw-ft-e30/cis-desk.gif)
The end goal of the attack is to infect the endpoint with Agent Teslathat’s obfuscated with .NET Reactor, a legitimate code protection software. Command-and-control (C2) communications is accomplished via Telegram.
The development is a sign that threat actors are experimenting with uncommon file formats for malware delivery, necessitating that users be on the lookout for suspicious emails and keep their systems up-to-date.
“The usage of the ZPAQ compression format raises more questions than answers,” Lvova said. “The assumptions here are that either threat actors target a specific group of people who have technical knowledge or use less widely known archive tools, or they are testing other techniques to spread malware faster and bypass security software.”