huntress2023

Writeups for Huntress CTF 2023

View on GitHub

✅ FORENSICS - Traffic

Writeup by: @goproslowyo

Tags

Files:

Description

Author: @JohnHammond

We saw some communication to a sketchy site… here’s an export of the network traffic. Can you track it down? Some tools like rita or zeek might help dig through all of this data! Download the file below.

Writeup

This challenge involved analyzing some network traffic capture with zeek.

We can begin by getting the latest RITA binary from their github page. We also need to have a very specific version of mongodb, because why should security tools stay up to date?

From there we can extract the zeek traffic archive and import it into RITA and then generate an HTML report to look at.

$ curl -LO https://github.com/activecm/rita/releases/download/v4.8.0/rita
$ chmod +x ./rita
$ docker run --rm --name mongo-for-rita -dp 27017:27017 mongo:4.2.24
$ 7z x traffic.7z
$ ./rita import 2021-09-08 traffic
$ ./rita html-report traffic
[...]

The challenge description hints that there was traffic to a sketchy site. :facepalm:

We can go through the RITA data using the tabs above and after a while you might spot something amiss.

RITA UI

RITA Domains List

A sketchy site!

And visit the sketchysite to claim your flag:

flag{8626fe7dcd8d412a80d0b3f0e36afd4a}

A Sketchy Flag