Back to Intelligence

CVE-2026-13162 & CVE-2026-43284: Hitachi Energy CoreTec OS Command Injection and Dirty Frag — ICS Detection and Remediation Guide

SA
Security Arsenal Team
October 29, 2026
12 min read

CISA has published ICS advisory ICSA-26-302-03 covering two vulnerabilities in Hitachi Energy's CoreTec product line: CVE-2026-13162 (OS command injection, CWE-78) and CVE-2026-43284 (a "Dirty Frag" write-what-where condition, CWE-123). The advisory carries a CVSS v3 score of 8.8 (High) and affects core components deployed across electric utility and energy sector environments. Successful exploitation can impact the confidentiality, integrity, and availability of the product — the classic ICS triad that translates directly into operational disruption risk.

If you operate Hitachi Energy CoreTec systems anywhere in your OT environment, treat this as a priority-one remediation item. Command injection plus arbitrary memory write primitives in an energy-sector control product is exactly the combination that turns an initial foothold into full device control.

Technical Analysis

Affected Products and Versions

Per the CISA advisory, the following versions are affected:

ProductAffected VersionsCVEs
CoreTec5<= 3.4.0, and 5.0.0CVE-2026-13162, CVE-2026-43284
CoreTec4<= 3.4.0CVE-2026-13162
  • Vendor: Hitachi Energy
  • Equipment: CoreTec4 / CoreTec5
  • CVSS v3: 8.8 (High)
  • Weaknesses: CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'); CWE-123 — Write-what-where Condition

How the Vulnerabilities Work

CVE-2026-13162 — OS Command Injection (CWE-78). The affected CoreTec component fails to properly neutralize special elements in attacker-controllable input before passing it to an operating system shell. From a defender's perspective, this is the most operationally dangerous class of flaw on an ICS/embedded platform: exploitation typically manifests as the CoreTec service process spawning unexpected child processes (sh, bash, dash, utilities like curl, wget, nc, or base64 decode pipelines). A CVSS 8.8 vector at this class of product generally implies a network-reachable, authenticated-or-low-complexity attack path with high impact across all three security properties. On embedded Linux-based control products, command injection frequently yields execution as root or a privileged service account, because these devices historically run management services with broad privileges.

CVE-2026-43284 — "Dirty Frag" Write-what-where (CWE-123). The "Dirty Frag" naming indicates a fragmentation-handling defect that produces an arbitrary memory write primitive — the attacker controls both the value written and the destination address. Write-what-where primitives are a standard escalation building block: they are used to corrupt function pointers, overwrite configuration in memory, defeat integrity checks, or convert an information leak into code execution. Chained with CVE-2026-13162, an attacker has both a reliable entry vector (injection) and a memory-corruption primitive for persistence, tampering, or crashing the device — hence the stated impact on confidentiality, integrity, and availability. On control-system hardware, availability impact alone (a remotely triggerable crash or corrupted state) is a safety and grid-reliability concern, not just an IT problem.

Exploitation Status

At the time of this writing, the advisory is a coordinated vendor/CISA disclosure: there is no confirmed in-the-wild exploitation reported in the advisory text, and neither CVE has been listed in the CISA Known Exploited Vulnerabilities catalog. That said, ICS advisories of this profile — high CVSS, command injection, energy-sector equipment — reliably attract reverse engineering of the patched firmware within weeks of publication. The window between disclosure and working PoC is historically short. Treat this as pre-emptive patching against a near-certain exploitation horizon, and begin hunting for compromise indicators on exposed devices immediately.

Attack Chain Defenders Should Model

  1. Reconnaissance: Attacker identifies CoreTec management interfaces reachable from the OT DMZ, flat network segments, or — in worst cases — directly routable from IT networks or the internet.
  2. Initial execution: CVE-2026-13162 command injection via a vulnerable input field or service endpoint.
  3. Escalation/tampering: CVE-2026-43284 write-what-where used to corrupt in-memory state, bypass integrity checks, or destabilize the device.
  4. Post-exploitation: Dropping of tooling via wget/curl/TFTP, persistence via init scripts or cron, lateral movement into the control network, or destructive disruption of the CoreTec function.

Detection & Response

