Back to Securing a Machine

Hardening is incomplete if you cannot tell when a service is being attacked or abused. This page focuses on missing logs, disabled auditing, and other visibility gaps that make compromise harder to detect.

Linux Logging

Common issues:

Checks:

systemctl status rsyslog
systemctl status auditd

Fix:

sudo systemctl enable auditd
sudo systemctl start auditd

Windows Logging

Common issues:

Open Event Viewer:

eventvwr

Fix:

  1. Open Local Security Policy.
  2. Navigate to Advanced Audit Policy Configuration.
  3. Enable login and privilege escalation auditing.

Quick Review Checklist

When reviewing monitoring and detection, check for:

Back to Securing a Machine