Windows WFP 5157: Connection Blocked for EDR Agent Binaries

Flags WFP blocked connections (EventID 5157) when an EDR/security agent binary is the blocked application.

FreeReviewedSigma · High · v2
Product
windows
Service
security
Author
@gott_cyber (SigmaHQ), DRL 1.1
Published
2024-01-08
Updated
2026-07-31

ATT&CK techniques

  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 Security log EventID 5157 where a Windows Filtering Platform (WFP) blocked a connection initiated or associated with a set of common EDR agent binaries. Attackers can impair defensive visibility by leveraging WFP filtering to prevent EDR components from communicating or reporting. The detection relies on Windows Security audit events for Filtering Platform Connection and process name matching for known EDR agent executables.

Related detections9 linkedT1685 — drag to rearrange
Suspicious Windows Defender Exclusion of User Profile via PowerShell (via process_creation)
Malicious Vulnerable Driver Service Creation for BYOVD (via process_creation)
Malicious Microsoft Defender Disabled via Registry DisableAntiSpyware (via process_creation)
Suspicious Termination of Defender Tray Process via Taskkill
Malicious Windows Defender Disablement via MpCmdRun RemoveDefinitions
Malicious Unsigned VIB Installation on ESXi Host via esxcli (via process_creation)
Suspicious In-Memory PowerShell Execution from Web Server via Automation Assembly (via image_load)
Malicious EDR Evasion Driver Load from AnyDesk Directory via k.sys (via image_load)
Malicious Zemana Vulnerable Driver Load for EDR Termination (via image_load)
Windows WFP 5157: Connection Blocked for EDR Agent Binaries
Pivot detection · T1685 · 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.