Verify Root Account Password Modifications on Host
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Security recommendation
| Impact | Remediation complexity | Severity | Recommended value |
|---|
| 5 | 2 | 5 | Monitor and investigate all root password changes |
Root account password modifications should be closely monitored and immediately investigated. The root account has unrestricted access to all system resources, making unauthorized password changes a critical security event that requires immediate attention and response.
Compliance
Documentation
The passwd command is used to change user account passwords on Linux systems. Root account password changes are particularly sensitive because the root account has complete control over the system.
Prerequisites
You must have:
root privileges or access to another privileged account- Access to system audit logs and authentication logs
- Knowledge of authorized root password modifications procedures
- Access to recovery mechanisms (console access, single-user mode)
- Agent v7.27 or newer for Workload Security monitoring
Step-by-step guide
Step 1: Investigate the Root Account Password Modifications Immediately
Identify who modified the root password, when, and from where:
# Check authentication logs for passwd command execution on root
sudo grep "passwd.*root" /var/log/auth.log | tail -20
# Review audit logs for root password changes
sudo ausearch -c passwd -ts recent | grep root
# Check for recent password changes in shadow file
sudo ls -la /etc/shadow
# Identify the user who executed the passwd command
sudo ausearch -c passwd -ts recent -i
# Check active root sessions and login history
who
last | grep root
Step 2: Verify Authorization with System Administrators
Immediately verify if the root password change was authorized:
- Check if the change was made by the account owner or administrator
- Review change management tickets or approval records
- Contact the user or administrator who made the change
- Check if the change aligns with scheduled maintenance or rotation policies