Tuesday, January 28, 2025
HomeCloudDarkGate Malware Abusing Cloud Storage & SEO Following Delivery Over Teams

DarkGate Malware Abusing Cloud Storage & SEO Following Delivery Over Teams

Published on

SIEM as a Service

Follow Us on Google News

DarkGate loader delivery surged after the Qakbot takedown, with financially motivated actors like TA577 and ransomware groups (BianLian, Black Basta) using it to target financial institutions (US, Europe) for double extortion. 

It establishes an initial foothold and deploys info-stealers, ransomware, and remote access tools to maximize data exfiltration and extortion gains by utilizing legitimate channels (DoubleClick ads, cloud storage) and phishing emails for distribution. 

Overview of DarkGate version 5 activity
Overview of DarkGate version 5 activity

Similarities with IcedID delivery methods suggest that threat actors may be cooperating or sharing their tradecraft.

Document
Run Free ThreatScan on Your Mailbox

AI-Powered Protection for Business Email Security

Trustifi’s Advanced threat protection prevents the widest spectrum of sophisticated attacks before they reach a user’s mailbox. Try Trustifi Free Threat Scan with Sophisticated AI-Powered Email Protection .

DarkGate is a malware-as-a-service advertised in June 2023 that offers remote access, data theft, and privilege escalation by using multiple techniques to evade, including a custom crypter, polymorphism, and anti-VM. 

Persona RastaFarEye is advertising DarkGate on a cybercrime forum.
Persona RastaFarEye is advertising DarkGate on a cybercrime forum.

It also utilizes LOLBAS tools to download a malicious AutoIt script that decrypts the DarkGate payload, injects it into a process, and establishes persistence through registry keys and a rootkit module.  

DarkGate infection chain through PDF lure. 
DarkGate infection chain through PDF lure. 

Attackers primarily target financial institutions like BDK, a major German bank, using phishing emails with lures relevant to the target’s industry and delivering the DarkGate payload through embedded links in PDF attachments. 

The delivered malicious PDF attachment targeted the BDK. 
The delivered malicious PDF attachment targeted the BDK. 

The links redirect victims to download pages hosted on compromised websites.

To evade detection, DarkGate operators have incorporated innovative techniques like abusing DNS TXT records to execute malicious Windows commands that download and install the malware.  

 Malware delivery similarities between DarkGate and IcedID.
 Malware delivery similarities between DarkGate and IcedID.

EclecticIQ analysts compared DarkGate and IcedID malware, finding shared tactics like obfuscated strings, using PING.exe to check internet connectivity, CURL.exe for downloading payloads, and decoy PDF documents. 

They differed in execution tools (DarkGate: Cscript.exe, IcedID: Rundll32.exe) and payload types (DarkGate: VBS script, IcedID: disguised DLL). 

Showing the example of DoubleClick Ad service abuse.
Showing the example of DoubleClick Ad service abuse.

For DarkGate delivery, attackers abused open redirects in Google’s DoubleClick ads with emails containing links disguised as invoices.

Since January 2024, DarkGate has shifted to CAB and MSI formats, likely to evade detection. 

DarkGate version 6.1.6 employs DLL side-loading for evasion, where a malicious DLL is loaded into legitimate applications (e.g., VLC, iTunesHelper) through a compromised MSI installer. 

Dropped DarkGate payloads
Dropped DarkGate payloads

The payload then decrypts itself using a key within a fake sqlite3.dll and drops a script into C:\temp, while decrypting again using a separate key and launching the final DarkGate payload. 

Decrypted configuration reveals the command-and-control server.
Decrypted configuration reveals the command-and-control server.

The version also features a new configuration decryption routine using XOR encryption to hide C2 server information and other operational parameters, making it more difficult for signature-based detection. 

DarkGate is a Malware-as-a-Service (MaaS) that steals information like usernames, CPU information, and anti-virus information from the victim device after gaining an initial foothold. 

Decrypted C2 activity showing the version of Darkgate.
Decrypted C2 activity showing the version of Darkgate.

It then uses Living Off the Land Binaries (LOLBAS) like wscript.exe and cscript.exe to execute a VBS script. 

BianLian ransomware attack chain using DarkGate.
v

Network traffic analysis can be used to detect suspicious patterns like downloads from unusual domains or suspicious Curl.exe activity and YARA rules can also be used to detect the final payload on the infected device.  

The IOCs include suspicious user agent strings, command and control (C2) server domains, payload downloader URLs with malicious zip files, and multiple file hashes, which can be used to identify infected systems, block malicious traffic, and improve threat detection. 

Stay updated on Cybersecurity news, Whitepapers, and Infographics. Follow us on LinkedIn & Twitter.

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

White House Considers Oracle-Led Takeover of TikTok with U.S. Investors

In a significant development, the Trump administration is reportedly formulating a plan to prevent...

Critical Vulnerability in IBM Security Directory Enables Session Cookie Theft

IBM has announced the resolution of several security vulnerabilities affecting its IBM Security Directory...

Critical Apache Solr Vulnerability Grants Write Access to Attackers on Windows

A new security vulnerability has been uncovered in Apache Solr, affecting versions 6.6 through...

GitHub Vulnerability Exposes User Credentials via Malicious Repositories

A cybersecurity researcher recently disclosed several critical vulnerabilities affecting Git-related projects, revealing how improper...

API Security Webinar

Free Webinar - DevSecOps Hacks

By embedding security into your CI/CD workflows, you can shift left, streamline your DevSecOps processes, and release secure applications faster—all while saving time and resources.

In this webinar, join Phani Deepak Akella ( VP of Marketing ) and Karthik Krishnamoorthy (CTO), Indusface as they explores best practices for integrating application security into your CI/CD workflows using tools like Jenkins and Jira.

Discussion points

Automate security scans as part of the CI/CD pipeline.
Get real-time, actionable insights into vulnerabilities.
Prioritize and track fixes directly in Jira, enhancing collaboration.
Reduce risks and costs by addressing vulnerabilities pre-production.

More like this

White House Considers Oracle-Led Takeover of TikTok with U.S. Investors

In a significant development, the Trump administration is reportedly formulating a plan to prevent...

Critical Vulnerability in IBM Security Directory Enables Session Cookie Theft

IBM has announced the resolution of several security vulnerabilities affecting its IBM Security Directory...

Critical Apache Solr Vulnerability Grants Write Access to Attackers on Windows

A new security vulnerability has been uncovered in Apache Solr, affecting versions 6.6 through...