To access material, start machines and answer questions login.
Most privilege escalation is noisy. The adversary exploits vulnerable software, or creates a service or scheduled task to run a payload as SYSTEM, and those changes are well understood and leave clear traces. One class of technique costs almost nothing: a user who cannot install software, cannot stop a service, and holds no administrator rights writes a single into a directory a privileged service already searches, then waits for that service to load it. No exploit is involved, because the technique abuses how Windows locates the DLLs that applications depend on, which is dynamic linking working as designed rather than a bug anyone can patch. That is why adversaries at every tier reach for it, from state-sponsored groups such as APT41 and Lazarus Group through to ransomware operators and commodity loaders, and why the payload ends up running inside a legitimate, often signed, sometimes SYSTEM-privileged process, inheriting its trust and hiding in a perfectly normal process tree.
This room puts three of those variants on a single compromised workstation and asks us to tell them apart from artifacts alone. Only one of the three is the escalation itself; the other two are what the adversary did with the privileges once they held them, and working out which role each instance played is part of the job. We work the case twice over, first through event-log triage and then through disk and memory forensics, the toolset we fall back on when no central logging platform was deployed, when the logs have been tampered with, or when all we are handed is a triage collection and a memory image.
Learning Objectives
By the end of this room, you will be able to:
- Explain how Windows resolves a DLL by name, and why the search order itself creates a privilege-escalation opportunity when a SYSTEM service is involved.
- Distinguish DLL Search Order Hijacking, Phantom DLL Hijacking, and DLL Side-Loading from their artifact fingerprints.
- Triage the set with and to classify each technique from its 7 and 11 records, including why Event ID 7 never records the failed load that defines phantom hijacking.
- Rebuild the same timeline from disk and memory using
$MFT,$UsnJrnl, Prefetch and Amcache/ShimCache, service registry keys, and Volatility 3, defeating timestomping in the process. - Apply evidence-preserving containment and root-cause remediation, and recognize the mistakes that let DLL attacks recur.
Prerequisites
- Sysmon: Event logging, configuration, and monitoring capabilities (Sysmon room)
- NTFS timeline artifacts: Filesystem metadata and timestamp analysis (NTFS Analysis room)
- The Eric Zimmerman (EZ) tool suite: Forensic tools for parsing Windows artifacts (Compromised Windows Analysis room)
- Volatility 3 basics: Memory forensics and analysis fundamentals using Volatility (Volatility room)
- Memory forensics basics: Memory forensics analysis (Memory Forensics room)
Machine Access
Two machines are attached to this room. The IR-Storage machine holds the triage the response team collected, and the DefenseBox is your analysis workstation, with the DFIR toolkit already installed.
Set up your virtual environment
DefenseBox Credentials
Use these credentials if you are connecting using RDP
IR-Storage Credentials
Use these credentials if you are connecting via RDP or when using the net use command
Getting the Evidence
Start the machine above and log in. The collection does not sit on the DefenseBox itself. It sits on the storage network share, which is where a response team keeps a case once it has been acquired, and the files are in the Artifacts directory on that share.
Note: All commands in this room assume that the artifacts are stored on the D: drive. Update the paths as needed to match the actual location of your artifacts.
I have successfully started my analysis machine instance.
Ready to learn Cyber Security?
The Identifying DLL Hijacking Escalation room is only available for Premium or Max subscribers. Signup now to access more than 500 free rooms and learn cyber security through a fun, interactive learning environment.
Already have an account? Log in
