/var/log

The directory on Linux where system services write their log files.

In more detail

Security-relevant files here include the auth log (/var/log/auth.log or /var/log/secure) and the audit log (/var/log/audit/audit.log). Attackers sometimes delete or edit these files, which is why logs should also be forwarded to a SIEM as they are written.

Related terms

Taught in

References