Secure operating system loader

Information

  • Patent Application
  • 20080222718
  • Publication Number
    20080222718
  • Date Filed
    March 09, 2007
    17 years ago
  • Date Published
    September 11, 2008
    15 years ago
Abstract
In one embodiment a computing device comprises a processor, a memory module coupled to the process and comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to initiate boot operations in a computing device, present an authentication challenge when authentication is required to boot the computing device, continue boot operations in response to a successful response to the authentication challenge, and invoke an error routine in response to an unsuccessful response to the authentication challenge.
Description
BACKGROUND

Computer systems may be targeted for unauthorized access to information that resides on the computer system. Some recovery techniques enable users to generate a backup of system data, which may result in a security risk to the date that resides on the computer system.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic illustration of one embodiment of a computer system adapted to implement a secure operating system loader, according to an embodiment.



FIG. 2 is a flowchart illustrating operations in one embodiment of implementing a secure operating system loader, according to an embodiment.





DETAILED DESCRIPTION


FIG. 1 is a schematic illustration of one embodiment of a computer system adapted to implement a secure operating system loader, according to an embodiment. In the illustrated embodiment, system 100 may be embodied as a hand-held or stationary device for accessing the Internet, a desktop PCs, notebook computer, personal digital assistant, or any other processing devices that have a basic input/output system (BIOS) or equivalent.


The computing system 100 includes a computer 108 and one or more accompanying input/output devices 106, which may include a display 102 having a screen 104, a keyboard 110, other I/O device(s) 112, and a mouse 114. The other device(s) 112 may include, for example, a touch screen, a voice-activated input device, a track ball, and any other device that allows the system 100 to receive input from a developer and/or a user. The computer 108 includes system hardware 120 including a processing unit 126, a disk controller 128, and random access memory and/or read-only memory 130.


A file store 180 is communicatively connected to computer 108. File store 180 may be internal such as, e.g., one or more hard drives, or external such as, e.g., one or more external hard drives, network attached storage, or a separate storage network. File store 180 comprises a master boot record 182. In some embodiments, the MBR may be a dedicated sector or sectors of the file store 180. For example, in some computer systems the master boot record is the first sector of a data storage device such as on the hard disk.


Memory 130 includes an operating system 140 for managing operations of computer 108. In one embodiment, operating system 140 includes a hardware interface module 154 that provides an interface to system hardware 120. In addition, operating system 140 includes a kernel 144, one or more file systems 146 that manage files used in the operation of computer 108 and a process control subsystem 148 that manages processes executing on computer 108. Operating system 140 further includes one or more device drivers 150 and a system call interface module 142 that provides an interface between the operating system 140 and one or more application modules 162 and/or libraries 164. The various device drivers 150 interface with and generally control the hardware installed in the computing system 100.


In operation, one or more application modules 162 and/or libraries 164 executing on computer 108 make calls to the system call interface module 142 to execute one or more commands on the computer's processor. The system call interface module 142 invokes the services of the file systems 146 to manage the files required by the command(s) and the process control subsystem 148 to manage the process required by the command(s). The file system(s) 146 and the process control subsystem 148, in turn, invoke the services of the hardware interface module 154 to interface with the system hardware 120. The operating system kernel 144 can be generally considered as one or more software modules that are responsible for performing many operating system functions.


The particular embodiment of operating system 140 is not critical to the subject matter described herein. Operating system 140 may be embodied as a UNIX operating system or any derivative thereof (e.g., Linux, Solaris, etc.), a Windows® brand operating system, or any other operating system.


Computing system 100 further includes a basic input/output system (BIOS) 160. In one embodiment, BIOS 122 may be implemented in flash memory and may comprise a power-on self-test (POST) module for performing system initialization and tests. In operation, when activation of computing system 100 begins processing unit 126 accesses BIOS 122 and shadows the instructions of BIOS 122, such as power-on self-test module, into operating memory. Processor 126 then executes power-on self-test operations to implement POST processing.


In some embodiments, computer system 100 is adapted to implement a secure operating system loader. FIG. 2 is a flowchart illustrating operations in one embodiment of implementing a secure operating system loader. The operations depicted in FIG. 2 may be embodied as logic instructions on a computer-readable medium which may be loaded into the operating memory of the computer system and, when executed by the processing unit 126, configure the computer to implement a secure operating system loader. In one embodiment the logic instructions may be invoked from a hook 124 in the basic input/output system 122 of the computer system 100. In another embodiment the logic instructions may be invoked from a hook 184 in the master boot record 182. The hook 124 (or 184) may trap an interrupt such as, e.g., an Int15h BIOS interrupt service.


In other embodiments the logic instructions may be invoked from another location in the boot vector including, for example, a hook 156 in the operating system 140 or in the boot loader. For example, in some embodiments operating system 140 may represent a system restore operating system which may be used to boot computer system 100 when the primary operating system crashes or the computer system 100 otherwise fails.


In one embodiment, the operations of FIG. 2 may be implemented during the boot up process of the computer system 100. The operations of FIG. 2 determine whether authentication is required to boot the computer system 100 and, if so, implement an authentication process. If the authentication is successful, then the computer system 100 is permitted to continue boot operations. If authentication fails, then an error routine is invoked.


