Detectioncriticaltest

CobaltStrike Service Installations - System

Detects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement

Convert In Phoenix Studio

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

Launch
Florian Roth (Nextron Systems), Wojciech LesickiCreated Wed May 26Updated Sun Nov 275a105d34-05fc-401e-8553-272b45c1522dwindows
Log Source
Windowssystem
ProductWindows← raw: windows
Servicesystem← raw: system
Detection Logic
Detection Logic5 selectors
detection:
    selection_id:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection1:
        ImagePath|contains|all:
            - 'ADMIN$'
            - '.exe'
    selection2:
        ImagePath|contains|all:
            - '%COMSPEC%'
            - 'start'
            - 'powershell'
    selection3:
        ImagePath|contains: 'powershell -nop -w hidden -encodedcommand'
    selection4:
        ImagePath|base64offset|contains: "IEX (New-Object Net.Webclient).DownloadString('http://127.0.0.1:"
    condition: selection_id and (selection1 or selection2 or selection3 or selection4)
False Positives
Unknown

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

Rule Metadata
Rule ID
5a105d34-05fc-401e-8553-272b45c1522d
Status
test
Level
critical
Type
Detection
Created
Wed May 26
Modified
Sun Nov 27
Path
rules/windows/builtin/system/service_control_manager/win_system_cobaltstrike_service_installs.yml
Raw Tags
attack.persistenceattack.executionattack.privilege-escalationattack.lateral-movementattack.t1021.002attack.t1543.003attack.t1569.002
View on GitHub