April 29, 2019 By David Bisson 2 min read

A threat actor known as TA505 recently launched a phishing campaign that uses living-of-the-land binaries (LOLBins) to distribute a new backdoor malware.

In April 2019, Cybereason observed TA505 direct this malicious operation against a financial institution. The campaign, which targeted more than 40 email accounts within the organization, relied on attack emails that came with Microsoft Excel attachments containing malicious macros. When enabled, those macros invoked the Windows OS process msiexec.exe to connect to a command-and-control (C&C) server and download the campaign’s first-stage payload. The operation then used a second msiexec.exe process to execute the payload, which acted as a dropper for several files.

In the second stage of the attack, the dropper used a NIS script for Nullsoft Scriptable Install System (NSIS), a legitimate tool used for creating Windows installers. This NSIS script functioned as a LOLBin, allowing the campaign to evade detection and, in the process, execute a file called pegas.dll. Signed and verified by certification company Sectigo RSA Code Signing CA, this module was responsible for executing the main capabilities of the campaign’s backdoor payload, including conducting reconnaissance of and stealing information off the targeted machine.

The Ever-Evolving History of TA505

TA505 has evolved quite a bit since Proofpoint first profiled the threat actor in 2017. In June 2018, for instance, Proofpoint observed the group using Quant Loader to install the FlawedAmmyy remote-access Trojan (RAT). The security firm also detected the threat actor pushing a new modular RAT known as tRat later that year. Not long thereafter, Proofpoint noticed in January 2019 that TA505 had added the ServHelper backdoor and FlawedGrace malware to its arsenal.

How to Defend Against Phishing-Borne Backdoors

Security professionals can help defend their organizations against phishing-borne backdoors by using actionable phishing intelligence to measure the risks posed by phishing campaigns and formulate appropriate defenses against them. Companies should also take a layered approach to email security that combines spam monitoring, mail scanning, perimeter protection and other fundamental email security measures.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today