A compromised system will undoubtedly have altered system binaries, and the output of system utilities cannot be trusted. You cannot rely on anything within the system for the truth. Re-installing individual packages might or might not help, since the system libraries or kernel modules could be compromised. There is no way to know with certainty exactly what components have been altered.