
DFIR investigation of SSH brute force attack and privilege escalation via CVE-2021-3156.
Disclaimer: This investigation was conducted on an isolated security analysis environment. All IP addresses, timestamps, and log data represent analyzed lab artifacts.
On 05-10-2021 at 00:23:00, a True Positive security alert was triggered following 87 failed login attempts. The forensic investigation revealed that an external threat actor gained initial access via an automated SSH password brute-force attack targeting user btlo.
After successful authentication, the attacker performed local enumeration using linpeas.sh, uploaded and executed a malicious binary named evil to exploit a known Sudo heap-based buffer overflow vulnerability (CVE-2021-3156 / Baron Samedit), escalated privileges to root (euid=0), and ultimately accessed sensitive credential data in /etc/shadow.
π οΈ Tools Used linuxlogparser. SSH Log Analysis. LinPEAS. MITRE ATT&CK Framework. CVE Analysis. imeline Reconstruction.
π Skills Demonstrated Incident Response Log Analysis Linux Forensics Threat Hunting MITRE ATT&CK Mapping Privilege Escalation Analysis Technical Documentation
βββ README.md # Main Investigation Overview
βββ reports/
β βββ DFIR-Incident-Report.pdf
β βββ DFIR-Incident-Report.docx
βββ evidence/
βββ log_snippets.txt # Raw parsed Linux audit log artifacts