CVE-2025-66644 Elastic Security · Elastic

Detect Array Networks ArrayOS AG OS Command Injection (CVE-2025-66644) in Elastic Security

Detects exploitation of CVE-2025-66644, an OS command injection vulnerability in Array Networks ArrayOS AG. This vulnerability allows remote attackers to execute arbitrary operating system commands through the Array Networks SSL VPN/ZTNA gateway. The flaw is tracked by CISA as a Known Exploited Vulnerability (KEV), indicating active in-the-wild exploitation. Attackers may leverage this to gain initial access, establish persistence, or pivot laterally within the network.

MITRE ATT&CK

Tactic
Initial Access Execution Lateral Movement

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by host.name with maxspan=5m
  [network where network.application == "ssl-vpn"
   and (destination.port == 443 or destination.port == 8443 or destination.port == 4433)
   and source.ip != null]
  [process where process.name in ("bash", "sh", "dash", "wget", "curl", "nc", "python", "python3", "perl", "ruby")
   and (
     process.parent.name in ("httpd", "nginx", "ag", "arrayd", "java")
     or process.args : ("/tmp/*", "/dev/shm/*", "*base64*", "*whoami*", "*id*", "*uname*")
   )
  ]
critical severity medium confidence

EQL sequence query correlating inbound SSL-VPN connections to Array Networks gateways with subsequent suspicious process execution, indicating CVE-2025-66644 command injection exploitation.

Data Sources

Elastic EndpointNetwork eventsProcess events

Required Tables

logs-endpoint.events.process-*logs-endpoint.events.network-*

False Positives & Tuning

  • Legitimate administrator shell access following VPN connection for management tasks
  • Monitoring agents that execute system commands after VPN tunnel establishment
  • Automated health-check scripts triggered by VPN connection events
  • Penetration testing activities in authorized security assessments

Other platforms for CVE-2025-66644


Testing Methodology

Validate this detection against 3 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 1Simulate Array Networks OS Command Injection via HTTP Request

    Expected signal: Web access log entry on the target appliance showing POST request to /cgi-bin/login with URL-encoded shell metacharacters (';id;') in the username parameter

  2. Test 2Spawn Reverse Shell from Simulated Compromised Array Gateway Process

    Expected signal: Endpoint process telemetry showing bash process with parent matching gateway daemon, network telemetry showing outbound TCP connection to ATTACKER_IP:4444 from the gateway host

  3. Test 3Download and Execute Payload via Injected wget Command

    Expected signal: Process telemetry showing wget execution with external URL argument spawned from a gateway-related parent process; DNS query for ATTACKER_IP hostname; outbound HTTP connection to ATTACKER_IP:8080

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections