Detectionhightest

Possible Privilege Escalation via Weak Service Permissions

Detection of sc.exe utility spawning by user with Medium integrity level to change service ImagePath or FailureCommand

Convert In Phoenix Studio

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

Launch
Teymur KheirkhabarovCreated Sat Oct 26Updated Sun Dec 01d937b75f-a665-4480-88a5-2f20e9f9b22awindows
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 Logic3 selectors
detection:
    scbynonadmin:
        Image|endswith: '\sc.exe'
        IntegrityLevel:
            - 'Medium'
            - 'S-1-16-8192'
    selection_binpath:
        CommandLine|contains|all:
            - 'config'
            - 'binPath'
    selection_failure:
        CommandLine|contains|all:
            - 'failure'
            - 'command'
    condition: scbynonadmin and 1 of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
d937b75f-a665-4480-88a5-2f20e9f9b22a
Status
test
Level
high
Type
Detection
Created
Sat Oct 26
Modified
Sun Dec 01
Path
rules/windows/process_creation/proc_creation_win_sc_change_sevice_image_path_by_non_admin.yml
Raw Tags
attack.persistenceattack.defense-evasionattack.privilege-escalationattack.t1574.011
View on GitHub