cscli scenarios install sigmahq/proc_creation_win_pua_nsudo
1type: trigger2name: sigmahq/proc_creation_win_pua_nsudo3description: |4 Detects the use of NSudo tool for command execution5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\NSudo.exe' || evt.Parsed.Image endsWith '\\NSudoLC.exe' || evt.Parsed.Image endsWith '\\NSudoLG.exe' || evt.Parsed.OriginalFileName in ['NSudo.exe', 'NSudoLC.exe', 'NSudoLG.exe']) && (evt.Parsed.CommandLine contains '-U:S ' || evt.Parsed.CommandLine contains '-U:T ' || evt.Parsed.CommandLine contains '-U:E ' || evt.Parsed.CommandLine contains '-P:E ' || evt.Parsed.CommandLine contains '-M:S ' || evt.Parsed.CommandLine contains '-M:H ' || evt.Parsed.CommandLine contains '-U=S ' || evt.Parsed.CommandLine contains '-U=T ' || evt.Parsed.CommandLine contains '-U=E ' || evt.Parsed.CommandLine contains '-P=E ' || evt.Parsed.CommandLine contains '-M=S ' || evt.Parsed.CommandLine contains '-M=H ' || evt.Parsed.CommandLine contains '-ShowWindowMode:Hide'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1569.0021516 label: "PUA - NSudo Execution"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324