Persistence (TA0003)(external, opens in a new tab or window)
text code block:sequence by observer.name with maxspan=15m [authentication where event.dataset == "fortinet_fortigate.log" and event.action == "login" and event.outcome == "success" and (fortinet.firewall.method == "sso" or fortinet.firewall.ui like~ "sso*")] [any where event.dataset == "fortinet_fortigate.log" and event.code == "0100044547" and fortinet.firewall.cfgpath == "system.admin" and fortinet.firewall.action == "Add"]
Install detection rules in Elastic Security
Detect FortiGate SSO Login Followed by Administrator Account Creation 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).