Detection rules › Sigma
CobaltStrike Named Pipe Patterns
Detects the creation of a named pipe with a pattern found in CobaltStrike malleable C2 profiles
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation | T1055 Process Injection |
| Defense Evasion | T1055 Process Injection |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 17 | PipeEvent (Pipe Created) |
| Sysmon | 18 | PipeEvent (Pipe Connected) |
Stages and Predicates
Stage 1: 1 of selection_malleable_profile_generic
or:
PipeName: '\demoagent_11'
PipeName: '\demoagent_22'
PipeName|startswith: '\DserNamePipe'
PipeName|startswith: '\MsFteWds'
PipeName|startswith: '\PGMessagePipe'
PipeName|startswith: '\SearchTextHarvester'
PipeName|startswith: '\f4c3'
PipeName|startswith: '\f53f'
PipeName|startswith: '\fullduplex_'
PipeName|startswith: '\mojo.5688.8052.183894939787088877'
PipeName|startswith: '\mojo.5688.8052.35780273329370473'
PipeName|startswith: '\msrpc_'
PipeName|startswith: '\mypipe-f'
PipeName|startswith: '\mypipe-h'
PipeName|startswith: '\ntsvcs'
PipeName|startswith: '\rpc_'
PipeName|startswith: '\scerpc'
PipeName|startswith: '\spoolss'
PipeName|startswith: '\win\msrpc_'
PipeName|startswith: '\win_svc'
PipeName|startswith: '\windows.update.manager'
PipeName|startswith: '\wkssvc'
Stage 2: 1 of selection_malleable_profile_catalog_change_listener
PipeName|endswith: '-0,'
PipeName|startswith: '\Winsock2\CatalogChangeListener-'
Stage 3: not 1 of filter_main_generic
PipeName: ['\MsFteWds', '\PGMessagePipe', '\SearchTextHarvester', '\ntsvcs', '\scerpc', '\spoolss', '\wkssvc']
Stage 4: not 1 of filter_optional_websense
or:
Image|contains: ':\Program Files (x86)\Websense\'
Image|contains: ':\Program Files\Websense\'
or:
PipeName|startswith: '\DserNamePipeR'
PipeName|startswith: '\DserNamePipeW'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | match |
|
PipeName | ends_with |
|
PipeName | eq |
|
PipeName | starts_with |
|