5152 Security log · Filtering Platform Packet Drop info severity very-high volume

Windows Event ID 5152 — The Windows Filtering Platform has blocked a packet

WFP blocked a packet (firewall rule triggered).

Why event 5152 matters

High-volume blocked traffic from single source may indicate port scanning or exploit attempts.

How to detect it

High volume — use only for aggregate analysis. Alert on spikes in blocked packets from internal hosts (lateral movement scanning).

Log source
Security
Advanced Audit Policy — enable the 'Filtering Platform Packet Drop' subcategory (Success and/or Failure).
Fields to pivot on
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName

Detection queries

Starting points — adapt the log source, projected fields and thresholds for your environment.

Sentinel / Defender KQL
SecurityEvent
| where EventID == 5152   // The Windows Filtering Platform has blocked a packet
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:Security" EventCode=5152
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# The Windows Filtering Platform has blocked a packet — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Hunt event 5152 in Sentinel/Defender →
Build a KQL query for this event in the KQL Query Builder.
Search all event IDs →
Open the interactive Windows Event ID lookup.

Frequently asked questions

What is Windows Event ID 5152?

The Windows Filtering Platform has blocked a packet. WFP blocked a packet (firewall rule triggered).

Which log records event 5152?

Event 5152 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Filtering Platform Packet Drop' subcategory (Success and/or Failure).

How do you detect activity around event 5152?

High volume — use only for aggregate analysis. Alert on spikes in blocked packets from internal hosts (lateral movement scanning).