WFP permitted an application to listen on a port.
Backdoor or reverse shell listeners. Unexpected applications opening listening ports.
Alert: unusual applications listening — cross-reference with approved service list.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName Starting points — adapt the log source, projected fields and thresholds for your environment.
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
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`
The Windows Filtering Platform has permitted an application to listen on a port. WFP permitted an application to listen on a port.
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).
Alert: unusual applications listening — cross-reference with approved service list.