auditd
Also called Linux Audit Daemon.
The Linux kernel audit subsystem's user-space logging daemon.
What it is
auditd is the user-space component of the Linux Audit framework, which records security-relevant kernel events (system calls, file access, command execution, and authentication) according to rules loaded into the kernel. It writes structured audit records to disk for later analysis.
Where it lives
Config at /etc/audit/auditd.conf (+ rules in /etc/audit/rules.d/); logs at /var/log/audit/audit.log
Why it matters
It is the closest Linux equivalent to detailed Windows process and object auditing, capturing execve calls, file modifications, and privilege changes that are essential for Linux intrusion forensics. Well-crafted audit rules turn an otherwise quiet Linux host into a source of high-fidelity execution evidence.
In practice
An auditd execve record capturing a reverse-shell command run by the web-server account, pinpointing the moment a vulnerable application was exploited.
What to look for
- execve records with full command lines.
- Watches on sensitive files such as passwd, shadow and sudoers.
- The audit service stopped or rules cleared.
Common mistake
Using rules that log too much. A flood of events can slow the host and hide what matters.
Use it in CyberKit
- Linux Persistence Reader
Read a crontab line, a systemd unit or an auditd record, and see what runs, when, and as whom.
- Linux Case
A server making outbound connections nobody can explain: read its audit log, journal and scheduled jobs, and say who did what.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
osquery Open source
Exposes Linux and macOS system state as SQL tables you can query.
-
Velociraptor Open source
Collects Linux artifacts such as logs, cron and shell history at scale. Our notes.
-
Falco Open source
Watches system calls at runtime and alerts on suspicious behavior.
-
Wazuh Open source
Collects Linux logs and checks file integrity on each host.
Read next
- eBPF Telemetry: Safely running sandboxed programs in the Linux kernel to observe activity.
- syslog: The long-standing standard for emitting and forwarding system log messages.
- journald: systemd's structured, indexed logging service for modern Linux.