Skip to content
Back to skills

Hunting Domain Fronting And Cdn Abuse

ASecurity

'Hunts for domain fronting and CDN abuse by detecting TLS SNI versus HTTP Host header

  • 22 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
securitypythonbashgitapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add meltedinhex/analyst-ai-pack --skill hunting-domain-fronting-and-cdn-abuse --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hunting Domain Fronting And Cdn Abuse?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hunting Domain Fronting And Cdn Abuse
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/meltedinhex-hunting-domain-fronting-and-cdn-abuse/badge)](https://www.skillsdirectory.com/skills/meltedinhex-hunting-domain-fronting-and-cdn-abuse)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hunting-domain-fronting-and-cdn-abuse
description: '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.'
domain: cybersecurity
subdomain: threat-hunting
tags:
  - threat-hunting
  - domain-fronting
  - cdn
  - tls
  - c2
version: 1.0.0
author: analyst-ai-pack
license: Apache-2.0
mitre_attack:
  - T1090.004
  - T1071.001
  - T1573
d3fend:
  - D3-NTA
  - D3-NTPM
references:
  - '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'
---

# Hunting Domain Fronting and CDN Abuse

## When to Use

- You have TLS/HTTP telemetry (Zeek ssl.log + http.log, proxy logs) and want to detect domain
  fronting, where the TLS SNI shows a benign CDN domain but the inner HTTP Host differs.
- You are hunting C2 hidden behind high-reputation CDNs.

**Do not use** SNI/Host mismatch as definitive — some legitimate setups differ. Corroborate with
destination behavior and reputation.

## Prerequisites

- Telemetry pairing TLS SNI with the inner HTTP Host (or proxy logs exposing both).

## Workflow

### Step 1: Detect SNI/Host mismatch

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

Flags connections where the TLS SNI and HTTP Host headers resolve to different registered domains,
especially when the SNI is a known CDN/fronting-capable domain.

### Step 2: Surface CDN-hosted anomalies

Highlight high-reputation CDN SNIs carrying long-lived or beaconing flows.

### Step 3: Confirm

Corroborate with beacon periodicity, JA3, and destination reputation; many CDN mismatches are
benign.

### Step 4: Operationalize

Write a detection for SNI/Host registered-domain mismatch on fronting-capable CDNs.

## Validation

- Mismatch is computed on the registered domain, not the full hostname.
- Known CDN SNIs are recognized to prioritize fronting-capable cases.
- Findings are presented with corroboration needs, not as proof.

## Pitfalls

- Legitimate multi-tenant CDN/edge configs producing benign mismatches.
- Encrypted SNI (ECH) hiding the SNI entirely — different hunt required.
- Treating any CDN traffic as suspicious (high false-positive rate).

## References

- See [`references/api-reference.md`](references/api-reference.md) for the hunter.
- ATT&CK T1090.004 and the TLS SNI RFC (linked in frontmatter).

Files in this skill

  • LICENSE340 B
  • SKILL.md2.5 KB
  • references/api-reference.md1.1 KB
  • scripts/analyst.py2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.