SSH Known Hosts
SSH known_hosts files, which reveal the hosts a user has connected to.
What SSH Known Hosts is
SSH known_hosts files, which reveal the hosts a user has connected to. It is one of 23 network and remote access artifacts Arcsentry reads. Network and remote-access artifacts record connections, remote sessions and remote-access tools: RDP, SSH, VPN clients and remote-administration software.
Forensic value
Network and remote access artifacts help answer questions like these:
- Which hosts did this machine connect to?
- Was remote-access software installed or used?
- How did the attacker move between hosts?
Where it is stored
Arcsentry looks for SSH Known Hosts at this location inside a collection, disk image or mounted volume:
%user_home%/.ssh/known_hosts* What Arcsentry records
Each SSH Known Hosts record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
hostname | Remote hostname or IP (may be hashed with |1| prefix) | |
key_type | SSH key type (e.g. ssh-rsa, ecdsa-sha2-nistp256) | |
public_key | Base64-encoded public key | |
comment | Optional comment |
Time
Collection time only; file mtime indicates last SSH connection to a new host. 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 SSH Known Hosts with Arcsentry Collector
Arcsentry Collector gathers SSH Known Hosts in these triage profiles: linux::profile::triage::priority, 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, linux::remote_access::known_hosts, linux::security::hidden_directories, linux::security::hidden_files.
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 SSH Known Hosts can come from the tools you already use.
Analysing SSH Known Hosts in Arcsentry
Ask in plain English, for example "show SSH Known Hosts records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "ssh_known_hosts"
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 SSH Known Hosts records with the same tools and cites them by event ID.
Frequently asked
Does Arcsentry parse SSH Known Hosts?
Yes. Arcsentry's SSH Known Hosts parser (ssh_known_hosts) reads it from Linux evidence and records 4 fields per record, with provenance back to the source file.
How do I collect SSH Known Hosts?
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 SSH Known Hosts 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