Detectionhightest
Potential CobaltStrike Service Installations - Registry
Detects known malicious service installs that appear in cases in which a Cobalt Strike beacon elevates privileges or lateral movement.
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic2 selectors
detection:
selection_key:
- TargetObject|contains: '\System\CurrentControlSet\Services'
- TargetObject|contains|all:
- '\System\ControlSet'
- '\Services'
selection_details:
- Details|contains|all:
- 'ADMIN$'
- '.exe'
- Details|contains|all:
- '%COMSPEC%'
- 'start'
- 'powershell'
condition: all of selection_*False Positives
Unlikely
False positives are unlikely for most environments. High confidence detection.
References
MITRE ATT&CK
Rule Metadata
Rule ID
61a7697c-cb79-42a8-a2ff-5f0cdfae0130
Status
test
Level
high
Type
Detection
Created
2021-06-29
Modified
2024-03-25
Author
Path
rules/windows/registry/registry_set/registry_set_cobaltstrike_service_installs.yml
Raw Tags
attack.persistenceattack.executionattack.privilege-escalationattack.lateral-movementattack.t1021.002attack.t1543.003attack.t1569.002