When The Hunter Becomes The Hunted Using Minifilters To Disable Edrs
A technique using a signed minifilter driver to block access to files needed by EDR processes, preventing them from starting. This allows malicious tools like Mimikatz to run without detection.
Published on infosecwriteups.com
Attackers are perpetually seeking new ways to bypass defensive mechanisms. I myself love doing a bit of research to try and find new ways to evade security products.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the EDR relies on files that can be blocked by a malicious minifilter, and the operating system does not prevent such interference.
Impact
The EDR is effectively disabled, allowing malicious tools to run without detection; tested with Defender and Elastic EDR.
What the attacker needed
Ability to load a signed minifilter driver; administrator privileges
How it was found
- Register a new minifilter to start filtering I/O events.
- Define a preoperation callback routine that prevents access to EDR-related files.
- Load the minifilter at system start.
- Observe that EDR processes are not running.
- Run Mimikatz without detection.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
EDR (Endpoint Detection and Response) is security software that watches for malicious activity on a computer. This research shows that a special type of driver, called a minifilter, can be used to stop EDR programs from running by denying access to their files. Once the EDR is disabled, attackers can run hacking tools without being caught.