Getcap

Files with Linux process capabilities set, preserving current and older getcap output and unmatched lines.

LinuxFile systemParser: security_getcap2 fieldsCollected by priority triage

What Getcap is

Files with Linux process capabilities set, preserving current and older getcap output and unmatched lines. It is one of 28 file system artifacts Arcsentry reads. File system artifacts describe every file and every change to it: creation, modification, renames and deletion, including files that no longer exist.

Forensic value

File system artifacts help answer questions like these:

  • When was this file created, changed or deleted?
  • What was staged, and where?
  • Were timestamps manipulated?

Where it is stored

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

system/getcap.txt
triage/volatile/system/getcap.txt
triage/volatile/system/getcap_-r.txt

What Arcsentry records

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

FieldTypeMeaning
file_pathFile path with capabilities set
capabilitiesLinux capability string (e.g. cap_net_raw+ep)

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

Arcsentry Collector gathers Getcap in these triage profiles: linux::profile::triage::priority, 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::security::getcap.

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

Analysing Getcap in Arcsentry

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

Frequently asked

Does Arcsentry parse Getcap?

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

How do I collect Getcap?

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