Security researchers observed an Astaroth attack that used only living-off-the-land techniques to run the backdoor directly in memory on Windows machines.

The Microsoft Defender ATP Research Team detected the Astaroth attack after noticing an anomaly from a Windows Defender Antivirus algorithm used for catching fileless campaigns. This led the researchers to an infection chain that relied strictly on living-off-the-land techniques — the use of regular tools already present on the system — to avoid raising any red flags.

The infection chain began with a series of spear phishing emails that contained malicious links to redirect users to a LNK file. When double-clicked, the LNK file executed the Windows Management Instrumentation Command (WMIC) tool with the /Format parameter. The campaign then executed JavaScript code to download payloads using the Bitsadmin tool.

At this point, the attacks used Certutil to decode the payloads and then the Regsvr32 tool to run a series of dynamic link libraries (DLLs). This chain of events eventually led one DLL to load into Userinit and then load Astaroth as its final payload. With Astaroth activated, threat actors could use the backdoor to steal sensitive information and move laterally across the network.

Astaroth Abuses Windows Services and Legitimate Tools

Astaroth attacks often abuse legitimate Windows services. In September 2018, Cofense spotted a campaign that compromised 8,000 machines in one week by exploiting WMIC and Certutil. News of this attack came several months before Cybereason detected a campaign in which threat actors abused legitimate operating system functionality and security-related products to distribute the backdoor to users in Brazil.

Awareness Is the Best Defense Against an Astaroth Attack

Security awareness training to educate employees about phishing campaigns and other digital threats can help defend against an Astaroth attack. Analysts should use this education framework in tandem with a patch management strategy and a deep familiarity with built-in Windows code to spot anomalies that could be indicative of fileless attacks.

More from

Patch Tuesday -> Exploit Wednesday: Pwning Windows Ancillary Function Driver for WinSock (afd.sys) in 24 Hours

‘Patch Tuesday, Exploit Wednesday’ is an old hacker adage that refers to the weaponization of vulnerabilities the day after monthly security patches become publicly available. As security improves and exploit mitigations become more sophisticated, the amount of research and development required to craft a weaponized exploit has increased. This is especially relevant for memory corruption vulnerabilities. Figure 1 — Exploitation timeline However, with the addition of new features (and memory-unsafe C code) in the Windows 11 kernel, ripe new attack…

OneNote, Many Problems? The New Phishing Framework

There are plenty of phish in the digital sea, and attackers are constantly looking for new bait that helps them bypass security perimeters and land in user inboxes.Their newest hook? OneNote documents. First noticed in December 2022, this phishing framework has seen success in fooling multiple antivirus (AV) tools by using .one file extensions, and January 2023 saw an attack uptick as compromises continued.While this novel notes approach will eventually be phased out as phishing defenses catch up, current conditions…

When the Absence of Noise Becomes Signal: Defensive Considerations for Lazarus FudModule

In February 2023, X-Force posted a blog entitled “Direct Kernel Object Manipulation (DKOM) Attacks on ETW Providers” that details the capabilities of a sample attributed to the Lazarus group leveraged to impair visibility of the malware’s operations. This blog will not rehash analysis of the Lazarus malware sample or Event Tracing for Windows (ETW) as that has been previously covered in the X-Force blog post. This blog will focus on highlighting the opportunities for detection of the FudModule within the…

LastPass Breaches Cast Doubt on Password Manager Safety

In 2022, LastPass suffered a string of security breaches which sparked concern among cyber professionals and those impacted by the intrusions. Some called into question the way LastPass handled and responded to the incident. In addition, the situation ignited a wider conversation about the risks linked to utilizing password managers.A password manager helps users generate strong passwords and safeguards them within a digital locker. A master password secures all data, which enables users to conveniently access all their passwords for…