Insomni’hack teaser 2017 Forensics The Great Escape part-1 writeup


From the given PCAP file you must have noticed the traffic from OSCP, HTTP, FTP, SMTP and TLS protocol. TLS has the actual flag, FTP has the private key to decrypt the TLS traffic and SMTP has the clue that will help us in filtering the traffic of interest i.e the right TLS packets. You can ignore the rest.

The first task is to retrieve the private key file from the FTP traffic. Use the filter “ftp-data” in wireshark. Do a TCP stream, you can see the transferred private key. Save that as a text file ( private_key.txt).


We have the private key and all we have to do is to use it and decrypt the TLS packets. Use the filter “ssl” to see the encrypted traffic.


We have 4+ HTTP servers involved and the important task is to find the right one that has the flag. But how? The answer is in the hint transmitted in the email (SMTP traffic). Use the filter “smtp” and read the contents of the email. You can see the sender informing about moving the code from Swiss Secure Cloud to May be the flag was transmitted here!


The two addresses found in the email points to : 443. So this might be the right IP address we are looking for.


To confirm, see if there is any traffic originating from in the PCAP file. You will see the encrypted traffic. Let’s use all the information we gathered from the SMTP protocol ( IP :, PORT : 443) and FTP (the private key) to decrypt the SSL traffic.

Go to Edit->Preferences->Protocols->SSL. In the RSA key list add all the information we got. The protocol should be http as the port no for is 443 ( default for https).


Use the filter “ip.addr== and http”. You can see the deciphered traffic.

I was searching for the flag inside the transferred files ( File -> Export-> HTTP objects) but it was not there, after a while I found it in the HTTP header.



How to install UCL File Extension Types

There are many uncommon files like .HT4,.HSM etc which are similar to .ucl. UCL is not a common file format. They will call this file extension as Killing Floor System File. It uses Libtool so that shared libraries are supported on many systems. Please download this file for the installation process. UCL

Step 1 :

Move the downloaded file to a folder ( wherever you like)

Step 2:

Type this commands in your terminal. Make sure that you are typing the proper filename and version no. I am using version 1.03

$ tar -xvf ucl-1.03.tar

Step 3:

Change your directory to the extracted folder then,

make install

You are done with that! Use the ./ucltool to extract the files