CoreTec devices are embedded Linux-class systems. Your detection surface is (a) syslog/CEF forwarding from the devices into your SIEM, (b) network monitoring at OT segmentation boundaries, and (c) process-level telemetry where endpoint agents are supportable. The following detections assume device logs are being forwarded to Microsoft Sentinel via the Syslog/CEF connector — if they are not, fixing that is part of your remediation.

Sigma Rules

YAML
---
title: CoreTec Device Spawning Interactive Shell or Command Interpreter
description: Detects the CoreTec service or management process spawning a shell, consistent with post-exploitation of CVE-2026-13162 OS command injection on Hitachi Energy CoreTec platforms.
references:
  - https://www.cisa.gov/news-events/ics-advisories/icsa-26-302-03
  - https://attack.mitre.org/techniques/T1059/004/
author: Security Arsenal
date: 2026/04/06
id: 8c1f4a2e-3b7d-4e91-a5c6-9f2d1e8b3047
status: experimental
tags:
  - attack.execution
  - attack.t1059.004
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|contains:
      - 'coretec'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/busybox'
      - '/python'
      - '/perl'
  condition: selection_parent and selection_child
falsepositives:
  - Vendor maintenance scripts executed during authorized service windows
  - Legitimate CoreTec diagnostic utilities (validate with Hitachi Energy support documentation)
level: high
---
title: Shell Metacharacter Command Injection in Web or Service Request Logs
description: Detects command injection payloads (shell metacharacters, command substitution, piped commands) in HTTP or service request logs originating from ICS management services such as Hitachi Energy CoreTec, consistent with exploitation attempts against CVE-2026-13162.
references:
  - https://www.cisa.gov/news-events/ics-advisories/icsa-26-302-03
  - https://attack.mitre.org/techniques/T1190/
author: Security Arsenal
date: 2026/04/06
id: 2d6e9b41-7f3a-4c82-b951-6a0d4e7c1928
status: experimental
tags:
  - attack.initial_access
  - attack.t1190
  - attack.execution
logsource:
  category: webserver
detection:
  selection:
    cs-uri-query|contains:
      - '%3B'
      - '%7C'
      - '%60'
      - '%24%28'
      - ';id;'
      - '|id'
      - '$(id'
      - '`id`'
      - ';cat%20'
      - '|nc%20'
      - ';wget%20'
      - ';curl%20'
  condition: selection
falsepositives:
  - Vulnerability scanners and authorized penetration tests (allowlist scanner source IPs)
  - Rarely, legitimate encoded input fields — tune against baseline of the CoreTec management interface
level: high
---
title: Outbound Tool Download from ICS Device Network Segment
description: Detects egress fetch activity (wget/curl/tftp) initiated from OT network segments hosting Hitachi Energy CoreTec devices, a common post-exploitation staging behavior after command injection.
references:
  - https://www.cisa.gov/news-events/ics-advisories/icsa-26-302-03
  - https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/04/06
id: 5a3c8f67-1d94-4e26-b378-2c5f9a1d6043
status: experimental
tags:
  - attack.command_and_control
  - attack.t1105
logsource:
  category: proxy
detection:
  selection_agent:
    cs-user-agent|contains:
      - 'Wget/'
      - 'curl/'
  filter_known_updaters:
    dst-hostname|contains:
      - 'hitachienergy.com'
      - '.windowsupdate.com'
  condition: selection_agent and not filter_known_updaters
falsepositives:
  - Authorized firmware update mechanisms (allowlist known update destinations and validate change windows)
level: medium

Microsoft Sentinel / Defender KQL

This query assumes CoreTec device syslogs are ingested via the Syslog or CommonSecurityLog (CEF) connector. It hunts for injection-pattern strings in device messages and shell execution artifacts. Run it over a 30-day lookback to establish whether probing predates your patch deployment.

KQL — Microsoft Sentinel / Defender
// Hunt: CoreTec command injection attempts and post-exploitation shell activity (CVE-2026-13162)
let InjectionPatterns = dynamic([";id;", "|id", "$(id", "`id`", ";cat ", "|nc ", ";wget ", ";curl ", "%3B", "%7C", "%24%28"]);
union isfuzzy=true
    (Syslog
    | where TimeGenerated > ago(30d)
    | where Computer has_any ("coretec") or ProcessName has_any ("coretec")
    | where SyslogMessage has_any (InjectionPatterns)
    | project TimeGenerated, Computer, ProcessName, SyslogMessage, SeverityLevel),
    (CommonSecurityLog
    | where TimeGenerated > ago(30d)
    | where DeviceVendor =~ "Hitachi Energy" or DeviceProduct has_any ("coretec")
    | where Message has_any (InjectionPatterns) or RequestURL has_any (InjectionPatterns)
    | project TimeGenerated, DeviceProduct, SourceIP, DestinationIP, RequestURL, Message)
