Syslog
Syslog files, such as /var/log/syslog, /var/log/messages and /var/log/auth.log or secure, collect messages from the kernel, services and authentication on most Linux systems, with rotated and compressed copies alongside.
What Syslog is
Event and service logs record what the operating system and its services saw: logons, process starts, service changes, errors and security events.
Forensic value
What Syslog can tell an investigator:
- SSH logons with source address and port, failed password attempts and accepted keys.
- Service starts, cron runs and errors around an incident.
What it does not prove
- Classic syslog lines have no year and no time zone; the year must be inferred and the zone recorded.
- An attacker with root can edit or delete these files.
Where it is stored
Arcsentry looks for Syslog at these locations inside a collection, disk image or mounted volume:
**/etc/localtime
**/etc/timezone
**/var/log/auth.log*
**/var/log/cron.log*
**/var/log/daemon.log*
**/var/log/kern.log*
**/var/log/mail.log*
**/var/log/messages* What Arcsentry records
Each Syslog record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
message | VARCHAR | Human-readable message |
log_file | VARCHAR | Source log file path |
log_line_number | BIGINT | Line number within the source log file |
host_name | VARCHAR | Host name |
process_name | VARCHAR | Process name |
process_pid | BIGINT | Process identifier |
log_level | VARCHAR | Log level |
log_syslog_facility | VARCHAR | Syslog facility |
source_ip | VARCHAR | Source IP address |
source_port | BIGINT | Source port |
user_target_name | VARCHAR | Target user name |
log_syslog_fingerprint | VARCHAR | Fingerprint parsed from syslog message text |
source_file_modified | TIMESTAMP | Modification time of the source artifact file, carried only on records that lack a parsed event timestamp (substituted-time provenance, never a forensic event time) |
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 Syslog with Arcsentry Collector
Arcsentry Collector gathers Syslog 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::apt, linux::software_inventory::dpkg, linux::system_state::etc.
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 Syslog can come from the tools you already use.
Analysing Syslog in Arcsentry
Ask in plain English, for example "show Syslog records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "syslog"
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 Syslog records with the same tools and cites them by event ID.
Corroborate with
No single artifact settles a question on its own. Check Syslog against:
- systemd journal: Parses systemd journal binary log files.
- auditd: Parses /var/log/audit/audit.log* and correlates the SYSCALL, EXECVE, CWD, PATH and USER_* records of one audit event by its stamp (time and serial).
- sudo log: Parses sudo command execution log entries.
- SSH authorized_keys: SSH authorized_keys entries, showing who can log in, with which key, and under which forced options.
Frequently asked
Where are SSH logons logged on Linux?
In /var/log/auth.log on Debian and Ubuntu, or /var/log/secure on Red Hat family systems, and in the systemd journal.
Does Arcsentry parse Syslog?
Yes. Arcsentry's Syslog parser (syslog) reads it from Linux evidence and records 13 fields per record, with provenance back to the source file.
How do I collect Syslog?
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 Syslog 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