Lastlog

Last login records with optional terminal and source host columns.

LinuxLive responseParser: system_lastlog4 fieldsCollected by priority triage

What Lastlog is

Last login records with optional terminal and source host columns. 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 Lastlog at this location inside a collection, disk image or mounted volume:

triage/volatile/system/lastlog.txt

What Arcsentry records

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

FieldTypeMeaning
usernameUsername
portLogin port/terminal
fromSource host
latestLast login timestamp

Time

Time of most recent login per user. 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 Lastlog with Arcsentry Collector

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

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

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

Analysing Lastlog in Arcsentry

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

Frequently asked

Does Arcsentry parse Lastlog?

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

How do I collect Lastlog?

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