Windows Service Installation with Suspicious ProgramData/Root Executable Image Paths

Flags Windows service installs (Event 7045) that reference suspicious EXE paths in ProgramData or directly under C:\.

FreeReviewedSigma · High · v2
Product
windows
Service
system
Author
pH-T (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-03-18
Updated
2026-07-31

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule flags Windows service creation events from the Service Control Manager (EventID 7045) where the service executable path matches suspicious patterns rooted in ProgramData or the filesystem root. Attackers may use services for persistence or privilege escalation by pointing a new service to an unexpected executable location. Detection relies on Windows service installation telemetry, specifically the ImagePath value reported in Event 7045, and applies regex checks to identify the anomalous path formats.

Related detections9 linkedT1543.003 — drag to rearrange
Malicious Service DLL Hijack for Persistence via Lotus Blossom
Malicious TinyTurla ServiceDll Registration via svchost Group (via registry_set)
Suspicious ToyMaker LAGTOY Service Creation Masquerading as WmiPrvSV via sc.exe
Malicious Service Creation With Autostart binPath via sc.exe (via process_creation)
Malicious svchost Service Creation for TinyTurla Persistence (via process_creation)
Malicious Service Creation Masquerading as nslookup (via process_creation)
Interactive Service Creation Executing cmd via sc.exe
Malicious Known Vulnerable Driver Load for BYOVD Attack
Malicious ValleyRAT KernelQuick Rootkit Service and Shellcode Store Registry Keys
Windows Service Installation with Suspicious ProgramData/Root Executable Image Paths
Pivot detection · T1543.003 · 9 related

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.