Sigma rule: PUA - CsExec Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-0e16df0ac641, updated 2023-02-21T00:00:00.000Z.
Rule
- Title
- PUA - CsExec Execution
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-08-22
- Modified
- 2023-02-21
- File
- rules/windows/process_creation/proc_creation_win_pua_csexec.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of the lesser known remote execution tool named CsExec a PsExec alternative
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\csexec.exe'
selection_pe:
Description: 'csexec'
condition: 1 of selection*False positives (as the rule lists them)
- Unknown
Tags
- attack.resource-development
- attack.t1587.001
- attack.execution
- attack.t1569.002
MITRE ATT&CK ids this rule names
References
- https://github.com/malcomvetter/CSExec
- https://www.microsoft.com/security/blog/2022/05/09/ransomware-as-a-service-understanding-the-cybercrime-gig-economy-and-how-to-protect-yourself/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_csexec.yml
Sources and licences
SigmaHQ
"PUA - CsExec Execution" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_csexec.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: PUA - CsExec Execution",
entity page, dataset version ref-0e16df0ac641, updated 2023-02-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d08a2711-ee8b-4323-bdec-b7d85e892b31 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d08a2711-ee8b-4323-bdec-b7d85e892b31, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.