Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Linux Audit Logs

Direct answer

Linux audit logs, written by auditd to /var/log/audit/audit.log, record security-relevant system calls, logins, privilege use and file access according to audit rules. Use ausearch and aureport to query them during investigations.

When to use this

Use it when the Security question has been narrowed to Logging & Monitoring → Linux Audit Logs. Capture exact source or entity, owner, provider/product version, event and ingest timestamps, expected fields or security outcome, pipeline state and the independent evidence needed to prove visibility or detection behavior.

First 30 seconds

1. Linux audit: auditd rules for execve, identity files, sudo, kernel modules.

2. Watch backlog/lost.

3. Forward to SIEM.

4. Use CIS/STIG rule sets.

5. Correlate with journal.

Operational verification

syscall → audit rule → audit.log → SIEM

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

A Linux audit record shows the audit subsystem observed a scoped kernel/userspace fact; it does not alone show the complete action chain, human identity, intent or successful business outcome.

Suspicious evidence: audit backlog loss, rules not loaded, AUID missing, record fragments not correlated, boot/session context lost, rotation gap, journal substituted for audit evidence or container identity ambiguous.

Platform / version applicability
Security monitoring, detection and operations
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.

PlatformSecurity monitoring, detection and operations
Scope / prerequisiteUse it when the Security question has been narrowed to Logging & Monitoring → Linux Audit Logs. Capture exact source or…
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

Linux action → audit rule/kernel hook → multi-record audit event → local audit queue/log → forwarder → parser/correlation → investigation

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
  • One Linux audit record ≠ one complete user action; a single event may span multiple related records.
  • Process or syscall audit ≠ user intent or authorization context by itself.
  • Source configured ≠ required event generated, transported, retained and queryable.
  • Telemetry observation ≠ root cause, intent or complete security state without independent context.
Key checks
  • ausearch -m USER_LOGIN,EXECVE -ts today | head — audit events
  • aureport --summary — audit summary
  • auditctl -s — lost events
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

A Linux audit record shows the audit subsystem observed a scoped kernel/userspace fact; it does not alone show the complete action chain, human identity, intent or successful business outcome.

In depth

Linux audit logs come from the kernel audit framework (auditd), which records system calls, file access and command execution according to rules. It complements journald and auth logs with detailed, tamper-evident evidence.

auditctl -w /etc/sudoers -p wa -k sudoers_change
auditctl -w /etc/ssh/sshd_config -p wa -k sshd_config
auditctl -a always,exit -F arch=b64 -S execve -F euid=0 -k root_exec
ausearch -k sudoers_change -i
aureport --auth --summary

Make rules persistent in /etc/audit/rules.d/, use established rule sets (e.g. from CIS or the Neo23x0 auditd project) as a starting point, and forward events centrally. Audit only what you need — broad syscall rules generate large volumes.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docSecurity monitoring, detection and operations current

Authoritative/upstream documentation reviewed for bounded claims in Logging & Monitoring → Linux Audit Logs. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/92/final · 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
auditd logsLinux audit trailLinux security audit events
Embedded reference data

Quick lookup tables

Logging & Monitoring → Linux Audit Logs proof map

Fast source, pipeline, semantic and outcome boundaries for Logging & Monitoring → Linux Audit Logs.

BoundaryEstablishDoes not establish
SourceRequired asset/service, audit policy, provider/channel and event classSource inventory alone does not prove event generation
DeliveryLocal queue, transport, collector receipt and timestampsConfigured destination does not prove lossless delivery
PreservationRetention, access, raw record, integrity and provenanceStored record does not prove source truth or complete coverage
InterpretationProvider fields, identity, policy/result and adjacent evidenceEvent presence does not prove intent, causation or root cause
MonitoringQuery/detection plus source and pipeline healthNo alert does not prove no activity or compromise
Confirmation

Confirm action

Continue?