Export
Export
Platform: HackTheBox | Category: Forensics | Difficulty: Easy | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
We spotted a suspicious connection to one of our servers, and immediately took a memory dump. Can you figure out what the attackers were up to?
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. -
Got a
.rawfile which is a memory dump of a system in which memory forensics was done to figure out what is going on during the time the dump created. -
So let's use memory forensics tools named Volatility.
-
Based from the result, the top suggested profile is
Win7SP1x64which means that the system in question is likely a Windows 7 SP1 64 bit system. -
Since the profile is determined, hence we can run this command:
vol.py -f WIN-LQS146OE2S1-20201027-142607.raw --profile=Win7SP1x64 pslistt
- The
cmd.execaught my attention, let's usecmdscan.
vol.py -f WIN-LQS146OE2S1-20201027-142607.raw --profile=Win7SP1x64 cmdscan
-
Let's paste the encoded url to cyberchef.
-
Notice there's a base64 encoded text.
-
Let's decode that.
-
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.