What is Audit log?
A time-ordered record of who did what on a system, and when: logins, access to records, configuration changes, administrator actions. Audit logs are the evidence for investigations and for proving controls work.
Audit logs answer accountability questions: which account changed this setting, who viewed this record, when was this user given admin rights. To be useful they must capture the right events, include accurate timestamps and identities, be retained long enough (often set by regulation), and be protected from tampering, ideally by shipping them off the system to a SIEM or write-once storage. Attackers routinely try to delete or disable logging, so "logging stopped" is itself worth alerting on. Auditors ask for these logs as evidence that access reviews, change control and monitoring actually happen.
Source: NIST CSRC Glossary (NIST SP 800-171r3).
Practice it in a lab
Free, hands-on labs that teach Audit log. 21 more labs also cover it.
- Build a three-ability Caldera profile and compare planners in your audit log (Purple Caldera 2 of 3) (intermediate, ~75 min)
- Find your own Google Cloud assessment in Cloud Audit Logs after turning on Data Access logs (GCP assessment 4 of 5) (intermediate, ~50 min)
- Map every step of a Caldera operation to your audit log (Purple Caldera 1 of 3) (intermediate, ~75 min)
- Detect Kubernetes control-plane threats from the audit log with Falco (advanced, ~90 min)
- Engineer detections over Google Cloud Audit Logs: catch a service-account impersonation chain (offline) (advanced, ~90 min)
- Model, fix and retest object-level authorization in a tiny API, with the audit log a defender needs (advanced, ~60 min)
- Put a Web Application Firewall in front of your web app (beginner, ~60 min)
- Set up AWS CloudTrail logging (beginner, ~40 min)
Related terms
Related
- Build a three-ability Caldera profile and compare planners in your audit log (Purple Caldera 2 of 3)
- Find your own Google Cloud assessment in Cloud Audit Logs after turning on Data Access logs (GCP assessment 4 of 5)
- Map every step of a Caldera operation to your audit log (Purple Caldera 1 of 3)
- Detect Kubernetes control-plane threats from the audit log with Falco
- Engineer detections over Google Cloud Audit Logs: catch a service-account impersonation chain (offline)
- Model, fix and retest object-level authorization in a tiny API, with the audit log a defender needs
- Put a Web Application Firewall in front of your web app
- Set up AWS CloudTrail logging
- False positive
- Security Information and Event Management
- MITRE ATT&CK
- Persistence
- Cybersecurity glossary
- Free cyber labs