Security Experts:

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. 

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.

Click to comment

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 webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.

Cybercrime

More than 3,800 servers around the world have been compromised in recent ESXiArgs ransomware attacks, which also include an improved process.

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.