Hackers Deliver AsyncRAT Through Weaponized WSF Script Files

The AsyncRAT malware, which was previously distributed through files with the .chm extension, is now being disseminated via WSF script format. The WSF file was found to be disseminated in a compressed file (.zip) format through URLs included in emails.

AsyncRAT spreads through a variety of strategies and tactics. Malspam and phishing efforts, which mimic legitimate messages like DHL shipment updates with malicious file attachments, are the most prevalent infection vectors.

Threat actors are still creating and using cutting-edge and unique ways to spread AsyncRAT, such as “fileless” injection, which loads the main AsyncRAT binary into memory and runs it without requiring the target system to have a file installed.

How is the AsyncRAT Disseminated via WSF Script?

The AhnLab Security Emergency Response Center (ASEC) reports that the downloaded zip file is decompressed to produce a file with the .wsf file extension. 

This file just has one <script> tag in the middle and is primarily made up of comments, as seen in the image below.

The download link in the WSF script

Upon executing this script, a Visual Basic script is downloaded and executed. From the same C2 address, this script downloads a.jpg file, which is a zip file masquerading as a jpg file.

The attack flow

It then converts this jpg file’s extension to.zip before decompressing it. An XML file containing the command string to launch the Error.vbs file included in the compressed file is produced and executed using PowerShell

Before loading and running the binary, the last file to be executed, pwng.ps1, converts the contained strings into a.NET binary.

PowerShell script launching a fileless attack

Three obfuscated variables are used in these phases such as:

  • $jsewy: Malware that performs the features of AsyncRAT
  • $jsewty: Malware that performs the injection feature
  • $KRDESEY: The process the malware is injected into

“The malware executed in the end is identified as AsyncRAT which has information exfiltration and backdoor features”, researchers said.

Recommendation

The threat actor uses complex fileless techniques without the need for EXE files to spread the same malware in different ways.

When opening files or external links from emails, users should always exercise caution. Users are advised to utilize security product monitoring tools to recognize and block access from threat actors.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Hackers Exploiting California Wildfire Sparks to Launching Phishing Attacks

As California grapples with devastating wildfires, communities are rallying to protect lives and property. Unfortunately,…

13 hours ago

AIRASHI Botnet Exploiting 0-Day Vulnerabilities In Large Scale DDoS Attacks

AISURU botnet launched a DDoS attack targeting Black Myth: Wukong distribution platforms in August 2024…

14 hours ago

New Botnet Exploiting DNS Records Misconfiguration To Deliver Malware

Botnets are the networks of compromised devices that have evolved significantly since the internet's inception.…

14 hours ago

FTC Slams GoDaddy For Not Implement Standard Security Practices Following Major Breaches

The Federal Trade Commission (FTC) has announced that it will require GoDaddy Inc. to develop…

14 hours ago

Thousands of PHP-based Web Applications Exploited to Deploy Malware

A significant cybersecurity threat has emerged, threatening the integrity of thousands of PHP-based web applications.…

15 hours ago

W3 Total Cache Plugin Vulnerability Let Attackers Gain Unauthorized Access to Sensitive Data

A significant security vulnerability has been identified in the W3 Total Cache plugin for WordPress,…

17 hours ago