5154 Security log · Filtering Platform Connection low severity low volume

Windows Event ID 5154 — The Windows Filtering Platform has permitted an application to listen on a port

WFP permitted an application to listen on a port.

Why event 5154 matters

Backdoor or reverse shell listeners. Unexpected applications opening listening ports.

How to detect it

Alert: unusual applications listening — cross-reference with approved service list.

Log source
Security
Advanced Audit Policy — enable the 'Filtering Platform Connection' 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 == 5154   // The Windows Filtering Platform has permitted an application to listen on a port
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:Security" EventCode=5154
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# The Windows Filtering Platform has permitted an application to listen on a port — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Hunt event 5154 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.

Related Filtering Platform Connection events

5155 The Windows Filtering Platform has blocked an application from listening on a port 5156 The Windows Filtering Platform has permitted a connection 5157 The Windows Filtering Platform has blocked a connection 5158 The Windows Filtering Platform has permitted a bind to a local port

Frequently asked questions

What is Windows Event ID 5154?

The Windows Filtering Platform has permitted an application to listen on a port. WFP permitted an application to listen on a port.

Which log records event 5154?

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

How do you detect activity around event 5154?

Alert: unusual applications listening — cross-reference with approved service list.