| sort by TimeGenerated desc

For outbound staging from OT segments, pivot on network connection events sourced from CoreTec host IPs:

KQL — Microsoft Sentinel / Defender
// Hunt: Outbound connections from CoreTec device IPs to rare external destinations
let CoreTecHosts = dynamic(["10.10.20.0/24"]); // <-- replace with your actual CoreTec/OT subnet(s)
CommonSecurityLog
| where TimeGenerated > ago(30d)
| where ipv4_is_in_range(SourceIP, toscalar(CoreTecHosts)[0])
| where isnotempty(DestinationIP) and not (ipv4_is_private(DestinationIP))
| summarize ConnectionCount=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Protocols=make_set(ApplicationProtocol), Ports=make_set(DestinationPort) by SourceIP, DestinationIP, DestinationHostName
| sort by ConnectionCount asc  // low-frequency egress is the interesting signal on OT devices

Velociraptor VQL

If you have Velociraptor or equivalent endpoint collection on hardened CoreTec-adjacent Linux jump hosts or engineering workstations (never install agents on control devices without vendor approval), hunt for the post-exploitation artifacts — shells with suspicious parentage, recently written binaries in temp paths, and unexpected listeners:

VQL — Velociraptor
-- Hunt: Shells/interpreters spawned by CoreTec-related service processes and suspicious temp-path binaries
SELECT Pid, Ppid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE (ParentName =~ 'coretec' AND Name =~ '(sh|bash|dash|busybox|python|perl)$')
   OR (Exe =~ '/(tmp|var/tmp|dev/shm)/' AND Name !~ '(systemd|cron)')
   OR CommandLine =~ '(wget|curl|tftp).+(http|tftp)://'
VQL — Velociraptor
-- Hunt: Unexpected listening sockets on CoreTec-adjacent hosts (potential backdoor/bind shell)
SELECT Pid, Name, Laddr, Lport, Status
FROM netstat()
WHERE Status =~ 'LISTEN'
  AND Lport NOT IN (22, 443, 502, 20000, 2404)  -- baseline known ICS/service ports for your environment
  AND Laddr !~ '127\\.'

Verification and Hardening Script

CoreTec devices are Linux-based embedded systems. The following Bash script verifies your firmware version against the affected ranges, audits for indicators of compromise (injection artifacts, dropped files, rogue listeners), and confirms log forwarding — the single most important detective control for these devices. Run it from an authorized maintenance session or via your approved OT remote access path.

Bash / Shell
#!/bin/bash
# Security Arsenal - Hitachi Energy CoreTec CVE-2026-13162 / CVE-2026-43284 verification & hunt script
# Run with root privileges on the CoreTec device or its management host during an authorized maintenance window.

echo "=== [1] CoreTec version check ==="
# Adjust to the actual version query mechanism for your deployment (service banner, config file, or package manager)
if command -v coretec-cli >/dev/null 2>&1; then
  coretec-cli --version
fi
grep -ri "version" /opt/coretec*/  /etc/coretec*/ 2>/dev/null | grep -Ei "[0-9]+\.[0-9]+\.[0-9]+" | head -20
rpm -qa 2>/dev/null | grep -i coretec
dpkg -l 2>/dev/null | grep -i coretec
echo ">> AFFECTED if CoreTec5 <=3.4.0, CoreTec5 ==5.0.0, or CoreTec4 <=3.4.0 — contact Hitachi Energy for fixed firmware"

echo ""
echo "=== [2] Hunt: command injection artifacts in logs (last 90 days) ==="
journalctl --since "90 days ago" 2>/dev/null | grep -E '(;id;|\|id|\$\(id|`id`|;wget|;curl|\|nc )' | tail -50
grep -rE '(;id;|\|id|\$\(id|;wget|;curl|\|nc )' /var/log/ 2>/dev/null | tail -50

echo ""
echo "=== [3] Hunt: dropped binaries in writable temp paths ==="
find /tmp /var/tmp /dev/shm -type f -executable -mtime -90 2>/dev/null -exec ls -la {} \;

echo ""
echo "=== [4] Hunt: unexpected listeners and outbound sessions ==="
ss -tlnp 2>/dev/null || netstat -tlnp 2>/dev/null
echo "-- active egress --"
ss -tnp state established 2>/dev/null || netstat -tnp 2>/dev/null | grep ESTABLISHED

echo ""
echo "=== [5] Hunt: persistence mechanisms ==="
crontab -l 2>/dev/null
ls -la /etc/cron.d/ /etc/cron.daily/ 2>/dev/null
systemctl list-unit-files 2>/dev/null | grep enabled | grep -viE '(coretec|systemd|network|sshd|rsyslog|chrony|ntp)'
ls -la /etc/rc.local /etc/init.d/ 2>/dev/null

echo ""
echo "=== [6] Verify remote syslog forwarding is active ==="
grep -E '^[^#].*@' /etc/rsyslog.conf /etc/rsyslog.d/*.conf /etc/syslog-ng/syslog-ng.conf 2>/dev/null
systemctl is-active rsyslog 2>/dev/null || systemctl is-active syslog-ng 2>/dev/null

echo ""
echo "=== DONE. Escalate any hits from sections 2-5 to your IR team and preserve the device image before remediation. ==="

Remediation

  1. Identify and inventory. Enumerate every CoreTec4 and CoreTec5 instance in your environment, including versions. Affected: CoreTec5 <= 3.4.0 and 5.0.0 (both CVEs), CoreTec4 <= 3.4.0 (CVE-2026-13162). Firmware version collection belongs in your OT asset inventory — if you cannot answer "how many and which versions" within an hour, that gap is itself a finding.

  2. Apply the vendor fix. Hitachi Energy has published remediation guidance — refer to the Recommended Immediate Actions section of the vendor advisory linked from CISA ICSA-26-302-03 (https://www.cisa.gov/news-events/ics-advisories/icsa-26-302-03) and the vendor's CSAF document. Coordinate firmware updates through your change control process and, where required, with Hitachi Energy support to preserve system certification and warranty.

  3. Segment and restrict exposure now. Until patches are deployed:

    • Confirm CoreTec management interfaces are not reachable from the internet and are isolated behind your OT DMZ with deny-by-default rules.
    • Restrict access to the management interface to a named allowlist of engineering workstations and jump hosts.
    • Block outbound internet egress from the CoreTec network segments except to explicitly approved update servers — this neutralizes the post-exploitation staging channel even if injection succeeds.
  4. Enable and verify logging. Forward CoreTec syslog to your SIEM (Sentinel Syslog/CEF connector or equivalent). A device you cannot log from is a device you cannot defend. Verify log receipt before closing the remediation ticket.

  5. Hunt for pre-patch compromise. Because these flaws allow full device control, patching alone does not evict an attacker who got in before the fix. Run the KQL hunts and endpoint script above across at least a 30–90 day lookback. Any positive indicator — injection strings in logs, unexpected listeners, binaries in temp paths, unauthorized egress — triggers your IR process: preserve the firmware image, engage your DFIR team, and notify Hitachi Energy and CISA as appropriate.

  6. Validate the fix. After patching, re-run the version check and confirm the remediation script reports a non-affected version. Document closure against ICSA-26-302-03 in your vulnerability management platform with evidence attached — auditors and regulators (NERC CIP for bulk electric operators, in particular) will want the paper trail.

  7. Report. If you observe exploitation activity, report to CISA's 24/7 Operations Center (central@cisa.gov or 888-282-0870) and to Hitachi Energy's product security team per the advisory's contact instructions.

Final Assessment

A CVSS 8.8 OS command injection paired with a write-what-where memory corruption primitive in energy-sector control equipment is not a "patch when convenient" advisory. Even absent confirmed exploitation, the disclosure itself publishes a roadmap for attackers, and embedded ICS products are notoriously slow to receive updates in the field — attackers know this and bank on it. Get the inventory done today, get the segmentation verified this week, and get the vendor fix scheduled in your next maintenance window. Then hunt.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.