The present disclosure pertains to secure computing and, more specifically, secure loading of a service operating system (OS).
As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
Generally, an information handling system is a form of state machine that transitions from one state to the next in a predictable way in response to one or more inputs. Firmware refers to computer software that is responsible for initializing a system to a known state following a hard reset, e.g., powering on the system, and loading or booting an operating system (OS). Those of ordinary skill in the field will readily appreciate the importance of ensuring the authenticity of system firmware.
When an OS is booted from system-resident persistent storage, e.g., a solid state drive (SSD) or hard disk drive (HDD), firmware authenticity is checked via any one or more secure launch mechanisms and check points including, as non-limiting examples, Secure Boot, Trusted Boot, and Core Root of Trust measurement. However, such security measures may not be available in other boot contexts including, as an example, cloud-based methods for booting a service OS (SOS) as part of a recovery solution may utilize a dynamically-created random access memory (RAN) “disk” to store downloaded software and other information and eventually to boot the SOS. RAM-based disk boot methods may include vulnerabilities that enable unauthorized tampering of downloaded payloads and result in arbitrary code execution within the SOS.
Implementing a secure RAM-based boot is challenging at least because no root of trust is established for the RAM disk that an SOS might be downloaded to and launched from. Similarly, no trust is established for the contents of a RAM disk when the system transitions from a driver execution environment (DXE) to an OS runtime phase. In addition, during a warm boot, RAM disks will generally not be in a clean state and there may be no mechanism to access known good contents.
Such problems are addressed by disclosed subject matter for implementing a secure, cloud-based SOS boot sequence. In at least some embodiments, a three phase solution is employed. The first phase, which may occur during the DXE phase of a boot sequence, establishes trust by configuring at least a portion system memory as a trust zone RAM disk and attesting modules that interact with the RAM disk. The second phase downloads file from the cloud and performs a cumulative hash verification and handshaking with the EC. During the third phase, a memory identification table for the trust zone s migrated to OS runtime environment to enable secured, OS runtime access to the RAM disk contents.
Technical advantages of the present disclosure may be readily apparent to one skilled in the art from the figures, description and claims included herein. The objects and advantages of the embodiments will be realized and achieved at least by the elements, features, and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are examples and explanatory and are not restrictive of the claims set forth in this disclosure.
A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
Exemplary embodiments and their advantages are best understood by reference to
For the purposes of this disclosure, an information handling system may include any instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize any form of information, intelligence, or data for business, scientific, control, entertainment, or other purposes. For example, an information handling system may be a personal computer, a personal digital assistant (PDA), a consumer electronic device, a network storage device, or any other suitable device and may vary in size, shape, performance, functionality, and price. The information handling system may include memory, one or more processing resources such as a central processing unit (“CPU”), microcontroller, or hardware or software control logic. Additional components of the information handling system may include one or more storage devices, one or more communications ports for communicating with external devices as well as various input/output (“I/O”) devices, such as a keyboard, a mouse, and a video display. The information handling system may also include one or more buses operable to transmit communication between the various hardware components.
Additionally, an information handling system may include firmware for controlling and/or communicating with, for example, hard drives, network circuitry, memory devices, I/O devices, and other peripheral devices. For example, the hypervisor and/or other components may comprise firmware. As used in this disclosure, firmware includes software embedded in an information handling system component used to perform predefined tasks. Firmware is commonly stored in non-volatile memory, or memory that does not lose stored data upon the loss of power. In certain embodiments, firmware associated with an information handling system component is stored in non-volatile memory that is accessible to one or more information handling system components. In the same or alternative embodiments, firmware associated with an information handling system component is stored in non-volatile memory that is dedicated to and comprises part of that component.
For the purposes of this disclosure, computer-readable media may include any instrumentality or aggregation of instrumentalities that may retain data and/or instructions for a period of time. Computer-readable media may include, without limitation, storage media such as a direct access storage device (e.g., a hard disk drive or floppy disk), a sequential access storage device (e.g., a tape disk drive), compact disk, CD-ROM, DVD, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and/or flash memory; as well as communications media such as wires, optical fibers, microwaves, radio waves, and other electromagnetic and/or optical carriers; and/or any combination of the foregoing.
For the purposes of this disclosure, information handling resources may broadly refer to any component system, device or apparatus of an information handling system, including without limitation processors, service processors, basic input/output systems (BIOSs), buses, memories, I/O devices and/or interfaces, storage resources, network interfaces, motherboards, and/or any other components and/or elements of an information handling system.
In the following description, details are set forth by way of example to facilitate discussion of the disclosed subject matter. It should be apparent to a person of ordinary skill in the field, however, that the disclosed embodiments are exemplary and not exhaustive of all possible embodiments.
Throughout this disclosure, a hyphenated form of a reference numeral refers to a specific instance of an element and the un-hyphenated form of the reference numeral refers to the element generically. Thus, for example, “device 12-1” refers to an instance of a device class, which may be referred to collectively as “devices 12” and any one of which may be referred to generically as “a device 12”.
As used herein, when two or more elements are referred to as “coupled” to one another, such term indicates that such two or more elements are in electronic communication, mechanical communication, including thermal and fluidic communication, thermal, communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
Referring now to the drawings,
In at least one embodiment, TPM 104 and EC 106 cooperatively interact to establish a root of trust (RoT) chain. As suggested previously, a disclosed solution may encompass three phases including a first phase to establish a root of trust chain, a second phase for downloading and verifying files, and a third phase for establishing trust in a runtime environment.
During a second phase of the recovery solution, multiple files must be downloaded to successfully boot to a recovery OS. In an exemplary embodiment, platform firmware fetches a signed JavaScript Object Notation (JSON) file including a recovery files list, driver files, hash values for individual files and a cumulative hash encompassing all of the files. The signature of the JSON file may be derived from a service tag or other suitable and unique identifier of the platform. The downloaded files may include an image file for the service OS, e.g., SOS.wim, a boot configuration data (BCD) file, an executable UEFI boot loader file, e.g., bootx64.efi, and one or more driver files for one or more peripheral devices.
Upon successful completion of the file download, firmware calculates a cumulative hash for the recovery files residing on RAM disk 40 and compares the calculated hash with the previously downloaded cumulative hash. Matching the two cumulative hash values establishes trust for the RAM disk contents. In at least one embodiment, the cumulative hash (CH) is computed as a sum of individual file hash values. Each individual hash (IH) value may be calculated or otherwise determined based on a cryptographic hash function such as a secure hash algorithm (SHA)-256 algorithm that returns a 256-bit hash value. In such embodiments, the CH for n individual files:
If the two CH fail to match, the boot sequence may be aborted.
If the two CH values match, platform firmware may enter the second phase by calculating a Trusted Data Hash (TDH) and sending it to EC 106. The TDH may be a compound or hybrid value that includes an SHA-256 value and one or more other values. In an exemplary embodiment, platform firmware determines the TDH by concatenating an SHA-256 IH for the BCD file of the recovery OS and an address of RAM disk 140, as follows:
Before network services are started, the recovery OS may generate a TDH value, using the same algorithm that platform firmware used to calculate the first TDH value, and send to EC 106. EC 106 may then compare the firmware-calculated TDH and the SOS-calculated TDH. If the two TDH values fail to match, EC 104 may terminate the boot sequence by and assert a system reset. If the two TDH values match, the SOS may continue.
The second phase as described in the preceding text beneficially provides a hardware-independent attestation that is agnostic with respect to processor technology and platform vendor. In addition, no Internet connection is required to fetch the CH and files components verification is completed with accessing the Internet. Still further, the disclose process has no dependency on a 3rd party or vendor such as a firmware attack surface reduction (FASR) from Microsoft.
Referring now to
As depicted in
Referring now to
Referring now to
Referring now to
The illustrated information handling system 500 includes an embedded controller EC 560 may provide or support various system management functions and, in at least some implementations, keyboard controller functions. Exemplary system management function that may be supported by EC 560 include thermal management functions supported by pulse width modulation (PWM) interfaces suitable for controlling system fans, power monitoring functions support by an analog-to-digital (ADC) signal that can be used to monitor voltages and, in conjunction with sense resistor, current consumption per power rail. This information could be used to, among other things, monitor battery charging or inform the user or administrator of potentially problematic power supply conditions. EC 560 may support battery management features to control charging of the battery in addition to switching between the battery and AC adapter as the active power source changes or monitoring the various battery status metrics such as temperature, charge level and overall health. EC 560 may support an Advanced Configuration and Power Interface (ACPI) compliant OS by providing status and notifications regarding power management events and by generating wake events to bring the system out of low power states.
This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative.
All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.