Monday, December 9, 2024
Homecyber securityThreat Actors Exploiting Windows Systems To Deploy Multiple Malwares

Threat Actors Exploiting Windows Systems To Deploy Multiple Malwares

Published on

SIEM as a Service

A sophisticated phishing campaign targeting Windows systems leverages multiple evasion techniques, including Python obfuscation, shellcode generation, and loading, to deploy a payload of malware. 

This multi-stage attack, disguised as a customer service request, delivers malicious attachments that, once opened, install XWorm, VenomRAT, AsyncRAT, and PureHVNC, which grant attackers remote system control, posing a significant threat to any organization. 

Attack flow.

An attack begins with a phishing email containing an HTML attachment, which leverages the ‘search-ms’ protocol to execute a malicious LNK file disguised as a PDF from a remote file share.

- Advertisement - SIEM as a Service

Are you from SOC and DFIR Teams? Analyse Malware Incidents & get live Access with ANY.RUN -> Get 14 Days Free Access

The LNK file employs a command to run a batch script using ‘conhost.exe’ as a parent process, likely to evade detection by combining social engineering, file manipulation, and process injection techniques to compromise the target system. 

The phishing e-mail.

The obfuscated batch file employs character substitution and encoding manipulation to disguise its malicious intent.

After decoding, it launches a decoy PDF, downloads and extracts ZIP archives containing a Python environment and malicious scripts to the user’s Downloads folder, and executes the Python payload. 

To establish persistence, it reopens the decoy PDF, downloads a second batch file to the startup folder, and extracts additional Python scripts. Finally, it cleans up unnecessary files. 

Converting the contents of the Batch File by removing FF FE.

A Multi-Layered Python-Based Shellcode Loader Was Analyzed.

The initial stage involves obfuscated Python scripts utilizing RC4 encryption and ctypes for shellcode execution. 

Subsequent stages employ a donut shellcode generator to create a first-stage payload capable of AMSI/WLDP bypass, followed by a laZzzy-based injector that disguises itself as MMC and injects shellcode into notepad.exe using Early Bird APC Queue. 

Debug information on the command line

The PureHVNC malware is a .NET-based RAT that leverages AES encryption and Gzip compression to obfuscate its payload.

Upon execution, it extracts configuration data, establishes communication with a C2 server, and collects system information, including sensitive data paths. 

It uses PowerShell and Win32 APIs for persistence and stealth. The malware downloads and executes additional plugins from the C2 server, identified by the consistent reference to the PureHVNC library. 

The mouse-controlled functions and APIs.

PluginRemoteDesktop is a malicious DLL that establishes remote desktop control over an infected system, extracts command and control (C2) information from its binary parameter and subsequently communicates with the C2 server. 

It implements mouse-controlled functions leveraging specific APIs, enabling the threat actor to manipulate the victim’s system remotely. 

PluginExecuting is a versatile malware module capable of executing arbitrary files, updating itself, and even uninstalling malicious components. 

It operates under C2 control, receiving commands to perform actions like downloading and executing files, both locally and in memory.

By leveraging process hollowing for code injection, the malware can execute malicious payloads within existing processes. 

According to FortiGuard Labs, it includes multiple IOCs, specifically six C2 domains (drvenomjh, vxsrwrm, ncmomenthv, ghdsasync, anachyyyy, and xoowill56, all on duckdns.org), one URL, and 33 file hashes. 

These IOCs likely belong to a malicious actor operating a command-and-control infrastructure using multiple domains and distributing various malware payloads identified by their hashes. 

Download Free Cybersecurity Planning Checklist for SME Leaders (PDF) – Free Download

Raga Varshini
Raga Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Latest articles

DaMAgeCard Attack – New SD Card Attack Lets Hackers Directly Access System Memory

Security researchers have identified a significant vulnerability dubbed "DaMAgeCard Attack" in the new SD...

Deloitte Denies Breach, Claims Only Single System Affected

Ransomware group Brain Cipher claimed to have breached Deloitte UK and threatened to publish...

Top Five Industries Most Frequently Targeted by Phishing Attacks

Researchers analyzed phishing attacks from Q3 2023 to Q3 2024 and identified the top...

Russian BlueAlpha APT Exploits Cloudflare Tunnels to Distribute Custom Malware

BlueAlpha, a Russian state-sponsored group, is actively targeting Ukrainian individuals and organizations by using...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Top Five Industries Most Frequently Targeted by Phishing Attacks

Researchers analyzed phishing attacks from Q3 2023 to Q3 2024 and identified the top...

Russian BlueAlpha APT Exploits Cloudflare Tunnels to Distribute Custom Malware

BlueAlpha, a Russian state-sponsored group, is actively targeting Ukrainian individuals and organizations by using...

Russian Hackers Hijacked Pakistani Actor Servers For C2 Communication

Secret Blizzard, a Russian threat actor, has infiltrated 33 command-and-control (C2) servers belonging to...