Why this question comes up more often now
Why the bandwidth graph misleads
Start from the data, not the network pipe
- Preserve logs before anything else. Logrotate, journald size limits, and control panel retention settings will keep deleting old entries while you investigate. Copy web, mail, auth, database, and firewall logs to a separate host. Record file hashes so you can later show the copies weren't altered.
- List where sensitive data lives. Include production databases, upload directories, old backups left in web roots, exported CSV files, mail spools, and staging copies that were never cleaned up. These often hold more personal data than the live site.
- Look for access and staging traces at each location. Attackers usually collect and compress data before sending it. Look for new archives, dump files, unusual files in temp directories, recent shell history, new system users, and new SSH keys.
- Correlate with egress evidence. Check web logs for unusually large responses, firewall or flow logs if you have them, and DNS logs. Here you are confirming specific suspicions, not searching for a spike.
- Classify what you found. Record the data type (personal data, credentials, payment-related data), an approximate volume such as record counts or file sizes, and how confident you are in each finding.
BASH
# Large files modified in the last 14 days on the root filesystem only (read-only)
find / -xdev -type f -mtime -14 -size +100M -ls 2>/dev/null
# Repeat for other mounted data partitions, for example /home or /var
find /home -xdev -type f -mtime -14 -size +100M -ls 2>/dev/nullBASH
# Requests that returned more than about 50 MB (combined log format assumed)
awk '10 > 50000000 {print1, 4,7, $10}' /var/log/nginx/access.log
# Include rotated logs that are still uncompressed
awk '10 > 50000000 {print FILENAME,1, 4,7, $10}' /var/log/nginx/access.log*log_format directive in Nginx or the LogFormat directive in Apache first. Use zcat to read compressed rotated logs.
Include the human entry point in the audit scope
/usr/local/cpanel/logs/. The exact files depend on the version. Pay attention to mailbox forwarding rules and filters created during the incident window. A forwarding rule quietly copies every incoming email to an outside address, and it keeps working after the password reset. Where these rules are stored depends on the mail server and webmail client, so check through the same interface the user would use.
In support work, customers often ask whether you can check if their data was downloaded. The first thing worth checking is whether logs from the relevant period still exist. On shared hosting and small VPS setups, retention is often short enough that the answer depends on how quickly someone preserved them.
Report findings with confidence levels
- Confirmed accessed or exfiltrated: you have direct evidence, such as an archive file plus a matching large download.
- Possibly accessed: the attacker had access to the system, but you found no specific evidence of collection.
- No evidence, with full logs: logs cover the period and show nothing.
