Sigma rule: MSSQL Extended Stored Procedure Backdoor Maggie

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9832272a88fa, updated 2022-10-09T00:00:00.000Z.

Rule

Title
MSSQL Extended Stored Procedure Backdoor Maggie
Status
test
Level
high
Author
Denis Szadkowski, DIRT / DCSO CyTec
Date
2022-10-09
File
rules-emerging-threats/2022/Malware/win_mssql_sp_maggie.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

This rule detects the execution of the extended storage procedure backdoor named Maggie in the context of Microsoft SQL server

Log source

product
windows
service
application

Detection

selection:
    Provider_Name: 'MSSQLSERVER'
    EventID: 8128
    Message|contains: 'maggie'
condition: selection

False positives (as the rule lists them)

  • Legitimate extended stored procedures named maggie

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1546
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Malware/win_mssql_sp_maggie.yml

Sources and licences

  • SigmaHQ

    "MSSQL Extended Stored Procedure Backdoor Maggie" by Denis Szadkowski, DIRT / DCSO CyTec (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Malware/win_mssql_sp_maggie.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: MSSQL Extended Stored Procedure Backdoor Maggie",
entity page, dataset version ref-9832272a88fa, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/711ab2fe-c9ba-4746-8840-5228a58c3cb8 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 711ab2fe-c9ba-4746-8840-5228a58c3cb8, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.