Detectionhightest

Potential Privilege Escalation via Service Permissions Weakness

Detect modification of services configuration (ImagePath, FailureCommand and ServiceDLL) in registry by processes with Medium integrity level

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 010f9c21f1-6a73-4b0e-9809-cb562cb8d981windows
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 Logic1 selector
detection:
    selection:
        IntegrityLevel:
            - 'Medium'
            - 'S-1-16-8192'
        CommandLine|contains|all:
            - 'ControlSet'
            - 'services'
        CommandLine|contains:
            - '\ImagePath'
            - '\FailureCommand'
            - '\ServiceDll'
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
0f9c21f1-6a73-4b0e-9809-cb562cb8d981
Status
test
Level
high
Type
Detection
Created
Sat Oct 26
Modified
Sun Dec 01
Path
rules/windows/process_creation/proc_creation_win_registry_privilege_escalation_via_service_key.yml
Raw Tags
attack.persistenceattack.defense-evasionattack.privilege-escalationattack.t1574.011
View on GitHub