Potential CobaltStrike Process Patterns

 Original Source: [Sigma source]
Title: Potential CobaltStrike Process Patterns
Status: test
Description:Detects potential process patterns related to Cobalt Strike beacon activity
References:
  -https://hausec.com/2021/07/26/cobalt-strike-and-tradecraft/
  -https://thedfirreport.com/2021/08/29/cobalt-strike-a-defenders-guide/
Author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Date: 2021-07-27
modified:2023-03-29
Tags:
  • -'attack.execution'
  • -'attack.t1059'
Logsource:
  • category: process_creation
  • product: windows
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_*
Falsepositives:
  -Unknown
Level: high