Domain 3/3.4 Understand security capabilities of Information Systems (e.g., memory protection, TPM, encryption/decryption)
A bug in a media player on employees' laptops lets it read the password manager's data in RAM. Kavya, the endpoint security lead, analyzes the incident. Which operating system protection, working correctly, would BEST have prevented this?
- AData execution prevention
- BAddress space layout randomization
- CIsolation of process memory
- DStack canaries in each function
Show the answer
Correct answer: C. The question asks which protection separates processes. The clue is one application able to "read the password manager's data in RAM". The operating system uses memory management, with virtual address spaces enforced by hardware, to give each process its own memory, so one process cannot read or change another's. Data execution prevention and address randomization defend against exploitation techniques, not cross-process access.
- A. Incorrect. Data execution prevention stops code running from data areas; it does not stop one process reading another's memory.
- B. Incorrect. Randomization makes addresses harder to predict, but it does not enforce a boundary between processes.
- C. Correct. The media player could read the password manager's data in RAM; process isolation gives each process its own address space so this cannot happen.
- D. Incorrect. Stack canaries detect corruption of the stack before a function returns; they do not stop one process from reading another process's memory.