Sigma rule: PUA - NirCmd Execution As LOCAL SYSTEM
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-224d46a6ff04, updated 2023-02-13T00:00:00.000Z.
Rule
- Title
- PUA - NirCmd Execution As LOCAL SYSTEM
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-01-24
- Modified
- 2023-02-13
- File
- rules/windows/process_creation/proc_creation_win_pua_nircmd_as_system.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of NirCmd tool for command execution as SYSTEM user
Log source
- product
- windows
- category
- process_creation
Detection
selection:
CommandLine|contains: ' runassystem '
condition: selectionFalse positives (as the rule lists them)
- Legitimate use by administrators
Tags
- attack.execution
- attack.t1569.002
- attack.s0029
MITRE ATT&CK ids this rule names
References
- https://www.nirsoft.net/utils/nircmd.html
- https://www.winhelponline.com/blog/run-program-as-system-localsystem-account-windows/
- https://www.nirsoft.net/utils/nircmd2.html#using
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_nircmd_as_system.yml
Sources and licences
SigmaHQ
"PUA - NirCmd Execution As LOCAL SYSTEM" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_nircmd_as_system.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 - NirCmd Execution As LOCAL SYSTEM",
entity page, dataset version ref-224d46a6ff04, updated 2023-02-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d9047477-0359-48c9-b8c7-792cedcdc9c4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d9047477-0359-48c9-b8c7-792cedcdc9c4, 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.