Writeup: Pragyan 2019 - Save Earth
Information
- Category: forensics
Description
In the mid 21st century, Ex-NASA pilot Cooper leaves his little daughter and goes an interstellar journey around the space to find an alternative planet (PLAN A) or to capture gravitational data and send it back to earth, which Scientists will use to save Earth. However Cooper finds himself stuck in a tesseract that spans across time, there is only one way he could transmit the data to his little girl.
We have obtained parts of what Cooper sent to his daughter, can you find the flag and save the earth?
Note: This question does not follow the flag format
Writeup
The challenge consist in a PCAP file called SaveEarth.pcap
with some USB packets.
Since we were triggered about this USB PCAP (RIVERSIDE!) we easily dumped the capture data:
tshark -Y "usb.transfer_type == 0x01 && !(usb.capdata == 00:00:00:00:00:00:00:00)" -r SaveEarth.pcap -T fields -e usb.capdata > hex_data.txt
We got:
1 | 01:02:00:00:00:00:00:00 |
The data contains just 3 values so we thought to convert them in a morse code string.
1 | KEY_CODES = {0x02: ["_", "_"], 0x01: [" ", " "], 0x04: [".", "."]} |
We got the string -.-. - ..-. ... ....- ...- ...--
which decodes to CTFS4V3
from morse.
Flag
pctf{wh4_50_53r1u5?}