said by Msradell:The hardware however is a completely different matter, there is no way that it needs to be replaced completely.
I'd be cautious about the "no way" part. A computer BIOS or router firmware can be modified in some instances, and if the attacker is skilled and specifically targeting a system, removal could be impossible (thing flashing a firmware with a compromised version that blocks further full updates and spoofs some settings to appear that it was actually updated). And sometimes it's easier and more cost-effective to replace an old piece of hardware than spend a good chunk of money trying to fix it.