Keep Tryin'
Keep Tryin'
Platform: HackTheBox | Category: Forensics | Difficulty: Easy | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
This packet capture seems to show some suspicious traffic
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. -
Notice there's 2 packets with
url-encoded. -
After open both, one of them have this encoded base64 strings.
-
Hmm.. The DNS packets caught my attention here.
-
Let's try to decode this strings.
-
Now let's follow this request.
OUR INTEREST
-
When i pasted that on cyberchef, we got nothing.
-
Then, when i checking the packets, found a request sent to /flag.
-
Let's focus on the DNS packets here, based on the packets and results we got here, what comes to my mind is, we need to do DNS Exfiltration, but before use that approach, let's try to find an easy way to solve this (if there is).
-
Well the previous text we got must be base64 text, but there are
.that got in the way and makes it looks corrupted. -
Let's remove the domain name and the
.also the text behind it (first) and in front of it (last).
0ejXWsr6TH-P_1xkEstaVwi7WDy8AcxufnGotWXH3ckb2Lh5A-qFljIWOAOLUS0?T1W8P4CpiCZbCM7_QKcv-r0JG29RpsyYY5YkZRxo7YDIYUJpHlGgxu5PWV1G_DA?KNrmnrktfbeDgzcpPJBjPTeMYx3Qs1Q6bAuFhROWXemJ80gPTYIz0xl8usJQN3m
-
Well i tried to read the forum and found out that sometext related to
RC4(?) -
What comes to my mind is let's add RC4 to the cyberchef and use
TryHarderas the key. -
Great! Based from the header we know it's a zip file.
HEADER
https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html
-
Let's add unzip.
-
One file found.
-
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.