← back to portfolio
Digital Forensics

Windows Endpoint Compromise

Category
Digital Forensics
Status
Complete
Platform
LetsDefend
Investigation Window
2022-08-21 – 2022-09-08
Method
Manual artifact analysis (Eric Zimmerman tools)
MITRE ATT&CK
T1566 Phishing T1059.003 Windows Command Shell T1070.006 Timestomp T1546.012 IFEO Injection T1021.001 RDP T1087 Account Discovery
Executive Summary A phishing email delivered a malicious document that led to execution of a stager on the host. The attacker manipulated file timestamps to hinder analysis, established persistence through an Image File Execution Options technique, and moved laterally via RDP. Post-exploitation activity included account enumeration and privilege escalation consistent with Metasploit tooling. The host remained under attacker control throughout the observed window.
Table of Contents
  1. Scenario
  2. Evidence Collected
  3. Timeline
  4. Key Findings
  5. Attack Chain
  6. Analyst Notes
  7. Lessons Learned

Scenario

A targeted phishing campaign was carried out against the organization, and the phishing email had already been opened on three systems across the network. A quick triage image was collected from one of the infected hosts for identification of the attacker's tactics and techniques, so the incident response team could respond and contain any further compromise.

This investigation was focused on manual artifact analysis using Eric Zimmerman's tools suite. Some findings required additional research beyond standard artifact parsing.

Evidence Collected

ArtifactSourceKey EvidenceWhy It Mattered
Shellbags [root]\Users\CyberJunkie\NTUSER.dat ...\Downloads\MailDownloads Revealed the path to the phishing document
Recycle Bin $Recycle.Bin\S-1-5-21-...-1001\$lWKWHDC Security Awareness.docx Deleted phishing document was recovered
Prefetch [root]\Windows\Prefetch SECURITYPATCH.EXE Confirmed the dropped stager was executed
$MFT [root]\Users\CyberJunkie\$MFT SECURITYPATCH.EXE Timestamp had been altered by the attacker
Registry ...\SilentProcessExit\explorer.exe GetPatch.exe Explorer.exe was hijacked to execute the stager
RDP Cache ...\Terminal Server Client\Cache bcache24.bmc, Cache0000.bin Confirmed RDP lateral movement
System Logs \System32\winevt\Logs\System.evtx cmd.exe /c echo kyvckn > \.\pipe\kyvckn Indicated privilege escalation activity

Timeline

Time (UTC)UserEventSource
2022-08-21 12:55:33CyberjunkieDirectory accessShellbags
2022-08-21 13:02:23CyberjunkieTimestamp modified$MFT
2022-08-21 13:03:08CyberjunkieProcess executionPrefetch
2022-08-21 14:03:33CyberjunkieFile deletionRecycle Bin
2022-09-08 14:34:52CyberjunkiePersistence establishedRegistry
UnvalidatedCyberjunkiePrivilege escalationSystem Logs

Key Findings

Attack Chain

Initial Access
Malicious document (Security Awareness.docx) delivered via phishing email.
Execution
Opening the document triggered execution of a stager identified as SECURITYPATCH.EXE.
Persistence
Configured through the GlobalFlags / SilentProcessExit technique to execute GetPatch.exe.
Lateral Movement
RDP activity observed, alongside post-exploitation commands including net localgroup and PowerView.ps1.
Privilege Escalation
Activity consistent with Metasploit-style named pipe usage via cmd.exe.
Impact
Host remained under attacker control through persistence mechanisms and post-exploitation tooling.

Analyst Notes

Initial analysis focused on identifying the phishing document responsible for the compromise.
Shellbags and Recycle Bin artifacts were correlated to confirm user interaction with the document.
Prefetch analysis was used to identify the executable launched after document access.
Timeline reconstruction revealed timestamp inconsistencies associated with SECURITYPATCH.EXE.
Additional research was required to identify persistence through the GlobalFlags / SilentProcessExit technique.
RDP cache artifacts and PowerView activity suggested post-exploitation actions beyond the initial compromise.

Lessons Learned