Hackers Employing Steganography Methods to Deliver Notorious RemcosRAT

Hackers are now using steganography techniques to distribute the notorious Remote Access Trojan (RAT) known as RemcosRAT.

This method, which involves hiding malicious code within seemingly innocuous image files, marks a concerning evolution in malware delivery tactics.

The Initial Breach: Word Documents and RTF Files

The attack begins with a seemingly harmless Word document that contains an external link.

This document employs a template injection technique designed to exploit vulnerabilities within the document’s processing.

The AhnLab Security Intelligence Centre (ASEC) has recently found that steganography is being used to spread RemcosRAT.

A Word document containing an external link
Document

Free Webinar : Live API Attack Simulation

94% of organizations experience security problems in production APIs, and one in five suffers a data breach. As a result, cyber-attacks on APIs increased from 35% in 2022 to 46% in 2023, and this trend continues to rise:

Key Takeaways:

  • An exploit of OWASP API Top 10 vulnerability
  • A brute force ATO (Account Takeover) attack on API
  • A DDoS attack on an API
  • Positive security model automation to prevent API attacks

Start protecting your APIs from hackers

Upon opening the document, an RTF file is downloaded and executed.

This file exploits a known vulnerability in the equation editor component (EQNEDT32.EXE) of Microsoft Word, leading to the download of a VBScript with a misleading “.jpg” file extension from a command and control (C2) server.

Another VBScript is fetched from “paste.ee”, a service that allows users to upload and share text snippets.

VBScript downloaded by the RTF file

The Steganography Technique

The downloaded VBScript is heavily obfuscated, making it difficult for traditional antivirus software to detect the malicious intent.

This script executes a PowerShell command, which further downloads an image from an external source.

The obfuscated script (eh1G4)

The cunning aspect of this attack lies within the downloaded image file.

On-Demand Webinar to Secure the Top 3 SME Attack Vectors: Watch for Free.

The image contains Base64 encoded data hidden behind the “FF D9” marker, which typically denotes the end of a JPEG file. The PowerShell script locates the data encoded between “<<BASE64 START>>” and “BASE64_END” markers and decodes it.

The PowerShell script downloading a steganography image

The decoded data reveals a “.NET DLL” file, which is then executed through reflective code loading, a technique that allows code to be executed within the memory space of a process.

The Base64-encoded data contained in a normal image file

Final Execution: RemcosRAT Deployment

The script doesn’t stop there; it downloads an additional file from the C2 server and creates a RegAsm.exe child process to execute the file using the process hollowing technique.

This ultimately leads to the execution of RemcosRAT on the victim’s machine.

RemcosRAT executed through the process of hollowing

Given the diverse methods through which Remcos RAT can be distributed, including spam emails and disguised crack software download links, users are urged to exercise extreme caution.

Keeping antivirus solutions updated to the latest version is also recommended to block such malware infections preemptively.

This sophisticated use of steganography to conceal and deliver malware represents a significant shift in the landscape of cyber threats.

As attackers continue to innovate, the importance of maintaining robust cybersecurity practices and awareness among users cannot be overstated.

 Is Your Network Under Attack? - Read CISO’s Guide to Avoiding the Next Breach - Download Free Guide

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Lumma Stealer Attacking Users To Steal Login Credentials From Browsers

Researchers observed Lumma Stealer activity across multiple online samples, including PowerShell scripts and a disguised…

2 hours ago

New ‘OtterCookie’ Malware Attacking Software Developers Via Fake Job Offers

Palo Alto Networks reported the Contagious Interview campaign in November 2023, a financially motivated attack…

2 hours ago

NjRat 2.3D Pro Edition Shared on GitHub: A Growing Cybersecurity Concern

The recent discovery of the NjRat 2.3D Professional Edition on GitHub has raised alarms in…

2 hours ago

Palo Alto Networks Vulnerability Puts Firewalls at Risk of DoS Attacks

A critical vulnerability, CVE-2024-3393, has been identified in the DNS Security feature of Palo Alto…

2 hours ago

Araneida Scanner – Hackers Using Cracked Version Of Acunetix Vulnerability Scanner

Threat Analysts have reported alarming findings about the "Araneida Scanner," a malicious tool allegedly based…

1 day ago

A Dark Web Operation Acquiring KYC Details TO Bypass Identity Verification Systems

A major dark web operation dedicated to circumventing KYC (Know Your Customer) procedures, which involves…

1 day ago