The present invention relates generally to methods of securing mass-storage devices and more particularly to securing such devices by means of public and private cryptographic systems.
Cryptographic digests, public and symmetric key cryptography, and digital certificates are used extensively to encrypt and secure mass-storage devices, as well as to secure the communication links between the protection module, the device permission store and the authorization agent. A number of algorithms (SHA-1 for digests and certificates, RSA public key cryptography for certificates and secure communications, AES for secure communications) are in public domain and are employed by the system.
Encryption and access control are applied at the file or directory level in the prior art. The shortcomings are:
Certain prior art mass-storage devices have built-in identification or cryptographic functions. The shortcomings are:
Some prior art systems employ rudimentary device-level access control only when a protection module is present, and the “protected” devices are not protected at all without a protection module. Other systems employ obfuscation techniques to protect devices when a protection module is not present. Such techniques are not really secure. Finally, some systems employ cryptographic protection, but either use one encryption key, which compromises the entire system if one device is compromised, or use per-device encryption keys in an insecure way. Some systems only identify mass-storage devices; this identification is either weak (not linked to the data actually stored on the device) or is too expensive (such as a cryptographic digest of an entire or partial set of data).
The invention adds a layer of security to contemporary mass-storage devices (disks, removable drives) and extends the security framework of the contemporary computer operating systems. It is particularly significant for removable (portable) mass-storage devices of moderate capacity (tens or hundreds of megabytes). It relies on the operating system to provide system services for block-level (“raw”) access to mass-storage devices.
One embodiment of the present invention is a method of securing data on a mass storage device. The method includes the steps of (i) obtaining permission for a specified access by a current user to a mass storage device, where the mass storage device has one or more blocks of data of a known size stored thereon, and each block of data is encrypted with a symmetric cipher that preserves the size of the block, (ii) if permission is obtained, obtaining the encrypted key of the symmetric cipher used for encrypting the blocks on the mass storage device, (iii) obtaining the private key or pass phrase for decrypting the encrypted key of the symmetric cipher, (iv) decrypting the encrypted key using the private key or pass phrase to obtain the key for the symmetric cipher, and (v) performing a block operation on the mass storage device with the symmetric cipher.
Another embodiment of the present invention is a system for securing data on a mass storage device. The system includes a centralized device permission store, an authorization agent, a helper module, and a protection module. The centralized device permission store is configured to store device identifiers of mass storage devices and publicly encrypted keys of a symmetric cipher associated with devices identified by the identifiers, and a list of users authorized to use a device identified by an identifier. The authorization agent is in operative communication with the centralized device permission store, and is configured to initialize new mass storage devices and register them with the device permission store, to generate device identifiers and publicly encrypted keys of a symmetric cipher, and to view and modify lists of users authorized to use protected devices. The helper module is configured to obtain a private key of an authorized user, where the private key is used in decrypting the publicly encrypted key of a symmetric cipher, and to obtain a user pass phrase for use in decrypting an imported encrypted key of a symmetric cipher, and to import an encrypted key of a symmetric cipher, if it is supplied as a file. The protection module is in operative communication with the centralized device permission store and the helper module, and is configured intercept a block to be written to a mass storage device to encrypt the block using a symmetric cipher and to intercept a block read from the mass storage device to decrypt the block using a symmetric cipher, where the symmetric cipher preserves the size of data blocks on the mass storage device.
No system is known to have all of the following properties:
The present invention works with every file system, and even without file systems (in the “raw” mode), and with every mass-storage device. The present invention is platform independent. Encryption cannot be disabled except by reinitializing the device. Also, in the present invention, encryption keys are not stored with the data and not communicated to users, except in certain optional import/export scenarios when the latter are allowed by system policies. The present invention is limited in performance only by the processing power of the CPUs or specialized cryptographic hardware and is very flexible.
The objects of invention include but are not limited to:
These and other features, aspects and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings where:
Referring to
The centralized device permission store 12 stores device identifiers together with their symmetric encryption keys, as well as a list of users authorized to use a device 20. The device permission store 12 communicates with a device authorization agent 14, which generates device identifiers and encryption keys, as well as authorizes users to use devices. It also communicates with a protection module 16 (by sending it device protection information).
Alternatively, certain users, if allowed by system administrators, may be allowed to import encryption keys provided by third parties. When such a user possesses an encrypted storage device whose device id is not registered in the centralized device permissions store 12 (such a device can be given to the user by another organization, as a means of secure data exchange), the user may instruct the protection module 16 to load a specified encryption key (which is protected with a pass phrase). This encryption key is only used for the duration of the data access; it is not kept persistently by the protection module 16 and is not forwarded to the centralized device permission store 12. The encryption key can be communicated to such a user as a separate file or it may be stored in the bootstrap block of the device. In both cases, it may be encrypted with a pass phrase communicated to the users via a secure medium. Additionally, administrators may import keys to the centralized device permissions store.
A complementary function of exporting an encryption key may also be available to select users and system administrators. Encryption keys may be exported either by means of a separate file or via a bootstrap block of a device, if allowed by system policy. Administrators may export keys from the centralized device permission store, without physical possession of a device. A user must always have a device to export (if allowed). In all cases, a system policy defines the particular keys (i.e., particular devices) that can be exported, who is permitted to do the exporting, the particular form (to a file or the device itself), and the pass phrase strength.
The authorization agent 14 is a set of instruments that the system administrators use to view and modify the lists of users authorized to use protected devices 20, as well as initialize new devices and register them with the device permission store 12. The authorization agent is also responsible for the import and export of encryption keys (admin-level) and for managing import and export permissions.
The protection module 16 is a highly privileged module installed at the computers being protected, which intercepts the services that the operating system provides for block-level access to mass-storage devices.
The helper module 18 supplies the private key to the protection module. The helper module 18 is also responsible for the import and export of encryption keys (user-level, if configured).
Device identification information is stored in the area reserved for the bootstrap loader code in a protected partition. Most removable devices contain only one partition, thus the partition may be identified with the device. Since most removable devices cannot be used as boot devices (because they require extended OS support), no functionality is lost. A protected device that must be bootable must contain a special boot partition. The device identification information contains a unique identifier and auxiliary data that describe the type of the encryption applied to the device, as well as other options. The device id data structure includes the following fields, (i) a “magic” signature to facilitate quick rejection of un-encrypted media, (ii) a version number for the data structure, (iii) an options field (one option is the presence of an encrypted symmetric key (for import), (iv) the type of cipher used to encrypt data (for example AES), (v) length of the data block, (vi) length of the encryption key, (vii) device ID, (viii) symmetric key encrypted with pass phrase (if present, see options), and (ix) SHA-1 digest of the symmetric key (if present, see options).
Each block (except the bootstrap block) of the device is encrypted with a symmetric cipher, which is a cipher that uses the same key to encrypt and decrypt a block, in this case. The cipher is not stored on the device in any form, encrypted or not, except in certain optional import/export scenarios when the latter are allowed by system policies. The cipher used preserves the block size, so the effective device capacity is preserved. While in principle any block cipher can be used, ciphers in accordance with the Advanced Encryption Standard (AES) are acceptable ciphers for use in the invention.
A highly-privileged protection module is installed at the computers participating in the protection scheme. The flow chart of
In more detail, and referring to
a. When a device is detected in the system, the bootstrap block is read, in step 120. If it does not contain valid device identification information as determined in steps 122 and 124 of
b. Otherwise, the protection module contacts a designated device permission store (or a local cache if the former is not available) and retrieves protection information by the device identifier, in step 126. The device protection information includes a series of device access permissions for each user authorized to access the device, which is checked in steps 128 and 130; for each such user it includes the symmetric cipher key of the device encrypted with a public key (or keys) of the user.
c. The protection module denies access to the device until the symmetric key is decrypted with a private key of a user specified in the protection information or until a user, allowed to import encryption keys, communicates the symmetric key. The encrypted key for the symmetric cipher is obtained, in step 152, from the centralized permission store. The private key is retrieved by a helper module running in the context of the user, in step 162, and is communicated to the protection module which decrypts, in step 172, the symmetric key (this step is not necessary if the protection module may retrieve the private keys directly, which is not always possible). In the case of importing a symmetric key, if the symmetric key is stored in a file, it may be communicated via the helper module in step 156. If the imported symmetric key is stored in a bootstrap block, the helper module requests that the protection module read the key from the bootstrap block, in step 154. In both cases, the user needs to supply to the helper module, in step 164, the pass phrase that protects the symmetric key. The helper module then forwards the pass phrase to the protection module, which then decrypts the symmetric key, in step 174, and uses it for data encryption.
In the case of exporting a key as determined in step 192, the user may request the helper module, in step 194, of
d. The protection module denies access to the device to any user not specified in the protection information; for the users specified in the protection information, it restricts access to the level specified in the protection information. If the user imports a symmetric key, the device id is unknown preventing the user from using this device. In this case, special “third party media” permissions are consulted by the protection module to determine whether the user may read or write the device.
e. If write access is attempted and allowed as determined in step 180, the protection module encrypts the block being written with the symmetric key of the device, in step 182 and forwards the encrypted block to the original system-supplied block-write service, in step 184.
f. If read access is attempted and allowed, as determined in step 180, the protection module requests the original system-supplied block-read service to read the block originally requested by the user, in step 186, and then decrypts the block with the symmetric key of the device, in step 188.
Management of user private-public key pairs is beyond the scope of the invention. The invention, however, relies on the system-supplied service to enumerate the public key of the users of an organization in order to authorize certain users to access a device; it also relies on the system-supplied service to retrieve the private keys of a user by a helper module (in the security context of the user).
The symmetric encryption keys of the protected devices are stored at a highly secure location. They are never communicated in clear text.
Although the present invention has been described in considerable detail with reference to certain preferred versions thereof, other versions are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the preferred versions contained herein.
This application is related to U.S. Provisional Application, Ser. No. 60/562,983, filed Apr. 19, 2004, and titled “A GENERIC FRAMEWORK FOR RUNTIME INTERCEPTION AND EXECUTION CONTROL OF INTERPRETED LANGUAGES”, which application incorporated by reference into the instant application. This application is related to U.S. Provisional Application Ser. No. 60/562,982, filed Apr. 19, 2004, and titled “ONLINE CENTRALIZED AND LOCAL AUTHORIZATION OF EXECUTABLE FILES”, which application is incorporated by reference into the instant application. This application is related to and claims priority to U.S. Provisional Application Ser. No. 60/564,579, filed Apr. 23, 2004, titled “TRANSPARENT ENCRYPTION AND ACCESS CONTROL FOR MASS STORAGE DEVICES”, which application is incorporated by reference into the instant application.
| Number | Name | Date | Kind |
|---|---|---|---|
| 5794049 | Lindholm | Aug 1998 | A |
| 5826088 | Sitbon et al. | Oct 1998 | A |
| 5854930 | McLain et al. | Dec 1998 | A |
| 5923878 | Marsland | Jul 1999 | A |
| 5953422 | Angelo et al. | Sep 1999 | A |
| 6038394 | Layes et al. | Mar 2000 | A |
| 6094528 | Jordan | Jul 2000 | A |
| 6141793 | Bryant et al. | Oct 2000 | A |
| 6367012 | Atkinson et al. | Apr 2002 | B1 |
| 6473893 | Kay et al. | Oct 2002 | B1 |
| 6633871 | Jeyachandran et al. | Oct 2003 | B1 |
| 6721941 | Morshed et al. | Apr 2004 | B1 |
| 6766454 | Riggins | Jul 2004 | B1 |
| 6996814 | Bak | Feb 2006 | B2 |
| 20010051930 | Nakamura | Dec 2001 | A1 |
| 20020026427 | Kon et al. | Feb 2002 | A1 |
| 20020029176 | Carlson et al. | Mar 2002 | A1 |
| 20020091186 | Auerbach | Jul 2002 | A1 |
| 20020099952 | Lambert et al. | Jul 2002 | A1 |
| 20020178370 | Gurevich et al. | Nov 2002 | A1 |
| 20020194209 | Bolosky et al. | Dec 2002 | A1 |
| 20030070083 | Nessler | Apr 2003 | A1 |
| 20030074564 | Peterson | Apr 2003 | A1 |
| 20030084307 | Schwartz | May 2003 | A1 |
| 20030204842 | Chenelle et al. | Oct 2003 | A1 |
| 20040146164 | Jonas et al. | Jul 2004 | A1 |
| 20050091491 | Lee et al. | Apr 2005 | A1 |
| 20050125684 | Schmidt | Jun 2005 | A1 |
| Number | Date | Country |
|---|---|---|
| WO9850843 | Nov 1998 | WO |
| WO0198876 | Dec 2001 | WO |
| WO2005099342 | Oct 2005 | WO |
| Number | Date | Country | |
|---|---|---|---|
| 20050246778 A1 | Nov 2005 | US |
| Number | Date | Country | |
|---|---|---|---|
| 60564579 | Apr 2004 | US |