Windows: File Creation by mysqld.exe With Script/Executable Extensions

Alerts on file creation by mysqld.exe producing .bat/.exe/.ps1/.vbs and other executable or script file types on Windows.

FreeReviewedSigma · High · v2
Product
windows
Category
file_event
Author
Joseph Kamau (SigmaHQ), DRL 1.1
Published
2024-05-27
Updated
2026-07-31

What it detects

This rule flags file creation events where the process image is mysqld.exe or mysqld-nt.exe and the created filename ends with common script or executable extensions. Attackers may abuse MySQL’s ability to write files (for example, via user-defined functions) to stage or execute malicious payloads. The detection relies on Windows file creation telemetry that includes the creating process path and the target filename.

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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