cscli scenarios install sigmahq/proc_creation_win_pua_advancedrun_priv_user
1type: trigger2name: sigmahq/proc_creation_win_pua_advancedrun_priv_user3description: |4 Detects the execution of AdvancedRun utility in the context of the TrustedInstaller, SYSTEM, Local Service or Network Service accounts5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.CommandLine contains '/EXEFilename' || evt.Parsed.CommandLine contains '/CommandLine') && (evt.Parsed.CommandLine contains ' /RunAs 8 ' || evt.Parsed.CommandLine contains ' /RunAs 4 ' || evt.Parsed.CommandLine contains ' /RunAs 10 ' || evt.Parsed.CommandLine contains ' /RunAs 11 ' || evt.Parsed.CommandLine endsWith '/RunAs 8' || evt.Parsed.CommandLine endsWith '/RunAs 4' || evt.Parsed.CommandLine endsWith '/RunAs 10' || evt.Parsed.CommandLine endsWith '/RunAs 11'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1134.0021516 label: "PUA - AdvancedRun Suspicious Execution"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324