An electronic device, such as, a computer, may be adapted for self-monitoring for compliance to an operating policy. The operating policy may specify a pay-per-use or subscription business model and measurements associated with compliant usage. A secure execution environment may measure usage in accordance with the business model as well as monitor and enforce compliance to the operating policy. To increase the difficulty of attacking or otherwise disabling the secure execution environment, elements of the secure execution environment may be distributed. The distribution points may include other functional elements of the computer, such as interface circuits, or may even be remotely located over a network. An implementation method for disaggregating the secure execution environment is also disclosed.
|
1. A computer adapted for use in limited function operating modes comprising:
a secure hardware interface providing an interface between a secure execution environment and a plurality of functional circuits of the computer;
the plurality of functional circuits including at least two or more of a processor, a graphics processor, an I/O interface, a bios memory, a non-volatile storage memory, and an external bus interface, each of the plurality of functional circuits connected via a bus external to the plurality of functional circuits;
a secure execution environment having secure storage and controlling disaggregated enforcement functions in each of the respective functional circuits, the secure execution environment including at least a metering function that monitors usage of the computer according to a policy at least partly secured in the secure execution environment;
the metering function measuring CPU usage charged to a stored value balance in the secure storage; and
at least a first of the enforcement functions in a first of the functional circuits, when activated by the enforcement function, in turn activates a limited function mode in the first functional circuit when the metering function determines usage is not in compliance with the policy, the limited function mode removing or reducing some but not all functionality of the first functional circuit such that at least some functionality of the first functional circuit continues to be available for use by the computer.
2. The computer of
a secure memory storing at least a hardware identifier;
a clock providing monotonically increasing time;
a cryptography function; and
a policy management function for updating the policy.
3. The computer of
4. The computer of
5. The computer of
7. The computer of
8. The computer of
10. The computer of
11. The computer of
12. The computer of
13. The computer of
14. The computer of
15. The computer of
|
Pay-as-you-go or pay-per-use business models have been used in many areas of commerce, from cellular telephones to commercial laundromats. In developing a pay-as-you go business, a provider, for example, a cellular telephone provider, offers the use of hardware (a cellular telephone) at a lower-than-market cost in exchange for a commitment to remain a subscriber to their network. In this specific example, the customer receives a cellular phone for little or no money in exchange for signing a contract to become a subscriber for a given period of time. Over the course of the contract, the service provider recovers the cost of the hardware by charging the consumer for using the cellular phone.
The pay-as-you-go business model is predicated on the concept that the hardware provided has little or no value, or use, if disconnected from the service provider. To illustrate, should the subscriber mentioned above cease to pay his or her bill, the service provider deactivates their account, and while the cellular telephone may power up, calls cannot be made because the service provider will not allow them. The deactivated phone has no “salvage” value, because the phone will not work elsewhere and the component parts do not have a significant street value. When the account is brought current, the service provider will re-allow use of the device to make calls.
This model works well when the service provider, or other entity taking the financial risk of providing subsidized hardware, has a tight control on the use of the hardware and when the device has little salvage value. The business model does not work well when the hardware has substantial uses outside the service provider's span of control. Thus, a typical computer does not meet these criteria since a computer may have substantial uses beyond an original intent and the components of a computer, e.g. a display or disk drive, may have a significant salvage value.
An operating policy for a computer or a computer resource, particularly a pay-per-use or subscription computer or component, may define the rules for compliance with established business terms associated with the resource's acquisition, how to measure compliance to the rules, and what to do when the measurements indicate non-compliance. To monitor and enforce the operating policy, a secure execution environment may be employed. The secure execution environment may be a separate component or may be embedded within one of the other components of the computer. Because the secure execution environment may attract the attention of hackers and others with fraudulent motives, instead of a monolithic secure execution environment, the functions of a secure execution environment may be disaggregated among components of the computer. A core and various functions may be placed in different components, resulting in at least two possible benefits. One is spreading the targets of attack, requiring more resources and energy to disable or circumvent the secure execution environment. Another benefit involves the ability to require the components hosting the secure execution environment functions to be present and operational, reducing the value of individual components and thereby discouraging “chop shop” attacks.
A secure execution environment may be distinguished from a trusted computing base (TCB) or next generation secure computing base (NGSCB) in that the secure execution environment does not attempt to limit the features or functions of the computer, nor does it attempt to protect the computer from viruses, malware, or other undesirable side effects that may occur in use. The secure execution environment does attempt to protect the interests of an underwriter or resource owner to ensure that business terms, such as pay-per-use or subscriptions, are met and to discourage theft or pilfering of the computer as a whole or in part.
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 a sentence beginning: “As used herein, the term” and containing the phrase “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.
Many prior-art high-value computers, personal digital assistants, organizers and the like are not suitable for use in a pre-pay or pay-for-use business model as is. As discussed above, such equipment may have significant value apart from those requiring a service provider. For example, a personal computer may be disassembled and sold as components, creating a potentially significant loss to the underwriter of subsidized equipment. In the case where an Internet service provider underwrites the cost of the personal computer with the expectation of future fees, this “residual value” creates an opportunity for fraudulent subscriptions and theft. Pre-pay business models, where a user pays in advance for use of a subsidized, high value computing system environment have similar risks of fraud and theft.
The computer 110 may also include a cryptographic unit 124 providing cryptographic services. Such services may include support for both symmetric and asymmetric cryptographic algorithms, key generation, random number generation and secure storage. Cryptographic services may be provided by a commonly available integrated circuit, for example, a smart chip such as those provided by Seimens™ or ST Microelectronics™.
The computer 110 may include a secure execution environment 125 (SEE). The SEE 125 may be enabled to perform security monitoring, pay-per-use and subscription usage management and policy enforcement for terms and conditions associated with paid use, particularly in a subsidized purchase business model. The secure execution environment 125 may be embodied in the processing unit 120 or as a standalone component as depicted in
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. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency, infrared and other wireless media. Combinations of the any of the above should also be included within the scope of computer readable media.
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 variety of functional circuits may be coupled to either the graphics and memory interface 204 or the I/O Interface 210. The graphics and memory interface 204 may be coupled to system memory 206 and a graphics processor 208, which may itself be connected to a display (not depicted). A mouse/keyboard 212 may be coupled to the I/O interface 210. A universal serial bus (USB) 214 may be used to interface external peripherals including flash memory, cameras, network adapters, etc. (not depicted). Board slots 216 may accommodate any number of plug-in devices, known and common in the industry. A local area network interface (LAN) 218, such as an Ethernet board may be connected to the I/O interface 210. Firmware, such as a basic input output system (BIOS) 220 may be accessed via the I/O interface 210. Nonvolatile memory 222, such as a hard disk drive, may also be coupled to the I/O interface 210.
The secure memory 318 may store, in a tamper-resistant manner, code and data related to the secure operation of the computer 302, such as a hardware identifier 320 and policy information 322. The policy information 322 may include data related to the specific terms and conditions associated with the operation of the computer 200. The secure memory 318 may also include code or data required to implement various functions 324. The functions 324 may include a clock 326 or timer implementing clock functions, enforcement functions 328, metering 330, policy management 332, cryptography 334, privacy 336, biometric verification 338, stored value 340, and compliance monitoring 341, to name a few.
The clock 326 may provide a reliable basis for time measurement and may be used as a check against a system clock maintained by the operating system 134 to help prevent attempts to fraudulently use the computer 200 by altering the system clock. The clock 326 may also be used in conjunction with policy management 332, for example, to require communication with a host server to verify upgrade availability. The enforcement functions 328 may be executed when it is determined that the computer 200 is not in compliance with one or more elements of the policy 322. The actual enforcement mechanisms may be located in different functional blocks of the computer 200, as shown in various exemplary embodiments in
Referring briefly to
When located in an input/output interface, such as I/O interface 406, a peripheral device filtering enforcement function may restrict access to certain peripherals, or reduce the interface data rate, making communication with peripherals or a network connection something between annoying and impossible. When an enforcement function is located in a processor 402, a processor speed reduction function may be used to enforcement a limited function mode by slowing instruction processing. In another embodiment, the enforcement mechanism may be to reduce the instruction set available for processing commands. A combination, such as using a restricted set of instructions to execute a program from a limited memory range may be effective.
Returning to
A cryptography function 334 may be used for digital signature verification, digital signing, random number generation, and encryption/decryption. Any or all of these cryptographic capabilities may be used to verify updates to the secure memory 318 or to established trust with an entity outside the secure execution environment 302 whether inside or outside of the computer 200.
The secure execution environment 302 may allow several special-purpose functions to be developed and used. A privacy manager 336 may be used to manage personal information for a user or interested party. For example, the privacy manager 336 may be used to implement a “wallet” function for holding address and credit card data for use in online purchasing. A biometric verification function 338 may be used with an external biometric sensor (not depicted) to verify personal identity. Such identity verification may be used, for example, to update personal information in the privacy manager 336 or when applying a digital signature. The cryptography function 334 may be used to establish trust and a secure channel to the external biometric sensor.
A stored value function 340 may also be implemented for use in paying for time on a pay-per-use computer or while making external purchases, for example, online stock trading transactions.
The use of data and functions from the secure memory 318 allows presentation of the secured hardware interface 342 for access by other systems in the computer 200. The secured hardware interface 342 may allow restricted and or monitored access to peripheral devices 344 or the BIOS 346 via the system bus 348. Additionally, the functions 324 may be used to allow external programs, including the operating system 134, to access secure facilities such as hardware ID 356 and random number generation 352 of the cryptographic function 334 via the secured hardware interface 342. Other capabilities accessible via the system bus 348 may include secure storage 354 and a reliable (monotonically increasing) clock 350.
Each function 324 discussed above, as implemented in code and stored in the secure memory 318 may be implemented in logic and instantiated as a physical circuit. The operations to map functional behavior between hardware and software are well known in the art and are not discussed here in more detail.
In one embodiment, the computer 200 may boot using a normal BIOS startup procedure. At a point when the operating system 134 is being activated, the processor 310 may execute the policy management function 332. The policy management function 332 may determine that the current policy 322 is valid and then load the policy data 322. The policy may be used in a configuration process to set up the computer 200 for operation. The configuration process may include allocation of memory, processing capacity, peripheral availability and usage as well as metering requirements. When metering is to be enforced, policies relating to metering, such as what measurements to take may be activated. For example, measurement by CPU usage (pay-per-use) versus usage over a period of time (subscription), may require different measurements. Additionally, when usage is charged per period or by activity, a stored value balance may be maintained using the stored value function 340.
When the computer 300 has been configured according to the policy 322, the normal boot process may continue by activating and instantiating the operating system 134 and other application programs 135. In other embodiments, the policy may be applied at different points in the boot process or normal operation cycle. Should non-compliance to the policy be discovered, the enforcement function 328 may be activated. A discussion of enforcement policy and actions may be found in co-pending application U.S. patent application Ser. No. 11/152,214. The enforcement function 328 may place the computer 300 into an alternate mode of operation when all attempts to restore the computer to compliance with the policy 322 fail. For example, in one embodiment, a sanction may be imposed by reallocating memory from use as system memory 130 and designating it use by the secure execution environment 302. Since memory in the secure execution environment may not addressable by outside programs including the operating system 134, the computer's operation may be restricted, even severely, by such memory allocation.
Because the policy and enforcement functions are maintained within the secure execution environment 302, some typical attacks on the system are difficult or impossible. For example, the policy may not be “spoofed” by replacing a policy memory section of external memory. Similarly, the policy and enforcement functions may not be “starved” by blocking execution cycles or their respective address ranges.
To revert the computer 300 to normal operation, a restoration code may need to be acquired from a licensing authority or service provider (not depicted) and entered into the computer 300. The restoration code may include the hardware ID 320, a stored value replenishment, and a “no-earlier-than” date used to verify the clock 326. The restoration code may typically be encrypted and signed for confirmation by the processing unit 302.
A secure execution environment may be disaggregated among two or more elements of the computer 400. The functions associated with the secure execution environment, as shown and described with respect to
Biometric verification 442 and the clock 444 may be implemented in the BIOS 418. Data only values associated with secure execution environment functions may be stored in a conventional nonvolatile memory. For example, policy information 446, stored value 448, and privacy information 450 may be stored in a hard disk 420. Executable code associated with implementing these functions may also be stored in the hard disk 420. The USB interface 422 may also be another location where and enforcement function 452 may be placed. Enforcement at the USB interface 422 may restrict access to various peripherals, such as other nonvolatile memory, cameras, or digital media devices. A processing intensive function, such as cryptography 456, may be located in the processor 402 although while the cryptography function 456 may use the native processing power of the processor 402, the cryptography function 456 may also be implemented as a standalone function hosted in that chip.
The distribution of the functions of the secure execution environment may require some additional overhead to support communication and verification among the separated functions. For example, each of the disaggregated functions may need some ability to communicate and some ability to determine that messages received are authentic. To that end, each of the disaggregated functions may have its own identifier and a cryptographic key. Distributed data such as policy 446 or stored value 448 information may not need these extra measures.
When storing distributed data, such as policy 446 or stored value 448, the SEE core 430 may have several options. If the SEE core 430 has encryption capability, distributed data may be encrypted locally and stored remotely. If the SEE core 430 has only hashing capability, that is, no local secure storage for an encryption key, the SEE core 430 may keep a hash and store the clear data remotely.
Communication between the SEE core 430 and the disaggregated functions of the secure execution environment may be accomplished using the existing bus structure coupling each of the host components. For example, communication between the SEE core in the enforcement function 440 may be accomplished over the bus coupling the graphics and memory interface 404 with the graphics processor 408. In another embodiment, a separate bus 458 may be implemented to connect the SEE core 430 and the disaggregated functional components of the secure execution environment 438-456. A relatively slow, narrow, bus may be suitable for such communication. For example, a two-wire bus known as an inter-integrated circuit bus (IIC or I2C) may be suitable for such interconnection
In the embodiment depicted in
To illustrate disaggregating the SEE beyond the local computer, the embodiment of
Different from the above embodiments of
This configuration allows a hybrid implementation of a standalone SEE core 632 with local functions for stored value 634, hardware ID 636, policy management 638 and metering 640, with other functions distributed among other components. For example, one embodiment may have a cryptography function 642 in the processor 602, enforcement 644 and clock 646 hosted in the I/O interface 606, privacy 648 and biometric verification 650 in the BIOS firmware 614, and policy data 652 in the system memory 624.
The exemplary embodiments above illustrate several configurations for distributing functions of a secure execution environment through different elements of a computer. The effect is to both distribute the risk, and also the point of attack, throughout a computer and to help ensure that original equipment components are not removed or altered other than by authorized service personnel. This helps protect the investment of underwriters who may have a significant financial interest in protecting the computer from attack both logical and physical.
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.
Westerinen, William J., Frank, Alexander, Phillips, Thomas G., Steeb, Curt A., Xu, Zhangwei, Thompson, Richard B., Ahdout, Isaac P.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5617576, | Dec 29 1993 | Intel Corporation | Method of slowing down code execution in a microprocessor including an internal cache memory |
5751975, | Dec 28 1995 | Intel Corporation | Method and apparatus for interfacing a device compliant to a first bus protocol to an external bus having a second bus protocol and for providing virtual functions through a multi-function intelligent bridge |
5958058, | Jul 18 1997 | Round Rock Research, LLC | User-selectable power management interface with application threshold warnings |
6038551, | Mar 11 1996 | Microsoft Technology Licensing, LLC | System and method for configuring and managing resources on a multi-purpose integrated circuit card using a personal computer |
6064254, | Dec 30 1997 | Texas Instruments Incorporated | High speed integrated circuit interconnection having proximally located active converter |
6170049, | Apr 02 1996 | Texas Instruments Incorporated | PC circuits, systems and methods |
6460136, | Jul 12 1999 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Method and apparatus for loading an operating system kernel from a shared disk memory |
6742173, | Mar 22 2002 | Rincon Research Corporation | Communication and control model for field programmable gate arrays and other programmable logic devices |
6839849, | Dec 28 1998 | CP8 Technologies | Smart integrated circuit |
7024564, | Dec 04 1996 | SAFENET, INC | Software protection device and method |
7401230, | Mar 31 2004 | Intel Corporation | Secure virtual machine monitor to tear down a secure execution environment |
7660984, | May 13 2003 | CORNAMI, INC | Method and system for achieving individualized protected space in an operating system |
20010007133, | |||
20020138726, | |||
20020178271, | |||
20030056136, | |||
20040030907, | |||
20040039924, | |||
20040039926, | |||
20040054893, | |||
20040054894, | |||
20040064689, | |||
20040093505, | |||
20040158840, | |||
20050033969, | |||
20050289355, | |||
20060020550, | |||
20060147043, | |||
20070078957, | |||
20070162964, | |||
20090113536, | |||
EP1168141, | |||
EP1862908, | |||
WO2009027743, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 14 2006 | Microsoft Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Date | Maintenance Schedule |
Dec 06 2014 | 4 years fee payment window open |
Jun 06 2015 | 6 months grace period start (w surcharge) |
Dec 06 2015 | patent expiry (for year 4) |
Dec 06 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 06 2018 | 8 years fee payment window open |
Jun 06 2019 | 6 months grace period start (w surcharge) |
Dec 06 2019 | patent expiry (for year 8) |
Dec 06 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 06 2022 | 12 years fee payment window open |
Jun 06 2023 | 6 months grace period start (w surcharge) |
Dec 06 2023 | patent expiry (for year 12) |
Dec 06 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |