Suspicious Process from FortiClient VPN Trace Script
Description
Identifies LOLBAS or download utilities spawned by cmd.exe after execution of a script from the FortiClient VPN trace scripts directory. This may indicate CVE-2026-35616 exploitation against FortiClient EMS where adversaries pushed malicious on_connect scripts to managed endpoints.
Query · eql
process where event.type == "start" and event.action == "start" and
process.parent.name : "cmd.exe" and
process.name : (
"rundll32.exe", "mshta.exe", "msiexec.exe", "powershell.exe", "bitsadmin.exe", "curl.exe", "regsvr32.exe",
"certutil.exe", "msbuild.exe", "certreq.exe", "cmd.exe", "wmic.exe", "schtasks.exe", "sc.exe", "wscript.exe",
"cscript.exe"
) and
process.parent.command_line : "*C:\\Program Files\\Fortinet\\FortiClient\\logs\\Trace\\scripts\\*" and
not process.args :("c:\\Program Files\\Fortinet\\VPNDisconnect.ps1", "c:\\Program Files\\Fortinet\\VPNConnect.ps1", "\\\\*\\NETLOGON\\VPNConnectScript.VBS")