News

New Downloader Uses Microsoft SQL to Retrieve Malware

Giulio Saggin
Giulio Saggin
Tuesday 28 November 2023

A downloader has been uncovered that uses Microsoft SQL to retrieve malware.

The downloader, dubbed WhiteShadow by security researchers at ProofPoint, is a malware delivery service that allows 'threat actors to potentially incorporate the downloader and associated Microsoft SQL Server infrastructure into their attacks.'

In August this year, malicious email campaigns were noted distributing Microsoft Word and Microsoft Excel attachments containing the WhiteShadow downloader Visual Basic macro.

When victims open a malicious document attachments and activate macros, WhiteShadow executes an SQL query against the Microsoft SQL Server databases. Malware is stored in the database as ASCII-encoded strings, which are decoded by the macro and written to disk as a PKZip archive of a Windows executable.

WhiteShadow uses a SQLOLEDB connector to connect to a remote Microsoft SQL Server and execute queries.

'The SQLOLEDB connector is an installable database connector from Microsoft but is included by default in many (if not all) installations of Microsoft Office,' the researchers say. 'Once the connector is installed on the system, it can be used by various parts of the Windows subsystem and by Visual Basic scripts including macros in Microsoft Office documents.'

Researchers have noted threat actors using WhiteShadow to install RATs, downloaders, and keyloggers including Agent Tesla, AZORult and Crimson.

While the campaigns employing this method have been relatively small (so far), the use of Microsoft SQL queries such as this, while not unheard of, are unusual in the wild.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203