{"id":"771d1eb5-9587-4568-95fb-9ec44153a012","title":"PUA - NSudo Execution","description":"Detects the use of NSudo tool for command execution","author":"Florian Roth (Nextron Systems), Nasreddine Bencherchali","status":"test","level":"high","date":"2022-01-24","modified":"2023-02-13","tags":["attack.execution","attack.t1569.002","attack.s0029"],"technique_ids":["T1569.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate use by administrators"],"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/"],"source_path":"rules/windows/process_creation/proc_creation_win_pua_nsudo.yml","source_sha256":"ae071dbca2d4a74a492a0d4da38ba2e884c03f339980afa554ca1517f975efb1","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_pua_nsudo.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: PUA - NSudo Execution\nid: 771d1eb5-9587-4568-95fb-9ec44153a012\nstatus: test\ndescription: Detects the use of NSudo tool for command execution\nreferences:\n    - https://web.archive.org/web/20221019044836/https://nsudo.m2team.org/en-us/\n    - https://www.winhelponline.com/blog/run-program-as-system-localsystem-account-windows/\nauthor: Florian Roth (Nextron Systems), Nasreddine Bencherchali\ndate: 2022-01-24\nmodified: 2023-02-13\ntags:\n    - attack.execution\n    - attack.t1569.002\n    - attack.s0029\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith:\n              - '\\NSudo.exe'\n              - '\\NSudoLC.exe'\n              - '\\NSudoLG.exe'\n        - OriginalFileName:\n              - 'NSudo.exe'\n              - 'NSudoLC.exe'\n              - 'NSudoLG.exe'\n    selection_cli:\n        CommandLine|contains:\n            # Covers Single/Double dash \"-\"/\"--\" + \":\"\n            - '-U:S ' # System\n            - '-U:T ' # Trusted Installer\n            - '-U:E ' # Elevated\n            - '-P:E ' # Enable All Privileges\n            - '-M:S ' # System Integrity\n            - '-M:H ' # High Integrity\n            # Covers Single/Double dash \"-\"/\"--\" + \"=\"\n            - '-U=S '\n            - '-U=T '\n            - '-U=E '\n            - '-P=E '\n            - '-M=S '\n            - '-M=H '\n            - '-ShowWindowMode:Hide'\n    condition: all of selection_*\nfalsepositives:\n    - Legitimate use by administrators\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1569.002","id":"T1569.002","name":"Service Execution","page":"techniques/enterprise/T1569.002/"}],"data_path":"data/detection-rules/771d1eb5-9587-4568-95fb-9ec44153a012.json","kind":"sigma"}
