Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
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

Advertisement. Scroll to continue reading.

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

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 the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Bill Dunnion has joined telecommunications giant Mitel as Chief Information Security Officer.

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

More People On The Move

Expert Insights

Related Content

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...

Cybercrime

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

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Malware & Threats

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

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.