Cabinet security state detection

Abstract: A computer cabinet tamper detection system includes a switch that is responsive to the chassis being opened to expose the electronic hardware and an auxiliary state element that changes state in response to the switch. A reporting program runs on the hardware to poll the state of the auxiliary state element when the computer is operational to provide notification regarding a safe or unsafe condition of the chassis. This allows the computer operator and the organization to take steps to contain any damage associated with the possible prejudicing of the computer's security.

Description: BACKGROUND OF THE INVENTION This invention relates to security of a computer in general, and in particular to a system for detecting tampering of a computer cabinet. Due to their role as data storage and management devices, computers face threats from unauthorized access. Various software approaches have been implemented to provide protection. Passwords restrict access to only those users that have knowledge of the password. Firewalls are another software mechanism that protects computers from illegal access via a network. These software approaches provide little or no protection from physical intrusion. That is, if someone tries to access the computer by operating the computer, the software can provide a moderately effective barrier. In contrast, if the unauthorized person seeks to access the computer's data by physically opening the computer and reconnecting the hard drive, for example, the software provides no safeguards. Unfortunately, there is little or no way of cost-effectively securing a computer against physical attack. In any organization, the computers are typically personal computers that are distributed throughout the organization's facilities, thus any person that has access to the organization's facilities generally may access the computers. Some approaches have been proposed to detect the physical opening of the computer cabinet. Upon detecting this event, an attempt is made to disable the computer. In one case, the configuration RAM of the computer is cleared. The software or firmware of the computer is then designed to prevent the further operation of the computer in response to this clearance. US patent number 5,317,304 details an anti-theft device designed to detect motion and tampering of the cabinet. Upon detecting such events a number of preconfigured warning signals and/or alarms can be sounded, which may alert personnel within the audible range of the alarms. SUMMARY OF THE INVENTION The problem with the prior art approaches is the fact that they misconceive the scope of the threat, and thus, upon detecting a threat, provide a response that can only be annoying to the computer's proper operator who must sometimes open the computer. Absent physical securing, there is really no effective mechanism for protecting the computer's data in the most common systems. Once the cabinet has been opened, the disk drive can be removed or connected to a different computer to access its contents. At best, the prior art systems may only marginally increase the difficulty with which someone can access the data of the computer while creating great inconvenience to the computer owner who must either remember the protocol for preventing the purging of the computer's configuration data or remember how to re-establish the configuration data after opening. In the present invention, the opening of the cabinet is detected as in the prior art. In response to detecting cabinet opening, however, the computer is not disabled. Instead, computer's operating system and/or a network monitoring system are notified, when the computer is operational. As a result, the problems and annoyance associated with disabling the computer are avoided. Moreover, there is a notification that allows security personnel to be dispatched. This allows the computer operator and the organization to take steps to contain any damage associated with the possible prejudicing of the computer's security. Moreover, this notification, in itself, provides some level of deterrence since the unauthorized user will, if they are aware of the cabinet security detection system, know that there will be detection of their access. The invention in its broad form resides in a system for detecting tampering of a computer, as recited in claim 1. A preferred embodiment described herein features a tamper detection system for a computer chassis. The system includes a "switch" that is responsive to the chassis being opened to expose the electronic hardware and an auxiliary state element that changes state in response to the "switch" even when the computer is off. A reporting program runs on the hardware to poll the state of the auxiliary state element when the computer is operational to provide notification regarding a safe or unsafe condition of the chassis. In specific embodiments, the auxiliary state element is powered by the battery for the real time clock. In other implementations, however, a capacitive element could be used to supply power over shorter intervals. Preferably, the auxiliary state element comprises a single bit memory device that is set by the switch to minimize power consumption. In other aspects of the embodiments, an additional controller functions as an intermediary between the auxiliary state element and an operating system of the computer to detect the state of and reset the auxiliary state element. This component can function as a buffer from the operating system to reset the auxiliary state element only in response to receiving a predetermined code. The above and other features of the invention including various novel details of construction and combinations of parts, and other advantages, will now be more particularly described with reference to the accompanying drawings. It will be understood that a particular method and device embodying the invention are shown herein by way of illustration only and not as a limitation of the invention. The principles and features of this invention may be employed in various other embodiments without departing from the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS In the accompanying drawings, reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale; emphasis has instead been placed upon illustrating the principles of the invention. Of the drawings: Figs. 1A and 1B are diagrams illustrating the opening of a computer's cabinet in both the conventional and tower configurations; Figs. 2A and 2B illustrate the placement of the microswitch that detects the removal of the chassis of the cabinet; Fig. 3 is a block diagram illustrating the cabinet security state detection system and its relationship to the other components of the computer; and Fig. 4 is a block diagram illustrating the software interface between the cabinet security state detection system and the operating system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Figs. 1A and 1B illustrate the opening of the computer cabinet in both conventional and tower configured computers, respectively. A chassis 110, typically constructed from sheet metal, is removed from a frame structure 120. This exposes the inner electronic hardware 130 of the computers. Fig. 2A and 2B show the electronic hardware 130 in the conventional and tower configurations, respectively. The various components include the motherboard 132, hard drive 134, disk drives 135, and daughterboard slots 136. Microswitches 150 in both the conventional and tower configurations detect the opening of the computer's cabinet when the chassis 110 is removed. In the conventional configuration, the microswitch 150 is attached to the part of the inner metal frame that supports the hard drive 134 and disk drives 135. In the tower configuration, the switch 150 is attached to beam 122 that extends from the front of the computer to the back along the computer's top end. Other locations for the microswitch are possible. Preferably, it should be so located that it can not be manually held in a closed position during the opening of the cabinet, but will detect the cabinet opening as soon as the chassis 110 has begun to be removed. Fig. 3 illustrates the general architecture of a computer and one implementation of the cabinet state security system. The more common components of the computer include the microprocessor µP, basic input/output system BIOS, configuration memory CMOS, and real time clock RTC. A power supply 312 powers the microprocessor µP and an auxiliary microcontroller µC. The antitamper circuit ATC comprises an auxiliary state element, which is preferably a D-type flip-flop 310. Its clear terminal CLR is connected to the switch 150. Its input terminal D, set terminal SET, and power terminal VCC are connected to logic high level voltage supplied by battery B, which also powers the configuration memory CMOS and real time clock RTC. Its clock terminal CLK is connected to the auxiliary microcontroller µC, and its output Q is connected to be read by the auxiliary microcontroller µC. The thus connected D-flip-flop 310 is set by the microcontroller µC to output a logic-low output at Q . If ever the microswitch 150 is actuated (opened) by the removal of the chassis 110, the clear terminal CLR is connected to ground. This sets the output Q of the D-flip-flop to a logic high, which is indicative of the opening of the cabinet and its unsafe state. To ensure the detection of the cabinet opening even when the computer is not otherwise operational, the antitamper circuit ATC must be constantly supplied with power. This is provided by operating the auxiliary state element on power supplied by the battery B for the real time clock RTC. As a result, this system will accurately record the opening of the cabinet so long as the battery B has sufficient voltage to power the auxiliary state element. If the system loses power because the battery has insufficient voltage or becomes disconnected from the battery, an unsafe, "opened cabinet condition" will be indicated. The ATC also indicates a condition when the chassis has not been properly reinstalled. The D-flip-flop 310 will not reset while the cover is in an unsafe condition. The antitamper circuit ATC will continue to show an unsafe cabinet condition. This technique may be used to ensure that the chassis is properly attached. Preferably and as described herein, the auxiliary state element 310 is only a single bit D-flip-flop storage element. This feature is important because the element has an extremely low power consumption, on the order of a few microamps. This minimalist approach is preferable to the use of larger, multibit storage elements, which even though could provide more information, <because of larger elements> would nevertheless draw more power. This causes premature aging of the real-time clock battery B. Accordingly described herein, this auxiliary state element is only a single bit to minimize this power consumption and thus, not substantially impact the operating lifetime of the battery. Another advantage associated with the minimalist implementation is its low cost. The incremental costs associated with this feature is the cost of the D-flip-flop 310 and the switch 150, when the microcontroller µC is already present for other tasks. The antitamper circuit ATC is preferably controlled only indirectly by the operating system of the computer's microprocessor µP, with the microcontroller µC serving as the buffer. During the operation of the computer, the microcontroller µC receives power and polls the status of the auxiliary state element 310, especially when the computer is first booted-up. If the auxiliary state element 310 has been cleared by the opening of the cabinet switch 150 when the computer was off, the controller µC detects an unsafe state by a logic high on the chassis safe line. This information can then be transmitted to the operating system of the microprocessor µP either by initiating an interrupt sequence to the microprocessor µP or only passed to the operating system only when the microcontroller µC is polled by the microprocessor µP. In one embodiment, the operating system can reset the auxiliary state element 310 to return to an indication of a safe state of the cabinet 110 only in response to passing a proper, predetermined code to microcontroller µC. This code can be based on a password that the operator enters after being prompted. This feature is important since it prevents an unauthorized user from opening the cabinet, obtaining the desired data from the computer, and then resetting the state element 310 via the operating system to thereby prevent any notification of the unauthorized access to the computer. Fig. 4 is a block diagram illustrating the control structure for a computer. The BIOS operates as the basic input/out system for controlling the hardware. Between the BIOS and operating system, a desktop management interface DMI polls the status of the auxiliary state element 310 via the microcontroller µC and notifies or reports to the computer's operator via the operating system OS or possibly security personnel via a computer network so that proper steps may be taken in the event of the unauthorized opening of the computer cabinet. Upon receiving the proper code from the operating system OS, the microcontroller µC resets the element 310 to indicate the cabinet safe state. In another embodiment, the D-flip-flop 310 is powered by a capacitor that is charged when the computer is operational. Using a reasonably sized capacitor, the D-flip-flop 310 can be powered for up to five hours. This configuration has the advantage that it does not add to the battery drain of the real time clock battery B. It has a disadvantage that regardless of whether the cabinet is opened, an unsafe condition is indicated after several hours when the capacitor is fully discharged. While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the scope of the invention as defined by the appended claims.

