This application is related to co-pending application filed the same day with attorney docket number 30835/318446.
When a business model allows selling a product at little or no cost and recouping the product's cost by selling services, such as with cellular phones, a key element is the ability to render the product useless if the terms of the service contract are not fulfilled. For example, if a cellular phone service subscriber fails to pay the agreed-to monthly fee, the service provider can simply turn off the phone's access to the network. Because the value of the phone is extremely limited if it cannot make phone calls, the service provider's investment is protected. Further, because the cellular phone may have little or no street value, there is little incentive to defraud the service provider for the sole purpose of getting an inexpensive cellular phone.
However, a subsidized computer may have considerable use and value when not connected to a network. Therefore, a business model that supplies computers or other high intrinsic value electronic devices to consumers at a reduced initial cost along with a services contract, e.g. Internet service access, must have a way of limiting access to the computer when the terms of contract are not fulfilled.
A computer or electronic device adapted for metered-use may use a master security device and a plurality of slave devices, each of the plurality of slave devices attached to a functional component of the computer or electronic device. Each slave device may be programmed to disable its associated functional component. Management of the slave devices by the master device may use a protocol including messages for firmware updates, periodic ping messages, and a shutdown message when tampering has been detected. A further message, known as a perpetual message, may be used when and end-user has satisfied contractual terms associated with a subsidized purchase to disable all security mechanisms and allow the end-user unrestricted access to the computer or electronic device.
Although the following text sets forth a detailed description of numerous different embodiments, it should be understood that the legal scope of the description is defined by the words of the claims set forth at the end of this disclosure. The detailed description is to be construed as exemplary only and does not describe every possible embodiment since describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
It should also be understood that, unless a term is expressly defined in this patent using the sentence “As used herein, the term ‘______’ is hereby defined to mean . . . ” or a similar sentence, there is no intent to limit the meaning of that term, either expressly or by implication, beyond its plain or ordinary meaning, and such term should not be interpreted to be limited in scope based on any statement made in any section of this patent (other than the language of the claims). To the extent that any term recited in the claims at the end of this patent is referred to in this patent in a manner consistent with a single meaning, that is done for sake of clarity only so as to not confuse the reader, and it is not intended that such claim term by limited, by implication or otherwise, to that single meaning. Finally, unless a claim element is defined by reciting the word “means” and a function without the recital of any structure, it is not intended that the scope of any claim element be interpreted based on the application of 35 U.S.C. § 112, sixth paragraph.
Much of the inventive functionality and many of the inventive principles are best implemented with or in software programs or instructions and integrated circuits (ICs) such as application specific ICs. It is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed herein will be readily capable of generating such software instructions and programs and ICs with minimal experimentation. Therefore, in the interest of brevity and minimization of any risk of obscuring the principles and concepts in accordance to the present invention, further discussion of such software and ICs, if any, will be limited to the essentials with respect to the principles and concepts of the preferred embodiments.
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, FLASH memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Computer storage media typically embodies computer readable instructions, data structures, program modules or other data.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
A master security module 125 may be deployed and configured to enforce the terms of an agreement between a user of the computer 110 and a service provider with an interest in the computer 110. The master security module 125 may be instantiated in more than one manner. When implemented by one or more discrete components, master security module 125 may be disposed on the motherboard (not depicted) or in a multi-chip module (MCM) that is, itself, disposed on the motherboard. The master security device 125 and associated security beans (not depicted in
The processor 202 and memory/graphics interface 204 may be connected as above, with a front-side bus 218. The memory/graphics interface 204 to I/O interface 210 connection may be a high speed system bus 219. The system bus 219 may be used to generate clock signals for other high speed buses, such as an I/O interface 210 to non-volatile memory 216 interface 220. Other configurations of system components, including alternative bus structures, such as Hypertransport®, may also be used.
A power supply 222 may have a signal output 224 indicating when the power supply is at voltage and stable. As discussed above, the power supply may have one or more outputs (not depicted) coupled to each active system component. For the purpose of this discussion, output 224 will be presumed to be a “power OK” signal, but other signals, including the power bus lines themselves, may be involved. Each component with a power OK input will remain non-operational until the power OK signal input transitions to a designated active state, for example, a logic 1 value.
As will be discussed in more detail below with respect to
In another configuration of the slave device, security bean 232 is shown coupled between the mouse/keyboard 212 and the I/O interface 210. As above, the default configuration for the security bean 232 may be with switch function open, blocking any signals between the mouse/keyboard 212 and the I/O interface 210. When the master device 226 determines that criteria have been meant for operations, the master device 226 may send instructions to close the switching function and enable the mouse/keyboard 212. Because the security device authentication process may be completed very early in the boot process, the mouse/keyboard 212 may be active prior to BIOS system checking, so initial blocking should not cause a system error. Alternatively, because in some embodiments the BIOS is hosted in the master device 226 and may be aware of the security bean 232, the BIOS may be able to selectively activate devices during initial system checking when booting.
Another configuration of the slave device is illustrated by security bean 234 and associated load 236, shown in this exemplary embodiment attached to system buses 219 and 220, or more specifically, to a single signal path on each respective bus. In this configuration, the security bean 234 switch function may be normally closed, coupling load 236 to the respective bus 219 or 220. Coupling the load 236 to a bus may alter the transmission characteristics sufficiently to render the bus in operable, for example, if coupled to a clock line. Additional security beans configured in this fashion may be attached to multiple lines of a data bus, thereby disabling each respective data line.
Lastly, security bean 238 is shown unattached. One or more unattached security beans 238 may be placed in an electronic device, and even coupled to signal connections, such as a ground plane, to act as decoys to further raise the bar of disabling active security beans 230232234. Depending on the exact design of the security bean, e.g. bean 230, the security bean have a material cost of well less than a dollar, allowing widespread deployment without significant impact on end-user price, while creating a significant cost of hacking in terms of time, tools, and risk of damage to the computer or other protected electronic device. Additional decoys, or dummy devices, may be attached to real components but factory-set to perpetual mode (see below) so that they do not participate in communication between the master device and other security beans. Such devices may also be loaded with dummy keys to obfuscate key extraction efforts. In other embodiments, decoy devices may be in communication with the master device 226 and respond to ping requests, although have no connection to other components in the electronic device.
The processor 302 may be a microprocessor with a standard or reduced instruction set but may also be an application specific integrated circuit (ASIC) implementing simple logic or a state machine. The communication port 300 for may be a dedicated port, may be a separate ASIC circuit implementing a communication protocol in hardware, or may be incorporated in the processor 302.
The secure memory 306 may include both volatile and nonvolatile memory for use in storing persistent data as well as for use by the processor 302 during operation. The secure memory 306 may include keys 322, a hash algorithm 324, and program code 326, as well as a perpetual flag 328 and a default state flag 330. The keys 322 may include a local master key accepted from a master device 226 during configuration with the master device 226. Derived keys, session keys, or local hash values may also be stored in the keys section 322. The hash algorithm 324 may be any of a number of known algorithms, such as MD5 or SHA-256. Program code 326 may be executable instructions that the processor 302 can use during both configuration and normal operation phases. The perpetual state 328 stored at in the secure memory 306 may be a simple flag used to indicate whether the security bean 300 should be permanently placed in a normal operating state or a so-called perpetual state. The perpetual state may be used to turn off all security functions in a computer. This may include setting the security bean 300 so that the computer can operate without any restrictions, for example, after a subscriber has successfully met contractual terms for a subsidized purchase and takes full ownership of the computer or electronic device. The default state 330 may be set to determine whether the default value (i.e. the state of the switch 314 required to disable its associated component) for switch control 312 is open or closed, depending upon the use of the security bean 300 in a circuit.
The cryptographic function 308 may include a hash function for use instead of or in conjunction with a hash algorithm 324 stored in the secure memory 306. The cryptographic function 308 may also include a random number generator (RNG) for use in challenge/response communication with the master device 226. The cryptographic function 308 may include general encryption/decryption functions which may be used, in part, for generating and verifying a message authentication code (MAC).
The optional timer 310 may be used as described below when the security bean 300 operates to disable its respective circuit unless reset during a timeout period, set by the timer 310.
The switch control 312 may be simple logic to convert a command from the processor 302 to control and persist the state of switch 314. Switch 314 may be an ordinary analog switch, known in the art. Even though signal lines 316 and 318 have been designated as an input coupling and output coupling respectively, in one embodiment, the signal lines 316318 are interchangeable.
During initial setup, a key may be accepted from the first party who presents a valid format key. Ideally, this operation would take place in a secure environment since the security bean 300 may not have a transport key for encrypting the communication link 305 during initial set up. The key may be derived key based on a security bean serial number and a master key installed in the master device 226. Additionally, the default state 330 may be set during initial setup so that the switch 314 is either normally on or normally off upon power up. The key memory 322 and default state flag 330 may be a write-once memory, such as a fusable link or other one-time programmable technology. In some embodiments, the perpetual flag 328 may also be a one-time programmable memory.
After installation and upon startup the security bean 300, the switch 314 may be set to the default state and the security bean 300 may wait for communication from the master device 226. Using a normal challenge/response, the master device 226 and the security bean 300 may mutually authenticate each other. The master device 226 can send a signal that sets the security bean 300 to enable its associated component, be it a power OK signal 230, a signal path 232, or a bus load 234. A dummy device 236 may be powered and may also be in communication with the master device 226, in order to further obfuscate the active devices.
As described below, several alternatives exist for security bean 300 operation, including but not limited to timeout, ping response, and a combination of the two. In timeout operation, the bean 300 begins a timeout period as soon as switch 314 is set to the enabled mode after power up. After a predetermined time the timer 310 may expire, for example, in one minute, and the switch 314 transitioned to disable its respective component. The timeout timer 310 may be reset by an authenticated signal from the master device 226. In another embodiment, the bean 300 may start in the enabled mode and begin its timing cycle without communication from the master device 226. The switch 314 may be set to disabled mode unless the timer is reset by the authenticated signal from the master device 226 during the timeout period.
In the ping response mode, the security bean 300 may start in the disabled mode and wait for an authenticated signal to switch to the enabled mode. Subsequently, the master device 226 may ping the security bean 300, to which the security bean 300 may reply. After collecting ping response data from all the security devices 300 installed and configured, the master device 226 may determine that enough beans 300 have not responded and a tampering problem may exist. At that point, the master device 226 may send a disable signal to all responsive security beans 300, causing them to switch to disabled mode. In some embodiments, the disable bit 330 may be set by the disable signal, so that during the next power cycle or reset cycle, the security bean 300 may stay in the disabled mode until explicitly turned off by the master device 226. This may be useful if the security bean 300 is configured to boot into an enabled mode.
The security bean 300 may store more than one version of key, so that a challenge/response transaction may include a key version for use in creating the appropriate session key. The security bean 300 may also store an encryption key and a signing key, when required by a particular protocol.
When contract terms have been satisfied, a host server (not depicted) or other trusted device, may send a signal to the master device 226 that the computer 200 should go perpetual, indicating that all security measures should be de-activated. In one embodiment, when the perpetual bit 328 is set, the security bean 300 may always boot to the enabled state, ignore the timer if present, and ignore messages from the master device 226. In another embodiment, the perpetual flag 330 may be reset, for example, when a computer is traded in for an upgrade and recycled.
The secure memory 410 may include key memory 418 storing a device master key and slave keys generated for each slave associated with the master device 400. A hash algorithm 420 may be stored in the secure memory 410 for use one hashing is calculated by the processor 402. Program code 422 may include executable code for managing the operation of the master device 400. In implementations where the master device 400 manages BIOS code, such BIOS code 424 may be stored in a secure memory 410. A secure boot, or at least a boot cycle using known BIOS code, may be necessary to ensure that the master device 400 and its associated security beans 300 are operational and enabled before boot processes associated with initially deactivated components begin. Configuration information 426 may be used to store information regarding known security beans, their mode of operation, and if perpetual mode is active.
The cryptographic function 412 may be as simple as a random number generator and a block cipher function, or may incorporate a smart chip with full cryptographic capability including public key algorithms, and communicate with the processor 402 using an ISO 7816 interface.
A clock or timer 414 may be used to determine timeout periods during which security beans 300 must respond to a ping. When the master device 400 also incorporates metering functions associated with pay-per-use operation, the clock or timer 414 may be directed to that purpose also.
In operation, the master device 400 may operate in one of several modes. In one embodiment, after cataloging and sending a derived key to each security bean 300, the master device 400 may periodically send an encrypted, or MAC'd, reset signal to each security bean 300. Upon verification of the reset signal, the bean may reset its timeout timer and normal operation is preserved. In another embodiment, the master device 400 may periodically ping each catalogued security bean 300. If enough security beans 300 do not respond in a timely fashion, the master device 400 may send a disable signal to each responsive security bean 300. Operation in this fashion is discussed in more detail below with respect to
At block 508, a signal may be sent to the master device 400 indicating that the master device 400 should establish a binding between itself and all available slave devices 300. The signal may be authenticated using the transport key in the master device 400. This process may be initiated at the end of a manufacturing process for the electronic device 200 and may be performed while the electronic device 200 is in a secure environment. Before binding between the master device 400 and its associated slave devices 300, the electronic device 200 is vulnerable to attack. The master-slave binding process of block 508 may include generation of a master key for the master device 400. While public key cryptography may be used for the master-slave binding process and for authenticating communications between devices, symmetric key cryptography usually executes faster and can be less costly to implement. At block 510, a slave detect process may be initiated to determine what slave devices are available. Details of the slave detect process are shown in
Turning briefly to
Returning to
Turning briefly to
Returning to
The exemplary steps described above illustrate a process of first cataloging all slave devices and then establishing keys for each device. Other embodiments may combine slave device discovery with key establishment so that both steps occur for each slave device before moving on to another slave device.
Once configured, the master device 400 and each of the slave devices 300 may support a protocol including a number of operational and maintenance messages.
At box 702, the master device 400 may exit a delay period and send a message to a selected slave device 300 at block 704. The message may be a ping message, that is a simple message to which a reply is expected. The message may also include a timer reset signal as part of the ping message, as described above. The ping message and any response may be encrypted using a derived key based on a random number in the unique slave device key. To accommodate this, the random number may be included in the ping message. At box 706, the master device 400 may receive a ping acknowledgment. If the ping acknowledgment is received within an acknowledgment timeframe and can be correctly authenticated, the “yes” branch from block 706 may be taken to block 708. If not all slave devices 300 have been sent a ping message, and no branch from block 708 may be followed to block 704 and another device selected and sent the ping message. If, at block 708, all the devices have been sent the ping message, the “yes” branch from block 708 may be followed to block 710.
At block 710, if the number of slave devices 300 that respond timely and correctly exceeds a threshold amount, for example 70%, the “yes” branch from block 710 may be followed to block 702 and a delay period entered for timing the next round of ping messages. In one embodiment, a range from one minute to five minutes may be used as the delay period. If however, the threshold level is not meant the “no” branch from block 710 may be followed to block 712 and a shutdown message sent to each slave device 300, or at least to each responsive slave device 300. If, at block 706 an acknowledgment is not received, the acknowledgment was not timely, or could not be authenticated, the “no” branch from block 706 may be followed to block 714 and an error may be logged. The log may be used later at block 710 to determine whether the threshold level of responses has been met.
Following the entry point 802, at block 804 a shutdown message may be sent to a slave device 300. At block 806, if an acknowledgment is received, the “yes” branch from block 806 may be followed to block 808. If additional devices need to receive the shutdown message, the “no” branch from block 808 may be followed to block 804 and another slave device selected and sent the shutdown message. If, at block 808 all the devices have received the shutdown message, the “yes” branch from block 808 may be followed to block 810 in the routine exited. If, at block 806 a shutdown acknowledgment is not received, the “no” branch from block 806 may be followed to block 812 or an error may be logged and additional error processing steps performed. Execution may continue at block 808 as described above.
Following the entry point 902 to block 904, a perpetual message may be sent to each slave device 300, using either an encrypted or cryptographically authenticated message, for example, a MAC. When an acknowledgment of the perpetual messages is received at block 906 the “yes” branch may be taken to block 908. If more devices are to receive the perpetual message, the “no” branch from block 908 may be taken to block 904 and the message sent to a remaining slave device 300. If all the devices have been programmed, the “yes” branch from block 908 may be taken to block 910 in the routine exited. If at block 906, the perpetual message is not acknowledged, the “no” branch from block 906 may be taken to block 912, the error logged and execution continued at block 908, as described above.
The protocol described above provides a functional set of tools for the management of a plurality of security devices used to monitor and detect tampering in an electronic device. The use of such a protocol may help create the secure environment required for an underwriter to take on financial risk of subsidizing an electronic device using a subscription-oriented payback mechanism. Ultimately, both the end-user in the underwriter benefit from the capabilities created by the use of the master-slave devices and their associated protocol.
Although the forgoing text sets forth a detailed description of numerous different embodiments of the invention, it should be understood that the scope of the invention is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possibly embodiment of the invention because describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims defining the invention.
Thus, many modifications and variations may be made in the techniques and structures described and illustrated herein without departing from the spirit and scope of the present invention. Accordingly, it should be understood that the methods and apparatus described herein are illustrative only and are not limiting upon the scope of the invention.