Thursday, May 1, 2025
HomeCyber AttackHackers Deliver AsyncRAT Through Weaponized WSF Script Files

Hackers Deliver AsyncRAT Through Weaponized WSF Script Files

Published on

SIEM as a Service

Follow Us on Google News

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.

- Advertisement - Google News

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.

https://i0.wp.com/asec.ahnlab.com/wp-content/uploads/2023/11/image-81.png?resize=702%2C360&ssl=1
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.

https://i0.wp.com/asec.ahnlab.com/wp-content/uploads/2023/11/image-97.png?resize=1024%2C361&ssl=1
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.

https://i0.wp.com/asec.ahnlab.com/wp-content/uploads/2023/11/image-98.png?resize=1024%2C511&ssl=1
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
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.

Latest articles

Managing Shadow IT Risks – CISO’s Practical Toolkit

Managing Shadow IT risks has become a critical challenge for Chief Information Security Officers...

Application Security in 2025 – CISO’s Priority Guide

Application security in 2025 has become a defining concern for every Chief Information Security...

Preparing for Quantum Cybersecurity Risks – CISO Insights

Quantum cybersecurity risks represent a paradigm shift in cybersecurity, demanding immediate attention from Chief...

Securing Digital Transformation – CISO’s Resource Hub

In today’s hyper-connected world, securing digital transformation is a technological upgrade and a fundamental...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

Netgear EX6200 Flaw Enables Remote Access and Data Theft

Security researchers have disclosed three critical vulnerabilities in the Netgear EX6200 Wi-Fi range extender...

Tesla Model 3 VCSEC Vulnerability Lets Hackers Run Arbitrary Code

A high security flaw in Tesla’s Model 3 vehicles, disclosed at the 2025 Pwn2Own...

Apache ActiveMQ Vulnerability Lets Remote Hackers Execute Arbitrary Code

A high vulnerability in Apache ActiveMQ’s .NET Message Service (NMS) library has been uncovered,...