Start from what was detected, then walk backwards
The three entry patterns and what each one points to
Clues that look like the entry point but usually aren't
Reading the evidence on a typical hosting stack
BASH
# Debian/Ubuntu: recent successful SSH logins with method and source IP
grep 'Accepted' /var/log/auth.log | tail -n 20
# RHEL/CentOS family keeps this in /var/log/secure instead
grep 'Accepted' /var/log/secure | tail -n 20
# Login history with IP addresses
last -i | head -n 20TEXT
Accepted password for deploy from 203.0.113.10 port 51514 ssh2
Accepted publickey for admin from 198.51.100.7 port 40022 ssh2: ED25519 SHA256:.../usr/local/cpanel/logs/, but the files and fields vary by version, so confirm them against the documentation for your install. The question is the same everywhere. Is there an authentication event right before the malicious activity? If activity appears for a session that has no matching recent login, or the same session ID is used from two very different locations, suspect cookie theft. DarkStrata's stolen data monitoring page describes this indicator as sudden session reuse, where a user appears to be logged in instantly with no normal login step.
If your incident involved a stealer, it also helps to check whether the victim's credentials show up in known dumps and when they first appeared. Setelah Breach, Dari Mana Mulai Forensik? Cek Infostealer Logs dan Credential Dump Dulu walks through where to start that search.
