An Incident Responder analyzing a compromised Linux server suspects a rootkit has modified system binaries. The responder runs the package manager verification command on Debian/Ubuntu to check installed packages against the package database. Which command is appropriate?
Trap 1: rpm -Va
rpm -Va is used on RPM-based systems (RedHat/CentOS), not Debian/Ubuntu.
Trap 2: debsums -ac
While debsums checks sums, dpkg --verify is the native dpkg suite tool for comprehensive file state verification.
Trap 3: apt-get check-integrity
apt-get check-integrity is not a valid apt-get command; apt verifies dependency graphs.
- A
dpkg --verify
dpkg --verify (or dpkg -V) checks files installed by packages against the database to detect modifications.
- B
rpm -Va
Why wrong: rpm -Va is used on RPM-based systems (RedHat/CentOS), not Debian/Ubuntu.
- C
debsums -ac
Why wrong: While debsums checks sums, dpkg --verify is the native dpkg suite tool for comprehensive file state verification.
- D
apt-get check-integrity
Why wrong: apt-get check-integrity is not a valid apt-get command; apt verifies dependency graphs.