---
title: "Threat Hunt Plan: ABB Ability APCA Model Builder — Embedded Apache Tomcat Remote Code Execution"
description: This hunt searches for exploitation of the Apache Tomcat component embedded in MATLAB Runtime R2015b, which ships as a prerequisite of ABB Ability APCA Model Builder 3.4 and is affected by CVE-2025-24813
---

[Skip to content](https://1898advisories.burnsmcd.com/threat-hunt-plan-abb-ability-apca-model-builder-embedded-apache-tomcat-remote-code-execution#main-content)

![1898-logo-grey-R-1](https://1898advisories.burnsmcd.com/hs-fs/hubfs/1898-logo-grey-R-1.webp?width=188&height=100&name=1898-logo-grey-R-1.webp)

- [Cyberthreat](https://1898advisories.burnsmcd.com/tag/cyberthreat)
- [Threat Hunt](https://1898advisories.burnsmcd.com/tag/threat-hunt)
- [View All](https://1898advisories.burnsmcd.com/)

Open main navigation

Close main navigation

- [Cyberthreat](https://1898advisories.burnsmcd.com/tag/cyberthreat)
- [Threat Hunt](https://1898advisories.burnsmcd.com/tag/threat-hunt)
- [View All](https://1898advisories.burnsmcd.com/)
- [Contact us](https://1898andco.burnsmcd.com/contact-us)

[Contact us](https://1898andco.burnsmcd.com/contact-us)

 November 24, 2026

# Threat Hunt Plan: ABB Ability APCA Model Builder — Embedded Apache Tomcat Remote Code Execution

![Picture of The 1898 & Co. Team](https://1898advisories.burnsmcd.com/hs-fs/hubfs/1898%20Cyberthreat%20Advisory%20Blog%20Assets/1898-Co-Ampersand.png?width=50&name=1898-Co-Ampersand.png) [The 1898 & Co. Team](https://1898advisories.burnsmcd.com/author/1898-co-team)

Date: 2026-11-23 | Revision: A

#### Hunt Objective and Scope

This hunt searches for exploitation of the Apache Tomcat component embedded in MATLAB Runtime R2015b, which ships as a prerequisite of ABB Ability APCA Model Builder 3.4 and is affected by CVE-2025-24813 (Tomcat path equivalence, CVSS v3.1 9.8) and CVE-2016-8735 (Tomcat JMX deserialization, CVSS v3.1 9.8). The target population is every Windows host on which APCA Model Builder 3.4 and MATLAB Runtime R2015b are installed, where the embedded Tomcat lives under C:\\Program Files (x86)\\MATLAB\\MATLAB Runtime\\v90\\sys\\. Because APCA Model Builder supports advanced process control, these hosts are typically engineering workstations or servers adjacent to the OT environment, so the hunt covers both the endpoints and the network paths that reach them.

**Time window:** the hunt window opens at 2025-03-12 — the earliest publicly reported exploitation activity against CVE-2025-24813 in the wild — and runs to the present. The window predates the ABB advisory (2026-11-20) deliberately: the embedded component carried the exposure long before ABB published, and the hunt must cover the full period during which a reachable instance could have been attacked.

Data floor pre-flight (run before any event-based leg; record the floor DATE, never a duration): a UI time picker is not retention, so measure the oldest retained event per family first. The portion of the window before the data floor is Non-Conclusive.

`#event_simpleName=/^(ProcessRollup2|NetworkReceiveAcceptIP4|NetworkConnectIP4|NewScriptWritten|DnsRequest)$/ | groupBy([#event_simpleName], function=min(@timestamp, as=oldest), limit=max)`

 

Event-based clauses (a PUT burst, a child-process spawn, an inbound connection) are bounded by the measured floor and are Non-Conclusive before it. State-based clauses — the embedded Tomcat files still present on disk, a dropped .jsp web shell that still exists, a listening Tomcat socket that exists now — can be re-queried as current state regardless of the floor; each hypothesis states which kind it is.

#### Hypotheses and Hunt Procedures

**Hypothesis 1:** An external actor can reach an internet-facing instance of the embedded Apache Tomcat service on an APCA Model Builder host, observable as an exposed Tomcat service in passive internet-scan indices. Execute FIRST; its output scopes the internal hypotheses. (State-based: current exposure.)

**MITRE ATT&CK:** Reconnaissance | T1595 — Active Scanning | passive discovery of the Tomcat surface an actor would enumerate · Initial Access | T1133 — External Remote Services | an exposed Tomcat is a direct network entry point · ICS | T0883 — Internet Accessible Device | an engineering-adjacent host reachable from the internet.

**Collection Queries** — passive external indices (STRICTLY passive; never probe target infrastructure). Author unscoped first (proves the filter matches the product), then scope with your own public ranges. API keys are referenced by env-var name only (SHODAN\_API\_KEY, CENSYS\_API\_SECRET, CENSYS\_ORG\_ID, NETLAS\_API\_KEY) and never inlined.

`Shodan: product:"Apache Tomcat" http.title:"Apache Tomcat" port:8080,8443 "Apache Tomcat"`

 

`// scope to your own surface (apply after the unscoped filter is confirmed): product:"Apache Tomcat" net:<your_public_CIDR> product:"Apache Tomcat" org:"<Your Org Name>"`

 

`Censys (CenQL — host.services.* form; do NOT cross with legacy services.* or it returns zero with no error): host.services.software.product: "Tomcat" host.services: (port = "8080" and software.product: "Tomcat")`

 

`// scope: host.services.software.product: "Tomcat" and (host.autonomous_system.asn = <your_ASN> or host.ip: "<your_public_CIDR>")`

 

`Netlas: http.title:"Apache Tomcat" host:<your_public_CIDR> AND port:(8080 OR 8443)`

 

→ Expected Positive shape: one or more hosts inside your attributed public ranges returning an Apache Tomcat banner or title on an HTTP/HTTPS service, which you then confirm is an APCA Model Builder / MATLAB Runtime host.

→ Cross-reference every exposed service and version against the CISA Known Exploited Vulnerabilities catalog (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) and this advisory's CVEs; CVE-2025-24813 is already a KEV entry, so a reachable in-range Tomcat is presumptive actor-associated initial-access risk.

**Analysis Queries:**

- Attribute each hit with at least two independent ownership signals (PTR, ASN, certificate CN/SAN, WHOIS/RDAP, your own cloud/public-IP inventory) before reporting; shared hosting and CDN break attribution in both directions, and an unattributable hit is inconclusive, not negative.
- Version-triage each banner and record the index scan timestamp; a banner is stale in both directions, so an in-range Tomcat banner is a prompt to verify current state, and a patched-looking banner is not proof of safety if the scan predates the window.
- Corroborate in at least two of Shodan / Censys / Netlas before escalating; absence from one index only means that index did not observe the host.
- Historical pivot: establish whether the exposure spans 2025-03-12 to present; continuous exposure across the window means the host was presumptively enumerated.
- Pivot every confirmed-owned in-range host into Hypotheses 2–4 as a priority target and hunt it exhaustively; internet reachability of a host serving an OT-adjacent control workflow is itself a finding under IEC 62443 and NERC CIP, independent of confirmed exploitation.

**OT Data Collection: Armis Centrix** — enumerate the APCA hosts and their externally-sourced service connections (set the time window in the UI; omit timeFrame from the body):

`in:devices operatingSystem:Windows`

 

`in:ipConnections protocol:HTTP,HTTPS role:Server networkLocation:External`

 

**Control** — proves the external filter is not a silent zero: run the Shodan/Censys/Netlas product filter unscoped first and confirm it returns the global Tomcat population before the net:/asn: scope is applied; a scoped zero is meaningful only once the unscoped filter is shown non-empty.

**Verdict criteria:** Positive — a confirmed-owned, in-range host exposes an Apache Tomcat service corroborated in two indices; Negative — the unscoped filter returns the global population AND no attributed in-range host appears in any index; Non-Conclusive — attribution cannot reach two independent signals, or the public-IP inventory is incomplete; missing SHODAN\_API\_KEY / CENSYS\_API\_SECRET prevents determining whether the host is externally reachable.

**Hypothesis 2:** An unauthenticated attacker has exploited CVE-2025-24813 against the embedded Tomcat by writing a serialized payload with a partial PUT and triggering its deserialization, observable as anomalous PUT/GET request pairs and dropped .jsp or .session files under the MATLAB Runtime path. (Event-based for the request/exec activity; state-based for files that still exist on disk.)

**MITRE ATT&CK:** Initial Access | T1190 — Exploit Public-Facing Application | the partial-PUT deserialization is a direct exploit of a network-facing service · Persistence | T1505.003 — Server Software Component: Web Shell | a dropped .jsp gives durable access · Execution | T1059 — Command and Scripting Interpreter | deserialization yields arbitrary command execution.

**Collection Queries:**

**CrowdStrike Falcon LogScale** (CQL) — dropped web-shell / session files under the MATLAB Runtime Tomcat path (state-based: re-run as current state; file-write telemetry is split across families, so use the /FileWritten$/ catch-all, never the invalid bare FileWritten):

`#event_simpleName=/FileWritten$/ event_platform=Win | TargetFileName=/\\MATLAB( Runtime)?\\.*\\(webapps|work|temp)\\.*\.(jsp|jspx|session)$/i | table([ComputerName, TargetFileName, ContextProcessId, @timestamp], limit=20000)`

 

→ Expected Positive shape: a .jsp/.jspx written into a Tomcat webapps/work/temp directory under the MATLAB Runtime tree, or a .session file written outside normal application activity.

**CrowdStrike Falcon LogScale** (CQL) — the embedded Tomcat java process and the sockets it accepts (long-lived server, so match the synthetic variant with /ProcessRollup2/; inbound = NetworkReceiveAcceptIP4, LocalPort is the service reached):

`#event_simpleName=/ProcessRollup2/ event_platform=Win | ImageFileName=/\\MATLAB( Runtime)?\\v90\\.*\\javaw?\.exe$/i | table([ComputerName, ImageFileName, TargetProcessId, CommandLine], limit=20000)`

 

`#event_simpleName=NetworkReceiveAcceptIP4 event_platform=Win | in(LocalPort, values=["8080","8443","8005","8009"]) | table([ComputerName, LocalPort, RemoteAddressIP4, ContextProcessId], limit=20000)`

 

**BPF packet capture** — capture HTTP to the Tomcat ports on an affected host (VLAN-aware two-branch form; repeat the whole primitive in each branch; pair with an unscoped control):

`tcp​dump -i any -w /captures/apca_tomcat_%Y%m%d_%H%M%S.pcap -G 3600 -C 100 '((tcp port 8080 or tcp port 8443) and host <apca_host_ip>) or (vlan and ((tcp port 8080 or tcp port 8443) and host <apca_host_ip>))'`

 

`tcp​dump -i any -w /captures/apca_ctrl_%Y%m%d_%H%M%S.pcap -G 3600 -C 100 '(tcp port 8080 or tcp port 8443) or (vlan and (tcp port 8080 or tcp port 8443))'`

 

**Datadog** — Windows file/process visibility (Log Search; note token matching is substring-insensitive, so prove a term against one known line before trusting a zero):

`source:windows "MATLAB Runtime" (".jsp" OR ".session") // time range: 2025-03-12T00:00Z to current`

 

`source:windows "javaw.exe" ("cmd.exe" OR "powershell.exe") // time range: 2025-03-12T00:00Z to current`

 

**Datadog Live Process Monitoring** (Infrastructure \> Processes — NOT a log source; fallback to the source:windows search above where Live Process Monitoring is not enabled):

`command:java`

 

**Windows Event collection** — enable and pull where Sysmon is deployed:

- Sysmon EID 11 (FileCreate) — .jsp/.jspx/.session under the MATLAB Runtime tree
- Sysmon EID 1 / Security EID 4688 (process create) — children of javaw.exe
- Sysmon EID 3 (network connect) — inbound/outbound on the Tomcat ports

`Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Sysmon/Operational'; Id=11} | Where-Object { $_.Message -match '\.jsp|\.jspx|\.session' -and $_.Message -match 'MATLAB' } | Export-Csv -NoTypeInformation C:\hunt\apca_jsp_filecreate.csv`

 

**YARA file-system scan** — scan the MATLAB Runtime Tomcat tree for dropped web shells and serialized payloads:

`ya​ra -r /opt/hunt/rules/apca_tomcat.yar "/c/Program Files (x86)/MATLAB/MATLAB Runtime/v90" >​>​ /opt/hunt/apca_yara_hits.txt`

 

**Analysis Queries:**

**CrowdStrike Falcon LogScale** (CQL) — java/Tomcat spawning OS command interpreters (RCE outcome; the child interpreter starts within the window so ProcessRollup2 is correct here; confirm the parent java is the MATLAB Runtime instance via a PR2 self-join on aid + ParentProcessId → TargetProcessId):

`#event_simpleName=ProcessRollup2 event_platform=Win | ParentBaseFileName=/^javaw?\.exe$/i | ImageFileName=/\\(cmd|powershell|wscript|cscript|mshta|bitsadmin|certutil)\.exe$/i | groupBy([ComputerName, ParentBaseFileName, ImageFileName, CommandLine], function=count(), limit=20000)`

 

→ Expected Positive shape: javaw.exe as parent of cmd.exe or powershell.exe with a command line that reads/writes files, downloads a tool, or launches a shell — the signature of deserialization-driven code execution.

**Wireshark / tshark** — isolate the partial-PUT-then-GET exploitation pair (the write uses Content-Range; the trigger GET carries a crafted JSESSIONID; on HTTPS the sensor needs the session keys, -o tls.keylog\_file, or it sees no URIs):

`http.request.method == "PUT" && http.request.uri matches "\\.session$"`

 

`http.request.method == "GET" && http.cookie contains "JSESSIONID=."`

 

`tsh​ark -r apca_tomcat.pcap -Y 'http.request.method == "PUT" && http.content_range' -T fields -e ip.src -e http.request.uri`

 

→ Expected Positive shape: a PUT to a path ending in .session carrying a Content-Range header, followed within the same source session by a GET whose JSESSIONID cookie begins with a dot (the path-manipulation trigger).

**Datadog Log Analytics** — rank hosts by java-spawned interpreter count (equivalent to the CQL groupBy above):

`source:windows "javaw.exe" ("cmd.exe" OR "powershell.exe") // Analytics: Table view, group by @host; time range: 2025-03-12T00:00Z to current`

 

**Datadog Monitor:**

`Type: Log Alert Query: source:windows "javaw.exe" ("cmd.exe" OR "powershell.exe") Evaluation window: last 10 minutes Alert condition: count > 0 Message: "ALERT: Tomcat/java spawned a command interpreter on an APCA Model Builder host — possible CVE-2025-24813 exploitation, investigate immediately @soc-oncall" Prerequisites: Windows process logs (Sysmon EID 1 or Security 4688) forwarded to Datadog from the APCA host population`

 

**YARA memory scan** — scan the running MATLAB Runtime java process for in-memory deserialization gadgets (PID is the positional target; there is no -p PID flag):

`ya​ra /opt/hunt/rules/apca_tomcat.yar <java_pid>​ >​>​ /opt/hunt/apca_mem_hits.txt`

 

**Control** — proves the file-write and process legs can return non-zero on this population (same family, window, scope). A family-presence control does not cover the field filter, so the field is counted too:

`#event_simpleName=/FileWritten$/ event_platform=Win | head(1)`

 

`#event_simpleName=/FileWritten$/ event_platform=Win | TargetFileName=/./ | count()`

 

`#event_simpleName=ProcessRollup2 event_platform=Win | ParentBaseFileName=/./ | count()`

 

**Verdict criteria:** Positive — a .jsp/.session artifact under the MATLAB Runtime Tomcat tree OR javaw.exe spawning a command interpreter, corroborated by the PUT/GET pair in capture; Negative — the hit set is empty AND the file-write and ProcessRollup2 controls are non-zero across the window; Non-Conclusive — the controls are zero or unrun, the data floor postdates part of the window, or HTTPS was not decrypted so request URIs were invisible; missing Sysmon/process logging prevents determining whether exploitation occurred.

**Hypothesis 3:** An attacker has exploited CVE-2016-8735 against the embedded Tomcat JMX remote lifecycle listener, observable as connections to the JMX/RMI ports followed by code execution from the java process. (Event-based.)

**MITRE ATT&CK:** Initial Access | T1190 — Exploit Public-Facing Application | the JMX listener is a network-facing management surface · Execution | T1203 — Exploitation for Client Execution | JMX deserialization yields arbitrary code · Lateral Movement | T1210 — Exploitation of Remote Services | a reachable JMX port is a remote-exploitation vector.

**Collection Queries:**

**CrowdStrike Falcon LogScale** (CQL) — inbound connections to JMX/RMI service ports accepted by the host (inbound = NetworkReceiveAcceptIP4; LocalPort is the service reached; the specific JMX port is environment-set, so treat these as common defaults and confirm the listener's real port from the Tomcat config):

`#event_simpleName=NetworkReceiveAcceptIP4 event_platform=Win | in(LocalPort, values=["1099","8999","9999","10001","10002"]) | groupBy([ComputerName, LocalPort, RemoteAddressIP4], function=count(), limit=20000)`

 

→ Expected Positive shape: an external or unexpected internal source address connecting to a JMX/RMI listener port on an APCA host, especially a source not on the engineering management subnet.

**BPF packet capture** — capture the candidate JMX/RMI ports (VLAN-aware two-branch form):

`tcp​dump -i any -w /captures/apca_jmx_%Y%m%d_%H%M%S.pcap -G 3600 -C 100 '((tcp port 1099 or tcp portrange 8999-10002) and host <apca_host_ip>) or (vlan and ((tcp port 1099 or tcp portrange 8999-10002) and host <apca_host_ip>))'`

 

Windows Event collection:

- Sysmon EID 3 (network connect) — inbound on the JMX/RMI ports
- Sysmon EID 1 / Security EID 4688 — children of javaw.exe spawned after a JMX connection

`Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Sysmon/Operational'; Id=3} | Where-Object { $_.Message -match 'DestinationPort: (1099|8999|9999|10001|10002)' } | Export-Csv -NoTypeInformation C:\hunt\apca_jmx_connect.csv`

 

**Analysis Queries:**

**CrowdStrike Falcon LogScale** (CQL) — correlate a JMX-port connection with a subsequent java-spawned interpreter on the same host (JMX events carry no image name, so the attribution is to the host and time, corroborated against the Hypothesis 2 child-process analysis):

`#event_simpleName=/^(NetworkReceiveAcceptIP4|ProcessRollup2)$/ event_platform=Win | case { in(LocalPort, values=["1099","8999","9999","10001","10002"]); ParentBaseFileName=/^javaw?\.exe$/i; } | groupBy([ComputerName], function=[count(#event_simpleName, distinct=true, as=signals), collect([LocalPort, ImageFileName])], limit=20000)`

 

→ Expected Positive shape: a single host showing both a JMX-port accept and a javaw.exe-parented interpreter within the hunt window.

**Datadog Monitor:**

`Type: Log Alert Query: source:windows @network.destination.port:(1099 OR 8999 OR 9999 OR 10001 OR 10002) @network.direction:inbound Evaluation window: last 15 minutes Alert condition: count > 0 Message: "ALERT: inbound connection to a Tomcat JMX/RMI port on an APCA host — possible CVE-2016-8735 exploitation @soc-oncall" Prerequisites: network connection logs (Sysmon EID 3 or firewall) forwarded to Datadog, with the destination port parsed`

 

**Control** — proves the inbound-connection leg can return non-zero (family + field presence on the same family/window/scope):

`#event_simpleName=NetworkReceiveAcceptIP4 event_platform=Win | head(1)`

 

`#event_simpleName=NetworkReceiveAcceptIP4 event_platform=Win | LocalPort=/./ | count()`

 

**Verdict criteria:** Positive — an unexpected source connects to a JMX/RMI port AND the same host shows a java-spawned interpreter in the window; Negative — the hit set is empty AND the NetworkReceiveAcceptIP4 control is non-zero; Non-Conclusive — the JMX listener's real port could not be confirmed from config so the default-port list may miss it, or the control is zero/unrun; missing network-connection telemetry prevents determining whether the JMX port was reached.

**Hypothesis 4:** An exploited Tomcat has established outbound command-and-control or staged tooling from an APCA Model Builder host, and/or the vulnerable embedded Tomcat component is still present on hosts in scope. (Event-based for the C2/staging; state-based for component presence and remediation confirmation.)

**MITRE ATT&CK:** Command and Control | T1071 — Application Layer Protocol | an exploited java process beacons over HTTP/HTTPS · Command and Control | T1105 — Ingress Tool Transfer | staging a second-stage tool after RCE · Persistence | T1505.003 — Server Software Component: Web Shell | a resident web shell is durable access that re-queries as current state.

**Collection Queries:**

**CrowdStrike Falcon LogScale** (CQL) — component presence / remediation state (state-based: the embedded Tomcat files on disk now; this also confirms whether the ABB removal patch has been applied):

`#event_simpleName=InstalledApplication event_platform=Win | ProductName=/MATLAB Runtime|APCA Model Builder/i | table([ComputerName, ProductName, ApplicationVersion, InstallDate], limit=20000)`

 

`#event_simpleName=/FileWritten$/ event_platform=Win | TargetFileName=/\\MATLAB( Runtime)?\\v90\\.*\\(tomcat|catalina)/i | groupBy([ComputerName], function=collect([TargetFileName]), limit=20000)`

 

**CrowdStrike Falcon LogScale** (CQL) — outbound connections initiated by the MATLAB Runtime java process (outbound = NetworkConnectIP4; RemoteAddressIP4 is the peer reached; join to a /ProcessRollup2/ regex so the long-lived synthetic java variant also joins, on aid + ContextProcessId because NetworkConnectIP4 carries no image name):

`#event_simpleName=NetworkConnectIP4 event_platform=Win | RemotePort=/^(80|443|8080)$/ | join(query={#event_simpleName=/ProcessRollup2/ event_platform=Win | ImageFileName=/\\MATLAB( Runtime)?\\v90\\.*\\javaw?\.exe$/i}, field=[aid, ContextProcessId], key=[aid, TargetProcessId], include=[ImageFileName], mode=inner, limit=100000) | groupBy([ComputerName, RemoteAddressIP4, RemotePort], function=count(), limit=20000)`

 

→ Expected Positive shape: the MATLAB Runtime java process making outbound HTTP/HTTPS connections to an external address that is not a known ABB/MathWorks update endpoint — a beacon or tool-download.

**YARA file-system scan** — reuse the web-shell rule set to find resident shells left for persistence:

`ya​ra -r /opt/hunt/rules/apca_tomcat.yar "/c/Program Files (x86)/MATLAB/MATLAB Runtime/v90" >​>​ /opt/hunt/apca_persist_hits.txt`

 

**Analysis Queries:**

**CrowdStrike Falcon LogScale** (CQL) — rarity of java outbound destinations (rarest-first surfaces the single odd beacon among routine update traffic):

`#event_simpleName=NetworkConnectIP4 event_platform=Win | join(query={#event_simpleName=/ProcessRollup2/ event_platform=Win | ImageFileName=/\\MATLAB( Runtime)?\\v90\\.*\\javaw?\.exe$/i}, field=[aid, ContextProcessId], key=[aid, TargetProcessId], include=[ImageFileName], mode=inner, limit=100000) | groupBy([RemoteAddressIP4], function=count(as=hits), limit=100000) | sort(hits, order=asc, limit=50)`

 

**OT Data Collection: Claroty xDome** — export the APCA host's device record and its Communication Analysis for the window (custom range, not Past Quarter which silently exports 30 days) and baseline external destinations; Dragos Platform — export the asset's communications and any notifications for the host over the window; Nozomi Guardian — export the node's links and session history for the host; Tenable OT — export the asset's connections and plugin findings; Forescout eyeInspect — export the host's traffic baseline. Use each platform's documented export procedure; these platforms see the host as a network asset and corroborate the beacon destination, they do not parse the Tomcat application layer.

**Datadog Monitor:**

`Type: Log Alert Query: source:windows "javaw.exe" ("http://" OR "https://") -"mathworks.com" -"mathworks.cn" Evaluation window: last 30 minutes Alert condition: count > 0 Message: "ALERT: MATLAB Runtime java process reaching an external URL that is not a MathWorks endpoint — possible C2 from an exploited APCA host @soc-oncall" Prerequisites: Windows process/command-line logs forwarded to Datadog; this query carries the positive term javaw.exe so the negations only pare an already-scoped set`

 

**Control** — proves the outbound leg can return non-zero and that the join's process side is populated:

`#event_simpleName=NetworkConnectIP4 event_platform=Win | head(1)`

 

`#event_simpleName=/ProcessRollup2/ event_platform=Win | ImageFileName=/\\MATLAB( Runtime)?\\v90\\.*\\javaw?\.exe$/i | count()`

 

**Verdict criteria:** Positive — the MATLAB Runtime java process reaches an external non-MathWorks destination OR a resident web shell is found under the Tomcat tree; Negative — no anomalous outbound destination AND the NetworkConnectIP4 control is non-zero AND the component-presence query confirms the ABB patch removed the Tomcat files; Non-Conclusive — the ProcessRollup2 join side is empty (java process not retained in window) or outbound telemetry is absent; missing InstalledApplication/file telemetry prevents determining whether the component is still present.

#### Threat Actor Profile

No named advanced-persistent-threat group or specific malware family is attributed to this activity in the vendor or government source material, and ABB reported no exploitation of its product at publication. The realistic threat is twofold. First, opportunistic internet-wide scanners: within days of the CVE-2025-24813 disclosure, scanning and exploitation attempts against exposed Apache Tomcat were observed from multiple source countries (activity reported by public scanning telemetry, recorded in the research notes with provenance); these actors spray reachable Tomcat instances indiscriminately and require only network reachability plus the vulnerable non-default configuration. Second, ransomware initial-access brokers: a CVE in the CISA Known Exploited Vulnerabilities catalog carries a presumptive association with ransomware-adjacent initial access, where a web-facing RCE is used to gain a foothold that is later sold or escalated. Sophistication ranges from low (public proof-of-concept replay) to moderate (chaining the foothold into lateral movement toward the OT environment). The access path for both is the same: reach the embedded Tomcat service across the network, exploit the path-equivalence or JMX deserialization flaw, and execute code on an engineering-adjacent Windows host. Attribution caveats apply — a scanning source address is not an actor identity, and a KEV listing indicates observed exploitation of the CVE generally, not a specific campaign against ABB APCA Model Builder.

#### Data Sources Required

**Endpoint:** CrowdStrike Falcon (ProcessRollup2, NetworkReceiveAcceptIP4, NetworkConnectIP4, the per-file-type FileWritten families, InstalledApplication), Windows Sysmon (EID 1, 3, 11) and Security 4688, collected from the APCA Model Builder / MATLAB Runtime host population. Network: full packet capture on the Tomcat HTTP/HTTPS and JMX/RMI ports (with TLS session keys where the traffic is encrypted), NetFlow, and firewall logs for the engineering segment. Log aggregation: Datadog Windows process and file logs, plus Live Process Monitoring where the Agent has it enabled. OT/ICS asset and communication platforms present in the environment — Claroty xDome, Dragos, Nozomi Guardian, Tenable OT, Forescout eyeInspect, and Armis Centrix — for host asset context and external-communication baselining. External attack surface: the passive internet-scan indices queried read-only (Shodan, Censys, Netlas), the CISA Known Exploited Vulnerabilities catalog, and the organization's authoritative public IP and cloud asset inventories, without which the exposure determination in Hypothesis 1 cannot be attributed.

#### Detection Signatures

SIGMA rules (spanning webserver, file\_event, and process\_creation logsources):

`title: Tomcat Partial PUT of Serialized Session File id: 7a1c4e2b-3d5f-4a6b-9c8d-1e2f3a4b5c6d status: experimental description: Detects an HTTP PUT whose target path ends in .session, the write phase of the CVE-2025-24813 path-equivalence deserialization chain against Apache Tomcat. references: - https://nvd.nist.gov/vuln/detail/CVE-2025-24813 author: 1898 & Co. date: 2026-11-23 logsource: category: webserver detection: selection: cs-method: 'PUT' cs-uri-stem|re: '\.session' condition: selection falsepositives: - WebDAV or backup tooling that legitimately PUTs files with a .session extension tags: - attack.initial_access - attack.t1190 level: high`

 

`title: JSP Web Shell Created Under MATLAB Runtime Tomcat Tree id: 2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e status: experimental description: Detects creation of a .jsp/.jspx file inside the embedded Tomcat directories of MATLAB Runtime, the web-shell persistence outcome of CVE-2025-24813 exploitation on an APCA Model Builder host. references: - https://nvd.nist.gov/vuln/detail/CVE-2025-24813 author: 1898 & Co. date: 2026-11-23 logsource: product: windows category: file_event detection: selection: TargetFilename|contains: '\MATLAB' TargetFilename|endswith: - '.jsp' - '.jspx' condition: selection falsepositives: - Legitimate update of a bundled JSP during a MathWorks or ABB patch tags: - attack.persistence - attack.t1505.003 level: high`

 

`title: MATLAB Runtime Java Process Spawns Command Interpreter id: 3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f status: experimental description: Detects javaw.exe or java.exe spawning a command interpreter or LOLBin, the execution outcome of CVE-2025-24813 or CVE-2016-8735 deserialization on an APCA host. references: - https://nvd.nist.gov/vuln/detail/CVE-2016-8735 author: 1898 & Co. date: 2026-11-23 logsource: product: windows category: process_creation detection: selection: ParentImage|endswith: - '\javaw.exe' - '\java.exe' Image|endswith: - '\cmd.exe' - '\powershell.exe' - '\wscript.exe' - '\cscript.exe' - '\mshta.exe' - '\certutil.exe' condition: selection falsepositives: - A MATLAB deployment script that legitimately shells out during installation tags: - attack.execution - attack.t1059 level: high`

 

**Snort/Suricata rules** (Suricata 8.0.x; local SIDs start at 1000000; an IDS on HTTPS fires only where traffic is decrypted — note this next to deployment):

`alert http any any -> any any (msg:"APCA Tomcat CVE-2025-24813 partial PUT of .session payload"; flow:established,to_server; http.method; content:"PUT"; http.uri.raw; pcre:"/\.session\b/i"; http.header; content:"Content-Range"; nocase; classtype:web-application-attack; sid:1000001; rev:1; reference:cve,2025-24813;)`

 

`alert http any any -> any any (msg:"APCA Tomcat CVE-2025-24813 deserialization trigger JSESSIONID path manipulation"; flow:established,to_server; http.method; content:"GET"; http.cookie; pcre:"/JSESSIONID=\.[A-Za-z0-9]/"; classtype:web-application-attack; sid:1000002; rev:1; reference:cve,2025-24813;)`

 

`alert tcp any any -> any [1099,8999,9999,10001,10002] (msg:"APCA Tomcat CVE-2016-8735 JMX RMI inbound to management port"; flow:established,to_server; content:"|ac ed 00 05|"; classtype:attempted-admin; sid:1000003; rev:1; reference:cve,2016-8735;)`

 

YARA rules:

The JSP\_Webshell\_Tomcat\_Dropped rule targets the disk artifact of a web shell dropped after exploitation: it requires a JSP scriptlet open tag together with a runtime-exec or ProcessBuilder call and a request-parameter read, so a benign JSP page (which has the tag but neither command execution nor a parameter-driven command) does not match, holding false positives down.

`rule JSP_Webshell_Tomcat_Dropped { meta: description = "JSP web shell dropped under the embedded Tomcat tree after CVE-2025-24813 exploitation" author = "1898 & Co." date = "2026-11-23" reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-24813" strings: $jsptag = "<%" // JSP scriptlet open tag $exec1 = "Runtime.getRuntime().exec" // direct OS command execution $exec2 = "ProcessBuilder" // alternate command-execution path $param = "request.getParameter" // command driven by an attacker-supplied parameter condition: $jsptag and 1 of ($exec*) and $param }`

 

The Tomcat\_Deserialization\_Gadget\_Payload rule targets the in-memory and on-disk serialized payload: it keys on the known Commons-Collections gadget-chain class names that appear in the serialized stream, because a healthy Tomcat session serializes the StandardSession class but never a gadget functor. Requiring a gadget class (rather than the serialization magic bytes alone, which every session shares) is the false-positive mitigation built into the condition.

`rule Tomcat_Deserialization_Gadget_Payload { meta: description = "Serialized Java deserialization gadget payload used against the Tomcat path-equivalence / JMX flaws" author = "1898 & Co." date = "2026-11-23" reference = "https://nvd.nist.gov/vuln/detail/CVE-2016-8735" strings: $gadget1 = "org.apache.commons.collections.functors.InvokerTransformer" // Commons-Collections 3 gadget $gadget2 = "org.apache.commons.collections4.functors.InvokerTransformer" // Commons-Collections 4 gadget $gadget3 = "org.apache.commons.collections.functors.ChainedTransformer" // chained-transformer gadget $gadget4 = "org.apache.commons.collections.functors.InstantiateTransformer" // instantiate-transformer gadget condition: 1 of ($gadget*) }`

 

#### Indicators of Compromise

**Network:** inbound connections from external or non-management source addresses to the embedded Tomcat HTTP/HTTPS ports (commonly 8080/8443) or to a JMX/RMI listener port; an HTTP PUT to a path ending in .session, especially carrying a Content-Range header; a follow-on GET whose JSESSIONID cookie begins with a dot; outbound HTTP/HTTPS from the MATLAB Runtime java process to a destination that is not a MathWorks/ABB endpoint. Two scanning/exploitation source addresses reported publicly for the CVE-2025-24813 wave are carried in Section 10 as low-confidence network IoCs (third-party provenance, recorded in the research notes). Host: a .jsp/.jspx file written under the MATLAB Runtime Tomcat webapps/work/temp directories; a .session file written outside normal application activity; javaw.exe or java.exe as the parent of cmd.exe, powershell.exe, or a download LOLBin. OT/operational: an engineering-adjacent APCA host appearing with an internet-reachable Tomcat service in a passive scan index; an APCA host originating connections into OT segments after an exploitation-window event.

#### False Positive Baseline

1\. MathWorks or ABB patch and update activity that legitimately writes or replaces files under the MATLAB Runtime tree, including bundled JSP files, during a maintenance window.

2\. A MATLAB deployment or installation script that legitimately shells out from the java process during setup.

3\. Backup, WebDAV, or synchronization tooling that issues PUT requests, occasionally to files whose names end in .session.

4\. Internal vulnerability scanners and authorized penetration tests generating PUT/GET exploitation patterns and JMX-port connections from known scanner addresses — confirm against the scanning schedule and source list.

5\. Legitimate java outbound connections to MathWorks license, update, and telemetry endpoints — baseline and allowlist these destinations before alerting on java outbound traffic.

6\. Internet-scan index hits on hosts that are not yours (shared hosting, CDN, carrier NAT) — an unattributable Hypothesis 1 hit is inconclusive, not a confirmed exposure.

#### Escalation Criteria

1\. Any confirmed-owned, in-range host exposing an Apache Tomcat service corroborated across two passive indices, continuously across the 2025-03-12-to-present window — treat as presumptively enumerated and escalate to IR.

2\. Any host where the internet-exposure determination coincides with a Tomcat service version in the CVE-2025-24813 affected range (or an unverifiable banner) — escalate for state verification.

3\. Any hit on the YARA rule JSP\_Webshell\_Tomcat\_Dropped against the MATLAB Runtime Tomcat tree — escalate immediately as a resident web shell.

4\. Any hit on the YARA rule Tomcat\_Deserialization\_Gadget\_Payload against a running java process or a file under the MATLAB Runtime tree — escalate immediately as an in-memory or staged deserialization payload.

5\. Any javaw.exe/java.exe process spawning a command interpreter or download LOLBin on an APCA host — escalate as confirmed code execution.

6\. Any inbound connection to a JMX/RMI port from a source outside the engineering management subnet, followed by a java-spawned process on the same host.

7\. Any outbound connection from the MATLAB Runtime java process to an external address that is not a known MathWorks/ABB endpoint.

8\. Any indication that an exploited APCA host originated connections into an OT/control segment — escalate to OT IR regardless of confirmed exploitation.

#### Hunt Completion Criteria and Reporting

The hunt is complete when every hypothesis has a verdict rendered against its Verdict criteria, drawn only from queries whose LogScale status reads Done (a progressively-rendered aggregate looks final when partial — capture the status bar in screenshots). Report a verdict per hypothesis; a residual finding in a secondary leg does not downgrade a primary verdict. Make every absence claim from a single-predicate filter (filter for the artifact and count), never by reading a distribution table. Record every limitation with its direction: an IDS on HTTPS sees request URIs only where traffic is decrypted (inbound), a Datadog leg sees only what is forwarded and parsed, the data floor bounds the event-based legs below its measured date, and the xDome Communication Analysis export silently truncates to 30 days unless a custom range is set. Any leg whose control query returned zero or was not run is reported Non-Conclusive, naming the missing input — never as clean. Hypothesis 1's report must state the sweep's index coverage and the per-hit attribution provenance, and recommend making the external sweep a recurring control. Confirm the remediation state explicitly: Hypothesis 4's component-presence query should show the ABB patch has removed the embedded Tomcat files on every host in scope, and any host still carrying them is an open finding.

#### Advisory IoC Reference

| IOC Type | IOC |
| --- | --- |
| CVE | CVE-2025-24813 \| CVSS v3.1 9.8 \| Apache Tomcat (embedded in MATLAB Runtime R2015b) in ABB Ability APCA Model Builder 3.4 \| Path equivalence / partial-PUT deserialization allowing unauthenticated remote code execution. |
| CVE | CVE-2016-8735 \| CVSS v3.1 9.8 \| Apache Tomcat (embedded in MATLAB Runtime R2015b) in ABB Ability APCA Model Builder 3.4 \| JMX remote lifecycle listener deserialization allowing remote code execution. |
| Threat Actor | None attributed — opportunistic internet-wide scanners and ransomware initial-access brokers exploiting the CVE-2025-24813 KEV entry; no named APT or campaign tied to the ABB product. |
| Malware | None published in source material — monitor https://www.cisa.gov/known-exploited-vulnerabilities-catalog |
| Network IOC | IP: 140.143.182.115 (low confidence — third-party-reported CVE-2025-24813 scanning/exploitation source; validate before blocking) |
| Network IOC | IP: 196.240.54.120 (low confidence — third-party-reported CVE-2025-24813 scanning/exploitation source; validate before blocking) |
| File IOC | None published in source material — hunt by artifact shape: .jsp/.jspx/.session files under C:\\Program Files (x86)\\MATLAB\\MATLAB Runtime\\v90\\ |
| Behavioral | HTTP PUT to a path ending in .session carrying a Content-Range header against the embedded Tomcat |
| Behavioral | HTTP GET whose JSESSIONID cookie begins with a dot (CVE-2025-24813 deserialization trigger) |
| Behavioral | .jsp/.jspx web shell written under the MATLAB Runtime Tomcat webapps/work/temp directories |
| Behavioral | javaw.exe/java.exe spawning cmd.exe, powershell.exe, or a download LOLBin on an APCA Model Builder host |
| Behavioral | Inbound connection to a Tomcat JMX/RMI port from a source outside the engineering management subnet |
| Behavioral | MATLAB Runtime java process making outbound HTTP/HTTPS to a non-MathWorks/ABB external destination |

[Threat Hunt](https://1898advisories.burnsmcd.com/tag/threat-hunt)

*The information in this cybersecurity advisory is provided "as is" for informational purposes only. 1898 & Co. does not provide any warranties or guarantees of any kind regarding this information. You assume all risks if you choose to rely on this information. In no event shall 1898 & Co. or its contractors or subcontractors be liable for any damages including, but not limited to, direct, indirect, special or consequential damages, arising out of, resulting from, or in any way connected with, this information, whether or not based upon warranty, contract, tort, or otherwise, whether or not arising out of negligence, and whether or not injury was sustained from, or arose out of the results of, or reliance upon the information*

*1898 & Co. does not endorse any product or service, except as expressly stated otherwise. Any reference to products or processes does not constitute or imply 1898 & Co.’s endorsement or recommendation.*

Subscribe

✕ Close

 

[Accessibility](https://1898andco.burnsmcd.com/accessibility)  |  [Privacy Statement](https://1898andco.burnsmcd.com/privacy)

© 2026 1898 & Co., a part of Burns & McDonnell. All Rights Reserved.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "The 1898 & Co. Team",
    "url" : "https://1898advisories.burnsmcd.com/author/1898-co-team"
  },
  "dateModified" : "2026-11-24T15:27:19.374Z",
  "datePublished" : "2026-11-24T15:27:19.000Z",
  "headline" : "Threat Hunt Plan: ABB Ability APCA Model Builder — Embedded Apache Tomcat Remote Code Execution",
  "mainEntityOfPage" : {
    "@id" : "https://1898advisories.burnsmcd.com/threat-hunt-plan-abb-ability-apca-model-builder-embedded-apache-tomcat-remote-code-execution",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "//cdn2.hubspot.net/hub/477837/file-2585615236-jpg/Logo_1_Primary_2Color1.jpg"
    },
    "name" : "Burns & McDonnell Engineering Co"
  }
}
```