The integrity of the BIOS is paramount to the security of the platform.Research such as "BIOS Chronomancy" shows that an attacker who exists inthe BIOS can evade detection by the Trusted Platform Module and evensurvive BIOS reflashing attempts. Furthermore, Invisible Things Labsshowed in "Attacking Intel Trusted Execution Technology" that a SystemManagement Mode (SMM) present malware can interfere with TXT execution.As it is the BIOS that initially configures SMM, it follows that BIOScontrol implies SMM control. However, as we will see, SMM control *can*also imply BIOS control. The central role of the BIOS in the platform'ssecurity, as well as the need to patch the BIOS with legitimate vendorupdates poses an interesting problem. The most common solution thatvendors adopt to solve this problem is to utilize Intel architectureflash-chip protection mechanisms to provide a BIOS update routine thatverifies the signature on an incoming update before writing the updateto the BIOS. In this secure BIOS update scheme, there are two primaryattack surfaces that can be targeted in an attempt to break the signedBIOS requirement: the Intel architecture protection mechanisms, and thevendor's implementation of the signature enforcement and update routine.This presentation demonstrates two attacks; one against each of thesetargets. Both of these attacks allow an attacker to arbitrarily reflashthe BIOS on a number of systems despite the presence of signed BIOSenforcement. We will also provide some bonus content discussing attacks against our Copernicus BIOS checking tool, as well as Copernicus 2's use of Intel TXT in order to provide more trustworthy BIOS integrity checking.