Detectionmediumtest

Service StartupType Change Via Sc.EXE

Detect the use of "sc.exe" to change the startup type of a service to "disabled" or "demand"

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Mon Aug 01Updated Sat Mar 0485c312b7-f44d-4a51-a024-d671c40b49fcwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith: '\sc.exe'
        - OriginalFileName: 'sc.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' config '
            - 'start'
        CommandLine|contains:
            - 'disabled'
            - 'demand'
    condition: all of selection_*
False Positives

False positives may occur with troubleshooting scripts

Rule Metadata
Rule ID
85c312b7-f44d-4a51-a024-d671c40b49fc
Status
test
Level
medium
Type
Detection
Created
Mon Aug 01
Modified
Sat Mar 04
Path
rules/windows/process_creation/proc_creation_win_sc_disable_service.yml
Raw Tags
attack.executionattack.defense-evasionattack.t1562.001
View on GitHub