Sigma rule: Service StartupType Change Via Sc.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ba4ccafefb0c, updated 2023-03-04T00:00:00.000Z.

Rule

Title
Service StartupType Change Via Sc.EXE
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-08-01
Modified
2023-03-04
File
rules/windows/process_creation/proc_creation_win_sc_disable_service.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
process_creation

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 (as the rule lists them)

  • False positives may occur with troubleshooting scripts

Tags

  • attack.execution
  • attack.defense-impairment
  • attack.t1685

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_sc_disable_service.yml

Sources and licences

  • SigmaHQ

    "Service StartupType Change Via Sc.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_sc_disable_service.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Service StartupType Change Via Sc.EXE",
entity page, dataset version ref-ba4ccafefb0c, updated 2023-03-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/85c312b7-f44d-4a51-a024-d671c40b49fc (accessed 2026-11-03).
Underlying source: SigmaHQ rule 85c312b7-f44d-4a51-a024-d671c40b49fc, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.