AppArmor

Parses AppArmor profile inventory, AppArmor audit events from the kernel and from D-Bus mediation, and profiles disabled through etc/apparmor.d/disable.

LinuxEvent and service logsParser: linux_apparmorCollected by priority triage

What AppArmor is

Parses AppArmor profile inventory, AppArmor audit events from the kernel and from D-Bus mediation, and profiles disabled through etc/apparmor.d/disable. It is one of 28 event and service logs artifacts Arcsentry reads. Event and service logs record what the operating system and its services saw: logons, process starts, service changes, errors and security events.

Forensic value

Event and service logs artifacts help answer questions like these:

  • Who logged on, from where and how?
  • What changed on the system and when?
  • Were the logs cleared?

Where it is stored

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

**/etc/apparmor.d/**
**/triage/volatile/system/find_etc_apparmor_d_disable_-mindepth_1_-maxdepth_1_-printf_f_0.txt
**/var/log/audit/audit.log*
**/var/log/syslog*

Time

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 AppArmor with Arcsentry Collector

Arcsentry Collector gathers AppArmor 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::logs::var_log.

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 AppArmor can come from the tools you already use.

Analysing AppArmor in Arcsentry

Ask in plain English, for example "show AppArmor records from the incident window, newest first", and Arcsentry shows the query before it runs.

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 AppArmor records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse AppArmor?

Yes. Arcsentry's AppArmor parser (linux_apparmor) reads it from Linux evidence, with provenance back to the source file.

How do I collect AppArmor?

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 AppArmor 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