Forensic

Challenge
Link

Logging (100 pts)

Here

The Puzzled Protocol (495 pts)

The Puzzled Protocol (495 pts)

Description

In a world where the machines talk in codes, Two protocols clash on their invisible roads. One speaks control, the other knows the grid, Hidden among them, a secret is hide.

Modbus whispers commands to open the gate, DNP3 listens and alters its fate. Some signals are true, some meant to deceive, Only the sharp-eyed can truly perceive.

Flags are fragmented, scattered in disguise, The real one’s elusive, behind layers of lies. Find the whispers that tell the right tale, Or be lost in the noise, destined to fail.

Solution

Given PCAP file, open it using wireshark. At first frame, we can see some suspicious data

It looks like different with the others.

After knowing this information, i tried to filter only packet that consist "Data" string.

Copying all the values now left only guessing part. Lets decode the base64 ciphertext

All the values consist of byte like \xc3,\xc2, etc. We know that it can be caused by the process of encoding of char in python. So lets convert it to the actual values.

Continue the guessing, we know the format flag which is "INTIGRITI{", lets do some known operation such as xor, sub, add, etc.

Uh, look suspicious. Looks like we found the valid key and valid operation. Lets implement the algorithm for all values.

Flag: INTIGRITI{MODBUS_OV3RRID3_DNP3_3SC4P3_T3RM1N4L_C0NTR0L}

Last updated