heroui logo

CSExec Service Installation

Sigma Rules

View Source
Summary
This detection rule identifies events related to the installation and execution of the CSExec service on Windows operating systems. Utilizing the Windows Service Control Manager, it monitors for Event ID 7045 indicating a new service installation, specifically targeting the service named 'csexecsvc' or installations where the image path ends with '\csexecsvc.exe'. The rule functions by checking for the presence of these indicators and flags any matching events. This rule is particularly useful for identifying potential misuse of CSExec, which is commonly used in lateral movement by threat actors. By analyzing service installation logs, security teams can mitigate risks associated with unauthorized service executions.
Categories
  • Windows
  • Endpoint
Data Sources
  • Windows Registry
  • Service
  • Logon Session
  • Application Log
Created: 2023-08-07