Attackers commonly place a legitimate executable beside a malicious library with a name the application expects, then launch the executable. Dependency resolution selects the attacker’s file, allowing code to run inside the legitimate process. The executable can remain unchanged and legitimately signed.
MITRE ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge) currently groups this behavior under Hijack Execution Flow: DLL, T1574.001. The underlying weakness concerns which library is selected and trusted, rather than an exploit that directly corrupts process memory.
Key points
Execution prerequisitesThe attacker needs a suitable application, an opportunity to supply the dependency, and a way to invoke the application.
Detection contextLibrary paths, file origins, signing information, unexpected executable locations, and behavior after loading are more informative than the host application’s name alone.
Design safeguardsControlled installation directories, explicit dependency paths, maintained applications, and execution policies that assess loaded libraries reduce opportunities.
Important limitationA trusted signature on the main executable does not extend trust to every library it loads. An execution exception based only on that executable can preserve the attack path.