NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Privilege Escalation
A comprehensive learning path covering the core methodologies of post-exploitation privilege escalation across both majo
ViewComputer Fundamentals
Before you can hack, defend, or analyze malware, you must understand the machines you are working with. The Computer Fun
ViewLinux Fundamentals for Cybersecurity
Linux is the backbone of modern cybersecurity. Whether you are defending enterprise servers, analyzing malware, or launc
ViewIncident Response
Incident Response is the ultimate test of a security team. When the alerts turn into a confirmed breach, theory goes out
ViewCredential Attacks
Amateurs think credential attacks are just about guessing "Password123" or running a generic brute-force script until th
ViewNetwork Services Administration
This comprehensive learning path bridges the gap between foundational networking and enterprise infrastructure security.
ViewPreview · 45 min
Read sudo log lines, sudoers changes and new SUID files from auth.log, auditd and file integrity data, and separate a planned change from a root shell that nobody approved.
On a Linux application server, the evening of 12 May produced a short run of log lines in /var/log/auth.log. A reporting account was told it was not in the sudoers file. A few minutes later another account wrote a new file under /etc/sudoers.d. Two and a half minutes after that the reporting account ran a root shell without a password prompt. Read in sequence, the lines tell a story. Read one at a time, each looks like a routine administrator task.
Linux has no 4672 equivalent. Privilege change is recorded by sudo in the authentication log, by auditd for file and permission changes, and by file integrity monitoring for the state of the system afterwards. This lesson covers those three sources, what a sudoers change and a new SUID file look like in them, and the benign patterns that produce the same lines.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in