Cybersecurity experts have recently reported a concerning trend in which threat actors have weaponized phishing emails to distribute highly evasive fileless malware. These malicious campaigns exploit human vulnerability and rely on deceptive tactics to dupe unsuspecting victims into executing a payload that can wreak havoc on their systems. This article delves into the intricacies of this emerging threat landscape, shedding light on the methods employed by these threat actors and the potential impact of such fileless malware attacks.
Phishing Emails: A Gateway to Fileless Malware
Phishing emails have long been utilized by cybercriminals as an effective means to deceive users into taking actions that compromise their digital security. However, recent reports reveal that these deceptive messages have taken a more sinister turn, serving as a conduit for the delivery of fileless malware.
Unmasking the Attachment: The Disguised .hta File
At the heart of these malicious campaigns lies a seemingly innocuous attachment – a .hta (HTML Application) file. The .hta format is utilized because it allows the threat actors to deploy other malware such as AgentTesla, Remcos, or LimeRAT without arousing suspicion.
Understanding Fileless Malware: The Elusive PE Format
Instead of creating a file on the victim’s system, fileless malware leverages the Portable Executable (PE) format for stealthy execution. This method allows the malware to remain invisible to traditional antivirus tools and defenses, making it immensely challenging to detect and eradicate.
The Illusion of Legitimacy: A Phishing Email Context
To persuade recipients into opening the malevolent attachment, the phishing emails often harness a sense of urgency by purporting to be a bank transfer notice or a similar financial matter. By exploiting the target’s curiosity or fear of missing out, the attackers increase the likelihood of the attachment being executed.
Concealed within an ISO Image: The Deceptive Attachment
To further obfuscate their intentions, the phishing emails feature an attachment that appears innocuous — an ISO image. However, embedded within this harmless-looking image is a .hta script file that launches the fileless malware campaign upon execution.
mshta.exe: Executing PowerShell Commands
Upon opening the attachment, the mshta.exe process is triggered, which initiates a PowerShell command. This command acts as a request to the attacker’s server for base64 encoded data. By utilizing obfuscation techniques, the threat actors aim to elude detection by security measures.
Execution of the PowerShell Script and DLL File
The PowerShell script, received from the attacker’s server, decodes and executes a DLL (Dynamic Link Library) file. This DLL file serves as a delivery mechanism for the final binary, downloading it directly from the Command and Control (C2) server.
Injecting Malicious Code: RegAsm.exe as the Vehicle
To establish persistence and further conceal their presence, the fileless malware adopts a sophisticated technique by injecting the downloaded binary into RegAsm.exe (Assembly Registration Tool). This method allows the malware to remain undetected while carrying out its malicious activities.
Introducing Final Malicious Payload: Remcos, AgentTesla, or LimeRAT
The ultimate purpose of the fileless malware attack is to download and execute a final binary, often consisting of well-known malware strains such as Remcos, AgentTesla, or LimeRAT. These malicious payloads grant threat actors control over the infected system, enabling various malicious activities, including data theft or remote access.
Comprehensive Analysis by AhnLab: A Wealth of Insights
AhnLab, a renowned cybersecurity firm, has published an extensive report delving into the intricate details of this fileless malware campaign. The report provides in-depth information about the malware, PE file, DLL file, and other critical aspects, empowering security professionals in their fight against this evolving threat landscape.
The proliferation of fileless malware delivered through phishing emails poses a significant challenge for individuals and organizations alike. The utilization of deceptive tactics, such as disguising malware within ISO images and executing code without file creation, emphasizes the need for robust cybersecurity measures. As threat actors continuously evolve their techniques, staying informed and adopting a multi-layered defense strategy becomes imperative to safeguard against fileless malware and mitigate the potential damage it can cause.