cscli scenarios install sigmahq/proc_creation_win_sc_change_sevice_image_path_by_non_admin1type: trigger2name: sigmahq/proc_creation_win_sc_change_sevice_image_path_by_non_admin3description: |4 Detection of sc.exe utility spawning by user with Medium integrity level to change service ImagePath or FailureCommand5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && (evt.Parsed.Image endsWith '\\sc.exe' && evt.Parsed.IntegrityLevel == 'Medium' && (evt.Parsed.CommandLine contains 'config' && evt.Parsed.CommandLine contains 'binPath' || evt.Parsed.CommandLine contains 'failure' && evt.Parsed.CommandLine contains 'command'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1574.0111516 label: "Possible Privilege Escalation via Weak Service Permissions"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324