Referring to FIG. 2, at operation 210, boot operations are initiated on computer system 100. For example, the system BIOS 122 may initiate operations to boot the computer system 100. At operation 215 it is determined whether authentication is required. In some embodiments the computer system 100 may be configured with a parameter stored in a suitable memory location (e.g., a register) that indicates whether authentication is required. In other embodiments, authentication may always be required to boot the computer. For example, if the operating system 140 is a system restore operating system, then authentication may be required.


If, at operation 215, authentication is not required, then control passes to operation 240 and the boot process is continued in accord with normal operations. By contrast, if authentication is required, then control passes to operation 220 and an authentication challenge is presented. In some embodiments the authentication challenge may include requesting a password, personal information, a product key, or another identifier. In other embodiments the authentication challenge may require a user to connect a device such as, e.g., a flash memory that stores an authentication key. The authentication challenge may be presented to a user via the monitor 102. At operation 225 a response is received from the user. For example, a user may enter a response to the authentication challenge via one of the input/output devices 106.


If, at operation 230, the response is valid, then control passes to operation 240 and the boot process is continued in accordance with normal operations. By contrast, if at operation 230 the response is invalid, then control passes to operation 235 and an error routine is invoked.


In some embodiments the error routine may comprise presenting an indication that the authentication response was invalid, e.g., by presenting a response on the monitor 102. In some embodiments, the error routine may also implement steps to secure data stored on the file store 180 of computer system 100. For example, the error routine may block input/output operations directed to file store 100, e.g., by disabling the disk controller(s) 128 that control access to file store 180. Further, in some embodiments the error routine may prevent the complete loading of the operating system 140 in the memory 140 of computer system 100.


Thus, the operations of FIG. 2 permit the computer system 100 to require authentication in order to complete a boot process, and to deny access to data stored on the computer's file store in the event the authentication process fails.


As noted above, the methods described herein may be embodied as logic instructions on a computer-readable medium. When executed on a processor, the logic instructions cause a general purpose computing device to be programmed as a special-purpose machine that implements the described methods. The processor, when configured by the logic instructions to execute the methods recited herein, constitutes structure for performing the described methods.


Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least an implementation. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.

Claims
  • 1. A method, comprising: initiating boot operations in a computing device;presenting an authentication challenge when authentication is required to boot the computing device;continuing boot operations in response to a successful response to the authentication challenge; andinvoking an error routine in response to an unsuccessful response to the authentication challenge.
  • 2. The method of claim 1, wherein: initiating boot operations a computing device comprises initiating operations of a basic input/output system; andpresenting an authentication challenge when authentication is required to boot the computing device comprises trapping an interrupt from the basic input/output system.
  • 3. The method of claim 1, wherein: initiating boot operations a computing device comprises initiating operations from a master boot record; andpresenting an authentication challenge when authentication is required to boot the computing device comprises initiating the authentication challenge from the master boot record.
  • 4. The method of claim 3, wherein initiating the authentication challenge from the master boot record comprises executing code stored on the master boot record.
  • 5. The method of claim 1, wherein: initiating boot operations a computing device comprises initiating operations from a system restore operating system; andpresenting an authentication challenge when authentication is required to boot the computing device comprises initiating the authentication challenge from the restore operating system.
  • 6. The method of claim 1, wherein presenting an authentication challenge when authentication is required to boot the computing device comprises initiating the authentication challenge from program code stored in a disk partition.
  • 7. The method of claim 1, wherein presenting an authentication challenge when authentication is required to boot the computing device comprises presenting an authentication challenge on a display module coupled to the computing device.
  • 8. The method of claim 1, wherein invoking an error routine in response to an unsuccessful response to the authentication challenge comprises blocking input/output operations to data stored on the computing device.
  • 9. A computing device, comprising: a processor;a memory module coupled to the process and comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations in a computing device;present an authentication challenge when authentication is required to boot the computing device;continue boot operations in response to a successful response to the authentication challenge; andinvoke an error routine in response to an unsuccessful response to the authentication challenge.
  • 10. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations of a basic input/output system; andtrap an interrupt from the basic input/output system.
  • 11. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations from a master boot record; andpresent an authentication challenge when authentication is required to boot the computing device comprises initiating the authentication challenge from the master boot record.
  • 12. The computing device of claim 11, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to execute code stored on the master boot record.
  • 13. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations from a system restore operating system; andinitiate the authentication challenge from the restore operating system.
  • 14. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to initiate the authentication challenge from program code stored in a disk partition.
  • 15. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to present an authentication challenge on a display module coupled to the computing device.
  • 16. The computing device of claim 9, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to block input/output operations to data stored on the computing device.
  • 17. A computer program product comprising logic instructions stored in a computer readable medium which, when executed, configure a processor to: initiate boot operations in a computing device;present an authentication challenge when authentication is required to boot the computing device;continue boot operations in response to a successful response to the authentication challenge; andinvoke an error routine in response to an unsuccessful response to the authentication challenge.
  • 18. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations of a basic input/output system; andtrap an interrupt from the basic input/output system.
  • 19. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations from a master boot record; andinitiate the authenticate challenge from the master boot record.
  • 20. The computer program product of claim 19, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to execute code stored on the master boot record.
  • 21. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to: initiate boot operations a computing device comprises initiating operations from a system restore operating system; andinitiate the authentication challenge from the restore operating system.
  • 22. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to initiate the authentication challenge from program code stored in a disk partition.
  • 23. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to present an authentication challenge on a display module coupled to the computing device.
  • 24. The computer program product of claim 17, further comprising logic instructions stored in a computer readable medium which, when executed, configure the processor to block input/output operations to data stored on the computing device.