dpkg Log

Parses dpkg package operations from var/log/dpkg.log and its rotations.

LinuxApplicationsParser: packages_dpkg_log16 fieldsCollected by priority triage

What dpkg Log is

Parses dpkg package operations from var/log/dpkg.log and its rotations. 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 dpkg Log at this location inside a collection, disk image or mounted volume:

**/var/log/dpkg.log*

What Arcsentry records

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

FieldTypeMeaning
event_timestampTIMESTAMPEvent timestamp normalized to the parser event time
event_local_timeVARCHAREvent wall-clock time in host-local time, retained as text without inferring an offset
event_actionVARCHAREvent action
software_package_nameVARCHARInstalled software package or application name
architectureVARCHARcpu_architecture
package_versionVARCHARPackage version
previous_versionVARCHARPackage version replaced by this operation
package_statusVARCHARSoftware package install/selection status
managerVARCHARLinux package manager
componentVARCHARAvira component name
actionVARCHARAction taken (quarantine/delete)
file_pathVARCHARFile path
log_fileVARCHARSource log file path
log_line_numberBIGINTLine number within the source log file
messageVARCHARHuman-readable message
unparsed_lineVARCHARRaw source line that matched no parser pattern, retained as an observability marker so coverage gaps surface instead of being silently dropped

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 dpkg Log with Arcsentry Collector

Arcsentry Collector gathers dpkg Log in these triage profiles: linux::profile::triage::priority, linux::profile::triage::offline, linux::profile::triage::full, linux::profile::triage::server. 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, linux::logs::var_log, linux::software_inventory::dpkg.

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

Analysing dpkg Log in Arcsentry

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

filter event_type == "packages_dpkg_log"
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 dpkg Log records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse dpkg Log?

Yes. Arcsentry's dpkg Log parser (packages_dpkg_log) reads it from Linux evidence and records 16 fields per record, with provenance back to the source file.

How do I collect dpkg Log?

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 dpkg Log 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