So I found this challenge a bit tiring. We get a lot of data sent through different protocols (ARP, MDNS, TCP, ICMP etc.) Going through all of them, I found the ICMP packets a bit strange. There were some malformed packets in the capture. Seeing the hex dump of the first 3 packets makes it clear that a GIF image’s characters are present at the 34th byte of the hexdump.
So we got the exploit. All that is needed now is to filter out the ICMP packets which have the source IP 10.136.255.127.
Let us see what those suspicious ICMP packets were:
So if you notice you are able to see GIF as you observe the highlighted spots of the above images. Now here comes the part that I have to automate using scapy. Let us write a script.
And we got a GIF image file which had the flag written inside it.
So that’s how its done. Cheers!!