DLL Hijacking for Server Privilege Escalation
Short answer
A The attacker used DLL Hijacking by placing a malicious library without a fully qualified path in the server's application directory.
Question
Key Takeaways
The test is whether you recognize the DLL search-order behavior — an unqualified DLL path loaded from the app directory lets an attacker plant a fake library, and the common trap is picking service misconfiguration instead of the module-loading flaw the stem explicitly describes.
This CEH 312-50v12 question describes a malicious DLL with no fully qualified path appearing in an application directory on a server where a non-admin attacker already has a foothold. The page establishes that DLL Hijacking (option A) is the privilege escalation technique at work, because Windows resolves unqualified DLL paths by searching the application's own directory first.
Common mistake: Option D (Exploiting Misconfigured Services) is the most tempting wrong pick, since privilege escalation often involves weak service permissions, but the question gives no evidence of service misconfiguration — it specifically highlights a DLL lacking a fully qualified path in the application directory.
Expert Analysis
Why the Answer Is Correct
A malicious DLL discovered inside the application directory with no fully qualified path is the classic signature of DLL Hijacking, as covered in CEH Module 06 (System Hacking). Most Windows applications do not supply fully qualified paths when loading external libraries; they first search the directory from which they were launched, so a non-admin attacker who can write into that folder drops a fake DLL that executes with the application's higher privileges. This converts a low-privilege foothold into code execution above the attacker's original rights, which is exactly the privilege escalation described.
Why the Other Options Are Wrong
Named Pipe Impersonation (B) abuses impersonation over a named pipe to steal a privileged token, which would not leave a stray DLL in the application directory. Spectre and Meltdown (C) are CPU side-channel flaws leaking kernel memory and have nothing to do with library loading or planted files. Exploiting Misconfigured Services (D) requires weak service binPath or ACL settings, and the question supplies no such evidence — it points solely at the unresolved DLL path.
Exam Strategy
When a question mentions an unqualified DLL path or a planted library in an application folder, think DLL search order and select DLL Hijacking immediately — the wording is the tell. Only consider service exploitation if the stem explicitly mentions service permissions or binPath.
Frequently Asked Questions
Why does a DLL without a fully qualified path indicate hijacking?
Why is Exploiting Misconfigured Services not the answer here?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
qwerty100 👍 3 Answered AA. DLL Hijacking (Module 06 page 711)
-
ethacker2 👍 2A. DLL Hijacking CEHv12 Book Module 6 p.711 Most Windows applications do not use the fully qualified path when loading an external DLL library; instead, they first search the directory from which they have been loaded. Taking this as an advantage, if attackers can place a malicious DLL in the application directory, the application will execute the malicious DLL in place of the real DLL. For example, if an application program “.exe” needs library.dll (usually in the Windows system directory) to install the application, and fails to specify the library.dll path, Windows will search for the DLL in the directory from which the application was launched. If an attacker has already placed the DLL in the same directory as program.exe, then that malicious DLL will load instead of the real DLL, which allows the attacker to gain remote access to the target system.
-
[Removed] 👍 1Could someone help me confirm if this is correct
-
DarioReymag 👍 1Is this answer accurate friends
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.