Some Traffic

Description

By skyv3il

Our SOC analysts said that in the last few days, some of our employees started to upload a lot of photos on random sites. Check it out.

Flag Format: TFCCTF{...}.

Downloads: sus.pcapngarrow-up-right

Solution

Since description mentions uploads of photos, let's extract HTTP objects.

File -> Export Objects -> HTTP

First let's clean up.

└─$ file *   
%5c:       HTML document, ASCII text
upload:    data
upload(1): HTML document, ASCII text
upload(2): data
upload(3): HTML document, ASCII text
upload(4): data
upload(5): HTML document, ASCII text

└─$ for filename in $(/bin/ls); do 
    if [[ "$(file $filename)" =~ "HTML" ]]; then 
        rm $filename; 
    fi; 
done;

data files are actually png files or rather contain images, but there's weird header text and footer, let's also clean them up.

I wrote a small bash script to do this for us. What it basically does is grabs lines from START till END.

After getting proper images I tried to use zstegarrow-up-right and I couldn't find anything. By default zsteg tries common patterns, let's go boyond that. By using -a tool tries all known methods.

circle-check

Last updated