Claims: A tamper detection apparatus for a computer including a chassis (110) and electronic hardware (130) contained in the chassis, the tamper detection apparatus being provided to indicate tampering intended to open the chassis, the apparatus comprising: a switch (150) that is responsive to the chassis being opened which would expose the electronic hardware; an auxiliary state element having its own power and which changes state in response to the switch regardless of whether or not the computer is turned on or is operational; a reporting program that runs on the hardware to poll the state of the auxiliary state element and including means to detect the state of the auxiliary state element when the computer is operational subsequent to the tampering, to provide notification regarding an untampered safe or tampered unsafe condition of the chassis; characterised in that the apparatus further includes means for notifying the state of the auxiliary state element to an operating system of the computer and/or to an associated network connection. The tamper detection apparatus described in Claim 1, wherein the computer further includes a real time clock (RTC) and a battery (B) that powers the real time clock, and wherein the auxiliary state element is powered by the battery. The tamper detection apparatus described in Claim 1, further comprising a capacitive element which, in use, is charged for powering the auxiliary state element while the computer is not operational. The tamper detection apparatus described in Claim 1, wherein the auxiliary state element comprises a single bit memory device that is set by the switch (150). The tamper detection apparatus described in Claim 1, wherein the auxiliary state element comprises a flip-flop (310). The tamper detection apparatus described in Claim I, further comprising a controller (µC) that functions as an intermediary between the auxiliary state element and an operating system of the computer to detect the state of and reset the auxiliary state element wherein the controller resets the auxiliary state element only in response to receiving a predetermined code from the operating system. The tamper detection apparatus described in Claim 1, wherein the switch (150) and auxiliary state element are internal to the chassis (110). A method for detecting tampering in a computer, which has a chassis (110), said tampering being sufficient to open the chassis to expose electronic hardware (130), the method comprising: detecting a chassis of the computer being opened to expose the electronic hardware; setting an auxiliary state element in response to detecting chassis opening regardless of whether or not the computer is turned on or is operational; and polling a state of the auxiliary state element when the computer is operational to provide notification regarding an untampered safe or tampered unsafe condition of the chassis; further including the step of notifying the operating system and/or associated network connection of the state of said auxiliary state element. The method described in Claim 8, further comprising powering the auxiliary state element with a battery (B) that also powers the real time clock (RTC). The method described in Claim 8, further comprising powering the auxiliary state element with a capacitive element while the computer is not operational. The method described in Claim 8, further comprising constructing the auxiliary state element from a single bit memory device that is set by a switch (150) connected to the chassis (110). The method described in Claim 8, further comprising constructing the auxiliary state element from a flip-flop (310). The method described in Claim 8, further comprising controlling the auxiliary state element with a controller (µC) that functions as an intermediary between the auxiliary state element and an operating system of the computer, further comprising detecting a state of and resetting the auxiliary state element via the controller. The method described in Claim 13, further comprising resetting the auxiliary state element via the controller (µC) only in response to the controller receiving a predetermined code from the operating system.

Inventors: SCHMIDT THOMAS JOSEPH, SCHMIDT, THOMAS JOSEPH
Applicants: COMPAQ COMPUTER CORP, COMPAQ COMPUTER CORPORATION
Application year: 1998
Main classification: G06F1
IPC codes: G06F21, G06F1