# What is DLL Sideloading?

> Dynamic-link library (DLL) sideloading is an execution technique in which a legitimate application is made to load an attacker-supplied library as a dependency.

- Canonical URL: https://yellowcube.eu/glossary/dll-sideloading/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

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 prerequisites:** The attacker needs a suitable application, an opportunity to supply the dependency, and a way to invoke the application.
- **Detection context:** Library paths, file origins, signing information, unexpected executable locations, and behavior after loading are more informative than the host application’s name alone.
- **Design safeguards:** Controlled installation directories, explicit dependency paths, maintained applications, and execution policies that assess loaded libraries reduce opportunities.
- **Important limitation:** A 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.

### Related terms

[Living off the land (LOTL)](<https://yellowcube.eu/glossary/living-off-the-land/>) · [Trojan horse](<https://yellowcube.eu/glossary/trojan-horse/>) · [Endpoint security](<https://yellowcube.eu/glossary/endpoint-security/>) · [Process injection](<https://yellowcube.eu/glossary/process-injection/>)

### Sources

[MITRE, Hijack Execution Flow: DLL (T1574.001)](https://attack.mitre.org/techniques/T1574/001/) · [Microsoft, Dynamic-Link Library Security](https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-security)

## Let’s Build Smarter Cyber Defenses Together

Partnerships are the foundation of everything we do — built on trust, expertise, and shared success. Whether you’re looking to grow your business, strengthen your cybersecurity offerings, or bring innovative solutions to new markets, Yellow Cube is ready to be your committed, long-term ally.

[Get in touch with Yellow Cube](<mailto:hello@yellowcube.eu?subject=Partnership>)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

