Windows DLL Sideloading via mfdetours.dll using mftrace.exe

Alerts on mfdetours.dll loads that may indicate DLL sideloading outside the expected Windows Kits location.

FreeReviewedSigma · Medium · v2
Product
windows
Category
image_load
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-08-03
Updated
2026-07-31

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags Windows processes that load a DLL named mfdetours.dll from locations other than a known legitimate Windows Kits path. Attackers can abuse mftrace.exe to attach to an arbitrary process and force it to load mfdetours.dll from the current directory, enabling DLL sideloading for persistence, privilege escalation, or stealth. The detection relies on image load telemetry indicating when mfdetours.dll is loaded and uses path filtering to reduce likely benign matches.

Related detections9 linkedT1574.001 — drag to rearrange
Suspicious DLL Sideloading via msdtc oci.dll Install (via process_creation)
Suspicious wmicodegen.dll Sideload by inetinfo.exe (UAT-8099 Cobalt Strike)
Suspicious LucidRook DismCore.dll Side-Load into Browser Process
Suspicious Encrypted Implant File Creation for DLL Search Order Hijacking (RainyDay Turian PlugX)
Suspicious RoboForm Signed Binary Executed From Non-Standard Path (via process_creation)
Malicious dal_keepalives.dll Sideloaded By Signed Binary (via image_load)
Suspicious Cortex XDR Binary Sideloading winutils.dll (via image_load)
Suspicious CoinLoader DLL Sideload From Z-1-36-81 Directory (via image_load)
Suspicious shfolder.dll Sideloading via VMware net-service Binary
Windows DLL Sideloading via mfdetours.dll using mftrace.exe
Pivot detection · T1574.001 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.