Suspicious SQL Server Payload Staging via bcp queryout (via process_creation)

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-07-09
Updated
2026-08-28

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects the SQL Server bulk copy program launched from the sqlservr process to export binary data from a database table to a file using the queryout parameter. The STAC6451 cluster abused exposed SQL Server instances and xp_cmdshell to stage Mimic ransomware and supporting tools on disk through bcp queryout.

Related detections9 linkedT1059.003 — drag to rearrange
Suspicious Scheduled Task Creation Referencing dllFake Batch Scripts (via process_creation)
Suspicious Backup Exec Remote Agent Spawning Command Shell via Process Creation (via process_creation)
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious LampoRAT Command Dispatcher via Cmd Delayed Expansion Flags (via process_creation)
Malicious WSUS Service Spawning Command Shell via CVE-2025-59287 (via process_creation)
Malicious SharePoint w3wp Spawning Command Shell and PowerShell
Suspicious extrac32 CAB Extraction Abuse
Suspicious curl Spawning Script Host for Latrodectus Delivery
Malicious zqtxmo Batch Script Execution by Fighting Ursa
Suspicious SQL Server Payload Staging via bcp queryout (via process_creation)
Pivot detection · T1059.003 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.