Security Operations

After a compromise, an analyst finds the attacker used root access to delete local log entries on the server. Which change BEST protects log trustworthiness against a repeat?

Show the answer

Correct answerB. Forward logs in real time to a separate, access-restricted log server

AWhy not this: Accurate time helps ordering events but does not stop tampering or deletion.

BWhy this is right: A remote, restricted copy made as events occur survives deletion on the compromised host.

CWhy not this: Local retention sets how long files are kept, and root access can still delete the entries.

DWhy not this: Debug logging adds more detail but the extra entries are just as easy to delete locally.

Sending logs off the host as they are written leaves a copy the attacker cannot alter from the compromised server, which protects integrity. Longer local retention does nothing if an attacker with root can still delete entries.