Gamer - 5 - Forensics
Task
Q1 - The attacker scanned a range of IPs, storing the results in a file for exfiltration. What's the full path of the output file, the count of active hosts, and the IP & Port used for exfiltration?
Q2 - The attacker established a new account for persistence. Can you disclose the name of the new account and its creation date, please? TimeStamp (UTC)
Format: 0xL4ugh{FullPath_Count_IP:Port_username_TimeStamp}
Example: 0xL4ugh{C:**\fileName.ext_0_127.0.0.1:1337_HackerAwyyy_DD-MM-YYYY_HH:MM:SS}
Solution
From the content of Gamer - 1
task we know that:
An employee downloaded an unauthorized app on their work PC to play and chat with gamer friends, leading to a malware infection. Utilizing investigative skills, please identify the specific events that transpired in this scenario.
We get Challenge.7z
archive:
After unpacking we get another archive Image.7z
. Let's copy it to a Windows virtual machine and unpack it using 7-zip:
We got a C disk content.
Let's take a look at the contents of the run.ps1
script:
The script contains a payload encoded with Base64
. Let's decode it using CyberChef
:
The content of the payload indicates that this script scans the IP address from 192.168.1.1
to 192.168.1.17
, checking with the Test-Connection
cmdlet whether a given host is online. Test-Connection
sends ICMP echo request packets or pings to the host. Host scan results are saved to a file:
Then the content of the file is read and encoded to Base64
and sent to the remote host with IP address and port:
Let's check the contents of the A52148.txt
file to find out which hosts were active:
We can see that only 3
hosts were active. We get all the answers for the first task. Now we have to find information about the creation of a new account in the system.
We find an event that indicates the creation of a new user account:
The username of the new account is:
We have the username of the created account, but we still do not have time of its creation.
In the location SAM\Domains\Account\Users
we can find the following information connected with user accounts:
We notice that the account of 7amoksha
user was created on 2024-01-07
at 9:16:20
. Let's change the account creation format to match the format in the flag:
Flag:
Last updated