Command and Control (TA0011)(external, opens in a new tab or window)
text code block:from packetbeat-*, filebeat-*, logs-network_traffic.*, logs-panw.panos* metadata _id, _version, _index | where ( data_stream.dataset in ("network_traffic.tls", "network_traffic.http") or (event.category in ("network", "network_traffic") and network.protocol in ("tls", "http") and network.transport == "tcp") ) | where destination.domain RLIKE "[a-zA-Z]{4,5}\\.(pw|us|club|info|site|top)" | where destination.domain != "zoom.us" | keep @timestamp, destination.domain, source.ip, destination.ip, network.protocol, network.transport, data_stream.dataset, _id, _version, _index
Install detection rules in Elastic Security
Detect Possible FIN7 DGA Command and Control Behavior 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(external, opens in a new tab or window).