Skip to content
Adam Omar Saleh

H7CTF 2026 placeholder badge (unofficial)H7CTF 2026Network Forensics

DNS Tunneling Recovery

Title unconfirmed

PCAP / DNS subdomain chunks / Base32 reconstruction

Competition
H7CTF 2026 placeholder badge (unofficial)H7CTF 2026
Category
Network ForensicsEasy · estimated
Analysis status
Flag extracted locally
Document
Original PDF

01Challenge analysis

The problem

The challenge exfiltrated encoded information through DNS queries in a packet capture. The data was fragmented into subdomain labels, so direct payload inspection missed the message.

02Exploit or recovery path

How I solved it

  1. 01

    I inspected the supplied PCAP and filtered DNS queries carrying unusually encoded or indexed subdomain labels.

  2. 02

    I extracted the payload-bearing labels, removed domain scaffolding, and reconstructed the original chunk order.

  3. 03

    I concatenated and Base32-decoded the recovered message.

  4. 04

    The decoded payload contained the final H7CTF flag.

Result

RECOVERED FLAG

H7CTF{6787b86cc777f426b9c0}

Flag extracted locally

Local Verification
Exact flag recovered during the earlier PCAP analysis.
Evidence Limitation
Actual query labels and full packet-filter script were not retained, so they are not fabricated.

Original document

Original PDF

The writeup as I first documented it.