Case 4617DA · Malware & intel · L3 Applied
DLL sideloading
- 01 What is it?
- 02 How is it abused?
- 03 How do you stop it?
What a strong answer covers
Try it out loud first. Then check yourself:
- Windows searches the application's own folder first, so a DLL dropped next to an exe can load in place of the real one
- Attackers ship a legit signed exe plus a malicious DLL with the name it imports; the trusted process runs their code
- Often the DLL proxies real exports so the app keeps working; PlugX has used this for years and many APTs still do
- Detect: signed binaries running from AppData, ProgramData or Temp, and Sysmon 7 loads of unsigned DLLs into signed processes
- Prevent with application control (WDAC/App Control) DLL rules and by keeping software in admin-only, non-writable folders
If the interviewer pushes back
- How does sideloading differ from DLL search-order hijacking and phantom DLL loading, and does that change your detection?