π‘οΈ DEFCON Workshop: Putting EDRs in Their Place
π Killing and Silencing EDR Agents Like an Adversary

π― What Youβll Do
Each student will be provisioned their own lab environment to:
- π Investigate a live EDR agent: discover its hooks, logs, and reach
- βοΈ Compile & deploy EDR killers used by known threat groups
- π Silence the agent-to-tenant communication path (shhh...)
- π§ Reverse engineer tool behaviors in real time
- π οΈ Write custom C/C++ code to replicate evasion techniques
- 𧬠Build your own EDR killer and silencerβlike a boss
βοΈ Hands-on labs in your own hosted VM
βοΈ Pre-loaded tools, samples, and EDR emulator
βοΈ Instructor-led reverse engineering and live coding
βοΈ No filler. Just killinβ.
π» Requirements
Make sure you're ready to go with:
- β
A modern browser (for the hosted lab)
- β
Some knowledge of C/C++ (or willingness to jump in)
- β
Passion for pain, pointers, and patchless pwnage
| Category | Topics Covered |
|---|
| 𧬠Evasion | Inline hooking, API tracing, userland stealth |
| πͺ EDR Kill Chains | Process injection, thread hijacking, process tampering |
| π‘οΈ Silencing Agents | Blocking telemetry, stalling callbacks, tenant comms kill |
| π§± BYOVD | Custom driver loading, kernel tampering, stealth access |
| π¬ RE + Dev | Dissecting EDR binaries, writing your own bypass toolsets |
I. π Introduction (10 min) β Ryan & Aaron
- Welcome and introductions
- Workshop overview:
- π Our focus: EDR killing vs. silencing β whatβs the difference, who uses these tactics, and why?
- π§° Tools & techniques preview
- π§ͺ Structure:
- Use and analyze real-world tools
- Write your own weaponized versions
- π Ground rules:
- Participate, ask questions, stay respectful, share thoughts!
II. π§± Environment Setup (25 min) β Aaron
Goal: Get your personal lab ready for action.
- π GitHub lab instructions
- π§ͺ Pluralsight Lab: Setup free accounts
- β
Verify lab access
- π οΈ Troubleshooting help if needed
III. π§ Introduction to OpenEDR (40 min) β Ryan
Goal: Understand the EDR weβll be targeting.
- What is OpenEDR? Why it was selected? Alternatives?
- 𧬠OpenEDR internals:
- Logging behavior
- Detection capabilities
- π§ͺ Run some commands β Analyze logs
IV. π£ EDR Killing with EDRSandBlast (20 min) β Ryan
Goal: Use a real-world EDR killer tool seen in ransomware campaigns.
- Overview of EDRSandBlast
- π¨βπ» Code walkthrough in Visual Studio
- π¨ Build it
- π Execute it:
- Run post-exploit commands β verify nothing is logged
- π©Ή Disable EDRSandBlast β see logs come back online
V. πΆοΈ EDR Silencing Methods (25 min) β Ryan
Goal: Disable EDR telemetry without killing the agent.
- π‘ Silencing techniques:
Add-DnsClientNrptRule
GenericDNSServers registry key
- (If time)
PendingFileRenameOperations
- β
Verify agent stays "alive" but blind
β BREAK (15 min)
Take a breather. Stretch. Reflect on what youβve just done to that poor EDR.
VI. π§ Writing an EDR Killer (45 min) β Aaron
Goal: Create your own killer using BYOVD (Bring Your Own Vulnerable Driver)
- π Walkthrough:
- Analyze & edit pre-provided code snippets
- Live code augmentation
- Compile & test
- π Use custom code to destroy OpenEDR
- π¬ Discussion:
- Readily-available tools vs. DIY bypasses
VII. π€« Writing an EDR Silencer (45 min) β Aaron
Goal: Quiet the EDR via code β not commands.
- π§ Strategy:
- Use API calls to avoid detection
- Replace LOLBins with low-noise native methods
- π οΈ Live lab:
- Modify and compile silencer code
- Test against OpenEDR agent
- π§© Takeaways:
- Code-level silencing = longer dwell time
VIII. π€ Wrap-Up (15 min) β Aaron
- π¬ Open discussion & Q&A
- π§ Whatβs next for Aaron & Ryan
- π Goodbyes & DEFCON love
- π #RansomwareSucks stickers and war stories encouraged