GuLoader Malware is Attacking Law Firms Using Weaponized PDF File

The cybersecurity researchers at Morphisec Labs have been tracking the GuLoader campaign since April of this year and found that it has been actively targeting the law firms that are based in the US along with several other sectors like:-

  • Healthcare
  • Investment firms
Targeted sectors (Source – Morphisec)

For more than three years, GuLoader (aka ‘Cloudeye’) has been active, still keeps evolving, and employs diverse anti-analysis methods, posing challenges to security analysts to analyze it.

GuLoader, infamous for distributing multiple malware families, such as:-

  • NetWire
  • Lokibot
  • Xloader
  • Remcos

The GuLoader downloads the payload by using trusted platforms like:-

  • Google Drive
  • OneDrive
  • GCloud

In this campaign, the operators of GuLoader used ‘github.io’ as the download source to deliver the Remcos RAT (remote access trojan).

GuLoader Malware Infection Chain

Encrypted PDF attachment comes with a PIN provided in the email for decryption, luring the victim to click on an embedded icon and initiate the process.

Encrypted PDF (Source – Morphisec)

Once the icon is clicked, it redirects users to the final URL through Google’s popular adclick service, DoubleClick, extensively utilized in online ads for tracking and gathering statistics and metadata on user clicks.

Download page for GuLoader VBScript secured with password (Source – Morphisec)

The threat actors likely use it to assess their malicious campaign’s effectiveness. The user is prompted to enter the previously sent PIN in the redirected URL, and upon providing the PIN, a GuLoader VBScript is downloaded to proceed further.

The GuLoader VBScript contains obfuscation, random comments, and redundant lines omitted. Here, the resulting code decodes and a Powershell script is executed.

Infection chain (Source – Morphisec)

Using the 32-bit version of Powershell, the Powershell script decodes and runs a 2nd stage Powershell script. This 2nd stage script contains XOR-encoded strings, which are responsible for downloading the GuLoader shellcode due to the presence of logical code.

Here the GuLoader shellcode is split into two parts which are fetched from  ‘github.io’ and here they are mentioned below:-

  • Decrypting shellcode
  • Encrypted shellcode

Later it’s invoked with encrypted shellcode and ‘NtProtectVirtualMemory’ as arguments by passing it as a callback function to ‘CallWindowProcA’. The core role of the shellcode is to inject the final payload into ‘ieinstal.exe’ process by downloading and decrypting it. 

Moreover, it also fetches and opens a malicious PDF that triggers and runs the Remcos RAT in the background and presents a “404 Page not found” error.

Page not found error (Source – Morphisec)

In phishing campaigns, GuLoader frequently emerges as a malware loader. Among the most advanced downloaders, it fetches payloads from cloud hosting platforms, and surprisingly, this campaign used a regular URL.

“AI-based email security measures Protect your business From Email Threats!” – .

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 Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago