Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› What signs suggest an ECU may be under…
Threats, Abuse & Incident Response

What signs suggest an ECU may be under in-memory attack?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 9, 2026 Domain: Threats, Abuse & Incident Response

Signs of in-memory attack on an ECU include unusual command sequences, unexpected diagnostic responses, abnormal timing, unexplained CPU or memory usage, and behaviour that does not match the flashed firmware. A common clue is valid-looking traffic that produces unsafe or inconsistent state changes without any visible file modification. Monitoring runtime telemetry and message integrity helps detect it.

What an ECU in-memory attack looks like at runtime

An ECU under in-memory attack often behaves as if the firmware is intact, but its live execution path has been altered. The most useful indicators are runtime anomalies, not file changes: commands arrive in an unusual order, diagnostics answer in unexpected ways, timing drifts from the normal pattern, or the controller starts producing unsafe state transitions from otherwise valid-looking traffic.

That matters because a memory-only attack can sit below the level of file integrity checks. If the firmware image on disk still looks clean but the ECU’s live responses no longer match its expected logic, the problem is in execution state, control flow, or injected runtime data rather than in the stored image.

For defenders, this means the baseline must be behavioural as well as static. Comparing observed command-response patterns against the flashed firmware’s expected behaviour is often more informative than checking whether the binary on the device changed.

Runtime anomalies that deserve immediate attention

Several signs become suspicious when they appear together. Unusual command sequences can indicate an attacker is steering the ECU through a path the normal system would not use. Unexpected diagnostic responses can show that a service routine, debug path, or state machine has been coerced into exposing more than it should. Abnormal timing, especially if it is repeatable, can reflect injected code, race conditions, or resource contention caused by malicious activity.

Unexplained CPU or memory usage is another strong signal, but it is most meaningful when paired with logic-level anomalies. Elevated resource use alone can be a fault, yet elevated use plus inconsistent control responses suggests the runtime environment is under pressure from something other than ordinary workload.

A particularly important clue is unsafe or inconsistent state change without visible file modification. That pattern points to live memory manipulation, transient code injection, or tampering with the ECU’s execution path rather than a conventional software replacement.

How to distinguish attack activity from normal ECU fault behaviour

The practical test is whether the ECU’s live behaviour still matches the flashed firmware and expected telemetry under the same input conditions. A healthy controller should respond consistently to known-good commands, even if other subsystems are noisy. When the same input produces different outcomes, or when the ECU accepts valid-looking traffic but reaches unsafe states, treat the discrepancy as evidence of compromised runtime integrity.

Monitoring runtime telemetry and message integrity helps separate attack from ordinary malfunction. Telemetry should show whether timing, state transitions, and internal load remain coherent. Message integrity checks help reveal when traffic is syntactically valid but semantically wrong for the current operating state.

For deeper background on how memory-access paths can be abused at hardware level, see Thunderbolt, DMA and Peripheral Attack Protection Guide. It covers the kind of peripheral and direct-memory exposure that can lead to runtime tampering without obvious file changes.

Risk and Threat Considerations

An in-memory ECU compromise is dangerous because it can preserve the appearance of normal operation while silently changing control logic. That makes it harder to detect than a firmware replacement, and more dangerous when the attacker wants intermittent, state-dependent, or safety-impacting behaviour rather than a persistent crash.

Failure mechanism: The attacker alters execution state, injected code, memory contents, or control flow while leaving the stored firmware image unchanged, so traditional file-based checks may miss the compromise.

Impact: The ECU can issue unsafe outputs, accept malicious command patterns, or enter inconsistent states that affect vehicle safety, diagnostics, or downstream controllers.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK provides the primary governance reference for this topic.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1055 — Process InjectionIn-memory ECU attacks alter live execution rather than stored code.
T1621 — Multi-Factor Authentication Request GenerationNo direct fit
Recommendation — Map runtime anomalies to injection-style tradecraft and hunt for execution tampering. Omit

Practitioner Guidance

What to verify: Compare live command-response behaviour against a trusted baseline for the flashed firmware, not just against expected file hashes. If the binary is unchanged but the ECU’s runtime decisions diverge, treat that as a security incident candidate rather than a simple fault.

What to prioritise: Focus first on telemetry that captures timing, state transitions, and message integrity. Those signals are often more revealing than resource counters alone, because they show whether the ECU is behaving coherently under normal inputs.

Decision rule: If unsafe behaviour appears alongside valid traffic and no file change, prioritise containment and forensic capture of runtime evidence before assuming the issue is a software bug. The absence of a modified image does not rule out compromise.

Practitioner takeaway: For ECU in-memory attacks, the key question is not “did the firmware file change?” but “does the live system still behave like the firmware should?”

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org