Chase
Chase
Platform: HackTheBox | Category: Forensics | Difficulty: Easy | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
One of our web servers triggered an AV alert, but none of the sysadmins say they were logged onto it. We've taken a network capture before shutting the server down to take a clone of the disk. Can you take a look at the PCAP and see if anything is up?
Solution Approach
Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.
Steps
-
First, unzip the
.zipfile given. -
Now open the
.pcapngfile in wireshark. -
Let's follow the
tcpstream. -
Based on it we can conclude that the webserver IP Address is
22.22.22.5. -
We know that the attacker uploaded a webshell (?) with the authKey=admin.
-
Next, the attacker executed a command line.
-
Then download the netcat.exe via
certutil. -
Now let's follow this TCP stream.
-
Based from it, we know the attacker executed whoami and ipconfig.
-
Then the attacker upload a
.txtfile twice. -
By using powershell and certutil.
-
To see what's inside the
.txtfile, i filtered the tcp stream to 5. -
Nothing interesting from the inside.
-
I kind of lucky, because i think the filename is look like a encoded text (?)
-
I pasted the text to cyberchef and got this result.
-
Turns out the text is encoded in base32.
-
Got the flag!
Flag
REDACTED
Lessons Learned
- Identify the weakness from source review or fingerprinting first.
- Iterate with incremental payloads instead of guessing.
- Reuse the same pattern in future engagements.