Viminfo

Vim info file with command history, search patterns, and file marks.

LinuxApplicationsParser: app_viminfo7 fieldsCollected by offline triage

What Viminfo is

Vim info file with command history, search patterns, and file marks. It is one of 116 applications artifacts Arcsentry reads. Application artifacts record the activity of specific programs: remote-access tools, file managers, messaging, cloud sync, FTP clients and more. They often hold evidence nothing else keeps.

Forensic value

Applications artifacts help answer questions like these:

  • Which applications were used during the incident?
  • Did an application move or sync data?

Where it is stored

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

**/Users/*/.viminfo
**/home/*/.viminfo
**/root/.viminfo

What Arcsentry records

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

FieldTypeMeaning
entry_typeVARCHAREntry marker (: command history, ? search history in either direction, = expression history, @ input or debug history, " register, ' file mark, -' jump, > buffer last used)
contentVARCHARText content recorded by the source
file_pathVARCHARFile path
log_line_numberBIGINTLine number within the source log file
log_fileVARCHARSource log file path
messageVARCHARHuman-readable message
artifact_read_statusVARCHARSource read failure: unreadable (the source could not be read), corrupt (its bytes failed format or stream integrity checks), unrecognized (the content does not identify a supported format), or unsupported (the format version or a required format extension is not supported); records read before a failure may still be present

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

Arcsentry Collector gathers Viminfo in these triage profiles: linux::profile::triage::offline, linux::profile::triage::full. 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.

sudo ./arcsentry-collect collect --local -t linux::profile::triage::offline \
  -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 Viminfo can come from the tools you already use.

Analysing Viminfo in Arcsentry

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

filter event_type == "app_viminfo"
sort {-timestamp}
take 100

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

Frequently asked

Does Arcsentry parse Viminfo?

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

How do I collect Viminfo?

Arcsentry Collector gathers it with the offline triage profile (linux::profile::triage::offline), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse Viminfo 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