New “Maggie” malware targets hundreds of Microsoft SQL servers

October 7, 2022

A new malware called “Maggie” is targeting hundreds of Microsoft SQL servers worldwide. Maggie works as a back door and was discovered by German analysts Johann Aydinbas and Axel Wauer of DCSO CyTec.

Maggie is controlled by SQL queries that instruct it to execute commands and interact with files. Maggie is also capable of brute-forcing administrator logins to other Microsoft SQL servers and can also act as a bridge head into the network environment of the server.

Maggie disguises as an Extended Stored Procedure DLL, a tool that extends the functionality of SQL queries by using an API that accepts remote user arguments and responds with unstructured data. The tool is abused to enable remote backdoor access with a rich set of 51 commands.

According to a report by DCSO CyTec, the fact that Maggie supports a variety of commands makes it possible to query system information, execute programs, interact with files and folders, activate remote desktop services (TeamService), run a SOCK95 proxy, and set up port forwarding.

The command list also contains four “Exploit” commands, indicating that the attacker may rely on known vulnerabilities for some actions, including adding a new user.

The malware also provides a simple TCP redirection feature that allows remote attackers to connect to any IP address that the infected MS-SQL server can reach.

The sources for this piece include an article in BleepingComputer.

Top Stories

Related Articles

March 2, 2026 Thousands of exposed Google Cloud API keys can authenticate to Gemini endpoints when the Generative Language API more...

March 2, 2026 Threat actors are exploiting Microsoft Entra ID through Open Authorization (OAuth) consent abuse, using seemingly legitimate third-party more...

February 23, 2026 Researchers say they’ve identified a new strain of Android malware that uses Google’s own Gemini AI model more...

February 23, 2026 Texas officials are warning about what could be the largest data breach in U.S. history, with notification more...

Jim Love

Jim is an author and podcast host with over 40 years in technology.

Share:
Facebook
Twitter
LinkedIn