Detectionhightest

PUA - NirCmd Execution As LOCAL SYSTEM

Detects the use of NirCmd tool for command execution as SYSTEM user

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)Created Mon Jan 24Updated Mon Feb 13d9047477-0359-48c9-b8c7-792cedcdc9c4windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        CommandLine|contains: ' runassystem '
    condition: selection
False Positives

Legitimate use by administrators

Rule Metadata
Rule ID
d9047477-0359-48c9-b8c7-792cedcdc9c4
Status
test
Level
high
Type
Detection
Created
Mon Jan 24
Modified
Mon Feb 13
Path
rules/windows/process_creation/proc_creation_win_pua_nircmd_as_system.yml
Raw Tags
attack.executionattack.t1569.002attack.s0029
View on GitHub