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` recalculates MD5 checksums of installed files and compares them against the package database, exposing binaries altered after installation. This directly satisfies the stem's constraint: detecting rootkit tampering on Debian/Ubuntu systems. `rpm -Va` suits RHEL-based hosts, and `debsums` requires separate installation, so `dpkg --verify` is the native, appropriate choice.
- B
rpm -Va
Why it fails: rpm -Va is used on RPM-based systems (RedHat/CentOS), not Debian/Ubuntu.
- C
debsums -ac
Why it fails: While debsums checks sums, dpkg --verify is the native dpkg suite tool for comprehensive file state verification.
- D
apt-get check-integrity
Why it fails: apt-get check-integrity is not a valid apt-get command; apt verifies dependency graphs.