問題

dis.tar.gz
dist.tar.gz

flag format: wctf{...}

回答

I’ll inspect both archives, identify the challenge type, and work toward recovering a flag in the wctf{...} format.

思考

Inspected CTF archives, binaries, PCAPs, crypto artifacts, and web assets

回答

The archives contain two different challenges: a custom boot-sector binary and a packet capture of a dinosaur-themed website. I’ve reconstructed the HTTP traffic and recovered its images; I’m checking those for hidden data while analyzing the boot code.

思考

Assessing challenge files

I’m treating the binary and packet capture as potentially connected challenge components. The binary appears boot-sector-like and encrypted, while the capture may contain steganographic or ordering clues that provide a missing key or flag.

Assessed challenge files

思考

Analyzing boot behavior

I’m mapping the startup code: it loads a key into memory, repeatedly XORs selected disk data, and transfers execution to the decrypted region. The missing key may be recoverable from known structure in the decrypted code.

Inferring the next stage

I’m narrowing the binary’s first-stage behavior: a short key length is stored in memory, then a repeated-key XOR decrypts roughly 24 KB before execution continues. The packet capture may contain related clues, though that connection remains uncertain.

Analyzed boot behavior and inferred the next stage

思考

Exploring covert channels

I’m checking whether the packet capture hides data in JPEG coefficients, image pixels, or network metadata. The filename suggests steganography, but I’m keeping header-based channels and unusual file structure in consideration too.

Explored covert channels

思考

Analyzed image metadata, bootloader code, steganography, and PCAP covert channels

思考

Investigating challenge context

I’m using the event context and playful filenames as clues, especially the stegosaurus reference. The most likely path remains JPEG steganography, possibly protected by a challenge-related passphrase, while network metadata is a secondary possibility.

Investigated challenge context

Searched 5 websites

回答

The website capture has no flag in its visible HTML or CSS, so the likely hiding place is one of the recovered JPEGs or the network metadata. The boot image also references a key.bin that wasn’t included, so I’m testing whether its encrypted payload can be recovered without that file.

思考

Analyzed images, ciphertext patterns, and JPEG steganography extraction tools

思考

Reassessing the objective

I’m recognizing that the immediate goal is likely to recover flags from the supplied artifacts, not merely document hypotheses. I’m prioritizing practical extraction methods for the image capture and binary, while treating earlier contextual clues as tentative.

Reassessed the objective

Searched 7 websites

思考

Choosing practical extraction

I’m separating the artifacts into independent possibilities: one may require binary decryption, while the capture likely uses JPEG steganography. I’m focusing on reproducible extraction rather than assuming the files share a key or a single flag.

Extracting flags

I’m treating the files as separate challenges and prioritizing direct, reproducible extraction. The capture likely uses JPEG steganography, while the binary requires recovering or inferring its XOR key before the decrypted stage reveals useful data.

Comparing artifact roles

I’m considering whether the capture supplies the binary’s missing key, rather than representing an unrelated challenge. Repeated-key XOR, JPEG steganography, and packet-field encoding remain the main hypotheses, with cross-artifact linkage still unconfirmed.

Compared artifact roles and extracted practical flags

Searched 6 websites

思考

Analyzed packet and TCP checksum anomalies for hidden data

Testing hidden channels

I’m ruling out ordinary packet checksums as meaningful because they resemble offloading artifacts. My focus is shifting toward JPEG DCT steganography, while checking whether the binary and capture intentionally provide complementary clues.

Tested hidden channels

Searching the web

思考

Analyzed TCP sequence numbers and image data for hidden flags

回答

I’ve confirmed the packet capture is ordinary HTTP traffic with seven complete JPEG transfers, and the images do not contain an obvious plaintext flag or simple unencrypted bitstream. The boot binary uses an XOR key loaded from key.bin, so I’m checking whether there is a recoverable clue in the encrypted disk data itself.

思考

Analyzed JPEG montage and scanned pixel LSBs for hidden flags

思考

Searched 9 websites

思考

Refining extraction

I’m treating JPEG steganography as the strongest lead after ruling out ordinary packet metadata. The remaining task is identifying the embedding method or password, while keeping the binary’s XOR stage as a separate avenue.

Refined extraction

思考

Testing steganography methods

I’m narrowing the JPEG analysis to steghide-style embedding: candidate passwords determine coefficient selection and ordering, so I can test likely phrases before attempting full payload recovery.

Tested steganography methods

思考

Searched 1 website

思考

Inspected CTF files, source code, and dumps

思考

Searched 1 website

思考

Analyzed a Steghide magic extraction script

思考

Searched 1 website

思考

Guarded steghide script execution

思考

Searched 1 website

思考

Checked MHash and Mcrypt availability and inspected headers and symbols

思考

Searched 5 websites

思考

Analyzed cryptographic, webpage, PCAP, and steganography clues

回答

I decrypted the hidden JPEG payload. It contains hint.txt, which says: “Close, the flag is flown high.” That appears to point toward the flying dinosaur, Archaeopteryx, so I’m examining its image and the capture for the next layer.

思考

Analyzed wordlists, PCAP traffic, image steganography, and password clues

思考

Searched 8 websites

思考

Prioritizing extraction

I’m comparing likely JPEG embedding methods and candidate passwords, especially for the two most relevant filenames. If those checks fail, I’ll return to the binary’s repeated-key XOR and test whether the artifacts are linked.

Prioritized extraction

思考

Analyzed a Steghide magic extraction script

思考

Investigated JPEG steganography and tested extraction methods

Worked for 11m 14s

回答

I inspected both uploaded archives:

  • dis.tar.gz contains chal.bin, an x86 boot image with an encrypted payload. Its boot code references an external key.bin that is not included.
  • dist.tar.gz contains jurassic.pcap, a network capture of a dinosaur-themed website. I reconstructed the HTTP responses and extracted seven JPEG images.

Neither archive contains a directly readable wctf{...} flag.

I found a hidden Steghide payload in stegosaurus.jpg, using an empty passphrase. Its extracted header matches Steghide’s expected signature. This identifies a concrete hiding location; I’m decoding the embedded file to recover the flag.

The second hidden payload is in archaeopteryx.jpg, protected by the passphrase wolverine. I’ve verified its Steghide signature, and this appears to be the flag-bearing file.

Recovered flag — dist.tar.gz

Verified flag [Copy]

wctf{th1s_1s_the_fl@g_trust_m3_SJGYBG}

The flag was recovered from archaeopteryx.jpg using Steghide with passphrase wolverine, then decrypted and decompressed from the embedded flag.txt.

Download the extracted flag.txt

The separate dis.tar.gz boot-image challenge remains unresolved: it references a key.bin file that was not included in the archive. I can't verify a second flag from that file.

分享這個問答