Reactive attestation: Automatic detection and reaction to software tampering attacks