Ld So Preload
On-disk contents of /etc/ld.so.preload. Any entry is a definitive sign of LD_PRELOAD rootkit injection.
What Ld So Preload is
On-disk contents of /etc/ld.so.preload. Any entry is a definitive sign of LD_PRELOAD rootkit injection. It is one of 21 persistence artifacts Arcsentry reads. Persistence artifacts are the places programs start from automatically: services, tasks, autostart keys, WMI subscriptions, cron and systemd. Attackers use them to survive reboots.
Forensic value
Persistence artifacts help answer questions like these:
- What starts automatically on this host?
- What was added during the incident window?
- Which persistence points to a script or user-writable path?
Where it is stored
Arcsentry looks for Ld So Preload at this location inside a collection, disk image or mounted volume:
etc/ld.so.preload What Arcsentry records
Each Ld So Preload record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
library_path | Path of the preloaded shared library. Any value at all indicates rootkit injection. |
Time
Collection time only; file mtime indicates when injection was installed. 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 Ld So Preload with Arcsentry Collector
Arcsentry Collector gathers Ld So Preload 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::security::ld_so_preload, 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 Ld So Preload can come from the tools you already use.
Analysing Ld So Preload in Arcsentry
Ask in plain English, for example "show Ld So Preload records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "security_ld_so_preload"
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 Ld So Preload records with the same tools and cites them by event ID.
Frequently asked
Does Arcsentry parse Ld So Preload?
Yes. Arcsentry's Ld So Preload parser (security_ld_so_preload) reads it from Linux evidence and records 1 fields per record, with provenance back to the source file.
How do I collect Ld So Preload?
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 Ld So Preload 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