3 According to the [HP Sure Start Technical Whitepaper], HP Sure Start is a chipset
4 and processor independent firmware intrusion detection and automatic repair system.
5 It is implemented in HP notebooks since 2013, and desktops since 2015.
7 This document talks about some mechanism of HP Sure Start on some machines, and
8 the method to bypass it.
10 ## Laptops with SMSC MEC1322 embedded controller
12 Haswell EliteBook, ZBook and ProBook 600 series use SMSC MEC1322 embedded controller.
13 The EC firmware implements HP Sure Start.
15 A Haswell EliteBook has two flash chips. According to the strings in the EC firmware,
16 the 16MiB flash chip that stores the BIOS firmware is called the *system flash*, and
17 the 2MiB flash chip that stores part of the system flash content is called the
18 *private flash*. A Haswell ProBook 600 series laptop also uses MEC1322 and has similar
19 EC firmware, but the HP Sure Start functions are not enabled.
21 The private flash is connected to the EC, and is not accessible by the OS.
22 It contains the following:
24 - HP Sure Start policy header (starting with the string "POLI")
25 - A copy of the Intel Flash Descriptor
26 - A copy of the GbE firmware
27 - Machine Unique Data (MUD)
28 - Hashes of the IFD, GbE firmware and MUD, the hash algorithm is unknown
29 - A copy of the bootblock, UEFI PEI stage, and microcode
31 If the IFD of the system flash does not match the hash in the private flash, for example,
32 modifying the IFD with ``ifdtool -u`` or ``me_cleaner -S``, the EC will recover the IFD.
34 If the content of the private flash is lost, the EC firmware will still copy the IFD,
35 bootblock and PEI to the private flash. However, the IFD is not protected after that.
37 HP Sure Start also verifies bootblock, PEI, and microcode without using the private flash.
38 EC firmware reads them from an absolute address of the system flash chip, which is
39 hardcoded in the EC firmware. It looks like this verification is done with a digital
40 signature. If the PEI volume is modified, EC firmware will recover it using the copy
41 in the private flash. If the private flash has no valid copies of the PEI volume, and
42 the PEI volume is modified, the machine will refuse to boot with the CapsLock LED blinking.
44 ## Bypassing HP Sure Start
46 First search the mainboard for the flash chips. If there are two flash chips,
47 the smaller one may be the private flash.
49 For Intel boards, try to modify the IFD with ``ifdtool -u``, power on and shut down
50 the machine, then read the flash again. If the IFD is not modified, it is likely to
51 be recovered from the private flash. Find the private flash and erase it, then the IFD
54 To bypass the bootblock and PEI verification, we can modify the IFD to make the
55 BIOS region not overlap with the protected region. Since the EC firmware is usually
56 located at the high address of the flash chip (and in the protected region),
57 we can leave it untouched, and do not need to extract the EC firmware to put it in
60 [HP Sure Start Technical Whitepaper]: http://h10032.www1.hp.com/ctg/Manual/c05163901