The present invention relates generally to the field of computer systems and, more particularly, to a computer security system and method.
A cryptographic device (e.g., a security or trusted platform module) is a device used to store, process, encrypt/decrypt, and/or manage access rights to secure information and/or otherwise provide secure data functions. However, in a networked, public or shared computer environment, each user and/or application may desire different cryptographic device settings. Changing or resetting particular settings for a cryptographic device requires a computer re-boot operation or that a new user or application session be established. For example, if one user desires to disable a cryptographic device or a particular setting for a cryptographic device, another user must generally re-boot the computer system or initiate a new user session to enable the previously disabled cryptographic device or setting, thereby resulting in repeated re-boot or resetting operations for modifying cryptographic device settings or maintaining different cryptographic device settings for different users or applications.
In accordance with one embodiment of the present invention, a computer security system comprises a cryptographic device and a device controller. The device controller is a physical cryptographic device and a device controller. The device controller is adapted to generate a virtual cryptographic device from the physical cryptographic device to enable logical use of the physical cryptographic device via the virtual cryptographic device.
In accordance with another embodiment of the present invention, a computer security method comprises receiving a request to access a physical cryptographic device and automatically creating a virtual cryptographic device to enable logical use of the physical cryptographic device via the virtual cryptographic device.
For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following descriptions taken in connection with the accompanying drawings in which:
The preferred embodiments of the present invention and the advantages thereof are best understood by referring to
In the embodiment illustrated in
Device controller 18 may comprise software, hardware, or a combination of hardware and software. In operation, device controller 18 communicates with cryptographic device 12 and generates “n” virtual cryptographic devices 30 for “n” quantity of users 20. Each virtual device 30 represents a logical view of cryptographic device 12 maintained through memory subsystem 16 by device controller 18. In operation, device controller 18 maps attributes of cryptographic device 12 to each virtual device 30 such that a logical state of cryptographic device 12 for each user 20 is available for each user 20 via a corresponding virtual device 30.
In the embodiment illustrated in
In operation, filter device driver 42 intercepts and/or otherwise receives I/O requests intended for cryptographic device 12 via function device driver 44. Filter device driver 42 identifies a particular user 20 associated with the I/O request (e.g., identification of user session identification (ID)). If the I/O request is associated with a “new” user 20 accessing system 10, filter device driver 42 generates or otherwise creates virtual device 30 for the new user 20. Filter device driver 42 re-directs the I/O request to the corresponding virtual device 30 associated with the user 20. To create a new virtual device 30 for a new user 20, function device driver 44 communicates with cryptographic device 12 via bus device driver 46 and maps settings associated with cryptographic device 12 to a new virtual device 30 for the new user 20. The virtual device 30 is coupled to filter device driver 42 via function device driver 44 such that the I/O request is directed to the corresponding virtual device 30 created for the particular user 20.
In some embodiments, device controller 18 is also configured to store in memory subsystem 16 settings of virtual devices 30 associated with each user 20 such that upon initiation of a new session on system 10 by a particular user 20, device controller 18 accesses memory subsystem 16 and retrieves settings for a particular virtual device 30 associated with the particular user 20. Thus, in some embodiments, device controller 18 is configured to control a duration of settings applied to or otherwise associated with virtual devices 30. For example, in some embodiments, device controller 18 is configured to maintain a duration of settings for virtual devices 30 to extend to future sessions by accessing memory subsystem 16 and retrieving and/or applying the stored settings to particular virtual devices 30. In other embodiments, device controller 18 is configured to maintain a duration of settings for virtual devices 30 for only a current session. I/O requests received from user 20 are directed by filter device driver 42 to the corresponding virtual device 30 associated with the user 20.
Thus, device controller 18 provides a logical view of cryptographic device 12 capabilities via a corresponding virtual device 30 for each user 20. For example, one such cryptographic device 12 attribute or setting is an “on/of” state of cryptographic device 12. Device controller 18 maintains a physical “on/of” state of cryptographic device 12 and presents a logical view of the physical “on/of” state for each virtual device 30. For virtual devices 30 that are maintained as being in an “on” state, device controller 18 enables operations associated with or provided by cryptographic device 12 via each virtual device 30. Thus, commands that affect logical states of cryptographic device 12 are maintained by device controller 18. For a request to maintain an “of” physical setting of cryptographic device 12, device controller 18 changes the logical state of a corresponding virtual device 30 to an “of” setting independent of states of other virtual devices 30. Thus, for a particular user 20 maintaining an associated virtual device 30 in an “off” state, the particular user 20 is presented with a series of attributes consistent with cryptographic device 12 being in an “of” state. However, each other user 20 will maintain independent settings via virtual devices 30 corresponding to each of the other users 20. Thus, commands for cryptographic processing from a particular user 20 having virtual device 30 setting in an “of” state are processed by device controller 18 as if cryptographic device 12 was in an “of” state (e.g., commands are processed as if device 12 is in an “of” state even though the state of device 12 is “on”). Additionally, policies for controlling available settings of cryptographic device 12 via corresponding virtual devices 30 may be implemented and/or enforced via filter device driver 42, function device driver 44, and/or another software and/or hardware component such that logical states available via virtual device(s) 30 are maintained independently for each virtual device 30.
At block 114, device controller 18 re-directs the I/O request to the corresponding virtual device 30 associated with the requesting user 20. At decisional block 116, a determination is made whether the user 20 desires a change to cryptographic device 12 settings. If the user 20 desires a change to cryptographic device 12 settings, the method proceeds to block 118, where device controller 18 receives the cryptographic device 12 setting change request. At block 120, device controller 18 identifies the user 20 requesting the cryptographic device 12 setting change.
At block 122, device controller 18 identifies the virtual device 30 associated with the requesting user 20. At block 124, device controller 18 applies the requested setting change to virtual device 30 associated with the requesting user 20. At block 126, device controller 18 stores the virtual device 30 settings for the requesting user 20 in memory subsystem 16. At decisional block 116, if a change to cryptographic device 12 settings is not desired, the method proceeds from decisional block 116 to block 126, where device controller 18 stores virtual device 30 settings for the user 20.
Embodiments of the present invention enable settings associated with cryptographic device 12 to be logically enabled and/or disabled independently for each user 20 by providing a logical representation or view of cryptographic device 12 for each user 20 via corresponding virtual devices 30. Thus, in shared or multi-user computer environments, each user 20 may enable and/or disable particular cryptographic device 12 settings independently of other users 20. Further, embodiments of the present invention enable a change to a cryptographic device setting via virtual device 30, thereby alleviating a system re-boot operation for new user session initiation.
Embodiments of the present invention may be implemented in software and can be adapted to run on different platforms and operating systems. In particular, functions implemented by system 10, such as functions implemented or otherwise performed by device controller 18, may be provided as an ordered listing of executable instructions that can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device, and execute the instructions. In the context of this document, a “computer-readable medium” can be any means that can contain, store, communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semi-conductor system, apparatus, device, or propagation medium.
It should also be understood that in other embodiments of the method described in