Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is DLL Injection?

DLL injection forces a running process to load a library it was never meant to load, so that code executes inside a trusted process with its privileges and identity. It is the best known form of process injection.

What Is DLL Injection?
Home / Blog / Cybersecurity Terms / What Is DLL Injection?
12 July 2020

What Is DLL Injection?

What Is DLL Injection?

DLL injection is a technique for making a running process load a dynamic-link library it was never intended to load, so that the injected code executes inside that process with its identity, its privileges, and its reputation. It is the best known form of process injection and is catalogued by MITRE ATT&CK as T1055.001.

The technique is not malicious in itself. Debuggers, performance monitors, accessibility tools, antivirus products, and game overlays all place code inside other processes. The security problem is that the same mechanism lets malicious code hide inside a trusted process, where its file access and network traffic look entirely ordinary.

Why Windows Permits It

Windows processes load libraries at runtime through a documented loader, and a process holding sufficient access rights may open a handle to another process, allocate memory inside it, and begin execution there. Those capabilities exist for legitimate tooling and are governed by access rights rather than forbidden outright. An attacker who has already gained the necessary rights, often through privilege escalation, therefore needs no exploit at all—only the operating system’s own facilities. That places injection firmly in the living off the land category.

The Common Routes, in Outline

What the Attacker Gains

Detection

Injection leaves traces, provided the telemetry is collected and baselined first—legitimate software is noisy in exactly the same places.

Prevention and Hardening

If you find an unexplained module inside a production process, treat the host as potentially compromised and capture memory before anyone reboots it, because reflectively loaded code exists nowhere else. Our incident response services can take the investigation from that point.

You May Be Interested In These

What Is Threat Modelling?

Cybersecurity Terms

17 November 2026

What Is Threat Modelling?

Read More
How Does AWS IAM Policy Evaluation Work?

Cybersecurity Terms

17 November 2026

How Does AWS IAM Policy Evaluation Work?

Read More
What Is a Hardware Security Module?

Cybersecurity Terms

17 November 2026

What Is a Hardware Security Module?

Read More