Suspicious CSExec Service Deployment (via system)

This rule detects CSExec service installation and execution events

SigmamediumWindowsv1
sigma
title: Suspicious CSExec Service Deployment (via system)
id: a517fac4-9e17-593e-adef-ea8c54b7a003
status: stable
description: This rule detects CSExec service installation and execution events
references:
    - https://attack.mitre.org/techniques/T1569/002/
    - https://github.com/malcomvetter/CSExec
author: Huntrule Team
date: 2026-07-09
tags:
    - attack.execution
    - attack.t1569.002
logsource:
    product: windows
    service: system
detection:
    selection_eid:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection_service:
        - ServiceName: 'csexecsvc'
        - ImagePath|endswith: '\csexecsvc.exe'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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