Skip to content
Write-up Advanced

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.

Tom Philippe Follow

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.

Tom Philippe, on infosecwriteups.com

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

  1. Register a new minifilter to start filtering I/O events.
  2. Define a preoperation callback routine that prevents access to EDR-related files.
  3. Load the minifilter at system start.
  4. Observe that EDR processes are not running.
  5. 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.

More by Tom Philippe

View all

2 more disclosed reports, best first.

Similar reports

Same bug class and techniques, clearest first.