Skip to content

meltedinhex/analyst-ai-pack / skills/hunting-domain-fronting-and-cdn-abuse

hunting-domain-fronting-and-cdn-abuse

Verified

Hunts for domain fronting and CDN abuse by detecting TLS SNI versus HTTP Host header mismatches and high-reputation CDN domains carrying anomalous traffic in network telemetry. Activates for requests to hunt domain fronting, detect SNI/Host mismatch, or find CDN abuse used to mask C2.

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

references/api-reference.md

View on GitHub
# API Reference: Hunting Domain Fronting and CDN Abuse

## Overview

`scripts/analyst.py` parses flow telemetry pairing TLS SNI with HTTP Host (CSV or JSON-lines),
computes each one's registered domain, and flags mismatches — prioritizing known fronting-capable
CDN SNIs. It parses telemetry only and executes nothing.

## Dependencies

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

## Core functions

### `hunt(path)`
Returns SNI/Host mismatches with registered domains and a fronting-capable-CDN flag.

### `_registered_domain(host)`
Returns the last two labels as a coarse registered-domain approximation.

## Expected fields

`sni`/`server_name`/`ssl_server_name` (Zeek ssl.log) and `host`/`http_host` (Zeek http.log) or
proxy-log equivalents.

## Usage

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

## Sources

- MITRE ATT&CK T1090.004 Domain Fronting — https://attack.mitre.org/techniques/T1090/004/
- TLS SNI (RFC 6066) — https://datatracker.ietf.org/doc/html/rfc6066
- SNI-vs-Host fronting detection approach from public network-hunting research
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