sequence by source.port, source.ip, destination.ip with maxspan=1m
[network where event.module == "panw" and event.action == "c2_communication"]
[network where event.module == "endpoint" and event.action in ("disconnect_received", "connection_attempted")]
Install detection rules in Elastic Security
Detect PANW and Elastic Defend - Command and Control Correlation in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).