cscli scenarios install sigmahq/proc_creation_win_sc_sdset_hide_sevices
1type: trigger2name: sigmahq/proc_creation_win_sc_sdset_hide_sevices3description: |4 Detects usage of the "sc.exe" utility adding a new service with special permission seen used by threat actors which makes the service hidden and unremovable.5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\sc.exe' || evt.Parsed.OriginalFileName == 'sc.exe') && evt.Parsed.CommandLine contains 'sdset' && evt.Parsed.CommandLine contains 'DCLCWPDTSD')7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1574.0111516 label: "Service DACL Abuse To Hide Services Via Sc.EXE"17 behavior : "windows:audit"18 remediation: false1920scope:21 type: ParentProcessId22 expression: evt.Parsed.ParentProcessId2324