We were provided with a .pcapng file containing network traffic. The task was to inspect and analyse this file to locate and reconstruct a fragmented flag hidden across multiple TCP packets.
.pcapng file in Wireshark for a general overview of the captured traffic.flag[xxxx] labels indicating fragmented flag pieces scattered among the packets.Applied the Wireshark display filter:
tcp contains "flag"
This revealed packets containing partial flag data, all numbered (e.g., flag[0004], flag[0006]).
10.133.64.69:8082 and 10.133.64.21:55226.flag[xxxx] tags.flag[0000], flag[0001], etc.) to confirm a contiguous sequence.Once reordered, the combined text formed a coherent message referencing a Harry Potter excerpt. Embedded within was the completed flag.
CJ{warm_up_for_your_scapy/pyshark/tshark}
This challenge demonstrated how to use Wireshark's filters, stream following, and ASCII display mode to locate dispersed flag fragments. By scripting the reordering of fragments, we successfully reconstructed and decoded the hidden flag from the network capture.