Skip to content
Adam Omar Saleh

SpookyCTF 2026 "Phobias" logoSpookyCTF 2026Network

Cleithrophobia

"Start the ship" points to the HTTP POST /bridge/ignition requests. Of the 20 attempts, only one gets 200 OK: the one authenticated as captain.kirk:Enterprise-1701-A.

Competition
SpookyCTF 2026 "Phobias" logoSpookyCTF 2026
Category
NetworkMedium
Source status
Source-documented · not platform-verified
Document
PDF edition3 min read

Brief

The challenge

Category
Network Traffic Analysis (Wireshark)
Difficulty
Medium
Points
75
Author
Raindrops095
File
Cleithrophobia.pcap

You are stuck inside of the Enterprise with no way out. The rest of the crew has gone missing. They need help finding a way back to a Federation outpost but the ship is stuck dead in space. Maybe the packet file they have can find a way to start the ship.

Challenge page
Challenge page

TL;DR

"Start the ship" points to the HTTP POST /bridge/ignition requests. Of the 20 attempts, only one gets 200 OK: the one authenticated as captain.kirk:Enterprise-1701-A. Its response carries three Base64 deflector_partN values spread across custom headers, and joining them gives the flag.

Text
POST /bridge/ignition → Basic auth decode → the single 200 OK → 3 Base64 header parts → flag

01

Recon

The capture has 2000 packets. Most of it is noise with randomized IPs:

  • ~570 TLS packets on 443 (short, encrypted, random endpoints)

  • FTP logins to "USS Enterprise NCC-1701-D FTP Service" with crew usernames and numeric passwords. They're logins only, with no file transfers.

  • ICMP and UDP padded with transporter_pattern_buffer_..., plus UDP chatter like sensor_sweep=, stardate=, warp_core_telemetry=<random base64>, status=green;deflector=<random base64>

  • DNS lookups for *.ncc1701.starfleet.local with no interesting answers

Shell
tshark -r Cleithrophobia.pcap -q -z io,phs

02

Finding "start the ship"

Listing the HTTP requests shows hosts like bridge.ncc1701.starfleet.local, sickbay... and engineering.... The one endpoint that matches the prompt is:

Text
POST /bridge/ignition   (bridge.ncc1701.starfleet.local)

It's requested 20 times, every time with an Authorization: Basic ... header.

Shell
tshark -r Cleithrophobia.pcap -Y http.request -T fields -e http.host -e http.request.method -e http.request.uri

03

Decoding the ignition attempts

The responses come back on port 8080/80 and Wireshark doesn't always dissect them as HTTP, so I reassembled every TCP conversation with scapy. Then I decoded the Basic auth header and read the status line:

CredentialsResult
ops.bridge:Enterprise-1701-A401 (×6)
sulu:Helm-Control-99401 (×4)
captain.kirk:Enterprise-1701401 (×4)
captain.kirk:kirk-1701-A401 (×4)
spock:Logic-1701-B401 (×2)
captain.kirk:Enterprise-1701-A200 OK (×1, frame 404)

Every failure returns IGNITION DENIED - INVALID COMMAND CREDENTIALS. The single success returns IGNITION AUTHORIZED - WARP CORE PREPARING.

04

The successful response

Following TCP stream 65 (142.101.201.15:22636 ↔ 141.112.236.212:8080):

Text
HTTP/1.1 200 OKContent-Type: text/plainX-Bridge-Telemetry: deflector_part1=U3Bvb2t5e0JlMA==X-Deflector-Status: deflector_part2=bV9NZV9VcF9TYw==X-Warp-Core-Reading: deflector_part3=MHR0eV8yMjY2fQ==​IGNITION AUTHORIZED - WARP CORE PREPARING

Each part is Base64:

PartBase64Decoded
1U3Bvb2t5e0JlMA==Spooky{Be0
2bV9NZV9VcF9TYw==m_Me_Up_Sc
3MHR0eV8yMjY2fQ==0tty_2266}

The UDP status=green;deflector=... and warp_core_telemetry=... values look similar, but they decode to random bytes. They're decoys meant to make the "deflector" keyword point the wrong way.

Solve script

The script is in solve.py:

Python
import base64import reimport sysfrom collections import defaultdict​from scapy.all import IP, TCP, Raw, rdpcap​pcap = sys.argv[1] if len(sys.argv) > 1 else "Cleithrophobia.pcap"​streams = defaultdict(bytearray)for p in rdpcap(pcap):    if IP in p and TCP in p and Raw in p:        k = tuple(sorted([(p[IP].src, p[TCP].sport), (p[IP].dst, p[TCP].dport)]))        streams[k] += bytes(p[Raw].load)​for data in streams.values():    if b"/bridge/ignition" not in data:        continue    auth = re.search(rb"Authorization: Basic (\S+)", data)    creds = base64.b64decode(auth.group(1)).decode()    status = re.search(rb"HTTP/1\.[01] (\d+ [^\r\n]*)", data).group(1).decode()    print(f"{creds:35} {status}")    if status.startswith("200"):        parts = dict(re.findall(rb"deflector_(part\d)=(\S+)", data))        flag = b"".join(base64.b64decode(parts[k]) for k in sorted(parts)).decode()​print("\nflag   :", flag)

Output (last line):

Text
flag   : Spooky{Be0m_Me_Up_Sc0tty_2266}

Flag

Flag

Spooky{Be0m_Me_Up_Sc0tty_2266}

Source-documented · not platform-verified

Takeaways

  • Let the story pick the protocol: "start the ship" maps to a single endpoint, /bridge/ignition.

  • When many requests look the same, sort them by response status. The one success is the needle.

  • Flags can be split across custom HTTP headers, so read the full response headers and not just the body.

  • Look-alike Base64 values in noise traffic (deflector=, warp_core_telemetry=) are there to waste your time. Check that they decode to text before chasing them.

PDF edition

Writeup PDF

Formatted edition of this walkthrough, built from my source notes · 5 pages.