TickTock
TickTock
Platform: HackTheBox | Type: SOC/DFIR | Difficulty: Medium | Author: D3v0o0Nu11 | Date: 2026-02-10
Scenario
Gladys is a new joiner in the company, she has recieved an email informing her that the IT department is due to do some work on her PC, she is guided to call the IT team where they will inform her on how to allow them remote access. The IT team however are actually a group of hackers that are attempting to attack Forela.
Key Questions
- What indicators of compromise exist?
- What attack chain / MITRE techniques were used?
- What is the full timeline?
Investigation Timeline
| Time | Event | Evidence / Source |
|---|---|---|
| 11:21:34 | Long story short, upon reviewing the logs. Found an outbound connection at 11:21:34 from Gladys PC. | |
| 11:51:15 | It can be found at timestamp --> 11:51:15 row 63. | |
| 11:35:27 | Found that an initial connection started at 11:35:27 and the login attempt is at 11:35:27, then it authenticated ... | |
| 18:14:33 | Found an interesting powershell execution at 18:14:33, the contents are encoded with base64. |
Evidence Analysed
- Tools: powershell.
- Artifacts: EVTX, prefetch, MFT.
Detailed Investigation
- In this case, we're tasked to investigate a malicious remote access connection through the logs given.
- Based from the scenario and the questions, we can conclude that a new employee gets a call from the attacker to allow them remote access to her PC. After they get a D3v0o0Nu11Viewer connection, they also launch a C2 agent.
ARTIFACTS GIVEN
- It seems we're gonna dealing with parsing Master File Table and reviewing Windows Event Logs if needed.
1ST QUESTION --> ANS: REDACTED
- Since the initial entry is from the gladys PC, where she allowed the attacker to do remote access to her PC. Let's check the log file inside her directory for any remote access application avail.
Navigating through --> /C/Users/gladys/AppData/Local/
-
Seems we identified what remote access application gladys used, it's D3v0o0Nu11Viewer. Now let's review the log start by the D3v0o0Nu11Viewer15_Logfile.log
-
Long story short, upon reviewing the logs. Found an outbound connection at
11:21:34from Gladys PC. -
It downloaded a binary file named
Merlin.exe. The binary stored at the desktop. -
This could be the C2 Agent, but further checking is needed.
-
Upon reviewing the csv file which contains prefetch log, found that
Merlin.exeis part of the prefetch. Meaning it's previously Opened or Executed on the PC. -
It can be found at timestamp -->
11:51:15row 63. -
But again, we need more evidence whether it is indeed acts as a C2 agent.
-
Now let's review the Windows Event log.
-
The simplest way to identify whether the binary is malicious or not, we can start by reviewing the
Windows Defenderevent log. -
Long story short, found that
Merlin.exeis logged inside the log. -
Reviewing the logs previous it, Windows Defender categorized the
Merlin.exeasVirTool:Win32/Myrddin.D. -
So to summarize this up,
Merlin.exegets executed then quarantined by the Windows Defender, then it freed again. -
Great! We hunted the C2 agent.
2ND QUESTION --> ANS: REDACTED
- Now, to identify the initial access's session ID, we need to review again the D3v0o0Nu11 Viewer logfile.
- Found that an initial connection started at
11:35:27and the login attempt is at11:35:27, then it authenticated at11:35:31. - Which means the session ID is -->
-2102926010.
3RD QUESTION --> ANS: REDACTED
-
To identify this event where the attacker attempted to set a bitlocked password on the C drive, we need to review Windows Powershell event log.
-
Found an interesting powershell execution at
18:14:33, the contents are encoded with base64. -
Upon decoding it, it's indeed the command used by the attacker to mount the C drive. Also we identified the password used.
4TH QUESTION --> ANS: REDACTED
-
Next, to identify the name used by the attacker, again we need to review the D3v0o0Nu11Viewer logfile.
-
Based, from the evidence above, after the attacker authenticated. It saved the session and saved the local participant as
1764218403. -
Not long after it, around 4 seconds later, we can identified 2 participants inside the session.
-
The first one, likely is Gladys PC's Hostname. The other one should be the attacker -->
fritjof olfasson. -
As an additional information. There is an attempt to screenshot the desktop.
5TH QUESTION --> ANS: REDACTED
-
To identify the destination of the C2 agent, simply review the sysmon log and filter for event ID 3 -->
Network Connection Detected. -
Great! Now we know the destination IP is -->
52.56.142.81.
Destination IP details
6TH QUESTION --> ANS: REDACTED
- Previously, by analyzing the Windows Defender event log, we identified the C2 binary categorized as -->
VirTool:Win32/Myrddin.D.
7TH QUESTION --> ANS: REDACTED
-
If you notice, when reviewing the D3v0o0Nu11Viewer log, the timestamp of the next logs seems manipulated (?)
-
This must be the attacker doing to confuse the analyst or the Incident Responds team.
-
After reviewing several log at sysmon for eventID 11, found few powershell script with interesting filename.
-
Seems this time we're gonna need to review the MFT, let's parse the MFT to CSV file then open it using Time Explorer. Anyway there's another simple method if you don't want to parse it, simply using MFTExplorer you can open the raw MFT file without converting it first to CSV file.
TIME EXPLORER
-
Let's start the search by filtering for gladys's Desktop first.
-
Interestingly, there is a powershell script named
Invoke-TimeWizard. Based from the filename and it's location. It's indeed the script used by the attacker to manipulate the D3v0o0Nu11Viewer timestamp. It manipulate the windows timestamp as a whole.
ADDITION RESULT USING MFT Explorer
- As you can see, using MFT Explorer shall help us with the visibility to review each timestamp of files.
8TH QUESTION --> ANS: REDACTED
- Again, based on our previous analsis on D3v0o0Nu11Viewer logfile. The initial connection starts at
2023/05/04 11:35:27.
9TH QUESTION --> ANS: REDACTED
- Rather than carving the binary from the raw MFT file manually, let's review the Windows Defender log.
PATH TO DEFENDER LOGS:
C/ProgramData/Microsoft/Windows Defender/Support
- Reviewing the MPLog shall help us to identify both sha1 and sha2.
10TH QUESTION --> ANS: REDACTED
- To identify the count, we need to review the
securityevent log then filter for eventID 4616 and with keyword powershell.
COMMAND
Get-WinEvent -Path '.\Collection\C\Windows\System32\winevt\logs\Security.evtx' -FilterXPath "*[System[(EventID=4616)]]" | Where-Object { $_.Message -like '*powershell*' } | Measure-Object
11TH QUESTION --> ANS: REDACTED
-
Again, reviewing the security event log, we can identify the SID for gladys.
-
Great! We've investigated the case!
Findings
- Persistence mechanism — As documented in the investigation steps.
- Initial access — The threat actor established access via the vector described in the investigation steps.
- Impact — As documented in the investigation steps.
MITRE ATT&CK Mapping
| Tactic | Technique | ID |
|---|---|---|
| Defense Evasion | Obfuscated Files or Information | T1027 |
| Command and Control | Ingress Tool Transfer | T1105 |
Answers / Flags
- 1ST QUESTION --> ANS: REDACTED
- 2ND QUESTION --> ANS: REDACTED
- 3RD QUESTION --> ANS: REDACTED
- 4TH QUESTION --> ANS: REDACTED
- 5TH QUESTION --> ANS: REDACTED
- 6TH QUESTION --> ANS: REDACTED
- 7TH QUESTION --> ANS: REDACTED
- 8TH QUESTION --> ANS: REDACTED
- 9TH QUESTION --> ANS: REDACTED
- 10TH QUESTION --> ANS: REDACTED
- 11TH QUESTION --> ANS: REDACTED
Lessons Learned
- Reviewing D3v0o0Nu11Viewer logs (hunting C2 agent, hunting the attacker session).
- Reviewing Prefetch logs to identify previously opened or executed binaries.
- Reviewing Sysmon log to identify outbound / inbound network connections.
- Reviewing Windows Defender and Powershell log to identify the C2 Agent, Drive Mounting Execution, and C2's hashes.
- Parsing raw Master File Table using MFTECmd.exe
- Reviewing parsed MFT using Time Explorer.
- Using Get-WinEvent grab for timestamp change event.