Which of the following is an example of memory injection?
A.
Two processes access the same variable, allowing one to cause a privilege escalation.
B.
A process receives an unexpected amount of data, which causes malicious code to be executed.
C.
Malicious code is copied to the allocated space of an already running process.
D.
An executable is overwritten on the disk, and malicious code runs the next time it is executed.
The Answer Is:
C
This question includes an explanation.
Explanation:
Memory injectionoccurs whenmalicious code is written into the memory space of a running process, allowing it to execute without writing anything to disk. This is often used infileless malware attacks, making detection harder.
A (privilege escalation)describes a race condition, not memory injection.
B (unexpected data causing execution)describes abuffer overflow attack, not memory injection.
D (overwriting an executable)is apersistence technique, but it is not an example of in-memory injection.
[Reference:CompTIA Security+ SY0-701 Official Study Guide, Threats, Vulnerabilities, and Mitigations domain., , , , ]
SY0-701 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"