CVE-2026-35616 Microsoft Sentinel · KQL

Detect CVE-2026-35616 — Fortinet FortiClient EMS Improper Access Control Exploitation in Microsoft Sentinel

Detects exploitation attempts targeting CVE-2026-35616, an improper access control vulnerability (CWE-284) in Fortinet FortiClient Enterprise Management Server (EMS). This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Attackers may leverage this flaw to bypass access controls on the EMS server, potentially enabling unauthorized configuration changes, endpoint agent manipulation, or lateral movement through managed endpoints.

MITRE ATT&CK

Tactic
Initial Access Persistence Privilege Escalation Lateral Movement

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
union
(
    CommonSecurityLog
    | where TimeGenerated > ago(7d)
    | where DeviceVendor =~ "Fortinet"
    | where DeviceProduct has_any ("FortiClient", "EMS", "FortiClient EMS")
    | where Activity has_any ("access denied", "authorization failure", "improper access", "privilege escalation", "unauthorized", "access control bypass")
    | project TimeGenerated, DeviceVendor, DeviceProduct, Activity, SourceIP, DestinationIP, DestinationPort, RequestURL, AdditionalExtensions, Message
),
(
    DeviceEvents
    | where TimeGenerated > ago(7d)
    | where InitiatingProcessFileName has_any ("FortiEMSAgent", "fcems", "fcemsvc")
    | where ActionType has_any ("ProcessCreated", "NetworkConnectionInspected", "RegistryValueSet")
    | project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, ActionType, RemoteIP, RemotePort, RegistryKey
),
(
    AzureActivity
    | where TimeGenerated > ago(7d)
    | where Properties has "FortiClient"
    | where ActivityStatus =~ "Failed"
    | project TimeGenerated, Caller, CallerIpAddress, OperationName, ResourceGroup, ActivityStatus, Properties
)
| sort by TimeGenerated desc
critical severity medium confidence

Hunts for CVE-2026-35616 exploitation signals across Fortinet CommonSecurityLog events, endpoint device events involving FortiClient EMS processes, and Azure activity anomalies. Surfaces access control failures, unauthorized requests, and abnormal process behaviour on EMS-managed hosts.

Data Sources

CommonSecurityLogDeviceEventsAzureActivity

Required Tables

CommonSecurityLogDeviceEventsAzureActivity

False Positives & Tuning

  • Legitimate FortiClient EMS administrative operations generating access-denied log entries during policy re-evaluation
  • Routine endpoint health checks or agent updates that briefly trigger authorization warnings
  • Penetration testing or red team exercises against EMS infrastructure with prior written authorisation
  • Misconfigured EMS policies causing legitimate users to hit access control boundaries during normal operations

Other platforms for CVE-2026-35616


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1FortiClient EMS Unauthenticated API Endpoint Probe

    Expected signal: Web server access log entries on EMS showing HTTP requests to API paths from an unknown source IP, with response codes logged. Network flow records show connections from test host to EMS port 8013.

  2. Test 2FortiClient EMS Privilege Escalation via Access Control Bypass (Simulated)

    Expected signal: EMS audit log entries recording the low-privilege user's access attempts to admin-tier endpoints. Windows Security Event Log 4648 if token acquisition involved explicit credential use.

  3. Test 3FortiClient EMS Management Port Reconnaissance from External Network Segment

    Expected signal: Network IDS/IPS alerts for port scan activity targeting EMS management ports. Firewall deny logs if EMS ports are restricted. NetFlow records showing probe connections from test segment to EMS IP.

  4. Test 4FortiClient Agent Mass Policy Modification via Compromised EMS

    Expected signal: EMS audit log entry recording policy creation event with the admin token's associated username. API access log entry for POST to /api/v1/policies. Managed endpoint logs showing receipt of new policy push if EMS propagates it.

Unlock Pro Content

Get the full detection package for CVE-2026-35616 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections