Audit Rules

On-disk Linux audit configuration: auditd.conf, the generated audit.rules and its augenrules backup, the rules.d fragments, and the audisp plugin configs; what auditd was configured to be capable of recording.

LinuxSystem and configurationParser: security_audit_rules1 fieldsCollected by priority triage

What Audit Rules is

On-disk Linux audit configuration: auditd.conf, the generated audit.rules and its augenrules backup, the rules.d fragments, and the audisp plugin configs; what auditd was configured to be capable of recording. It is one of 90 system and configuration artifacts Arcsentry reads. System and configuration artifacts describe how a host is set up: accounts, policies, installed software, network settings and system identity.

Forensic value

System and configuration artifacts help answer questions like these:

  • What is this host and who uses it?
  • Which settings or accounts changed?

Where it is stored

Arcsentry looks for Audit Rules at these locations inside a collection, disk image or mounted volume:

etc/audisp/plugins.d/*.conf
etc/audit/audit.rules
etc/audit/audit.rules.prev
etc/audit/auditd.conf
etc/audit/plugins.d/*.conf
etc/audit/rules.d/*.rules

What Arcsentry records

Each Audit Rules record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
messageThe complete audit rule with its path, permissions, key, first syscall argument and action/filter pair, or the unparsed source line

Time

No embedded timestamps. Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting Audit Rules with Arcsentry Collector

Arcsentry Collector gathers Audit Rules in these triage profiles: linux::profile::triage::priority, linux::profile::triage::offline, linux::profile::triage::full, linux::profile::triage::server. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: linux::execution::docker_ondisk, linux::filesystem::bodyfile, linux::system_state::etc.

sudo ./arcsentry-collect collect --local -t linux::profile::triage::priority \
  -o /mnt/ir -f host.arcx --password-file /mnt/ir/pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Audit Rules can come from the tools you already use.

Analysing Audit Rules in Arcsentry

Ask in plain English, for example "show Audit Rules records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:

filter event_type == "security_audit_rules"
sort {-timestamp}
take 100

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Audit Rules records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse Audit Rules?

Yes. Arcsentry's Audit Rules parser (security_audit_rules) reads it from Linux evidence and records 1 fields per record, with provenance back to the source file.

How do I collect Audit Rules?

Arcsentry Collector gathers it with the priority triage profile (linux::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse Audit Rules on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial