Sestatus

Display SELinux status and contexts of files and processes.

LinuxLive responseParser: system_sestatus10 fieldsCollected by priority triage

What Sestatus is

Display SELinux status and contexts of files and processes. It is one of 137 live response artifacts Arcsentry reads. Live-response artifacts are the output of commands run on a live system at collection time: processes, connections, mounts, containers, hardware and system state.

Forensic value

Live response artifacts help answer questions like these:

  • What was running and connected at collection time?
  • Are there hidden processes or unusual mounts?

Where it is stored

Arcsentry looks for Sestatus at this location inside a collection, disk image or mounted volume:

triage/volatile/system/sestatus_-v.txt

What Arcsentry records

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

FieldTypeMeaning
selinux_statusSELinux enabled/disabled
selinuxmountSELinuxfs mount point
selinux_root_directorySELinux root directory
loaded_policy_nameLoaded policy name
selinux_modeCurrent enforcement mode
mode_from_config_fileConfigured enforcement mode from /etc/selinux/config
policy_mls_statusMulti-Level Security policy status
policy_deny_unknown_statusDeny-unknown policy status
memory_protection_checkingMemory protection checking mode
policy_versionMax kernel policy version number

Time

Collection time only. 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 Sestatus with Arcsentry Collector

Arcsentry Collector gathers Sestatus in these triage profiles: linux::profile::triage::priority, linux::profile::triage::live, linux::profile::triage::full. It is captured live, by running commands on the host at collection time.

The collection targets that pick it up: linux::live::system::sestatus.

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

Analysing Sestatus in Arcsentry

Ask in plain English, for example "show Sestatus 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 Sestatus records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse Sestatus?

Yes. Arcsentry's Sestatus parser (system_sestatus) reads it from Linux evidence and records 10 fields per record, with provenance back to the source file.

How do I collect Sestatus?

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