Query Details
// Critical Vulnerability in Elastic Kibana // https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2025-022 // Locate internet facing Elastic Kibana with upmost priority let InternetFacing = DeviceInfo | where IsInternetFacing == true and isnotempty(PublicIP) | distinct DeviceId; DeviceProcessEvents | where TimeGenerated > ago(90d) | where InitiatingProcessCommandLine has "kibana" | summarize arg_max(TimeGenerated, *) by DeviceId | where DeviceId has_any(InternetFacing)
This query is designed to identify internet-facing devices running Elastic Kibana, which is critical due to a vulnerability alert. Here's a simplified breakdown of what the query does:
Identify Internet-Facing Devices:
DeviceInfo table.DeviceIds of such devices.Filter Kibana Processes:
DeviceProcessEvents table for processes that have been initiated with a command line containing "kibana" within the last 90 days.arg_max) event for each DeviceId.Match with Internet-Facing Devices:
In essence, the query helps prioritize the identification of internet-facing devices running Elastic Kibana, which might be vulnerable, so that they can be addressed with urgency.

Steven Lim
Released: March 10, 2025
Tables
Keywords
Operators