Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

‘WhiteShadow’ Downloader Employs Microsoft SQL for Malware Delivery

Microsoft Office macros that collectively act as a stage downloader are utilizing Microsoft SQL queries to fetch malicious payloads, Proofpoint’s security researchers report.

Microsoft Office macros that collectively act as a stage downloader are utilizing Microsoft SQL queries to fetch malicious payloads, Proofpoint’s security researchers report.

Referred to as WhiteShadow, the downloader was initially detected in August 2019, when it was delivering a variant of the Crimson remote access Trojan (RAT). In the meantime, it has evolved with the addition of detection evasion and with basic obfuscation features.

Microsoft Word and Excel documents are attached to malicious emails, and when the macros are activated, SQL queries are executed against attacker-controlled Microsoft SQL Server databases, where the malware is stored as ASCII-encoded long strings, the researchers explain

The macro retrieves the string and writes it to disk as a PKZip archive of a Windows executable, which is then executed to install the malicious payload. 

According to Proofpoint, there is no evidence to tie the current malware delivery activity with the initial WhiteShadow campaigns that dropped the Crimson RAT, a piece of malware historically linked to specific threat actor activity

The WhiteShadow downloader, the security researchers say, appears to be a component of a malware delivery service that includes a rented instance of Microsoft SQL Server to host the payloads. 

Advertisement. Scroll to continue reading.

A SQLOLEDB connector, which is included by default in majority of Microsoft Office installations, is leveraged by the downloader to reach the remote Microsoft SQL Server, execute a query and save the results to a file in the form of a zipped executable.

WhiteShadow has been employing this method to download malware such as Agent Tesla, AZORult, Crimson, NanoCore, njRat, Orion Logger, Remcos, and Formbook

The use of MSSQL queries to retrieve next-stage payloads is not a novel technique, but it is an unusual one, nonetheless, the security researchers point out. 

When it comes to WhiteShadow, however, the most important aspect of the discovery is the fact that this appears to be a new malware delivery service that can be leveraged by a variety of threat actors in their attacks. 

“Organizations need to be cognizant of both the incoming malicious email and outbound traffic on TCP port 1433 which should be blocked or at least restricted on modern ACL configurations in firewalls today. Currently, these campaigns are relatively small, with message volumes in the hundreds and thousands, but we will continue to monitor associated trends,” Proofpoint concludes. 

Related: Attack Combines Phishing, Steganography, PowerShell to Deliver Malware

Related: AdvisorsBot Malware Downloader Discovered

Related: New Encrypted Downloader Delivers Metasploit Backdoor

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this live webinar as we break down why email-layer defenses alone can't keep pace with the modern phishing ecosystem, how agentic AI is changing the capacity equation for security teams, and more.

Register

This year's summit will help organizations learn how to utilize tools, controls, and design models needed to properly secure cloud environments. Interact with leading solution providers and other end users facing similar challenges in securing a variety of cloud deployments.

Register

People on the Move

Sherrod DeGrippo has been appointed Head of Threat Intelligence for Palo Alto Networks Unit 42.

Christopher Porter has joined Booz Allen Hamilton as Global Chief Information Security Officer.

Yael Ben Arie has joined exposure validation company Pentera as Chief Product Officer.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.