A method of executing payloads directly in memory without a normal install or load path on disk. The loader resolves imports and relocations itself, which reduces forensic artefacts and makes the malware harder to detect with file-centric controls.
What Reflective Loading Means in Practice
Reflective loading is a loader technique, not just a payload format. Instead of relying on a standard on-disk installation path, the code reconstructs what it needs at runtime, which lets malware execute with fewer obvious file artefacts and bypass controls that expect conventional process creation or module loading.
The practical significance is that defenders lose some of the visibility they normally get from file reputation, signed installer paths, and ordinary load events. That does not make the technique invisible, but it shifts the detection problem toward memory, runtime behaviour, and parent-child process context.
Why Attackers Use Reflective Loading
Attackers use reflective loading to reduce friction during execution and to make post-compromise triage harder. By resolving imports and relocations in memory, the payload can run without waiting for a normal loader sequence, which helps malware survive environments that inspect disk, block suspicious files, or monitor only conventional DLL load behaviour.
This technique is especially useful when the goal is to stay resident, avoid straightforward artefacts, or stage follow-on activity after initial access. It often appears alongside other evasive behaviours, but the core idea is simple: keep the payload in memory and keep the file system as quiet as possible.
How Defenders Detect It
Detection usually depends on correlating memory-centric signals rather than waiting for a file to appear. In-memory modules, unusual executable memory regions, loader anomalies, and telemetry from script, .NET, or process instrumentation can all indicate reflective behaviour. One practical reference point is MITRE ATT&CK T1620 Reflective Code Loading, which focuses on the behaviours and telemetry that expose this class of loading.
Good detection also looks for the conditions that make reflective loading easier to spot after the fact: memory captures, EDR telemetry, PowerShell or .NET execution traces, and anomalies in how code was introduced into a process. File-based detection alone is usually insufficient because the technique is designed to minimise dependence on a normal file trail.
Mitigation and Response Considerations
The best mitigation is layered: reduce the opportunities for in-memory execution, harden application and script execution policies, and preserve enough telemetry to reconstruct what happened if a payload never touched disk. EDR Evasion and Defence Guide is useful here because reflective loading commonly overlaps with the same blind spots, including sensor tampering, unhooking, and telemetry suppression.
When reflective loading is suspected, response should treat memory as the primary crime scene. Capture volatile evidence quickly, review process lineage, inspect loaded modules and executable regions, and assume that any payload executing in memory may have already accessed credentials, tokens, or other secrets present in the host process.
Risk and Threat Considerations
Reflective loading matters because it weakens a major defender assumption: that malicious code will leave a normal file trail. That increases the chance of delayed detection, especially when the payload is short-lived, injected, or paired with telemetry-blinding techniques.
Failure mechanism: The loader runs directly in memory, so file-centric controls, content scanning, and basic artefact review may miss the payload or see it too late.
Impact: Attackers can keep code resident long enough to steal data, stage lateral movement, or establish persistence while leaving fewer forensic clues for incident responders.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1620 — Reflective Code Loading | Defines in-memory reflective loading as an adversary technique. |
| Recommendation — Map suspicious in-memory execution to T1620 and hunt for loader telemetry and memory artefacts. | ||
| NIST SP 800-53 Rev 5 | SI-4 — System Monitoring | Supports detection of anomalous in-memory execution and loader behaviour. |
| AU-6 — Audit Record Review, Analysis, and Reporting | Enables review of process and execution telemetry after suspected reflective loading. | |
| SI-7 — Software, Firmware, and Information Integrity | Addresses integrity and tampering concerns where malware executes without normal load paths. | |
| Recommendation — Tune SI-4 monitoring to flag unusual executable memory and module-loading patterns. Correlate audit data with process lineage to reconstruct in-memory execution. Use SI-7 to validate runtime integrity and detect unauthorized code execution paths. | ||
| OWASP ASVS | V16 — Security Logging and Error Handling | Supports logging and error visibility needed to trace suspicious runtime code loading. |
| Recommendation — Ensure runtime logging captures suspicious loader activity and execution anomalies. | ||
Practitioner Guidance
What to watch for: Treat reflective loading as a signal to broaden investigation beyond the original process. Look for memory artefacts, unusual module behaviour, loader inconsistencies, and follow-on activity that suggests the payload continued operating after the initial in-memory launch.
Practitioner takeaway: If your visibility stops at the file system, you will under-detect this technique, because the meaningful evidence is often in memory, process telemetry, and the behaviour of the loader itself.
Related resources from NHI Mgmt Group
- How do security teams know if reflective loading is happening in memory?
- How should security teams reduce the chance that reflective loading can bypass EDR controls?
- Why does reflective loading create such a difficult detection problem for endpoint security tools?
- What are the signs that reflective loading is being used to evade endpoint defenses?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org