sequence by source.port, source.ip, destination.ip with maxspan=1m
[network where event.dataset == "fortinet_fortigate.log" and event.action == "signature" and network.application in ("SOCKS4", "SOCKS5")]
[network where event.module == "endpoint" and event.action in ("disconnect_received", "connection_attempted")]
Install detection rules in Elastic Security
Detect SOCKS Traffic from an Unusual Process 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).