The present invention relates to controlling access for users to portions of mass memories such as hard disks, storage arrays, JBODs (Just a Bunch of Disks), RAID storage or future technologies for mass memories. We also use the word storage to refer to mass memories in this invention.
Current technologies provide protection at the file system level and a malicious program or user can get access as a privileged user and read confidential user data or corrupt user data. It requires hardware support to gain complete protection from malicious programs. Prior art technologies allow either full access or one level of hardware controlled restricted access. This level of hardware support is not sufficient to protect all users. It is possible for privileged users to corrupt data unintentionally by installing a malicious program or by manual error during full access.
We refer to the software, firmware and hardware components that control access to mass memories as storage components. The storage components are file systems, volume managers, storage stack, interface drivers, Host Bus Adapters, disk controllers, etc. File systems create a logical view of data in the form of files and directories. Some systems contain volume managers which present logical disks to its upper layer modules such as file systems. The storage stack provides access to physical disks for file systems, volume managers and users who do read or write directly to disks (raw access). Interface drivers control Host Bus Adapters (HBAs) and provide an interface for the storage stack to issue storage commands and transfer data from and to the storage. On systems that do not have a storage stack, file systems interact directly with interface drivers. The Host Bus Adapters are connected to storage array controllers or disk controllers through an interconnect mechanism such as SCSI, SAS, SATA, FC, IDE, etc. A firmware on a disk controller or the disk controller hardware controls operations on the disk in response to commands received from Host Bus Adapters. A firmware on the storage array controller or the storage array controller hardware controls operations on the array in response to commands received from Host Bus Adapters.
There are different methods for access control such as non-privileged users in UNIX or Windows operating systems who cannot access all parts of mass memories (storage). But a malicious program or user can sometimes exploit security weaknesses in an operating system, to get access as a privileged user. This will allow malicious users to gain access to critical data belonging to other users or corrupt users' data.
There is serious risk to users' data when their laptops are stolen or when someone gains access to a user's computer in the user's absence.
There is serious risk to users' data when a privileged user is malicious.
There are many methods for protecting user memories which do not require manual action for enabling and disabling protection; Such protections can be compromised by malicious programs by emulating the required software behavior.
U.S. Pat. No. 6,330,648 illustrates a method of adding protection against malicious programs using a manually controlled hardware with two states. By default the protection is enabled and has a mechanism to manually switch off the protection. This invention will not be able to provide protection for portions of storage belonging to each user, as is possible using our invention. Another drawback of the invention is that the solution cannot be used with mass memories which are already manufactured.
US Patent application 20060117156 illustrates a method of adding protection for non-volatile memories against malicious programs using a manually controlled hardware with two or more states, but only two states used for protection. One state has protection enabled and other state has protection disabled. This invention will not be able to provide protection for portions of storage belonging to each user, as is possible using our invention.
Disk controllers control operations of the disk or disks connected to them. Disk firmware controls operations of disk controllers. Array controllers controls operations of disk controllers in arrays. Array controller firmware control operations of array controllers.
A computer may have one or more file systems. Some computers do not contain volume managers. Some computers may contain one or more volume managers. Some computers do not contain a storage stack.
Mass memories include hard disk drives, storage arrays, JBODs, RAID storage, etc. It is the object of the present invention to use an authenticating hardware which supports one or more users and supports two or more states for each user to control access to portions of mass memories to which a user has access. We refer to this hardware as Authenticating Disk User Protection Hardware or ADUPHardware. It requires a manual action on the ADUPHardware to change the state of the ADUPHardware corresponding to each user. We refer to the manual action to change the state corresponding to a user on the ADUPHardware as DUPManualAction.
According to the invention, the software, firmware and hardware that implement access restrictions, check the current state of the ADUPHardware and fail each read or write operation which do not meet access restrictions permitted by the current state of the ADUPHardware corresponding to the user on whose behalf the read or write operation is initiated.
Privileged users provide users access to portions of mass memories. The configuration containing access restrictions for each user is written to an area of a mass memory to which only the privileged users have access. This area of the mass memory is protected by the ADUPHardware.
According to the invention, a configuration software allows a user or privileged users to further divide the portions of mass memory or memories to which the user has access and associate each state of the ADUPHardware corresponding to a user with disabling or enabling write or read access to portions of mass memory or memories. Preferably, only a user is allowed to configure access restrictions to portions of mass memory or memories to which that user has been given access by a privileged user or privileged users or the operating system.
The configuration software configures one or more storage components and/or new modules to disable or enable read or write access for a user to portions of a mass memory or memories depending on the state of the ADUPHardware corresponding to a user.
If storage components other than the file systems implement access restrictions, the file systems need to tag a read or write operation with the identifier of the current user of a buffer in the file system buffer cache. Other storage components may not be able identify the user on whose behalf a read or write request is initiated, without this tag. If more than one user is using a buffer in buffer cache in a file system, the accesses by different users need to be serialized so that there is only one user for a buffer at any point of time. Since only one user is associated with a buffer at any time, read or write requests can be tagged with the identifier of that user. The buffer in the buffer cache is written (flushed) to the mass memory (non-volatile storage) if it is dirty (a buffer becomes dirty when a user writes to the buffer), before the buffer is assigned to another user.
If storage components other than the file systems implement access restrictions, the ADUPHardware is not allowed to change the state corresponding to a user until all dirty buffers corresponding to the user are written to mass memory or memories.
The DUPManualAction on an ADUPHardware may be pressing one or more buttons and/or toggling one more switches and/or changing jumper positions etc., on the ADUPHardware.
The DUPManualAction causes the ADUPHardware to authenticate the user who initiated the DUPManualAction.
Preferably, if more than one DUPManualAction is received for the same user before the state corresponding to the user is changed, the ADUPHardware will change state corresponding to the user to the state corresponding to the last authenticated DUPManualAction made by the user. Optionally, if more than one DUPManualAction is received for the same user before the state corresponding to the user is changed, the ADUPHardware will change the state corresponding to the user to the state corresponding to the first authenticated DUPManualAction made by the user after the last state change for the user. Some implementations may even change the state to one of the states corresponding to an authenticated DUPManualAction between the first manual action after the last state change and the last manual action depending on some other criteria.
The DUPManualAction on an ADUPHardware may be pressing one or more buttons and/or toggling the position of one or more switches and/or turning a wheel and/or changing one or more jumper positions and/or any other DUPManualAction supported by the ADUPHardware.
The ADUPHardware may use registers or memory locations readable by the computer to communicate the identifier of the user who initiated DUPManualAction and the current state of ADUPHardware corresponding to a user. A computer should not be allowed to write into these registers or memory locations. This improves security as a malicious software will not be able to manipulate the state of the hardware corresponding to each user.
An ADUPHardware may control one or more mass memories. There could be one or more ADUPHardwares on a computer, each controlling states corresponding to a mutually exclusive set of users. Some implementations may use more than one ADUPHardware on the same computer, each controlling states corresponding to sets of users which are not mutually exclusive, but we do not recommend such implementations.
There could be different behaviors for the ADUPHardware while accepting passwords. If password entered by a user is invalid, the ADUPHardware could again prompt the user for password and accept a new password from the user until a valid password is received or until the maximum number of password retries is reached or if the user cancels the request to reenter the password. The ADUPHardware that supports retries, will ignore (discard) DUPManualAction only if a valid password is not received even after maximum number of password retries or if the user cancels the password retry. The ADUPHardware may also prompt for a user name in addition to the password. The ADUPHardware may also prompt for a password before the state entered by the user is validated. The method used by an ADUPHardware for authenticating a user using a password is implementation specific.
The ADUPHardware may use other options for validating a user such as finger print validation, retina validation, other current and future technologies for user authentication. The ADUPHardware may also use a combination of two or more of password validation, finger print validation, retina validation, etc., for validating the user. The method used by a ADUPHardware for authenticating a user is implementation specific.
If there are more than one file systems on a computer, the ADUPHardware device driver must send messages containing the identifier of the user to all the file systems on the computer. The ADUPHardware device driver will command ADUPHardware to change the state corresponding to a user only after all the file systems flush dirty buffers assigned to the user and resets the user identifier in all the buffers that were assigned to the user.
The ADUPHardware device driver may use one message for each user to request a file system to flush buffers corresponding to the user.
An ADUPHardware device driver may control one or more ADUPHardware. There could be one or more ADUPHardware device drivers running on a computer each controlling a mutually exclusive set of ADUPHardware.
There could be one or more storage components or new modules that implement access control according to the invention on a computer. We refer to the modules that implement access control according to the invention as DUPImplementers. When an upper layer module sends a new read or write request to the a DUPImplementer, the DUPImplementer will get the current ADUPHardware state corresponding to the user on whose behalf the read or write request was created. The DUPImplementer is configured with information on portions of mass memories and type of access (read or write) allowed or denied for each portion of mass memory, for each combination of user and state. The DUPImplementer checks the portions of mass memory or mass memories accessed by the read or write request against the configuration. If a read or write requests violates the access restrictions, the read or write request is not allowed to proceed and is returned with error. If no configuration is present for a portion of mass memory, DUPImplementers are configured either to allow or to block the read or write request that access such a portion.
A user is allowed access to portions of a mass memory or memories by privileged users. The portions of mass memories to which each user has access is not mutually exclusive. The portions of mass memories to which a user has access and the type of access is written to a portion of the mass memory to which only privileged users has access. The area of the mass memory where this configuration is stored is protected by the ADUPHardware.
A configuration software allows each user to further divide these portions of mass memory or mass memories to which the user has access. The configuration software further allows a user to enable or disable read or write access to each of these divided portions and associate the access restrictions to a state of the ADUPHardware corresponding to the user. Preferably, the access restrictions associated with each state is independent of access restrictions associated with other states of the ADUPHardware corresponding to the same user. Optionally, access restrictions are such that there are dependencies between access restrictions corresponding to some or all of the states corresponding to a user.
Preferably, the configuration corresponding to a user is written to a predefined area of the mass memory or mass memories, selected on the basis of the user identifier and write to this area is enabled for the user only on one or more states of ADUPHardware corresponding to the user. Preferably, no other user, including privileged users has write or read access to this area of the mass memory or mass memories.
The protection provided by ADUPHardware need not be limited to mass memories alone. Other modules that implement access protections could check the current state of the ADUPHardware corresponding to a user and implement access restrictions based on the current state and configuration associated with that state for the modules.
Since ADUPHardware or part of ADUPHardware can be enclosed in the same mass memory that is being protected, there is less risk to data even if the laptop of a user is stolen.
The authentication is done by ADUPHardware and a malicious software will not be able to manipulate the authentication process.
Number | Name | Date | Kind |
---|---|---|---|
5657445 | Pearce | Aug 1997 | A |
6330648 | Wambach et al. | Dec 2001 | B1 |
6643757 | Fontijn | Nov 2003 | B2 |
7107460 | Cromer et al. | Sep 2006 | B2 |
20020078295 | Shaath et al. | Jun 2002 | A1 |
20060117156 | Chai et al. | Jun 2006 | A1 |
20070055837 | Rajagopal et al. | Mar 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080059742 A1 | Mar 2008 | US |