nerdexam
CompTIA

SY0-701 · Question #577

Which of the following can be used to compromise a system that is running an RTOS?

The correct answer is B. Memory injection. Memory injection is correct because RTOS (Real-Time Operating System) environments - common in embedded systems, industrial controllers, and IoT devices - are typically written in C/C++ and often lack modern memory protection mechanisms like ASLR or DEP/NX, making them…

Submitted by javi_es· Mar 6, 2026Threats, vulnerabilities, and mitigations

Question

Which of the following can be used to compromise a system that is running an RTOS?

Options

  • ACross-site scripting
  • BMemory injection
  • CReplay attack
  • DRansomware

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    86% (19)
  • D
    9% (2)

Explanation

Memory injection is correct because RTOS (Real-Time Operating System) environments - common in embedded systems, industrial controllers, and IoT devices - are typically written in C/C++ and often lack modern memory protection mechanisms like ASLR or DEP/NX, making them vulnerable to buffer overflows, heap spraying, and direct code injection into memory.

Cross-site scripting (A) is a web application attack that exploits browsers and DOM rendering - RTOS devices don't run browsers or serve web pages in that sense, so XSS has no attack surface here. Replay attacks (C) target network authentication protocols by retransmitting captured packets; while they can disrupt RTOS communication, they don't directly compromise the OS itself. Ransomware (D) requires a general-purpose OS with a file system and sufficient compute resources - RTOS devices typically have neither, and ransomware cannot execute in that constrained environment.

Memory tip: Associate RTOS with "No Memory Protection" - the same performance-first design that makes RTOS fast (minimal overhead, no MMU isolation) is exactly what makes memory injection its Achilles' heel.

Topics

#RTOS security#Memory injection#Vulnerability exploitation#Embedded systems

Community Discussion

No community discussion yet for this question.

Full SY0-701 Practice