Sigma rule: PUA - NSudo Execution
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-b32ddf39e742, updated 2023-02-13T00:00:00.000Z.
Rule
- Title
- PUA - NSudo Execution
- Status
- test
- Level
- high
- Author
- Florian Roth (Nextron Systems), Nasreddine Bencherchali
- Date
- 2022-01-24
- Modified
- 2023-02-13
- File
- rules/windows/process_creation/proc_creation_win_pua_nsudo.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of NSudo tool for command execution
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith:
- '\NSudo.exe'
- '\NSudoLC.exe'
- '\NSudoLG.exe'
- OriginalFileName:
- 'NSudo.exe'
- 'NSudoLC.exe'
- 'NSudoLG.exe'
selection_cli:
CommandLine|contains:
# Covers Single/Double dash "-"/"--" + ":"
- '-U:S ' # System
- '-U:T ' # Trusted Installer
- '-U:E ' # Elevated
- '-P:E ' # Enable All Privileges
- '-M:S ' # System Integrity
- '-M:H ' # High Integrity
# Covers Single/Double dash "-"/"--" + "="
- '-U=S '
- '-U=T '
- '-U=E '
- '-P=E '
- '-M=S '
- '-M=H '
- '-ShowWindowMode:Hide'
condition: all of selection_*False 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://web.archive.org/web/20221019044836/https://nsudo.m2team.org/en-us/
- https://www.winhelponline.com/blog/run-program-as-system-localsystem-account-windows/
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_nsudo.yml
Sources and licences
SigmaHQ
"PUA - NSudo Execution" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_pua_nsudo.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 - NSudo Execution",
entity page, dataset version ref-b32ddf39e742, updated 2023-02-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/771d1eb5-9587-4568-95fb-9ec44153a012 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 771d1eb5-9587-4568-95fb-9ec44153a012, 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.