1. A method comprising: executing a virtual trusted platform module (TPM) thread on a processor to facilitate a virtual TPM; and executing a security-patrol thread on the processor to detect a physical attack on the processor.