I work with implementing hardware assisterad remote attestation to prevent just this kind of tampering. Making big bucks!
As we intentially integrate this with safety systems as brakes, it actually illegal to even try to tamper with this for the owner.