Skip to content

meltedinhex/analyst-ai-pack / skills/hunting-cobalt-strike-traffic

hunting-cobalt-strike-traffic

Verified

Hunts for Cobalt Strike beacon traffic by detecting default stager URI checksum8 values, default Malleable C2 profile artifacts, and default ports/named pipes in HTTP and process telemetry. Activates for requests to hunt Cobalt Strike, detect beacon stager URIs, or find default Malleable C2 indicators.

FileKindSize
LICENSEother340 B
SKILL.mdskill md2.7 KB
references/api-reference.mdmarkdown1.3 KB
scripts/analyst.pyscript3.5 KB

references/api-reference.md

View on GitHub
# API Reference: Hunting Cobalt Strike Traffic

## Overview

`scripts/analyst.py` detects default-configuration Cobalt Strike artifacts in HTTP and process
telemetry: default stager URIs via the checksum8 algorithm, default Malleable C2 URIs/user-agents,
and default named pipes. It parses telemetry only and executes nothing. Default indicators match
default configs only.

## Dependencies

| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | csv, json, file IO |

## Core functions

### `checksum8(path_segment)`
Returns the sum of a 4-character alphanumeric URI path mod 256; `92` (x86) or `93` (x64) indicates
a default Cobalt Strike stager URI.

### `hunt(path)`
Returns default stager URIs, default profile artifacts (URIs/user-agents), and default named pipes.

## Default artifacts

- Stager checksum8 == 92 (x86) / 93 (x64).
- URIs: `/__utm.gif`, `/submit.php`, `/pixel`, etc.
- Pipes: `\\.\pipe\msagent_*`, `\\.\pipe\status_*`, `\\.\pipe\postex_*`.

## Usage

```bash
python scripts/analyst.py hunt http.csv
```

## Sources

- MITRE ATT&CK Software S0154 Cobalt Strike — https://attack.mitre.org/software/S0154/
- Cobalt Strike default stager checksum8 (92/93) behavior from public C2 research
- Default Malleable C2 profile URIs/pipes from the publicly documented default profile
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall