A company's servers each store their own logs locally. After a breach, the attacker deleted the logs on the compromised host, and the investigators lost the evidence. Which design change BEST prevents this loss?
Show the answer
Correct answerC. Forward logs in near real time to a central log collector or SIEM
AWhy not this: A weekly manual copy leaves a gap of days in which logs can be deleted, and it is not reliable.
BWhy not this: A larger log file only holds more data on the same host; the attacker can still delete it.
CWhy this is right: Sends events off-host as they occur, so an attacker who wipes the local logs cannot remove the central copy.
DWhy not this: More detail adds volume but the logs still sit on the compromised host and can be wiped.
Forwarding logs in near real time to a central collector keeps a copy off the compromised host, so local deletion cannot erase the evidence. Larger local files or more verbose logging still leave the logs on the host the attacker controls.