Detectionhightest
Potential CobaltStrike Process Patterns
Detects potential process patterns related to Cobalt Strike beacon activity
Florian Roth (Nextron Systems), Nasreddine BencherchaliCreated 2021-07-27Updated 2023-03-29f35c5d71-b489-4e22-a115-f003df287317windows
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 Logic4 selectors
detection:
selection_generic_1:
CommandLine|endswith: 'cmd.exe /C whoami'
ParentImage|startswith: 'C:\Temp\'
selection_generic_2:
ParentImage|endswith:
- '\runonce.exe'
- '\dllhost.exe'
CommandLine|contains|all:
- 'cmd.exe /c echo'
- '> \\\\.\\pipe'
selection_conhost_1:
ParentCommandLine|contains|all:
- 'cmd.exe /C echo'
- ' > \\\\.\\pipe'
CommandLine|endswith: 'conhost.exe 0xffffffff -ForceV1'
selection_conhost_2:
ParentCommandLine|endswith: '/C whoami'
CommandLine|endswith: 'conhost.exe 0xffffffff -ForceV1'
condition: 1 of selection_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
f35c5d71-b489-4e22-a115-f003df287317
Status
test
Level
high
Type
Detection
Created
2021-07-27
Modified
2023-03-29
Path
rules/windows/process_creation/proc_creation_win_hktl_cobaltstrike_process_patterns.yml
Raw Tags
attack.executionattack.t1059