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

June 9, 2026 Hackers exploited Meta’s AI-powered support chatbot to gain control of Instagram accounts, including several high-profile profiles. Meta more...

June 5, 2026 Security researchers have disclosed a new denial-of-service attack called HTTP/2 Bomb that can overwhelm major web servers more...

May 20, 2026 The Cybersecurity and Infrastructure Security Agency, the arm of the U.S. government tasked with protecting critical infrastructure more...

May 11, 2026 Instructure has restored access to its Canvas learning platform after a cyberattack disrupted service for universities and more...

Jim Love

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

Share:
Facebook
Twitter
LinkedIn