<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx" -->

---
title: Bypassing EDRs With EDR-Preloading | daily.dev
description: EDR-Preloading is a technique to bypass Endpoint Detection and Response (EDR) user-mode hooks by executing malicious code before the EDR's DLL loads into a...
canonical: https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Bypassing EDRs With EDR-Preloading | daily.dev
og:description: EDR-Preloading is a technique to bypass Endpoint Detection and Response (EDR) user-mode hooks by executing malicious code before the EDR's DLL loads into a...
og:url: https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx
og:image: https://api.daily.dev/og/posts/BE2NrGFvx.png
og:image:alt: Bypassing EDRs With EDR-Preloading
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bypassing EDRs With EDR-Preloading

**[MalwareTech](https://daily.dev/sources/malwaretech)** · 12 min read · 0 upvotes · 0 comments

## Summary

EDR-Preloading is a technique to bypass Endpoint Detection and Response (EDR) user-mode hooks by executing malicious code before the EDR's DLL loads into a process. By exploiting the AppVerifier layer in ntdll — specifically the AvrfpAPILookupCallbackRoutine pointer — an attacker can register a callback that fires during early process initialization, before EDR DLLs are injected via APC. The technique involves locating the callback pointer in ntdll's .mrdata section, writing an encoded function pointer into a suspended child process, then neutralizing any pre-loaded EDR modules via DLL clobbering, disabling the APC dispatcher, and hooking LdrLoadDll. A proof-of-concept with full source code is provided, tested against two major EDRs on Windows 10 64-bit.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://malwaretech.com/2024/02/bypassing-edrs-with-edr-preload.html>

## Similar posts on daily.dev

- [How the GodDamn Ransomware Driver Bypasses Your EDR](https://daily.dev/posts/how-the-goddamn-ransomware-driver-bypasses-your-edr-6ruyzz7fu) · Latest Hacking News · 0 upvotes · 0 comments
- [BTR Reforged: Weaponizing Defender’s Remediation Driver as a Kernel Operation Primitive](https://daily.dev/posts/btr-reforged-weaponizing-defender-s-remediation-driver-as-a-kernel-operation-primitive-kmtmmxn82) · Check Point Research · 0 upvotes · 0 comments
- [The EDR blind spot: 3 ways browser attacks evade endpoint telemetry](https://daily.dev/posts/the-edr-blind-spot-3-ways-browser-attacks-evade-endpoint-telemetry-v11w3g13y) · BleepingComputer · 0 upvotes · 0 comments

---

Tags: [#malware](https://daily.dev/tags/malware), [#offensive-security](https://daily.dev/tags/offensive-security)

[View this post on daily.dev](https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bypassing EDRs With EDR-Preloading","url":"https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx"},"datePublished":"2026-03-31T12:26:29.425Z","dateModified":"2026-03-31T12:31:50.887Z","description":"EDR-Preloading is a technique to bypass Endpoint Detection and Response (EDR) user-mode hooks by executing malicious code before the EDR's DLL loads into a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/251d54bc6b104c0b195206823b6968c1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/251d54bc6b104c0b195206823b6968c1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"MalwareTech","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"MalwareTech","logo":"https://media.daily.dev/image/upload/s--Io6vLwog--/f_auto,q_auto/v1774960089/logos/malwaretech?_a=BAMAMiWQ0","url":"https://daily.dev/sources/malwaretech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/bypassing-edrs-with-edr-preloading-be2nrgfvx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"malware,offensive-security","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"MalwareTech","item":"https://daily.dev/sources/malwaretech"},{"@type":"ListItem","position":3,"name":"Bypassing EDRs With EDR-Preloading"}]}
```

