Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

auditd

Direct answer

auditd receives Linux Audit subsystem records generated from kernel audit rules and security events, groups multi-record events by serial/time and persists or forwards them under configured queue, disk and failure policies.

When to use this

Use it when configuring, checking or troubleshooting auditd in Linux Security.

First 30 seconds

1. auditd logs security events (syscalls, file access, logins).

2. Rules in /etc/audit/rules.d/.

3. Monitor lost events and backlog.

4. Forward to SIEM (audisp/rsyslog).

5. Use CIS/STIG rule sets.

Operational verification

syscall/event → audit rule → audit.log → SIEM

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

An audit event shows the kernel/userspace audit pipeline recorded selected data, but it does not show complete coverage, malicious intent or causation alone.

Suspicious evidence: rules absent, watch path replaced, backlog loss, disk-full action weak, ausearch range/time wrong, event records split, immutable mode assumptions or forwarded data missing.

Platform / version applicability
Platform and workload security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPlatform and workload security
Scope / prerequisiteUse it when configuring, checking or troubleshooting auditd in Linux Security.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

security-relevant syscall/user/LSM action → kernel audit rule/event → netlink backlog → auditd processing → disk/forwarding/rotation → multi-record correlation → conclusion

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • auditd running ≠ required kernel audit rules loaded or records retained.
  • One audit record ≠ complete event; related records share an event identifier.
  • Configuration file present ≠ parsed, loaded and effective runtime state.
  • One allow/deny result ≠ complete DAC, privilege, LSM, firewall and application outcome.
Key checks
  • auditctl -l — loaded rules
  • auditctl -s — status (enabled, lost)
  • ausearch -k <key> -ts today — events by key
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

An audit event shows the kernel/userspace audit pipeline recorded selected data, but it does not show complete coverage, malicious intent or causation alone.

In depth

auditd is the Linux audit daemon that records kernel audit events according to rules: file access, system calls, command execution, authentication and configuration changes. It provides detailed, tamper-evident evidence for security monitoring and compliance.

# /etc/audit/rules.d/50-security.rules
-w /etc/passwd -p wa -k identity
-w /etc/shadow -p wa -k identity
-w /etc/sudoers -p wa -k privilege
-w /etc/ssh/sshd_config -p wa -k sshd
-a always,exit -F arch=b64 -S execve -F euid=0 -F auid>=1000 -F auid!=unset -k root_cmd
-e 2
augenrules --load
ausearch -k identity -i
aureport -x --summary

-e 2 makes the configuration immutable until reboot, so attackers cannot quietly disable auditing. Forward audit logs centrally (audisp plugins, Elastic Agent, Wazuh).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Example rules

-w /etc/passwd -p wa -k identity
-w /etc/sudoers -p wa -k privilege
-a always,exit -F arch=b64 -S execve -F euid=0 -k root-commands
-w /var/log/ -p wa -k logs

Documented example, not captured output. Put rules in /etc/audit/rules.d/, load with augenrules --load, search with ausearch -k identity and report with aureport. Forward to a SIEM; too many rules (all execve) create large volumes.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPlatform and workload security current

Authoritative/upstream documentation reviewed for bounded claims in Linux Security → auditd. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/security/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
Linux Auditaudit daemonLinux security audit logs
Embedded reference data

Quick lookup tables

Linux Security → auditd proof map

Fast scope, effective-state, runtime-evidence and closure boundaries for Linux Security → auditd.

BoundaryEstablishDoes not establish
ScopeExact host, role, build/kernel, identity, workload and expected controlDoes not prove policy receipt or effective runtime state
Effective stateResultant/loaded policy, precedence, mode, labels/rules/keys and active services/kernel controlsConfiguration presence does not prove enforcement
Runtime evidenceCorrelated events/audit, process/token/credential, packet/syscall and workload resultOne event, clean status or allow/deny does not prove complete security
ClosureOriginal allowed/denied workload works, unsafe state is removed and recovery/regression passCommit, restart, block or compliance result alone is not closure
Confirmation

Confirm action

Continue?