A contained web server was compromised through an unpatched flaw, and a web shell and a rogue admin account were found. Which action completes eradication and recovery before it returns to production?
Show the answer
Correct answerD. Rebuild from a known-good image, patch the exploited flaw and reset credentials
AWhy not this: Keeping the server in quarantine is isolation (containment), not eradication or recovery.
BWhy not this: Deleting only the known artifacts can miss other persistence and leaves the vulnerability open.
CWhy not this: A clean antivirus scan does not prove the attacker is gone, and the flaw remains unpatched.
DWhy this is right: A clean rebuild, patching the entry flaw and resetting credentials removes the attacker and prevents reinfection.
Eradication removes every trace of the attacker and the root cause, and recovery returns a verified clean system to service. A known-good rebuild with the flaw patched and credentials reset does both. Deleting only the known artifacts can leave other persistence and the unpatched vulnerability.