Lastb
Show a listing of last unsuccessful login attempts.
What Lastb is
Show a listing of last unsuccessful login attempts. 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 Lastb at these locations inside a collection, disk image or mounted volume:
triage/volatile/system/lastb.txt
triage/volatile/system/lastb_*.txt
triage/volatile/system/zcat_lastb.txt
triage/volatile/system/zcat_lastb_-a_-F.txt What Arcsentry records
Each Lastb record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
user_name | attempt_user | |
term | terminal | |
source_domain | attempt_source_host | |
source_ip | attempt_source_ip | |
event_timestamp | attempt_time | |
event_timestamp | attempt_time | |
event_timestamp | attempt_time | |
logout_time | attempt_end | |
logout_time | attempt_end_state | |
session_duration | attempt_duration | |
message | unparsed_lastb_line |
Time
Date and time of failed login attempt. 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 Lastb with Arcsentry Collector
Arcsentry Collector gathers Lastb 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::last, linux::live::system::lastb, linux::live::system::utmpdump.
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 Lastb can come from the tools you already use.
Analysing Lastb in Arcsentry
Ask in plain English, for example "show Lastb 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 Lastb records with the same tools and cites them by event ID.
Frequently asked
Does Arcsentry parse Lastb?
Yes. Arcsentry's Lastb parser (system_lastb) reads it from Linux evidence and records 11 fields per record, with provenance back to the source file.
How do I collect Lastb?
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 Lastb 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