Threat Management, Malware, Phishing

What fresh hell is this? Fileless malware campaign spread Astaroth backdoor last spring

Microsoft’s Defender ATP Research Team yesterday revealed its discovery of a late-spring, fileless malware campaign that used "living-off-the-land" techniques to infected victims with information-stealing Astaroth backdoor.

The attackers behind this particular campaign abused a multiple of legitimate services in order to deliver the final payload, including the Windows Management Instrumentation Command-line tool (WMIC), the BITSAdmin command-line tool, the Certutil Certificate Services command-tool, the Regsvr32 command-line utility and the Userinit system tool.

"It's interesting to note that at no point during the attack chain is any file run that's not a system tool," remarked Andrew, Lelli, a member of the Defender ATP Research Team, in a company blog post. "In other words they [the attackers] use fileless techniques to silently install the malware on target devices."

According to Microsoft's telemetry, the campaign commenced on May 19 and carried on into mid-June, with at least four significant spikes in activity. The two biggest surges by far took place between May 26 and June 1, and between June 2 and June 6.

The attacks would begin with a spear phishing email containing a malicious link to a ZIP archive file holding an LNK file with a misleading name such as "certificate," "open document," or "order."

If opened, the file runs a BAT command-line that, in turn, runs WMIC. WMIC then downloads and runs an obfuscated XSL file that, in circular fashion, runs WMIC a second time. WMIC then downloads another obfuscated XSL file. At this point, the malware uses BITSadmin to download additional payloads, which are decoded by abusing Certutil. One of these payloads, a DLL file, is then run within the context of the Regsvr32 tool.

"The newly loaded DLL reads and decrypts the file falxconxrenwgx.gif into a DLL," Lelli's blog post continues. "It runs the system tool userinit.exe into which it injects the decrypted DLL. The file falxconxrenwgx.gif is again a proxy that reads, decrypts, and reflectively loads the DLL falxconxrenwg.gif. This last DLL is the malicious info stealer known as Astaroth."

Discovered in 2017 and named after the "Great Duke of Hell," the malware has historically been linked to campaigns targeting companies in Europe and Brazil. Its abuse of legitimate tools such as WMIC and BITSAdmin has been chronicled before, including in this Cybereason report from February 2019.

Bradley Barth

As director of multimedia content strategy at CyberRisk Alliance, Bradley Barth develops content for online conferences, webcasts, podcasts video/multimedia projects — often serving as moderator or host. For nearly six years, he wrote and reported for SC Media as deputy editor and, before that, senior reporter. He was previously a program executive with the tech-focused PR firm Voxus. Past journalistic experience includes stints as business editor at Executive Technology, a staff writer at New York Sportscene and a freelance journalist covering travel and entertainment. In his spare time, Bradley also writes screenplays.

Get daily email updates

SC Media's daily must-read of the most current and pressing daily news

By clicking the Subscribe button below, you agree to SC Media Terms and Conditions and Privacy Policy.