US20140115698A1 - Method for Versatile Content Control with Partitioning - Google Patents
Method for Versatile Content Control with Partitioning Download PDFInfo
- Publication number
- US20140115698A1 US20140115698A1 US14/067,574 US201314067574A US2014115698A1 US 20140115698 A1 US20140115698 A1 US 20140115698A1 US 201314067574 A US201314067574 A US 201314067574A US 2014115698 A1 US2014115698 A1 US 2014115698A1
- Authority
- US
- United States
- Prior art keywords
- storage device
- access
- key
- partition
- acr
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims description 85
- 238000000638 solvent extraction Methods 0.000 title description 3
- 238000005192 partition Methods 0.000 claims abstract description 153
- 230000015654 memory Effects 0.000 claims abstract description 104
- 238000003860 storage Methods 0.000 claims description 92
- 238000004891 communication Methods 0.000 claims description 8
- 230000007246 mechanism Effects 0.000 abstract description 5
- 230000010267 cellular communication Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 38
- 101150116940 AGPS gene Proteins 0.000 description 29
- 230000004044 response Effects 0.000 description 19
- 239000010432 diamond Substances 0.000 description 14
- 229910003460 diamond Inorganic materials 0.000 description 13
- 238000007726 management method Methods 0.000 description 11
- 230000009471 action Effects 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 101000619805 Homo sapiens Peroxiredoxin-5, mitochondrial Proteins 0.000 description 4
- 102100022078 Peroxiredoxin-5, mitochondrial Human genes 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 4
- 230000001413 cellular effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000003999 initiator Substances 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 101100161875 Arabidopsis thaliana ACR2 gene Proteins 0.000 description 1
- 101100495264 Arabidopsis thaliana CDC25 gene Proteins 0.000 description 1
- 101000952227 Drosophila melanogaster Sphingolipid delta(4)-desaturase DES1 Proteins 0.000 description 1
- 101100380266 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) ARR2 gene Proteins 0.000 description 1
- 102100037416 Sphingolipid delta(4)-desaturase DES1 Human genes 0.000 description 1
- 101150004068 acrB gene Proteins 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000005465 channeling Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000003752 polymerase chain reaction Methods 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2145—Inheriting rights or properties, e.g., propagation of permissions or restrictions within a hierarchy
Definitions
- This invention relates in general to memory systems, and in particular to a memory system with versatile content control features.
- the computing device market is developing in the direction of including content storage on mobile storage devices so as to increase the average revenue by generating more data exchanges. This means that the content in a mobile storage medium has to be protected when used on a computing device.
- Content includes valuable data, which may be data owned by a party other than the one that manufactures or sells the storage device.
- the protection of content in a mobile storage medium can involve the encryption of data in the medium so that only authorized users or applications have access to keys used for encrypting data stored in the medium.
- the key used for encrypting and decrypting data is stored in devices external to the mobile storage medium. In such circumstances, the company or individual who owns proprietary interest in the content may not have much control over the usage of the content in the medium. Since the key used for encrypting data in the medium exists external to the medium, this key may be passed from one device to another in a manner not subject to control by the content proprietor. The owner of proprietor interest will be in the better position to control access to the content in the medium if the encryption-decryption key is stored in the medium itself and substantially inaccessible to external devices, according to one of the features of the invention.
- this feature provides portability to secured content.
- the storage device containing secured content ciphered with such a key can be used for access by a variety of host devices without the danger of security breach, since the device has exclusive control of access to the key. Only those host devices with the proper credentials are able to access the key.
- Another feature of the invention is based on the recognition that an access policy may be stored which grants different permissions (e.g. to different authorized entities) for accessing data stored in the medium.
- a system incorporating a combination of the two above features is particularly advantageous.
- the content owner or proprietor has the ability to control access to the content by using keys that are substantially inaccessible to external devices and at the same time has the ability to grant different permissions for accessing content in the medium. Thus, even where external devices gain access, their access may still be subject to the different permissions set by the content owner or proprietor recorded in the storage medium.
- Yet another feature is based on the recognition that when the above-described policy, where different permissions are granted to different authorized entities, is implemented in a flash memory, this results in a particularly useful medium for content protection.
- the host device provides a key reference or ID, while the memory system generates a key value in response which is associated with the key ID, where the key value is used in cryptographic processing data in a file associated with the key ID.
- the host associates the key ID with the file to be processed cryptographically by the memory system.
- the key ID is used by the computing device and memory as the handle through which the memory retains complete and exclusive control over the generation and use of the key value for cryptographic processes, while the host retains control of files.
- the card controller manages the file system.
- the device controller In many other types of mobile storage devices, such as flash memories, magnetic or optical discs, the device controller is not aware of the file system; instead, the device controller relies on a host device (e.g. a personal computer, digital camera, MP3 player, personal digital assistants, cellular phones) to manage the file system.
- a host device e.g. a personal computer, digital camera, MP3 player, personal digital assistants, cellular phones
- the various aspects of this invention may be readily incorporated into such types of storage devices where the device controller is not aware of the file system. This means that the various features of this invention may be practiced on a wide variety of existing mobile storage devices without requiring a re-design of such devices to make the device controller in such devices become aware of and able to manage the file system.
- a tree structure stored in the storage medium provides control over what an entity can do even after gaining access.
- Each of the nodes of the tree specifies permissions by an entity who has gained entry through such node of the tree.
- Some trees have different levels, where the permission or permissions at a node of the tree has a predetermined relationship to permission or permissions at another node at a higher or lower or the same level in the same tree.
- Another feature of the invention is based on the recognition that two or more trees which are preferably hierarchical may be provided for controlling access to the memory.
- Each tree comprises nodes at different levels for controlling access to data by a corresponding set of entities where a node of each tree specifies permission or permissions of the corresponding entity or entities for accessing memory data.
- the permission or permissions at a node of each of the trees has a predetermined relationship to permission or permissions at another node at a higher or lower level in the same tree.
- the mobile storage device may be provided with a system agent that is able to create at least one hierarchical tree comprising nodes at different levels for controlling access to data stored in the memory by corresponding entities.
- Each node of the tree specifies permission or permissions of a corresponding entity or entities for accessing memory data.
- the permission or permissions at the node of each of the trees has a predetermined relationship to permission or permissions at nodes at a higher or lower or the same level in the same tree.
- the mobile storage devices may be issued without any trees already created so that the purchaser of the devices has a free hand in creating hierarchical trees adapted to the applications the purchaser has in mind.
- the mobile storage devices may also be issued with the trees already created so that a purchaser does not have to go through the trouble of creating the trees.
- certain functionalities of the trees can become fixed after the devices are made so that they cannot be further changed or altered. This provides greater control over access to the content in the device by the content owner.
- the system agent can preferably be disabled so that no additional trees can be created.
- Another aspect of the invention is based on the recognition that a mechanism or structure may be provided to divide a memory into partitions and so that at least some data in the partitions can be encrypted with a key, so that in addition to authentication that is required for accessing some of the partitions, access to one or more keys may be required to decrypt the encrypted data in such partitions.
- all of the content that the user wishes to access in this manner may be associated with a first account, so that all such content can be accessed via different applications (e.g. music player, email, cellular communication etc.) without having to log in multiple times.
- a different set of authentication information may then be used for logging in to access protected content that is in an account different from the first account, even where the different accounts are for the same user or entity.
- FIG. 1 is a block diagram of a memory system in communication with the host device useful for illustrating this invention.
- FIG. 2 is a schematic view of different partitions of a memory and of unencrypted and encrypted files stored in different partitions where access to certain partitions and the encrypted files is controlled by access policies and authentication procedures to illustrate an embodiment of the invention.
- FIG. 3 is a schematic view of a memory illustrating the different partitions in the memory.
- FIG. 4 is a schematic view of file location tables for the different partitions of the memory shown in FIG. 3 where some of the files in the partitions are encrypted to illustrate an embodiment of the invention.
- FIG. 5 is a schematic view of access control records in an access controlled record group and the associated key references to illustrate an embodiment of the invention.
- FIG. 6 is a schematic view of tree structures formed by access controlled records groups and access controlled records to illustrate an embodiment of the invention.
- FIG. 7 is a schematic diagram of a tree illustrating three hierarchical trees of access controlled record groups to illustrate a process of formation of the trees.
- FIGS. 8A and 8B are flow charts illustrating the processes carried out by a host device and a memory device such as a memory card for creating and using a system access control record.
- FIG. 9 is a flow chart illustrating a process using a system access control record to create an access controlled record group to illustrate the invention.
- FIG. 10 is a flow chart illustrating a process for creating an access control record.
- FIG. 11 is a schematic view of two access control record groups useful for illustrating a particular application of the hierarchical tree.
- FIG. 12 is a flow chart illustrating a process for delegation of specific rights.
- FIG. 13 is a schematic view of an access controlled record group and an access control record to illustrate the process of delegation of FIG. 12 .
- FIG. 14 is a flowchart illustrating the process for creating a key for the purpose of encryption and/or decryption.
- FIG. 15 is a flow chart illustrating a process for removing access rights and/or permission for data access according to an accessed controlled record.
- FIG. 16 is a flow chart illustrating a process for requesting access when access right and/or permission to access has been deleted or has expired.
- FIGS. 17A and 17B are schematic views illustrating an organization of a rule structure for authentication and policies for granting access to cryptographic keys to illustrate another embodiment of the invention.
- FIG. 18 is a flow diagram illustrating sessions of authentication and access when some sessions are open.
- FIG. 19-22 are flow charts illustrating different authentication processes.
- the memory system 10 includes a central processing unit (CPU) 12 , a buffer management unit (BMU) 14 , a host interface module (HIM) 16 and a flash interface module (FIM) 18 , a flash memory 20 and a peripheral access module (PAM) 22 .
- Memory system 10 communicates with a host device 24 through a host interface bus 26 and port 26 a .
- the flash memory 20 which may be of the NAND type, provides data storage for the host device 24 .
- the software code for CPU 12 may also be stored in flash memory 20 .
- FIM 18 connects to the flash memory 20 through a flash interface bus 28 and port 28 a .
- HIM 16 is suitable for connection to a host system like a digital camera, personal computer, personal digital assistants (PDA), digital media players, MP-3 players, cellular telephones or other digital devices.
- the peripheral access module 22 selects the appropriate controller module such as FIM, HIM and BMU for communication with the CPU 12 .
- all of the components of system 10 within the dotted line box may be enclosed in a single unit such as in memory card or stick 10 ′ and preferably encapsulated.
- flash memories While the invention is illustrated herein by reference to flash memories, the invention may also be applicable to other types of memories, such as magnetic disks, optical CDs, as well as all other types of rewrite-able non volatile memory systems.
- the buffer management unit 14 includes a host direct memory access (HDMA) 32 , a flash direct memory access (FDMA) 34 , an arbiter 36 , a buffer random access memory (BRAM) 38 and a crypto-engine 40 .
- the arbiter 36 is a shared bus arbiter so that only one master or initiator (which can be HDMA 32 , FDMA 34 or CPU 12 ) can be active at any time and the slave or target is BRAM 38 .
- the arbiter is responsible for channeling the appropriate initiator request to the BRAM 38 .
- the HDMA 32 and FDMA 34 are responsible for data transported between the HIM 16 , FIM 18 and BRAM 38 or the CPU random access memory (CPU RAM) 12 a .
- the operation of the HDMA 32 and of the FDMA 34 are conventional and need not be described in detail herein.
- the BRAM 38 is used to store data passed between the host device 24 and flash memory 20 .
- the HDMA 32 and FDMA 34 are responsible for transferring the data between HIM 16 /FIM 18 and BRAM 38 or the CPU RAM 12 a and for indicating sector completion.
- memory system 10 For improved security of the content stored in memory 20 , memory system 10 generates the key value(s) that are used for encryption and/or decryption, where this value(s) is substantially not accessible to external devices such as host device 24 .
- encryption and decryption is typically done file by file, since the host device reads and writes data to memory system 10 in the form of files.
- memory device 10 is not aware of files or file systems. While memory 20 does store a file allocation table (FAT) where the logical addresses of the files are identified, the FAT is typically accessed and managed by the host device 24 and not by the controller 12 .
- FAT file allocation table
- the controller 12 will have to rely on the host device to send the logical addresses of the data in the file in memory 20 , so that the data of the particular file can be found and encrypted and/or decrypted by system 10 using the key value(s) available only to system 10 .
- the host device provides a reference for each of the key values generated by system 10 , where such reference may simply be a key ID.
- the Host 24 associates each file that is cryptographically processed by system 10 with a key ID
- the system 10 associates each key value that is used to cryptographically process data with a key ID provided by the host.
- the host requests that a file be cryptographically processed, it will send the request along with a key ID along with the logical addresses of data to be fetched from or stored in memory 20 to system 10 .
- System 10 generates a key value and associates the key ID provided by the host 24 with such value, and performs the cryptographic processing. In this manner, no change needs to be made in the manner memory system 10 operates while allowing it to completely control the cryptographic processing using the key(s), including exclusive access to the key value(s). In other words, system 10 continues to allow the host 24 to manage the files by having exclusive control of FAT, while it maintains exclusive control for the generation and management of the key value(s) used for cryptographic processing.
- the host device 24 has no part in the generation and management of the key value(s) used for cryptographic processing of data.
- the key ID provided by the host 24 and the key value generated by the memory system form two attributes of a quantity referred to below as the “content encryption key” or CEK in one of the embodiments. While the host 24 may associate each key ID with one or more files, host 24 may also associate each key ID with unorganized data or data organized in any manner, and not limited to data organized into complete files.
- system 10 In order for a user or application to gain access to protected content or area in system 10 , it will need to be authenticated using a credential which is pre-registered with system 10 .
- a credential is tied to the access rights granted to the particular user or application with such credential.
- system 10 stores a record of the identity and credential of the user or application, and the access rights associated with such identity and credential determined by the user or application and provided through the host 24 .
- the user or application requests to write data to memory 20 , it will need to provide through the host device its identity and credential, a key ID for encrypting the data, and the logical addresses where the encrypted data is to be stored.
- System 10 generates a key value and associates this value with the key ID provided by the host device, and stores in its record or table for this user or application the key ID for the key value used to encrypt the data to be written. It then encrypts the data and stores the encrypted data at the addresses designated by the host as well as the key value it generated.
- System 10 When a user or application requests to read encrypted data from memory 20 , it will need to provide its identity and credential, the key ID for the key previously used to encrypt the requested data, and the logical addresses where the encrypted data is stored. System 10 will then match the user or application identity and credential provided by the host to those stored in its record. If they match, system 10 will then fetch from its memory the key value associated with the key ID provided by the user or application, decrypt the data stored at the addresses designated by the host device using the key value and send the decrypted data to the user or application.
- system 10 Since system 10 maintains a record of the users or application identities and credentials, the key IDs they have access to, and the associated access rights to each of the key IDs, it is possible for system 10 to add or delete key IDs and alter access rights associated with such key IDs for particular users or applications, to delegate access rights from one user or application to another, or even to delete or add records or tables for users or applications, all as controlled by a properly authenticated host device.
- the record stored may specify that a secure channel is required for accessing certain keys. Authentication may be done using symmetric or asymmetric algorithms as well as passwords.
- the portability of the secured content in the memory system 10 Since the key value is generated by the memory system and substantially not available to external systems, when the memory system or a storage device incorporating the system is transferred from one external system to another, security of the content stored therein is maintained, and external systems are not able to access such content unless they have been authenticated in a manner completely controlled by the memory system. Even after being so authenticated, access is totally controlled by the memory system, and external systems can access only in a manner controlled according to preset records in the memory system. If a request does not comply with such records, the request will be denied.
- the flash memory 20 may have its storage capacity divided into a number of partitions: a user area or partition and custom partitions.
- the user area or partition P0 is accessible to all users and applications without authentication. While all bit values of data stored in the user area can be read or written to by any application or user, if the data read is encrypted, the user or application without authority to decrypt would not be able to access the information represented by the bit values stored in a user area.
- files 102 and 104 stored in user area P0. Also stored in the user area are unencrypted files such as 106 which can be read and understood by all applications and users. Thus, symbolically, the files that are encrypted are shown with locks associated with them such as for files 102 and 104 .
- memory 20 also includes protected custom partitions such as partitions P1 and P2 which cannot be accessed without prior authentication. The authentication process permitted in the embodiments in this application is explained below.
- a variety of users or applications may access the files in memory 20 .
- users 1 and 2, and applications 1-4 (running on devices) are shown in FIG. 2 .
- they are first authenticated by an authentication process in a manner explained below.
- the entity that is requesting access needs to be identified at the host side for role based access control.
- the entity requesting access first identifies itself by supplying information such as “I am application 2 and I wish to read file 1.”
- Controller 12 matches the identity, authentication information and request against the record stored in memory 20 or controller 12 . If all requirements are met, access is then granted to such entity.
- user 1 is allowed to read from and write to file 101 in partition P1, but can only read files 102 and 104 in addition to user 1 having unrestricted rights to read from and write to files 106 in P0.
- User 2 is not allowed access to file 101 and 104 but has read and write access to file 102 .
- users 1 and 2 have the same login algorithm (AES) while applications 1 and 3 have different login algorithms (e.g. RSA and 001001) which are also different from those of users 1 and 2.
- the Secure Storage Application is a security application of the memory system 10 , and illustrates an embodiment of the invention, which can be used to implement many of the above-identified features.
- SSA may be embodied as software or computer code with database stored in the memory 20 or a non-volatile memory (not shown) in CPU 12 , and is read into RAM 12 a and executed by CPU 12 .
- the acronyms used in reference to the SSA are set forth in the table below:
- the data are files that would otherwise be stored plainly on a mass-storage device of some kind.
- the SSA system sits atop of the storage system and adds the security layer for the stored host files.
- the main task of the SSA is to manage the different rights associated with the stored (and secured) content in the memory.
- the memory application needs to manage multiple users and content rights to multiple stored content.
- Host applications from their side see drives and partitions that are visible to such applications, and file allocation tables (FATs) that manage and portray the locations of the stored files on the storage device.
- FATs file allocation tables
- the storage device uses NAND flash chip divided to partitions, although other mobile storage devices may also be used and are within the scope of this invention.
- partitions are continuous threads of logical addresses, where a start and an end address define their boundaries. Restrictions may therefore be imposed on access to hidden partitions, if desired, by means of software (such as software stored in memory 20 ) that associates such restrictions with the addresses within such boundaries.
- Partitions are fully recognizable to the SSA by their logical address boundaries that are managed by it.
- the SSA system uses partitions to physically secure data from unauthorized host applications. To the host, the partitions are a mechanism of defining proprietary spaces in which to store data files. These partitions can either be public, where anyone with access to the storage device can see and be aware of the partition's presence on the device, or private or hidden, where only the selected host applications have access to and are aware of their presence in the storage device.
- FIG. 3 is a schematic view of a memory illustrating the partitions of the memory: P0, P1, P2 and P3 (obviously fewer or more partitions than four may be employed), where P0 is a public partition which can be accessed by any entity without authentication.
- a private partition (such as P1, P2 or P3) hides the access to the files within it.
- the flash device e.g. flash card
- the flash device delivers protection of the data files inside the partition.
- This kind of protection engulfs all of the files residing in the hidden partition by imposing restrictions on access to data stored at the logical addresses within the partition. In other words, the restrictions are associated with a range of logical addresses. All of the users/hosts that have access to that partition will have unlimited access to all of the files inside.
- the SSA system provides another level of security and integrity per file—or groups of files—using keys and key references or Key IDs.
- a key reference or key ID of a particular key value used for encrypting data at different memory addresses can be analogized to a container or domain that contains the encrypted data. For this reason, in FIG. 4 , the key references or key IDs (e.g. “key 1” and “key 2”) are shown graphically as areas surrounding the files encrypted using the key values associated with the key IDs.
- File A is accessible to all entities without any authentication, since it is shown as not enclosed by any key ID.
- File B in the public partition can be read or overwritten by all entities, it contains data encrypted with a key with ID “key 1”, so that the information contained in File B is not accessible to an entity unless such entity has access to such key.
- any host that can access a partition public or private
- unauthorized users can only corrupt it. They preferably cannot alter the data without detection or use it.
- this feature can allow only the authorized entities to use the data.
- Files B and C are also encrypted using a key with key ID “key 2” in P0.
- CEK Content Encryption Keys
- the CEKs are generated by the flash device (e.g. flash card), used internally only, and kept as secrets from the outside world.
- the data that is encrypted or ciphered may also be either hashed or the cipher is chain blocked to ensure data integrity.
- ACR Access Control Record
- ACRs are organized in groups called ACR Groups or AGPs. Once an ACR has successfully authenticated, the SSA system opens a Session through which any of the ACR's actions can be executed.
- the SSA system manages one or more public partitions, also referred to as the user partition(s).
- This partition exists on the storage device and is a partition or partitions that can be accessed through the standard read write commands of the storage device. Getting information regarding the size of the partition(s) as well as its existence on the device preferably cannot be hidden from the host system.
- the SSA system enables accessing this partition(s) either through the standard read write commands or the SSA commands. Therefore, accessing the partition preferably cannot be restricted to specific ACRs.
- the SSA system can enable the host devices to restrict the access to the user partition. Read and write accesses can be enabled/disabled individually. All four combinations (e.g. write only, read only (write protect), read and write and no access) are allowed.
- the SSA system enables ACRs to associate key IDs with files within the user partition and encrypt individual files using keys associated with such key IDs. Accessing encrypted files within the user partitions as well as setting the access rights to the partitions will be done using the SSA command set (refer to Appendix A for detailed description of the SSA commands—In the Appendix, key ID is referred to as “domain”).
- domain key ID is referred to as “domain”.
- the SSA system will preferably not allow the host device to access an SSA partition, other than through a session (described below) established by logging onto an ACR. Similarly, preferably the SSA will not provide information regarding the existence, size and access permission of an SSA partition, unless this request is coming through an established session.
- Access rights to partitions are derived from the ACR permissions. Once an ACR is logged into the SSA system, it can share the partition with other ACRs (described below).
- the host provides a reference name or ID (e.g. P0-P3 in FIGS. 3 and 4 ) for the partition. This reference is used in further read and write commands to the partition.
- All available storage capacity of the device is preferably allocated to the user partition and the currently configured SSA partitions. Therefore, any repartition operation may involve reconfiguration of the existing partitions.
- the net change to the device capacity (sum of sizes of all partitions) will be zero.
- the IDs of the partitions in the device memory space are defined by the host system.
- the host system can either repartition one of the existing partitions into two smaller ones or, merge two existing partitions (which may or may not be adjacent) into one.
- the data in the divided or merged partitions can be either erased or left untouched, at the host's discretion.
- Repartitioning of the user partition will change the size and other attributes of this partition as seen by the host OS.
- the SSA can encrypt it in the hidden partition, where the credentials for accessing the key for decrypting the file are preferably different from those for accessing the partition. Due to the fact that files are not something that the SSA is aware of (totally controlled and managed by the host), associating a CEK with a file is a problem. Linking the file to something the SSA acknowledges—the key ID, rectifies this. Thus, when a key is created by the SSA, the host associates the key ID for this key with the data encrypted using the key created by the SSA.
- the key value and key ID provide logical security. All data associated with a given key ID, regardless of its location, is ciphered with the same content encryption key (CEK) whose reference name or key ID is uniquely provided at creation by the host application. If an entity obtains access to a hidden partition (by authenticating through an ACR) and wishes to either read or write an encrypted file within this partition, it needs to have access to the key ID that is associated with the file. When granting access to the key for this key ID, the SSA loads the key value in CEK associated with this key ID and either decrypts the data before sending it to the host or encrypts the data before writing it to the flash memory 20 .
- a key value in CEK associated with a key ID is randomly created once by the SSA system and maintained by it. No one outside the SSA system has knowledge or access to this key value in CEK. The outside world only provides and uses a reference or key ID, not the key value in CEK. The key value is entirely managed and only accessible by the SSA
- the SSA system protects the data associated with the key ID using any one (user defined) of the following cipher modes (the actual cryptographic algorithms used, as well as the key values in CEKs, are system controlled and not revealed to the outside world):
- Block mode Data is divided into blocks, each one of them, encrypted individually. This mode is generally considered less secure and susceptive to dictionary attacks, However, it will allow users to randomly access any one of the data blocks.
- Chained mode Data is divided into blocks, which are chained during the encryption process. Every block is used as one of the inputs to the encryption process of the next one. This mode, although considered as more secure, requires that the data is always written and read sequentially from start to end, creating an overhead not always acceptable to the users.
- Hashed Chain mode with the additional creation of a data digest that can be used for validating data integrity.
- the SSA is designed to handle multiple applications where each one of them is represented as a tree of nodes in the system database. Mutual exclusion between the applications is achieved by ensuring no cross talk between the tree branches.
- the ACR is an individual login point to the SSA system.
- the ACR holds the login credentials and the authentication method.
- the login permissions within the SSA system among which are the read and write privileges.
- FIG. 5 illustrates n ACRs in the same AGP.
- ACR #1 and ACR #n share access to a key with key ID “key 3”, where ACR#1 and ACR#n are the ACR IDs, and “key 3” is a key ID for the key that is used to encrypt data associated with “key 3”.
- the same key can also be used to encrypt and/or decrypt multiple files, or multiple sets of data.
- the SSA system supports several types of login onto the system where authentication algorithms and user credentials may vary, as may the user's privileges in the system once he logged in successfully.
- FIG. 5 again illustrates different login algorithms and credentials.
- ACR#1 requires a password login algorithm and password as credential
- ACR#2 requires a PKI (public key infrastructure) login algorithm and public key as credential.
- PKI public key infrastructure
- ACRs may share common interests and privileges in the system such as in keys with which to read and write.
- ACRs with something in common are grouped in AGPs—ACR Groups.
- ACR #1 and ACR #n share access to a key with key ID “key 3”.
- AGPs and, the ACRs within, are organized in hierarchical trees and so aside from creating secure keys that keep sensitive data secure; an ACR can preferably also create other ACR entries that correspond to his key ID/partitions.
- These ACR children will have the same or less permissions as their father—creator and, may be given permissions for keys the father ACR himself created. Needless to add, the children ACRs get access permissions to any key that they create. This is illustrated in FIG. 6 . Thus, all of the ACRs in AGP 120 were created by ACR 122 and two of such ACRs inherit from ACR 122 permission(s) to access to data associated with “key 3”.
- Logging onto the SSA system is done by specifying an AGP and an ACR within the AGP.
- Every AGP has a unique ID (reference name), which is used as an index to its entry in the SSA database.
- the AGP name is provided to the SSA system, when the AGP is created. If the provided AGP name already exists in the system, the SSA will reject the creation operation.
- AGPs are used to administer restrictions on delegation of access and management permissions as will be described in the following sections.
- One of the functions served by the two trees in FIG. 6 is to administer the access by entirely separate entities, such as two different applications, or two different computer users.
- the SSA system is used in memory 10 , this allows the memory system 10 to serve multiple applications simultaneously. It also allows the two applications to access two separate sets of data independently of one another (e.g.
- the data associated with “keys 3”, “key X” and “key Z” for the application or user accessing via nodes (ACRs) in the tree in the top portion of FIG. 6 may comprise photographs.
- the data associated with “key 5” and “key Y” for the application or user accessing via nodes (ACRs) of the tree in the bottom portion of FIG. 6 may comprise songs.
- the ACR that created the AGP has the permission to delete it only when the AGP is empty of ACR entries
- An ACR in the SSA system describes the way the entity is permitted to log into the system. When an entity logs into the SSA system it needs to specify the ACR that corresponds to the authentication process it is about to perform.
- An ACR includes a Permissions Control Record (PCR) that illustrates the granted actions the user can execute once authenticated as defined in the ACR as illustrated in FIG. 5 .
- the host side entity provides all of the ACR data fields.
- an SSA system entity When an SSA system entity initiates the login process it needs to specify the ACR ID (as provided by the host when the ACR was created) that corresponds to the login method so that the SSA will set up the correct algorithms and select the correct PCR when all login requirements have been met.
- the ACR ID is provided to the SSA system when the ACR is created.
- the authentication algorithm specifies what sort of login procedure will be used by the entity, and what kind of credentials are needed to provide proof of user's identity.
- the SSA system supports several standard login algorithms, ranging from no procedure (and no credential) and password-based procedures to a two-way authentication protocols based on either symmetric or asymmetric cryptography.
- the entity's credentials correspond to the login algorithm and are used by the SSA to verify and authenticate the user.
- An example for credential can be a password/PIN-number for password authentication, AES-key for AES authentication, etc.
- the type/format of the credentials i.e. the PIN, the symmetric key, etc. . . .
- the SSA system has no part in defining, distributing and managing these credentials, with the exception of PKI based authentication where the device (e.g. flash card) can be used to generate the RSA key pair and the public key can be exported for certificate generation.
- the PCR shows what is granted to the entity after logging into the SSA system and passing the ACR's authentication process successfully.
- permission categories There are three types of permission categories: Creation permissions for partition and keys, Access permissions to partitions and keys and management permissions for Entity-ACR Attributes
- This section of the PCR contains the list of partitions (using their IDs as provided to the SSA system) the entity can access upon completing the ACR phase successfully.
- the access type may be restricted to write-only or read-only or may specify full write/read access rights.
- the ACR#1 in FIG. 5 has access to partition #2 and not partition #1.
- the restrictions specified in the PCR apply to the SSA partitions and the public partition.
- the public partition can be accessed either by regular read and write commands to the device (e.g. flash card) hosting the SSA system, or by SSA commands.
- the device e.g. flash card
- SSA commands e.g. SR commands
- An ACR can preferably only restrict the regular read and write commands from accessing the public partition.
- ACRs in the SSA system can be restricted preferably only upon their creation. Once an ACR has the permission to read/write from/to the public partition, preferably it cannot be taken away.
- This section of the PCR contains the data associated with the list of key IDs (as provided to the SSA system by the host) the entity can access when the ACR policies have been met by the entity's login process.
- the key ID specified is associated with a file/files that reside in the partition appearing in the PCR. Since the key IDs are not associated with logical addresses in the device (e.g. flash card), when more than one partition is associated with a specific ACR, the files can be in either one of the partitions.
- the key IDs specified in the PCR can have each, a different set of access rights. Accessing data pointed to by key IDs can be restricted to write-only or read-only or may specify full write/read access rights.
- ACR Attributes Management (ACAM)
- This section describes how in certain cases the ACR's system attributes can be changed.
- the ACAM actions that may be permitted in the SSA system are:
- a father ACR preferably cannot edit ACAM permissions. This would preferably require the deletion and recreation of the ACR. Also the access permission to a key ID created by the ACR can preferably not be taken away.
- An ACR may have the capacity to create other ACRs and AGPs. Creating ACRs also may mean delegating them some or all of the ACAM permissions possessed by their creator. Having the permission to create ACRs means having the permission for the following actions:
- the authentication method preferably cannot be edited once set by the creating ACR.
- the credentials may be altered within the boundary of the authentication algorithm that is already defined for the child.
- An ACR with the permissions to create other ACRs has the permission to delegate the unblocking permission to ACRs it creates (although it probably does not have the permission to unblock ACRs).
- the father ACR will place in the child ACR a reference to his unblocker.
- ACR The father ACR is the only ACR that has the permission to delete his child ACR.
- ACR deletes a lower level ACR that he created, then all ACRs spawned by this lower-level ACR are automatically deleted as well.
- ACR is deleted then all the key IDs and partitions that it created are deleted.
- Passwords/PINs although set by the creator ACR, can be updated only by the ACR that includes them.
- a root ACR may delete itself and the AGP that it resides in.
- ACRs and their AGPs are assembled in hierarchical trees where the root AGP and the ACRs within are at the top of the tree (e.g. root AGPs 130 and 132 in FIG. 6 ). There can be several AGP trees in the SSA system though they are totally separated from one another.
- An ACR within an AGP can delegate access permissions to its keys to all ACRs within the same AGP that it is in, and to all the ACRs created by them.
- the permission to create keys preferably includes the permission to delegate access permissions to use the keys.
- Ownership an ACR that created a key is by definition its owner. This ownership can be delegated from one ACR to another (provided that they are in the same AGP or in a child AGP). An ownership of a key provides the permission to delete it as well as delegate permissions to it.
- An ACR can delegate access permissions to partitions he created as well as other partitions he has access permissions to.
- the permission delegation is done by adding the names of the partitions and key IDs to the designated ACR's PCR.
- Delegating key access permissions may either be by the key ID or by stating that access permission is for all of the created keys of the delegating ACR.
- An ACR may have a blocking counter which increments when the entity's ACR authentication process with the system is unsuccessful. When a certain maximum number (MAX) of unsuccessful authentications is reached, the ACR will be blocked by the SSA system.
- MAX maximum number
- the blocked ACR can be unblocked by another ACR, referenced by the blocked ACR.
- the reference to the unblocking ACR is set by its creator.
- the unblocking ACR preferably is in the same AGP as the creator of the blocked ACR and has the “unblocking” permission.
- An ACR may be configured with a blocking counter but without an unblocker ACR. In this case, if this ACR get blocked it cannot be unblocked.
- the SSA system is designed to handle multiple applications and isolate the data of each one of them.
- the tree structure of the AGP system is the main tool used to identify and isolate application specific data.
- the root AGP is at the tip of an application SSA database tree and adheres to somewhat different behavior rules.
- Several root AGPs can be configured in the SSA system. Two root AGPs 130 and 132 are shown in FIG. 6 . Obviously fewer or more AGPs may be used and are within the scope of this invention.
- Registering the device e.g. flash card
- Registering the device e.g. flash card
- issue credentials of a new applications for the device are done through the process of adding new AGP/ACR tree to the device.
- the SSA system supports three different modes of root AGP creation (as well as all of the ACRs of the root AGP and their permissions):
- Open Any user or entity without requiring any sort of authentication, or users/entities authenticated through the system ACR (explained below), can create a new root AGP.
- the open mode enables creation of root AGPs either without any security measures while all data transfer is done on an open channel (i.e. in the secure environment of an issuance agency) or, through a secure channel established through the system ACR authentication (i.e. Over The Air (OTA) and post issuance procedures).
- OTA Over The Air
- Method configuration command Usersed to configure the SSA system to use any one of the three root AGP creation modes. Only the following mode changes are allowed: Open->Controlled, Controlled->Locked (i.e. if the SSA system is currently configured as Controlled, it can only be changed to locked).
- Method configuration lock command Usersed to disable the method configuration command and permanently lock the currently selected method.
- a root AGP When a root AGP is created, it is in a special initializing mode that enables the creation and configuration of its ACRs (using the same access restrictions that applied to the creation of the root AGP). At the end of the root AGP configuration process, when the entity explicitly switches it to operating mode, the existing ACRs can no longer be updated and additional ACRs can no longer be created
- root AGP Once a root AGP is put in standard mode it can be deleted only by logging into the system through one of its ACRs that is assigned with the permission to delete the root AGP. This is another exception of root AGP, in addition to the special initialization mode; it is preferably the only AGP that may contain an ACR with the permission to delete its own AGP, as opposed to AGPs in the next tree level.
- the third and last difference between a root ACR and a standard ACR is that it is the only ACR in the system that can have the permission to create and delete partitions.
- the system ACR may be used for the following two SSA operations:
- the create-system-ACR feature can be disabled (similarly to the create-root-AGP feature). After the system ACR is created, the create-system-ACR command has no effect, since preferably only one System ACR is allowed.
- the System ACR creates the root ACR/AGP in the SSA. It has permission to add/change the root level until such time that the host is satisfied with it and blocks it. Blocking the root AGP essentially cuts off its connection to the system ACR and renders it temper proof. At this point no one can change/edit the root AGP and the ACRs within. This is done through an SSA command. Disabling creation of root AGPs has a permanent effect and cannot be reversed.
- FIG. 7 The above features involving the system ACR is illustrated in FIG. 7 .
- the system ACR is used to create three different root AGPs.
- the SSA command is sent from the host to block the root AGPs from the system ACR, thereby disabling the create-root-AGP feature, as indicated by the dotted lines connecting the System ACR to the root AGPs in FIG. 7 .
- This renders the three root AGPs temper proof.
- the three root AGPs may be used to create children AGPs to form three separate trees, before or after the root AGPs are blocked.
- Issuance is the process of putting identification keys by which the device can identify the host and vice versa. Identifying the device (e.g. flash card) enables the host to decide whether it can trust its secrets with it. On the other hand, identifying the host enables the device to enforce security policies (grant and execute a specific host command) only if the host is allowed to.
- the product can be “pre-issued”—keys stored during manufacturing before shipping, or “post issued”—new keys are added after shipping.
- the memory device e.g. memory card
- the memory device needs to contain some kind of master or device level keys which are being used to identify entities which are allowed to add applications to the device.
- the above described features enables a product to be configured to enable/disable post issuance.
- the post issuance configuration can be securely done after shipping.
- the device may be bought as a retail product with no keys on it in addition to the master or device level keys described above, and then be configured by the new owner to either enable further post issuance applications or disable them.
- system ACR feature provides the capability to accomplish the above objectives:
- Memory devices without system ACR can be configured to disable the system ACR creation, which means there is no way to control adding of new applications (unless the feature of creating new root AGP is disabled as well)
- Memory devices with system ACR will allow only controlled addition of applications via a secure channel to establish through an authentication procedure using the system ACR credential.
- Memory devices with system ACR may be configured to disable the application adding feature, before or after applications have been added.
- Key IDs are created per specific ACR request; however, in the memory system 10 , they are used solely by the SSA system. When a key ID is created the following data is provided by or to the creating ACR:
- the ID is provided by the entity through the host and is used to reference the key and data that is encrypted or decrypted using the key in all further read or write accesses.
- Key ID Owner The ID of the ACR that is the owner. When a key ID is created the creator ACR is its owner. Key ID ownership may, however, be transferred to another ACR. Preferably only the key ID owner is allowed to transfer ownership of, and delegate, a key ID. Delegating access permission to the associated key, and revoking these rights can be administered either by the key ID owner or any other ACR assigned with delegation permissions. Whenever an attempt is made to exercise any one of these operations, the SSA system will grant it only if the requesting ACR is authorized.
- CEK This is the CEK used to cipher the content associated with or pointed to by the key ID.
- the CEK may be a 128 bit AES random key generated by the SSA system.
- MAC and IV values Dynamic information (message authentication codes and initiation vectors) used in the Chained Block Cipher (CBC) encryption algorithms.
- CBC Chained Block Cipher
- the various features of the SSA are also illustrated in reference to the flow charts in FIGS. 8A-16 , where ‘H’ to the left of a step means the operation is performed by the host, and ‘C’ means the operation is performed by the card.
- the host issues to the SSA in the memory device 10 a command to create System ACR (block 202 ).
- the device 10 responds by checking whether a System ACR already exists (block 204 , diamond 206 ). If it already exists, then device 10 returns failure and stops (oblong 208 ). If it does not, then memory 10 checks to see if System ACR creation is allowed (diamond 210 ), and returns a failure status if not allowed (block 212 ).
- the device issuer does not allow the creation of a System ACR, such as in the case where the security features needed have been predetermined so that no System ACR is needed. If this is allowed, the device 10 returns OK status and waits for System ACR credentials from the host (block 214 ). The host checks the SSA status and whether the device 10 has indicated that the creation of a System ACR is allowed (block 216 and diamond 218 ). If creation is not allowed or if a system ACR already exists, the host stops (oblong 220 ). If the device 10 has indicated that the creation of a System ACR is allowed, the host issues a SSA command to define its login credential and sends it to the device 10 (block 222 ).
- the device 10 updates a System ACR record with the credential received and returns OK status (block 224 ).
- the host issues SSA command indicating the system ACR is ready (block 226 ).
- the device 10 responds by locking the System ACR so that it cannot be updated or replaced (block 228 ). This locks in the features of the system ACR and its identity for identifying the device 10 to the host.
- the procedure for creating new trees is determined by the way these functions are configured in the device.
- FIG. 9 explains the procedures. Both the host 24 and the memory system 10 follow it. If adding new root AGP is disabled altogether, new root AGPs cannot be added (diamond 246 ). If it is enabled but requires a system ACR, the host authenticates through the system ACR and establishes a secure channel (diamond 250 , block 252 ) prior to issuing the Create Root_AGP command (block 254 ). If system ACR is not required (diamond 248 ) the host 24 can issue the create root AGP command without authentication and proceed to block 254 .
- system ACR does exist, the host may use it even if it is not required (not shown in the flow chart).
- the device e.g. flash card
- the device will reject any attempt to create a new root AGP if the function is disabled and it will reject an attempt to create a new root AGP without authentication, if system ACR is required (diamonds 246 and 250 ).
- the newly created AGP and ACR in block 254 are now switched to Operational Mode so that the ACRs in such AGPs cannot be updated or otherwise changed, and no ACRs can be added to them (block 256 ).
- the system is then, optionally locked so that additional root AGPs cannot be created (block 258 ).
- the dotted line box 258 is a convention indicating that this step is an optional step. All the boxes in the flow charts of the figures of this application in dotted lines are optional steps. This allows the content owner to block the use of device 10 for other illicit purposes that may imitate a genuine memory device with legitimate content.
- ACRs other than the ACRs in the root AGP as described above
- An entity may attempt to enter through the host 24 by providing the entry point ACR identity, and the ACR with all the necessary attributes that it wishes to create (block 272 ).
- the SSA checks for a match to the ACR identity and whether the ACR with such identity has the permission to create an ACR (diamond 274 ). If the request is verified to be authorized, the SSA in device 10 creates an ACR (block 276 ).
- FIG. 11 shows two AGPs that illustrate a tree useful in security applications using the method of FIG. 10 .
- the ACR with identity m1 in the marketing AGP has the permission to create an ACR.
- the ACR m1 also has the permission to use a key for reading and writing data associated with the key ID “Marketing Information” and data associated with the key ID “Price List”.
- it creates the Sales AGP with two ACRs: s1 and s2 with only read permission to the key for accessing pricing data associated with the key ID “Price List”, but not to the key necessary for accessing data associated with the key ID “Marketing Information”.
- the ACR m2 has no permission to create ACRs, and has only read permission to the keys for accessing data associated with the key ID “Price List” and with the key ID “Marketing Information”.
- access rights may be delegated in the manner explained above where m1 delegates rights to read pricing data to s1 and s2. This is particularly useful where large marketing and sales groups are involved. Where there are but one or a few sales people, there may be no need to use the method of FIG. 10 . Instead, the access rights may be delegated, by an ACR to one at a lower or the same level within the same AGP, as illustrated in FIG. 12 .
- the entity enters the tree for such AGP by specifying an ACR in the manner described above in the tree through the host (block 280 ).
- the host will specify the ACR and the rights to delegate to.
- the SSA checks the tree(s) for such ACR and whether the ACR has the permission to delegate rights to the specified another ACR (diamond 282 ). If it does, the rights are delegated (block 284 ); if not it stops. The result is illustrated in FIG. 13 .
- the ACR m1 in this case has the permission to delegate read permission to the ACR s1, so that s1 will be able to use a key to access pricing data after the delegation. This may be performed if m1 has the same or greater rights to access pricing data and the permission to so delegate. In one embodiment, m1 retains its access rights after the delegation. Preferably access rights may be delegated under restricted conditions (rather then permanently) such as for a limited time, limited number of accesses, etc. . . .
- the process for creating a key and key ID is illustrated in FIG. 14 .
- the entity authenticates through an ACR (block 302 ).
- the entity requests the creation of a key with an ID specified by the host (block 304 ).
- the SSA checks and see if the ACR specified has the permission to do so (diamond 306 ). For example, if the key is to be used for accessing data in a particular partition, the SSA will check and see if the ACR may access such partition.
- the memory device 10 creates a key value associated with the key ID provided by the host (block 308 ), ands stores the key ID in the ACR, and the key value in its memory (either in the controller-associated memory or memory 20 ) and assigns rights and permissions according to information supplied by the entity (block 310 ) and modifies the PCR of such ACR with such assigned rights and permissions (block 312 ).
- the creator of the key has all available rights, such as read and write permissions, right to delegate and share with other ACRs in the same AGP or an ACR at a lower level, and the right to transfer ownership of the key.
- An ACR can change the permissions (or the existence altogether) of another ACR in the SSA system as illustrated in FIG. 15 .
- An entity may enter a tree through an ACR as before; in one case the entity is authenticated and then it specifies an ACR (blocks 330 , 332 ). It requests the deletion of a target ACR or the permission in a target ACR (block 334 ). If the ACR specified or the one active at such time has the right to do so (diamond 336 ), the target ACR is deleted, or the PCR of the target ACR is altered to delete such permission (block 338 ). If this is not authorized the system stops.
- an entity may attempt to enter at the target ACR (block 350 ) and finds that the authentication process fails, since the previously existing ACR ID is no longer present in the SSA, so that access rights are denied (diamond 352 ). Assuming that the ACR ID has not been deleted, the entity specifies an ACR (block 354 ) and the key ID and/or data in a particular partition (block 356 ), and the SSA then checks to see the key ID or partition access request is permitted according to the PCR of such ACR (diamond 358 ). If the permission has been deleted or has expired, then the request is again denied. Otherwise, the request is granted (block 360 ).
- the above process describes how access to protected data is managed by the device (e.g. flash card), regardless of whether the ACR and its PCR were just changed by another ACR or were so configured to begin with.
- the device e.g. flash card
- the SSA system is designed to handle multiple users, logged in concurrently. This feature requires that every command received by the SSA is associated with a specific entity and executed only if the ACR, used to authenticate this entity, has the permissions for the requested action.
- a session is established during the authentication process and assigned a session-id by the SSA system.
- the session-id is internally associated with the ACR used for logging into the system and is exported to the entity to be used in all further SSA commands.
- the SSA system supports two types of sessions: Open, and Secure sessions.
- the session type associated with a specific authentication process is defined in the ACR.
- the SSA system will enforce session establishment in a way similar to the way it enforces the authentication itself. Since the ACR defines the entity permissions, this mechanism enables system designers to associate secure tunneling either with accessing specific key IDs or invoking specific ACR management operations (i.e. creating new ACRs and setting credentials)
- Open session is a session identified with a session-id but without bus encryption, all commands and data are passed in the clear. This mode of operation is preferably used in a multi-user or multi-entity environment where the entities are not part of the threat model, nor is eavesdropping on the bus.
- the Open session mode enables the SSA system to allow access only to the information allowed for the currently authenticated ACRs.
- the Open session can also be used for cases where a partition or a key needs to be protected. However, after a valid authentication process, access is granted to all entities on the host. The only thing the various host applications need to share, in order to get the permissions of the authenticated ACR is the session-id. This is illustrated in FIG. 17A .
- the steps above the line 400 are those taken by the host 24 .
- an entity is authenticated (block 402 ) for ACR1
- it requests access to a file associated with a key ID X in the memory device 10 (blocks 404 , 406 and 408 ). If the PCR of the ACR 1 allows such access, device 10 grants the request (diamond 410 ). If not, the system returns to block 402 .
- the memory system 10 identifies the entity issuing a command only by the assigned session id (and not the ACR credentials). Once the ACR 1 gains access to the data associated with the key IDs in its PCR, in an open session, any other application or user can access the same data by specifying the correct session ID which is shared between the different applications on the host 24 .
- This feature is advantageous in applications where it is more convenient to the user to be able to log in only once, and be able to access all the data tied to the account through which the log in is performed for different applications.
- a cellular phone user may be able to access stored emails, and listen to stored music in memory 20 without having to log in multiple times.
- data not encompassed by the ACR1 will not be accessible.
- the same cellular phone user may have valuable content such as games and photographs accessible through a separate account ACR2.
- This is data that he does not wish others who borrow his phone to access, even though he may not mind others accessing data available through his first account ACR1.
- Separating access to the data into two separate accounts while allowing access to ACR1 in open session provides ease of use as well as affording protection of valuable data.
- the session id may be used as shown in FIG. 17B .
- the Memory 10 then also stores the session ids of the active sessions.
- the entity in order to be able to access a file associated with key ID X, the entity will need to also provide a session id, such as session id “A” before it is allowed to access the file (blocks 404 , 406 , 412 and 414 ). In this manner, unless the requesting entity is aware of the correct session id, it cannot access the memory 10 . Since the session id is deleted after the session is over and will be different for each session, an entity can gain access only when it has been able to provide the session number.
- the SSA system has no way to make sure that a command is really coming from the correct authenticated entity, other than by using the session number.
- the host application uses a secure session (a secure channel).
- the session-id is encrypted with the secure channel encryption (session) key and the security level is as high as the host side implementation.
- a session is terminated and, the ACR is logged off, in any one of the following scenarios:
- the entity issues an explicit end-session command.
- the SSA system verifies the integrity of the SSA database (which contains all the ACRs, PCRs, etc. . . . ).
- data integrity services are offered for entity data through the key ID mechanism.
- Hash values are stored along side with the CEK and IV in the CEK record. Hash values are calculated and stored during write operation. Hash values are again calculated during read operations and compared with the values stored during the previous write operations. Every time the entity is accessing the key ID the additional data is concatenated (cryptographically) to the old data and the appropriate Hash value (for read or for write) updated.
- a data file associated with or pointed to by a key ID is written or read from the beginning to end. Any attempt to access portions of the file will mess it up since the SSA system is using a CBC encryption method and generates a hashed message digest of the entire data
- the SSA system provides a “dummy read” operation as well. This feature will stream the data through the encryption engines but will not send it out to the host. This feature can be used to verify data integrity before it is actually read out of the device (e.g. flash card).
- the SSA system will enable external entities to make use of the internal random number generator and request random numbers to be used outside of the SSA system. This service is available to any host and does not require authentication.
- the SSA system will enable external users to make use of the internal RSA key pair generation feature and request an RSA key pair to be used outside of the SSA system. This service is available to any host and does not require authentication.
- a list of credentials for entities, authentication methods, the maximum number of failed attempts, and the minimum number of credentials needed to unblock may be entered into a database stored in controller 12 or memory 20 , which relates such credential requirements to the policies (read, write access to keys and partitions, secure channel requirement) in the database carried out by the controller 12 of memory 10 .
- Also stored in the database are constraints and limitations to the access to keys and partitions.
- some entities e.g. system administrator
- Other entities may be on a black list, and their attempts to access any information will be blocked.
- the limitation can be global, or key and/or partition specific.
- Password-protect means that a password needs to be presented to access the protected area. Unless it cannot be more than one password then passwords could be associated with different rights such as read access or read/write access.
- Password protect means that the device (e.g. flash card) is able to verify a password provided by the host i.e. the device also has the password stored in device managed secured memory area.
- Passwords are subject to replay attack. Because the password does not change after each presentation it can be identically resent. It means that password as is must not be use if the data to be protected are valuable, and the communication bus is easily accessible.
- Password could protect access to stored data but should NOT be used to protect data (not a key)
- a session key based secure communication channel can be use to send the password.
- FIG. 19 is a flow chart illustrating authentication using a password.
- the entity sends in an account id and password to system 10 (e.g. flash memory card).
- system 10 e.g. flash memory card.
- the system checks to see if the password matches that in its memory. If it matches, authenticated status is returned. Otherwise, the error counter is incremented for that account, and the entity is asked to re-enter an account id and password. If the counter overflows, the system return status that access is denied.
- FIG. 20 is a Flow Chart illustrating authentication using a challenge/response type method.
- the entity sends in an account id and requests a challenge from system 10 .
- System 10 generates a random number and presents it to the host.
- the host computes a response from the number and sends it to the system 10 .
- System 10 compares the response to the value stored. The remaining steps are similar to those in FIG. 19 for determining whether to grant access.
- FIG. 21 is a Flow Chart illustrating authentication using another challenge/response type method.
- FIG. 21 differs from that in FIG. 20 in that, in addition to requiring the host to be authenticated by the system 10 , it also requires the system 10 to be authenticated by a challenge/response where system 10 also requests a challenge from the host and returns a response to be checked by the host.
- FIG. 22 is a Flow Chart illustrating authentication using another challenge/response type method.
- the host sends a challenge to system 10 , which computes a response that is checked by the host for a match with its record of system 10 .
- Symmetric key algorithm means that the SAME key is used on both sides to encrypt and decrypt. It means that the key must have been pre-agreed prior to communicating. Also each side should implement the reverse algorithm of each other i.e. encrypt algorithm on one side and decrypt on the other. Both sides do not need to implement both algorithms to communicate.
- Symmetric key authentication means that device (e.g. flash card) and host share the same key and have the same cryptographic algorithm (direct and reverse e.g. DES and DES-1).
- device e.g. flash card
- host share the same key and have the same cryptographic algorithm (direct and reverse e.g. DES and DES-1).
- Symmetric key authentication means challenge-response (protect against replay attack).
- the protected device generates a challenge for the other device and both compute the response.
- the authenticating device sends back the response and the protected device check the response and validate authentication accordingly. Then rights associated with authentication can be granted.
- Authentication could be:
- the device e.g. flash card
- the device authenticates the outside world i.e. the device validates credentials of a given host or application
- the host application authenticates the device (e.g. flash card) i.e. host checks if device is genuine for its application.
- Symmetric key are usually combined with diversification using a master key
- Mutual authentication uses challenge from both side to ensure challenge is a real challenge
- Symmetric key cryptography is also used for encryption because it is a very efficient algorithm i.e. it does not need a powerful CPU to handle cryptography.
- Both devices have to know the session key used to secure the channel (i.e. encrypt all outgoing data and decrypt all incoming data).
- This session key is usually established using a pre-shared secret symmetric key or using PKI.
- Symmetric key can also be used to sign data.
- the signature is a partial result of the encryption. Keeping the result partial allows to sign as many time as needed without exposing the key value.
- Symmetric algorithms are very efficient and secure but they are based on a pre-shared secret.
- the issue is securely share this secret in a dynamic manner and possibly to have it random (like a session key).
- the idea is that a shared secret is hard to keep safe in a long term and is almost impossible to share with multiple people.
- Asymmetric key algorithm is commonly referred Public Key cryptograph. It is a quite complex and usually CPU intensive mathematical implementation. It has been invented to solve the issues of key distribution associated with symmetric key algorithms. It also provides signing capabilities used to ensure data integrity.
- Asymmetric key algorithm uses a key which has private and public elements respectively referred as private key and public key. Both private key and public key are mathematically linked together. The public key can be shared whereas the private has to remain secret. As for the keys, asymmetric algorithm uses two mathematical functions (one for the private key and one for the public key) to provide wrap and unwrap or sign and verify.
- Key exchange becomes very simple using PK algorithm.
- the device sends its public key to the other device.
- the other device wraps its secret key with the public key and returns the encrypted data to the first device.
- the first device uses its private key to unwrap the data and retrieve the secret key which is now known to both sides and can be used to exchange data. Because the symmetric key can be exchanged that easily it is usually a random key.
- the Private key is used to sign the data.
- the public key (freely available) allows to verify the signature.
- Authentication usually uses signature: a challenge is signed and returned for validation
- the public part of the key is used for verification. Because anyone can generate a key pair, there is a need to certify the owner of the public key in order to prove that this is the right person using the correct key.
- Certification authority provides certification and will include the public key in a signed certificate. The certificate is signed by the authority itself. Then using a public key to verify a signature means that the authority that issued the certificate containing that key is trusted and that one is able to verify that the certificate has not been hacked i.e. that the certificate hash signed by the authority is correct; meaning that the user has and trusts the authority public key certificate.
- PK authentication is successful if the certificate is trusted and the challenge response is correct.
- Authentication in a device means that the device is loaded with trusted root certificates and that the device is able to verify the challenge response as well as the certificate signed hash.
- PK algorithm is not used to encrypt large amounts of data because it is too CPU intensive, but is usually used to protect a randomized encryption/decryption key generated to encrypt the content.
- SMIME Secure email
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Technology Law (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
A mechanism or structure may be provided to divide a memory into partitions and so that at least some data in the partitions can be encrypted with a key, so that in addition to authentication that is required for accessing some of the partitions, access to one or more keys may be required to decrypt the encrypted data in such partitions. All of the content that the user wishes to access may be associated with a first account, so that all such content can be accessed via different applications (e.g. music player, email, cellular communication etc.) without having to log in multiple times. Then a different set of authentication information may then be used for logging in to access protected content that is in an account different from the first account, even where the different accounts are for the same user or entity.
Description
- This application is a continuation of U.S. patent application Ser. No. 11/314,052, filed Dec. 20, 2005, which claims the benefit of U.S. Provisional Application No. 60/638,804, filed Dec. 21, 2004, entitled, “Memory System with Versatile Content Control.” This application is further related to U.S. patent application Ser. No. 11/314,411, entitled, “Method for Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/314,410, entitled “Memory System with Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/313,870, entitled “Method Using Control Structure for Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/313,536, entitled “Control Structure for Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/313,538, entitled “Method for Creating Control Structure for Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/314,055, entitled “System for Creating Control Structure for Versatile Content Control”; this application is further related to U.S. patent application Ser. No. 11/314,053, entitled “Versatile Content Control with Partitioning”; all of which were filed Dec. 20, 2005. These applications are incorporated in their entirety by reference as if fully set forth herein.
- This invention relates in general to memory systems, and in particular to a memory system with versatile content control features.
- The computing device market is developing in the direction of including content storage on mobile storage devices so as to increase the average revenue by generating more data exchanges. This means that the content in a mobile storage medium has to be protected when used on a computing device. Content includes valuable data, which may be data owned by a party other than the one that manufactures or sells the storage device.
- One type of storage device with encryption capability is described in U.S. Pat. No. 6,457,126. The capability provided by this device, is however, quite limited. It is therefore desirable to provide a memory system with more versatile content control features.
- The protection of content in a mobile storage medium can involve the encryption of data in the medium so that only authorized users or applications have access to keys used for encrypting data stored in the medium. In some prior systems, the key used for encrypting and decrypting data is stored in devices external to the mobile storage medium. In such circumstances, the company or individual who owns proprietary interest in the content may not have much control over the usage of the content in the medium. Since the key used for encrypting data in the medium exists external to the medium, this key may be passed from one device to another in a manner not subject to control by the content proprietor. The owner of proprietor interest will be in the better position to control access to the content in the medium if the encryption-decryption key is stored in the medium itself and substantially inaccessible to external devices, according to one of the features of the invention.
- By making the key essentially inaccessible from outside the medium, this feature provides portability to secured content. Thus, the storage device containing secured content ciphered with such a key can be used for access by a variety of host devices without the danger of security breach, since the device has exclusive control of access to the key. Only those host devices with the proper credentials are able to access the key.
- To enhance the commercial value of the content stored in the mobile storage medium, it is desirable for the owner of proprietary interest in the content to be able to grant different permissions to different entities for accessing the content. Therefore another feature of the invention is based on the recognition that an access policy may be stored which grants different permissions (e.g. to different authorized entities) for accessing data stored in the medium. A system incorporating a combination of the two above features is particularly advantageous. On the one hand, the content owner or proprietor has the ability to control access to the content by using keys that are substantially inaccessible to external devices and at the same time has the ability to grant different permissions for accessing content in the medium. Thus, even where external devices gain access, their access may still be subject to the different permissions set by the content owner or proprietor recorded in the storage medium.
- Yet another feature is based on the recognition that when the above-described policy, where different permissions are granted to different authorized entities, is implemented in a flash memory, this results in a particularly useful medium for content protection.
- Many storage devices are not aware of file systems while many computer host devices read and write data in the form of files. According to another feature, the host device provides a key reference or ID, while the memory system generates a key value in response which is associated with the key ID, where the key value is used in cryptographic processing data in a file associated with the key ID. The host associates the key ID with the file to be processed cryptographically by the memory system. Thus the key ID is used by the computing device and memory as the handle through which the memory retains complete and exclusive control over the generation and use of the key value for cryptographic processes, while the host retains control of files.
- In some mobile storage devices such as smart cards, the card controller manages the file system. In many other types of mobile storage devices, such as flash memories, magnetic or optical discs, the device controller is not aware of the file system; instead, the device controller relies on a host device (e.g. a personal computer, digital camera, MP3 player, personal digital assistants, cellular phones) to manage the file system. The various aspects of this invention may be readily incorporated into such types of storage devices where the device controller is not aware of the file system. This means that the various features of this invention may be practiced on a wide variety of existing mobile storage devices without requiring a re-design of such devices to make the device controller in such devices become aware of and able to manage the file system.
- A tree structure stored in the storage medium provides control over what an entity can do even after gaining access. Each of the nodes of the tree specifies permissions by an entity who has gained entry through such node of the tree. Some trees have different levels, where the permission or permissions at a node of the tree has a predetermined relationship to permission or permissions at another node at a higher or lower or the same level in the same tree. By requiring entities to comply with the permissions so specified at each of the nodes, the tree feature of this application allows a content owner to control which entities can take action, and which actions each of the entities can take, irrespective of whether the tree has different levels.
- To enhance the commercial value that can be provided by the mobile storage medium, it is desirable for mobile storage devices to be capable of supporting more than one application simultaneously. When two or more applications are accessing the mobile storage device at the same time, it can be important to be able to separate the operations of the two or more applications so that they do not interfere with one another in a phenomena referred to herein as crosstalk. Therefore another feature of the invention is based on the recognition that two or more trees which are preferably hierarchical may be provided for controlling access to the memory. Each tree comprises nodes at different levels for controlling access to data by a corresponding set of entities where a node of each tree specifies permission or permissions of the corresponding entity or entities for accessing memory data. The permission or permissions at a node of each of the trees has a predetermined relationship to permission or permissions at another node at a higher or lower level in the same tree. Preferably, there is no crosstalk between at least two of the trees.
- From the above, it will be evident that trees are powerful structures that can be used for content security. One of the important controls provided is the control over the creation of trees. Thus, according to another feature of the invention, the mobile storage device may be provided with a system agent that is able to create at least one hierarchical tree comprising nodes at different levels for controlling access to data stored in the memory by corresponding entities. Each node of the tree specifies permission or permissions of a corresponding entity or entities for accessing memory data. The permission or permissions at the node of each of the trees has a predetermined relationship to permission or permissions at nodes at a higher or lower or the same level in the same tree. Thus, the mobile storage devices may be issued without any trees already created so that the purchaser of the devices has a free hand in creating hierarchical trees adapted to the applications the purchaser has in mind. Alternatively, the mobile storage devices may also be issued with the trees already created so that a purchaser does not have to go through the trouble of creating the trees. In both situations, preferably certain functionalities of the trees can become fixed after the devices are made so that they cannot be further changed or altered. This provides greater control over access to the content in the device by the content owner. Thus, in one embodiment, the system agent can preferably be disabled so that no additional trees can be created.
- In some mobile storage devices, content protection is afforded by dividing the memory into separate areas where access to protected areas requires prior authentication. While such feature does provide some protection, it does not protect against a user who obtained a password by illicit means. Thus, another aspect of the invention is based on the recognition that a mechanism or structure may be provided to divide a memory into partitions and so that at least some data in the partitions can be encrypted with a key, so that in addition to authentication that is required for accessing some of the partitions, access to one or more keys may be required to decrypt the encrypted data in such partitions.
- In some applications, it may be more convenient to the user to be able to log in the memory system using one application, and then be able to use different applications to access protected content without having to log in again. In such event, all of the content that the user wishes to access in this manner may be associated with a first account, so that all such content can be accessed via different applications (e.g. music player, email, cellular communication etc.) without having to log in multiple times. Then a different set of authentication information may then be used for logging in to access protected content that is in an account different from the first account, even where the different accounts are for the same user or entity.
- The above-described features may be used individually, or may be combined in any combination, in storage systems to provide greater versatility of control and/or protection for the content owner.
-
FIG. 1 is a block diagram of a memory system in communication with the host device useful for illustrating this invention. -
FIG. 2 is a schematic view of different partitions of a memory and of unencrypted and encrypted files stored in different partitions where access to certain partitions and the encrypted files is controlled by access policies and authentication procedures to illustrate an embodiment of the invention. -
FIG. 3 is a schematic view of a memory illustrating the different partitions in the memory. -
FIG. 4 is a schematic view of file location tables for the different partitions of the memory shown inFIG. 3 where some of the files in the partitions are encrypted to illustrate an embodiment of the invention. -
FIG. 5 is a schematic view of access control records in an access controlled record group and the associated key references to illustrate an embodiment of the invention. -
FIG. 6 is a schematic view of tree structures formed by access controlled records groups and access controlled records to illustrate an embodiment of the invention. -
FIG. 7 is a schematic diagram of a tree illustrating three hierarchical trees of access controlled record groups to illustrate a process of formation of the trees. -
FIGS. 8A and 8B are flow charts illustrating the processes carried out by a host device and a memory device such as a memory card for creating and using a system access control record. -
FIG. 9 is a flow chart illustrating a process using a system access control record to create an access controlled record group to illustrate the invention. -
FIG. 10 is a flow chart illustrating a process for creating an access control record. -
FIG. 11 is a schematic view of two access control record groups useful for illustrating a particular application of the hierarchical tree. -
FIG. 12 is a flow chart illustrating a process for delegation of specific rights. -
FIG. 13 is a schematic view of an access controlled record group and an access control record to illustrate the process of delegation ofFIG. 12 . -
FIG. 14 is a flowchart illustrating the process for creating a key for the purpose of encryption and/or decryption. -
FIG. 15 is a flow chart illustrating a process for removing access rights and/or permission for data access according to an accessed controlled record. -
FIG. 16 is a flow chart illustrating a process for requesting access when access right and/or permission to access has been deleted or has expired. -
FIGS. 17A and 17B are schematic views illustrating an organization of a rule structure for authentication and policies for granting access to cryptographic keys to illustrate another embodiment of the invention. -
FIG. 18 is a flow diagram illustrating sessions of authentication and access when some sessions are open. -
FIG. 19-22 are flow charts illustrating different authentication processes. - For simplicity in description, identical components are labeled by the same numerals in this application.
- An example memory system in which the various aspects of the present invention may be implemented is illustrated by the block diagram of
FIG. 1 . As shown inFIG. 1 , thememory system 10 includes a central processing unit (CPU) 12, a buffer management unit (BMU) 14, a host interface module (HIM) 16 and a flash interface module (FIM) 18, aflash memory 20 and a peripheral access module (PAM) 22.Memory system 10 communicates with ahost device 24 through ahost interface bus 26 andport 26 a. Theflash memory 20 which may be of the NAND type, provides data storage for thehost device 24. The software code forCPU 12 may also be stored inflash memory 20.FIM 18 connects to theflash memory 20 through aflash interface bus 28 andport 28 a.HIM 16 is suitable for connection to a host system like a digital camera, personal computer, personal digital assistants (PDA), digital media players, MP-3 players, cellular telephones or other digital devices. Theperipheral access module 22 selects the appropriate controller module such as FIM, HIM and BMU for communication with theCPU 12. In one embodiment, all of the components ofsystem 10 within the dotted line box may be enclosed in a single unit such as in memory card or stick 10′ and preferably encapsulated. - While the invention is illustrated herein by reference to flash memories, the invention may also be applicable to other types of memories, such as magnetic disks, optical CDs, as well as all other types of rewrite-able non volatile memory systems.
- The
buffer management unit 14 includes a host direct memory access (HDMA) 32, a flash direct memory access (FDMA) 34, anarbiter 36, a buffer random access memory (BRAM) 38 and a crypto-engine 40. Thearbiter 36 is a shared bus arbiter so that only one master or initiator (which can beHDMA 32,FDMA 34 or CPU 12) can be active at any time and the slave or target isBRAM 38. The arbiter is responsible for channeling the appropriate initiator request to theBRAM 38. TheHDMA 32 andFDMA 34 are responsible for data transported between theHIM 16,FIM 18 andBRAM 38 or the CPU random access memory (CPU RAM) 12 a. The operation of theHDMA 32 and of theFDMA 34 are conventional and need not be described in detail herein. TheBRAM 38 is used to store data passed between thehost device 24 andflash memory 20. TheHDMA 32 andFDMA 34 are responsible for transferring the data betweenHIM 16/FIM 18 andBRAM 38 or theCPU RAM 12 a and for indicating sector completion. - For improved security of the content stored in
memory 20,memory system 10 generates the key value(s) that are used for encryption and/or decryption, where this value(s) is substantially not accessible to external devices such ashost device 24. However, encryption and decryption is typically done file by file, since the host device reads and writes data tomemory system 10 in the form of files. Like many other types of storage devices,memory device 10 is not aware of files or file systems. Whilememory 20 does store a file allocation table (FAT) where the logical addresses of the files are identified, the FAT is typically accessed and managed by thehost device 24 and not by thecontroller 12. Therefore, in order to encrypt data in a particular file, thecontroller 12 will have to rely on the host device to send the logical addresses of the data in the file inmemory 20, so that the data of the particular file can be found and encrypted and/or decrypted bysystem 10 using the key value(s) available only tosystem 10. - To provide a handle for both the
host device 24 andmemory system 10 to refer to the same key(s) for cryptographically processing data in files, the host device provides a reference for each of the key values generated bysystem 10, where such reference may simply be a key ID. Thus, theHost 24 associates each file that is cryptographically processed bysystem 10 with a key ID, and thesystem 10 associates each key value that is used to cryptographically process data with a key ID provided by the host. Thus, when the host requests that a file be cryptographically processed, it will send the request along with a key ID along with the logical addresses of data to be fetched from or stored inmemory 20 tosystem 10.System 10 generates a key value and associates the key ID provided by thehost 24 with such value, and performs the cryptographic processing. In this manner, no change needs to be made in themanner memory system 10 operates while allowing it to completely control the cryptographic processing using the key(s), including exclusive access to the key value(s). In other words,system 10 continues to allow thehost 24 to manage the files by having exclusive control of FAT, while it maintains exclusive control for the generation and management of the key value(s) used for cryptographic processing. Thehost device 24 has no part in the generation and management of the key value(s) used for cryptographic processing of data. - The key ID provided by the
host 24 and the key value generated by the memory system form two attributes of a quantity referred to below as the “content encryption key” or CEK in one of the embodiments. While thehost 24 may associate each key ID with one or more files,host 24 may also associate each key ID with unorganized data or data organized in any manner, and not limited to data organized into complete files. - In order for a user or application to gain access to protected content or area in
system 10, it will need to be authenticated using a credential which is pre-registered withsystem 10. A credential is tied to the access rights granted to the particular user or application with such credential. In the pre-registration process,system 10 stores a record of the identity and credential of the user or application, and the access rights associated with such identity and credential determined by the user or application and provided through thehost 24. After the pre-registration has been completed, when the user or application requests to write data tomemory 20, it will need to provide through the host device its identity and credential, a key ID for encrypting the data, and the logical addresses where the encrypted data is to be stored.System 10 generates a key value and associates this value with the key ID provided by the host device, and stores in its record or table for this user or application the key ID for the key value used to encrypt the data to be written. It then encrypts the data and stores the encrypted data at the addresses designated by the host as well as the key value it generated. - When a user or application requests to read encrypted data from
memory 20, it will need to provide its identity and credential, the key ID for the key previously used to encrypt the requested data, and the logical addresses where the encrypted data is stored.System 10 will then match the user or application identity and credential provided by the host to those stored in its record. If they match,system 10 will then fetch from its memory the key value associated with the key ID provided by the user or application, decrypt the data stored at the addresses designated by the host device using the key value and send the decrypted data to the user or application. - By separating the authentication credentials from the management of keys used for cryptographic processing, it is then possible to share rights to access data without sharing credentials. Thus, a group of users or applications with different credentials can have access to the same keys for accessing the same data, while users outside this group have no access. While all users or applications within a group may have access to the same data, they may still have different rights. Thus, some may have read only access, while others may have write access only, while still others may have both. Since
system 10 maintains a record of the users or application identities and credentials, the key IDs they have access to, and the associated access rights to each of the key IDs, it is possible forsystem 10 to add or delete key IDs and alter access rights associated with such key IDs for particular users or applications, to delegate access rights from one user or application to another, or even to delete or add records or tables for users or applications, all as controlled by a properly authenticated host device. The record stored may specify that a secure channel is required for accessing certain keys. Authentication may be done using symmetric or asymmetric algorithms as well as passwords. - Especially important is the portability of the secured content in the
memory system 10. Since the key value is generated by the memory system and substantially not available to external systems, when the memory system or a storage device incorporating the system is transferred from one external system to another, security of the content stored therein is maintained, and external systems are not able to access such content unless they have been authenticated in a manner completely controlled by the memory system. Even after being so authenticated, access is totally controlled by the memory system, and external systems can access only in a manner controlled according to preset records in the memory system. If a request does not comply with such records, the request will be denied. - To provide greater flexibility in protecting content, it is envisioned that certain areas of the memory referred to below as partitions can be accessed only by properly authenticated users or applications. When combined with the above described features of key-based data encryption,
system 10 provides greater data protection capability. As shown inFIG. 2 , theflash memory 20 may have its storage capacity divided into a number of partitions: a user area or partition and custom partitions. The user area or partition P0 is accessible to all users and applications without authentication. While all bit values of data stored in the user area can be read or written to by any application or user, if the data read is encrypted, the user or application without authority to decrypt would not be able to access the information represented by the bit values stored in a user area. This is illustrated, for example, byfiles files - While an encrypted file in a user area P0 cannot be understood by unauthorized applications or users, such applications or users may still be able to delete or corrupt the file, which may be undesirable for some applications. For this purpose,
memory 20 also includes protected custom partitions such as partitions P1 and P2 which cannot be accessed without prior authentication. The authentication process permitted in the embodiments in this application is explained below. - As also illustrated in
FIG. 2 , a variety of users or applications may access the files inmemory 20. Thususers FIG. 2 . Before these entities are allowed to access protected content inmemory 20, they are first authenticated by an authentication process in a manner explained below. In this process, the entity that is requesting access needs to be identified at the host side for role based access control. Thus, the entity requesting access first identifies itself by supplying information such as “I amapplication 2 and I wish to readfile 1.”Controller 12 then matches the identity, authentication information and request against the record stored inmemory 20 orcontroller 12. If all requirements are met, access is then granted to such entity. As illustrated inFIG. 2 ,user 1 is allowed to read from and write to file 101 in partition P1, but can only readfiles user 1 having unrestricted rights to read from and write tofiles 106 in P0.User 2, on the other hand, is not allowed access to file 101 and 104 but has read and write access to file 102. As indicated inFIG. 2 ,users applications users - The Secure Storage Application (SSA) is a security application of the
memory system 10, and illustrates an embodiment of the invention, which can be used to implement many of the above-identified features. SSA may be embodied as software or computer code with database stored in thememory 20 or a non-volatile memory (not shown) inCPU 12, and is read intoRAM 12 a and executed byCPU 12. The acronyms used in reference to the SSA are set forth in the table below: -
Definitions, Acronyms & Abbreviations ACR Access Control Records AGP ACR Group CBC Chain Block Cipher CEK Content Encryption Key ECB Electronic Codebook ACAM ACR Attributes Management PCR Permissions Control Record SSA Secure Storage Application Entity Any thing that has real and individual existence (host side) that logs in the SSA and thus utilizes its functionalities. - Data security, integrity and access control are the major roles of the SSA. The data are files that would otherwise be stored plainly on a mass-storage device of some kind. The SSA system sits atop of the storage system and adds the security layer for the stored host files.
- The main task of the SSA is to manage the different rights associated with the stored (and secured) content in the memory. The memory application needs to manage multiple users and content rights to multiple stored content. Host applications from their side, see drives and partitions that are visible to such applications, and file allocation tables (FATs) that manage and portray the locations of the stored files on the storage device.
- In this case the storage device uses NAND flash chip divided to partitions, although other mobile storage devices may also be used and are within the scope of this invention. These partitions are continuous threads of logical addresses, where a start and an end address define their boundaries. Restrictions may therefore be imposed on access to hidden partitions, if desired, by means of software (such as software stored in memory 20) that associates such restrictions with the addresses within such boundaries. Partitions are fully recognizable to the SSA by their logical address boundaries that are managed by it. The SSA system uses partitions to physically secure data from unauthorized host applications. To the host, the partitions are a mechanism of defining proprietary spaces in which to store data files. These partitions can either be public, where anyone with access to the storage device can see and be aware of the partition's presence on the device, or private or hidden, where only the selected host applications have access to and are aware of their presence in the storage device.
-
FIG. 3 is a schematic view of a memory illustrating the partitions of the memory: P0, P1, P2 and P3 (obviously fewer or more partitions than four may be employed), where P0 is a public partition which can be accessed by any entity without authentication. - A private partition (such as P1, P2 or P3) hides the access to the files within it. By preventing the host from accessing the partition, the flash device (e.g. flash card) delivers protection of the data files inside the partition. This kind of protection, however, engulfs all of the files residing in the hidden partition by imposing restrictions on access to data stored at the logical addresses within the partition. In other words, the restrictions are associated with a range of logical addresses. All of the users/hosts that have access to that partition will have unlimited access to all of the files inside. To isolate different files from one another—or groups of files—the SSA system provides another level of security and integrity per file—or groups of files—using keys and key references or Key IDs. A key reference or key ID of a particular key value used for encrypting data at different memory addresses can be analogized to a container or domain that contains the encrypted data. For this reason, in
FIG. 4 , the key references or key IDs (e.g. “key 1” and “key 2”) are shown graphically as areas surrounding the files encrypted using the key values associated with the key IDs. - In reference to
FIG. 4 , for example, File A is accessible to all entities without any authentication, since it is shown as not enclosed by any key ID. Even though File B in the public partition can be read or overwritten by all entities, it contains data encrypted with a key with ID “key 1”, so that the information contained in File B is not accessible to an entity unless such entity has access to such key. In this manner using key values and key references or Key IDs provide logical protection only, as opposed to the type of protection provided by the partition described above. Hence, any host that can access a partition (public or private) is capable of reading or writing the data in the entire partition, including the encrypted data. However, since the data is encrypted, unauthorized users can only corrupt it. They preferably cannot alter the data without detection or use it. By restricting the access to the encryption and/or decryption keys, this feature can allow only the authorized entities to use the data. Files B and C are also encrypted using a key with key ID “key 2” in P0. - Data confidentiality and integrity can be provided through symmetric encryption methods that use Content Encryption Keys (CEK), one per CEK. In the SSA embodiment, the CEKs are generated by the flash device (e.g. flash card), used internally only, and kept as secrets from the outside world. The data that is encrypted or ciphered may also be either hashed or the cipher is chain blocked to ensure data integrity.
- Not all the data in the partition is encrypted by different keys and associated with different key IDs. Certain logical addresses either in public or user files or in the operating system area (i.e. FAT) may not be associated with any key or key reference, and thus are available to any entity that can access the partition itself.
- An entity that calls for the ability to create keys and partitions as well as writing and reading data from them or using the keys, needs to login to the SSA system through an Access Control Record (ACR). The privileges of an ACR in the SSA system are called Actions. Every ACR may have Permissions to perform Actions of the following three categories: Creating partitions and keys/key IDs, accessing partitions and keys and creating/updating other ACRs.
- ACRs are organized in groups called ACR Groups or AGPs. Once an ACR has successfully authenticated, the SSA system opens a Session through which any of the ACR's actions can be executed.
- The SSA system manages one or more public partitions, also referred to as the user partition(s). This partition exists on the storage device and is a partition or partitions that can be accessed through the standard read write commands of the storage device. Getting information regarding the size of the partition(s) as well as its existence on the device preferably cannot be hidden from the host system.
- The SSA system enables accessing this partition(s) either through the standard read write commands or the SSA commands. Therefore, accessing the partition preferably cannot be restricted to specific ACRs. The SSA system, however, can enable the host devices to restrict the access to the user partition. Read and write accesses can be enabled/disabled individually. All four combinations (e.g. write only, read only (write protect), read and write and no access) are allowed.
- The SSA system enables ACRs to associate key IDs with files within the user partition and encrypt individual files using keys associated with such key IDs. Accessing encrypted files within the user partitions as well as setting the access rights to the partitions will be done using the SSA command set (refer to Appendix A for detailed description of the SSA commands—In the Appendix, key ID is referred to as “domain”). The above features also apply to data not organized into files.
- These are hidden (from the host operating system or OS) partitions that can be accessed only through the SSA commands. The SSA system will preferably not allow the host device to access an SSA partition, other than through a session (described below) established by logging onto an ACR. Similarly, preferably the SSA will not provide information regarding the existence, size and access permission of an SSA partition, unless this request is coming through an established session.
- Access rights to partitions are derived from the ACR permissions. Once an ACR is logged into the SSA system, it can share the partition with other ACRs (described below). When a partition is created, the host provides a reference name or ID (e.g. P0-P3 in
FIGS. 3 and 4 ) for the partition. This reference is used in further read and write commands to the partition. - All available storage capacity of the device is preferably allocated to the user partition and the currently configured SSA partitions. Therefore, any repartition operation may involve reconfiguration of the existing partitions. The net change to the device capacity (sum of sizes of all partitions) will be zero. The IDs of the partitions in the device memory space are defined by the host system.
- The host system can either repartition one of the existing partitions into two smaller ones or, merge two existing partitions (which may or may not be adjacent) into one. The data in the divided or merged partitions can be either erased or left untouched, at the host's discretion.
- Since repartitioning of the storage device may cause loss of data (either because it was erased or moved around in the logical address space of the storage device) severe restrictions on repartitioning are administered by the SSA system. Only an ACR residing in a root AGP (explained below) is allowed to issue a repartition command and it can only reference partitions owned by it. Since the SSA system is not aware of how data is organized in the partitions (FAT or other file system structure) it is the host's responsibility to reconstruct these structures any time the device is repartitioned.
- Repartitioning of the user partition will change the size and other attributes of this partition as seen by the host OS.
- After repartitioning, it is the host system's responsibility to make sure any ACR in the SSA system is not referencing the non-existing partitions. If these ACRs are not deleted or updated appropriately, future attempts, on behalf of these ACRs, to access the non-existing partitions will be detected and rejected by the system. Similar care is taken, regarding deleted keys and key IDs.
- When a file is written to a certain hidden partition, it is hidden from the general public. But, once an entity (hostile or not) gets knowledge and access to this partition the file becomes available and plain to see. To further secure the file, the SSA can encrypt it in the hidden partition, where the credentials for accessing the key for decrypting the file are preferably different from those for accessing the partition. Due to the fact that files are not something that the SSA is aware of (totally controlled and managed by the host), associating a CEK with a file is a problem. Linking the file to something the SSA acknowledges—the key ID, rectifies this. Thus, when a key is created by the SSA, the host associates the key ID for this key with the data encrypted using the key created by the SSA.
- The key value and key ID provide logical security. All data associated with a given key ID, regardless of its location, is ciphered with the same content encryption key (CEK) whose reference name or key ID is uniquely provided at creation by the host application. If an entity obtains access to a hidden partition (by authenticating through an ACR) and wishes to either read or write an encrypted file within this partition, it needs to have access to the key ID that is associated with the file. When granting access to the key for this key ID, the SSA loads the key value in CEK associated with this key ID and either decrypts the data before sending it to the host or encrypts the data before writing it to the
flash memory 20. A key value in CEK associated with a key ID is randomly created once by the SSA system and maintained by it. No one outside the SSA system has knowledge or access to this key value in CEK. The outside world only provides and uses a reference or key ID, not the key value in CEK. The key value is entirely managed and only accessible by the SSA - The SSA system protects the data associated with the key ID using any one (user defined) of the following cipher modes (the actual cryptographic algorithms used, as well as the key values in CEKs, are system controlled and not revealed to the outside world):
- Block mode—Data is divided into blocks, each one of them, encrypted individually. This mode is generally considered less secure and susceptive to dictionary attacks, However, it will allow users to randomly access any one of the data blocks.
- Chained mode—Data is divided into blocks, which are chained during the encryption process. Every block is used as one of the inputs to the encryption process of the next one. This mode, although considered as more secure, requires that the data is always written and read sequentially from start to end, creating an overhead not always acceptable to the users.
- Hashed—Chain mode with the additional creation of a data digest that can be used for validating data integrity.
- The SSA is designed to handle multiple applications where each one of them is represented as a tree of nodes in the system database. Mutual exclusion between the applications is achieved by ensuring no cross talk between the tree branches.
- In order to gain access to the SSA system, an entity needs to establish a connection via one of the system's ACRs. Login procedures are administered by the SSA system according to the definitions embedded in the ACR the user chose to connect with.
- The ACR is an individual login point to the SSA system. The ACR holds the login credentials and the authentication method. Also residing in the record are the login permissions within the SSA system, among which are the read and write privileges. This is illustrated in
FIG. 5 , which illustrates n ACRs in the same AGP. This means that at least some of the n ACRs may share access to the same key. Thus,ACR # 1 and ACR #n share access to a key with key ID “key 3”, whereACR# 1 and ACR#n are the ACR IDs, and “key 3” is a key ID for the key that is used to encrypt data associated with “key 3”. The same key can also be used to encrypt and/or decrypt multiple files, or multiple sets of data. - The SSA system supports several types of login onto the system where authentication algorithms and user credentials may vary, as may the user's privileges in the system once he logged in successfully.
FIG. 5 again illustrates different login algorithms and credentials.ACR# 1 requires a password login algorithm and password as credential whereasACR# 2 requires a PKI (public key infrastructure) login algorithm and public key as credential. Thus, to login, an entity will need to present a valid ACR ID, as well as the correct login algorithm and credential. - Once an entity is logged into an ACR of the SSA system, its permissions—its rights to use SSA commands—are defined in the Permissions Control Record (PCR) which is associated with the ACR. In
FIG. 5 ,ACR# 1 grants read only permission to data associated with “key 3”, andACR # 2 grants permission to read and write data associated with “key 5” according to the PCR shown. - Different ACRs may share common interests and privileges in the system such as in keys with which to read and write. To accomplish that, ACRs with something in common are grouped in AGPs—ACR Groups. Thus,
ACR # 1 and ACR #n share access to a key with key ID “key 3”. - AGPs and, the ACRs within, are organized in hierarchical trees and so aside from creating secure keys that keep sensitive data secure; an ACR can preferably also create other ACR entries that correspond to his key ID/partitions. These ACR children will have the same or less permissions as their father—creator and, may be given permissions for keys the father ACR himself created. Needless to add, the children ACRs get access permissions to any key that they create. This is illustrated in
FIG. 6 . Thus, all of the ACRs inAGP 120 were created byACR 122 and two of such ACRs inherit fromACR 122 permission(s) to access to data associated with “key 3”. - Logging onto the SSA system is done by specifying an AGP and an ACR within the AGP.
- Every AGP has a unique ID (reference name), which is used as an index to its entry in the SSA database. The AGP name is provided to the SSA system, when the AGP is created. If the provided AGP name already exists in the system, the SSA will reject the creation operation.
- AGPs are used to administer restrictions on delegation of access and management permissions as will be described in the following sections. One of the functions served by the two trees in
FIG. 6 is to administer the access by entirely separate entities, such as two different applications, or two different computer users. For such purposes, it may be important for the two access processes to be substantially independent of one another (i.e. substantially no cross-talk), even though both occur at the same time. This means that the authentication, permissions as well as the creation of additional ACRs and AGPs in each tree are not connected to and do not depend on those of the other tree. Hence, when the SSA system is used inmemory 10, this allows thememory system 10 to serve multiple applications simultaneously. It also allows the two applications to access two separate sets of data independently of one another (e.g. a set of photographs and a set of songs). This is illustrated inFIG. 6 . Thus, the data associated with “keys 3”, “key X” and “key Z” for the application or user accessing via nodes (ACRs) in the tree in the top portion ofFIG. 6 may comprise photographs. The data associated with “key 5” and “key Y” for the application or user accessing via nodes (ACRs) of the tree in the bottom portion ofFIG. 6 may comprise songs. The ACR that created the AGP has the permission to delete it only when the AGP is empty of ACR entries - An ACR in the SSA system describes the way the entity is permitted to log into the system. When an entity logs into the SSA system it needs to specify the ACR that corresponds to the authentication process it is about to perform. An ACR includes a Permissions Control Record (PCR) that illustrates the granted actions the user can execute once authenticated as defined in the ACR as illustrated in
FIG. 5 . The host side entity provides all of the ACR data fields. - When an entity has successfully logged onto an ACR, the entity will be able to query on all of the ACR's partition and key access permissions and ACAM permissions (explained below).
- When an SSA system entity initiates the login process it needs to specify the ACR ID (as provided by the host when the ACR was created) that corresponds to the login method so that the SSA will set up the correct algorithms and select the correct PCR when all login requirements have been met. The ACR ID is provided to the SSA system when the ACR is created.
- The authentication algorithm specifies what sort of login procedure will be used by the entity, and what kind of credentials are needed to provide proof of user's identity. The SSA system supports several standard login algorithms, ranging from no procedure (and no credential) and password-based procedures to a two-way authentication protocols based on either symmetric or asymmetric cryptography.
- The entity's credentials correspond to the login algorithm and are used by the SSA to verify and authenticate the user. An example for credential can be a password/PIN-number for password authentication, AES-key for AES authentication, etc. The type/format of the credentials (i.e. the PIN, the symmetric key, etc. . . . ) is predefined and derived from the authentication mode; they are provided to the SSA system when the ACR is created. The SSA system has no part in defining, distributing and managing these credentials, with the exception of PKI based authentication where the device (e.g. flash card) can be used to generate the RSA key pair and the public key can be exported for certificate generation.
- The PCR shows what is granted to the entity after logging into the SSA system and passing the ACR's authentication process successfully. There are three types of permission categories: Creation permissions for partition and keys, Access permissions to partitions and keys and management permissions for Entity-ACR Attributes
- This section of the PCR contains the list of partitions (using their IDs as provided to the SSA system) the entity can access upon completing the ACR phase successfully. For each partition the access type may be restricted to write-only or read-only or may specify full write/read access rights. Thus, the
ACR# 1 inFIG. 5 has access topartition # 2 and notpartition # 1. The restrictions specified in the PCR apply to the SSA partitions and the public partition. - The public partition can be accessed either by regular read and write commands to the device (e.g. flash card) hosting the SSA system, or by SSA commands. When a root ACR (explained below) is created with the permission to restrict the public partition, he can pass it on to his children. An ACR can preferably only restrict the regular read and write commands from accessing the public partition. ACRs in the SSA system can be restricted preferably only upon their creation. Once an ACR has the permission to read/write from/to the public partition, preferably it cannot be taken away.
- This section of the PCR contains the data associated with the list of key IDs (as provided to the SSA system by the host) the entity can access when the ACR policies have been met by the entity's login process. The key ID specified is associated with a file/files that reside in the partition appearing in the PCR. Since the key IDs are not associated with logical addresses in the device (e.g. flash card), when more than one partition is associated with a specific ACR, the files can be in either one of the partitions. The key IDs specified in the PCR can have each, a different set of access rights. Accessing data pointed to by key IDs can be restricted to write-only or read-only or may specify full write/read access rights.
- This section describes how in certain cases the ACR's system attributes can be changed.
- The ACAM actions that may be permitted in the SSA system are:
- Create/delete/update AGPs and ACR.
- Create/delete Partitions and Keys.
- Delegate access rights to keys and partitions.
- A father ACR preferably cannot edit ACAM permissions. This would preferably require the deletion and recreation of the ACR. Also the access permission to a key ID created by the ACR can preferably not be taken away.
- Create/delete/update AGPs and ACR
- An ACR may have the capacity to create other ACRs and AGPs. Creating ACRs also may mean delegating them some or all of the ACAM permissions possessed by their creator. Having the permission to create ACRs means having the permission for the following actions:
- 1. Define and edit the child's credentials—the authentication method preferably cannot be edited once set by the creating ACR. The credentials may be altered within the boundary of the authentication algorithm that is already defined for the child.
- 2. Delete an ACR.
- 3. Delegate the creating permission to the child ACR (thus having grandchildren).
- An ACR with the permissions to create other ACRs has the permission to delegate the unblocking permission to ACRs it creates (although it probably does not have the permission to unblock ACRs). The father ACR will place in the child ACR a reference to his unblocker.
- The father ACR is the only ACR that has the permission to delete his child ACR. When an ACR deletes a lower level ACR that he created, then all ACRs spawned by this lower-level ACR are automatically deleted as well. When an ACR is deleted then all the key IDs and partitions that it created are deleted.
- There are two exceptions by which an ACR can update its own record:
- Passwords/PINs, although set by the creator ACR, can be updated only by the ACR that includes them.
- A root ACR may delete itself and the AGP that it resides in.
- ACRs and their AGPs are assembled in hierarchical trees where the root AGP and the ACRs within are at the top of the tree (
e.g. root AGPs FIG. 6 ). There can be several AGP trees in the SSA system though they are totally separated from one another. An ACR within an AGP can delegate access permissions to its keys to all ACRs within the same AGP that it is in, and to all the ACRs created by them. The permission to create keys preferably includes the permission to delegate access permissions to use the keys. - Permissions to keys are divided into three categories:
- 1. Access—this defines the access permissions for the key i.e. Read, Write.
- 2. Ownership—an ACR that created a key is by definition its owner. This ownership can be delegated from one ACR to another (provided that they are in the same AGP or in a child AGP). An ownership of a key provides the permission to delete it as well as delegate permissions to it.
- 3. Access Rights Delegation—this permission enables the ACR to delegate the rights he holds.
- An ACR can delegate access permissions to partitions he created as well as other partitions he has access permissions to.
- The permission delegation is done by adding the names of the partitions and key IDs to the designated ACR's PCR. Delegating key access permissions may either be by the key ID or by stating that access permission is for all of the created keys of the delegating ACR.
- Blocking and Unblocking of ACRs
- An ACR may have a blocking counter which increments when the entity's ACR authentication process with the system is unsuccessful. When a certain maximum number (MAX) of unsuccessful authentications is reached, the ACR will be blocked by the SSA system.
- The blocked ACR can be unblocked by another ACR, referenced by the blocked ACR. The reference to the unblocking ACR is set by its creator. The unblocking ACR preferably is in the same AGP as the creator of the blocked ACR and has the “unblocking” permission.
- No other ACR in the system can unblock the blocked ACR. An ACR may be configured with a blocking counter but without an unblocker ACR. In this case, if this ACR get blocked it cannot be unblocked.
- The SSA system is designed to handle multiple applications and isolate the data of each one of them. The tree structure of the AGP system is the main tool used to identify and isolate application specific data. The root AGP is at the tip of an application SSA database tree and adheres to somewhat different behavior rules. Several root AGPs can be configured in the SSA system. Two
root AGPs FIG. 6 . Obviously fewer or more AGPs may be used and are within the scope of this invention. - Registering the device (e.g. flash card) for a new application and/or issue credentials of a new applications for the device are done through the process of adding new AGP/ACR tree to the device.
- The SSA system supports three different modes of root AGP creation (as well as all of the ACRs of the root AGP and their permissions):
- 1. Open: Any user or entity without requiring any sort of authentication, or users/entities authenticated through the system ACR (explained below), can create a new root AGP. The open mode enables creation of root AGPs either without any security measures while all data transfer is done on an open channel (i.e. in the secure environment of an issuance agency) or, through a secure channel established through the system ACR authentication (i.e. Over The Air (OTA) and post issuance procedures).
- If the system ACR is not configured (this is an optional feature) and the root AGP creation mode is set to Open, only the open channel option is available.
- 2. Controlled: Only entities authenticated through the System ACR can create a new root AGP. The SSA system cannot be set to this mode if system ACR is not configured.
- 3. Locked: Creation of root AGPs is disabled and no additional root AGPs can be added to the system
- Two SSA commands control this feature (these commands are available to any user/entity without authentication):
- 1. Method configuration command—Used to configure the SSA system to use any one of the three root AGP creation modes. Only the following mode changes are allowed: Open->Controlled, Controlled->Locked (i.e. if the SSA system is currently configured as Controlled, it can only be changed to locked).
- 2. Method configuration lock command—Used to disable the method configuration command and permanently lock the currently selected method.
- When a root AGP is created, it is in a special initializing mode that enables the creation and configuration of its ACRs (using the same access restrictions that applied to the creation of the root AGP). At the end of the root AGP configuration process, when the entity explicitly switches it to operating mode, the existing ACRs can no longer be updated and additional ACRs can no longer be created
- Once a root AGP is put in standard mode it can be deleted only by logging into the system through one of its ACRs that is assigned with the permission to delete the root AGP. This is another exception of root AGP, in addition to the special initialization mode; it is preferably the only AGP that may contain an ACR with the permission to delete its own AGP, as opposed to AGPs in the next tree level.
- The third and last difference between a root ACR and a standard ACR is that it is the only ACR in the system that can have the permission to create and delete partitions.
- The system ACR may be used for the following two SSA operations:
- 1. Create an ACR/AGP tree under the protection of a secured channel within hostile environments.
- 2. Identify and authenticate the device hosting the SSA system.
- There may preferably be only one System ACR in the SSA and once defined it preferably cannot be changed. There is no need for system authentication when creating the System ACR; only a SSA command is needed. The create-system-ACR feature can be disabled (similarly to the create-root-AGP feature). After the system ACR is created, the create-system-ACR command has no effect, since preferably only one System ACR is allowed.
- While in the process of creating, the System ACR is not operational. Upon finishing, a special command needs to be issued indicating that the System ACR is created and ready to go. After this point the System ACR preferably cannot be updated or replaced.
- The System ACR creates the root ACR/AGP in the SSA. It has permission to add/change the root level until such time that the host is satisfied with it and blocks it. Blocking the root AGP essentially cuts off its connection to the system ACR and renders it temper proof. At this point no one can change/edit the root AGP and the ACRs within. This is done through an SSA command. Disabling creation of root AGPs has a permanent effect and cannot be reversed. The above features involving the system ACR are illustrated in
FIG. 7 . The system ACR is used to create three different root AGPs. At a certain time after these are created, the SSA command is sent from the host to block the root AGPs from the system ACR, thereby disabling the create-root-AGP feature, as indicated by the dotted lines connecting the System ACR to the root AGPs inFIG. 7 . This renders the three root AGPs temper proof. The three root AGPs may be used to create children AGPs to form three separate trees, before or after the root AGPs are blocked. - The above described features provides great flexibility to the content owner in configuring secure products with content. Secure products need to be “Issued”. Issuance is the process of putting identification keys by which the device can identify the host and vice versa. Identifying the device (e.g. flash card) enables the host to decide whether it can trust its secrets with it. On the other hand, identifying the host enables the device to enforce security policies (grant and execute a specific host command) only if the host is allowed to.
- Products that are designed to serve multiple applications will have several identification keys. The product can be “pre-issued”—keys stored during manufacturing before shipping, or “post issued”—new keys are added after shipping. For post issuance, the memory device (e.g. memory card) needs to contain some kind of master or device level keys which are being used to identify entities which are allowed to add applications to the device.
- The above described features enables a product to be configured to enable/disable post issuance. In addition, the post issuance configuration can be securely done after shipping. The device may be bought as a retail product with no keys on it in addition to the master or device level keys described above, and then be configured by the new owner to either enable further post issuance applications or disable them.
- Thus, the system ACR feature provides the capability to accomplish the above objectives:
- Memory devices with no system ACR will allow unlimited and uncontrolled addition of applications.
- Memory devices without system ACR can be configured to disable the system ACR creation, which means there is no way to control adding of new applications (unless the feature of creating new root AGP is disabled as well)
- Memory devices with system ACR will allow only controlled addition of applications via a secure channel to establish through an authentication procedure using the system ACR credential.
- Memory devices with system ACR may be configured to disable the application adding feature, before or after applications have been added.
- Key IDs are created per specific ACR request; however, in the
memory system 10, they are used solely by the SSA system. When a key ID is created the following data is provided by or to the creating ACR: - 1. Key ID. The ID is provided by the entity through the host and is used to reference the key and data that is encrypted or decrypted using the key in all further read or write accesses.
- 2. Key Cipher and data integrity Mode (the Blocked, Chained and Hashed Modes above and as explained below)
- In addition to the host provided attributes, the following data is maintained by the SSA system:
- 1. Key ID Owner. The ID of the ACR that is the owner. When a key ID is created the creator ACR is its owner. Key ID ownership may, however, be transferred to another ACR. Preferably only the key ID owner is allowed to transfer ownership of, and delegate, a key ID. Delegating access permission to the associated key, and revoking these rights can be administered either by the key ID owner or any other ACR assigned with delegation permissions. Whenever an attempt is made to exercise any one of these operations, the SSA system will grant it only if the requesting ACR is authorized.
- 2. CEK. This is the CEK used to cipher the content associated with or pointed to by the key ID. The CEK may be a 128 bit AES random key generated by the SSA system.
- 3. MAC and IV values. Dynamic information (message authentication codes and initiation vectors) used in the Chained Block Cipher (CBC) encryption algorithms.
- The various features of the SSA are also illustrated in reference to the flow charts in
FIGS. 8A-16 , where ‘H’ to the left of a step means the operation is performed by the host, and ‘C’ means the operation is performed by the card. In order to create a System ACR, the host issues to the SSA in the memory device 10 a command to create System ACR (block 202). Thedevice 10 responds by checking whether a System ACR already exists (block 204, diamond 206). If it already exists, thendevice 10 returns failure and stops (oblong 208). If it does not, thenmemory 10 checks to see if System ACR creation is allowed (diamond 210), and returns a failure status if not allowed (block 212). Thus, there may be instances where the device issuer does not allow the creation of a System ACR, such as in the case where the security features needed have been predetermined so that no System ACR is needed. If this is allowed, thedevice 10 returns OK status and waits for System ACR credentials from the host (block 214). The host checks the SSA status and whether thedevice 10 has indicated that the creation of a System ACR is allowed (block 216 and diamond 218). If creation is not allowed or if a system ACR already exists, the host stops (oblong 220). If thedevice 10 has indicated that the creation of a System ACR is allowed, the host issues a SSA command to define its login credential and sends it to the device 10 (block 222). Thedevice 10 updates a System ACR record with the credential received and returns OK status (block 224). In response to this status signal, the host issues SSA command indicating the system ACR is ready (block 226). Thedevice 10 responds by locking the System ACR so that it cannot be updated or replaced (block 228). This locks in the features of the system ACR and its identity for identifying thedevice 10 to the host. - The procedure for creating new trees (New Root AGPs and ACR) is determined by the way these functions are configured in the device.
FIG. 9 explains the procedures. Both thehost 24 and thememory system 10 follow it. If adding new root AGP is disabled altogether, new root AGPs cannot be added (diamond 246). If it is enabled but requires a system ACR, the host authenticates through the system ACR and establishes a secure channel (diamond 250, block 252) prior to issuing the Create Root_AGP command (block 254). If system ACR is not required (diamond 248) thehost 24 can issue the create root AGP command without authentication and proceed to block 254. If system ACR does exist, the host may use it even if it is not required (not shown in the flow chart). The device (e.g. flash card) will reject any attempt to create a new root AGP if the function is disabled and it will reject an attempt to create a new root AGP without authentication, if system ACR is required (diamonds 246 and 250). The newly created AGP and ACR inblock 254, are now switched to Operational Mode so that the ACRs in such AGPs cannot be updated or otherwise changed, and no ACRs can be added to them (block 256). The system is then, optionally locked so that additional root AGPs cannot be created (block 258). The dottedline box 258 is a convention indicating that this step is an optional step. All the boxes in the flow charts of the figures of this application in dotted lines are optional steps. This allows the content owner to block the use ofdevice 10 for other illicit purposes that may imitate a genuine memory device with legitimate content. - To create ACRs (other than the ACRs in the root AGP as described above), one may start with any ACR that has the right to create an ACR (block 270) as shown in
FIG. 10 . An entity may attempt to enter through thehost 24 by providing the entry point ACR identity, and the ACR with all the necessary attributes that it wishes to create (block 272). The SSA checks for a match to the ACR identity and whether the ACR with such identity has the permission to create an ACR (diamond 274). If the request is verified to be authorized, the SSA indevice 10 creates an ACR (block 276). -
FIG. 11 shows two AGPs that illustrate a tree useful in security applications using the method ofFIG. 10 . Thus, the ACR with identity m1 in the marketing AGP has the permission to create an ACR. The ACR m1 also has the permission to use a key for reading and writing data associated with the key ID “Marketing Information” and data associated with the key ID “Price List”. Using the method ofFIG. 10 , it creates the Sales AGP with two ACRs: s1 and s2 with only read permission to the key for accessing pricing data associated with the key ID “Price List”, but not to the key necessary for accessing data associated with the key ID “Marketing Information”. In this manner, the entities with the ACRs s1 and s2 can only read but not change the pricing data, and will have no access to marketing data. The ACR m2, on the other hand, has no permission to create ACRs, and has only read permission to the keys for accessing data associated with the key ID “Price List” and with the key ID “Marketing Information”. - Thus, access rights may be delegated in the manner explained above where m1 delegates rights to read pricing data to s1 and s2. This is particularly useful where large marketing and sales groups are involved. Where there are but one or a few sales people, there may be no need to use the method of
FIG. 10 . Instead, the access rights may be delegated, by an ACR to one at a lower or the same level within the same AGP, as illustrated inFIG. 12 . First, the entity enters the tree for such AGP by specifying an ACR in the manner described above in the tree through the host (block 280). Next the host will specify the ACR and the rights to delegate to. The SSA checks the tree(s) for such ACR and whether the ACR has the permission to delegate rights to the specified another ACR (diamond 282). If it does, the rights are delegated (block 284); if not it stops. The result is illustrated inFIG. 13 . The ACR m1 in this case has the permission to delegate read permission to the ACR s1, so that s1 will be able to use a key to access pricing data after the delegation. This may be performed if m1 has the same or greater rights to access pricing data and the permission to so delegate. In one embodiment, m1 retains its access rights after the delegation. Preferably access rights may be delegated under restricted conditions (rather then permanently) such as for a limited time, limited number of accesses, etc. . . . - The process for creating a key and key ID is illustrated in
FIG. 14 . The entity authenticates through an ACR (block 302). The entity requests the creation of a key with an ID specified by the host (block 304). The SSA checks and see if the ACR specified has the permission to do so (diamond 306). For example, if the key is to be used for accessing data in a particular partition, the SSA will check and see if the ACR may access such partition. If the ACR is authorized, then thememory device 10 creates a key value associated with the key ID provided by the host (block 308), ands stores the key ID in the ACR, and the key value in its memory (either in the controller-associated memory or memory 20) and assigns rights and permissions according to information supplied by the entity (block 310) and modifies the PCR of such ACR with such assigned rights and permissions (block 312). Thus, the creator of the key has all available rights, such as read and write permissions, right to delegate and share with other ACRs in the same AGP or an ACR at a lower level, and the right to transfer ownership of the key. - An ACR can change the permissions (or the existence altogether) of another ACR in the SSA system as illustrated in
FIG. 15 . An entity may enter a tree through an ACR as before; in one case the entity is authenticated and then it specifies an ACR (blocks 330, 332). It requests the deletion of a target ACR or the permission in a target ACR (block 334). If the ACR specified or the one active at such time has the right to do so (diamond 336), the target ACR is deleted, or the PCR of the target ACR is altered to delete such permission (block 338). If this is not authorized the system stops. - After the above described process, the target will no longer be able to access the data it was able to prior to the process. As shown in
FIG. 16 , an entity may attempt to enter at the target ACR (block 350) and finds that the authentication process fails, since the previously existing ACR ID is no longer present in the SSA, so that access rights are denied (diamond 352). Assuming that the ACR ID has not been deleted, the entity specifies an ACR (block 354) and the key ID and/or data in a particular partition (block 356), and the SSA then checks to see the key ID or partition access request is permitted according to the PCR of such ACR (diamond 358). If the permission has been deleted or has expired, then the request is again denied. Otherwise, the request is granted (block 360). - The above process describes how access to protected data is managed by the device (e.g. flash card), regardless of whether the ACR and its PCR were just changed by another ACR or were so configured to begin with.
- The SSA system is designed to handle multiple users, logged in concurrently. This feature requires that every command received by the SSA is associated with a specific entity and executed only if the ACR, used to authenticate this entity, has the permissions for the requested action.
- Multiple entities are supported through the session concept. A session is established during the authentication process and assigned a session-id by the SSA system. The session-id is internally associated with the ACR used for logging into the system and is exported to the entity to be used in all further SSA commands.
- The SSA system supports two types of sessions: Open, and Secure sessions. The session type associated with a specific authentication process is defined in the ACR. The SSA system will enforce session establishment in a way similar to the way it enforces the authentication itself. Since the ACR defines the entity permissions, this mechanism enables system designers to associate secure tunneling either with accessing specific key IDs or invoking specific ACR management operations (i.e. creating new ACRs and setting credentials)
- Open session is a session identified with a session-id but without bus encryption, all commands and data are passed in the clear. This mode of operation is preferably used in a multi-user or multi-entity environment where the entities are not part of the threat model, nor is eavesdropping on the bus.
- Although not protecting the transmission of the data nor enabling efficient fire-walling between the applications on the host side, the Open session mode enables the SSA system to allow access only to the information allowed for the currently authenticated ACRs.
- The Open session can also be used for cases where a partition or a key needs to be protected. However, after a valid authentication process, access is granted to all entities on the host. The only thing the various host applications need to share, in order to get the permissions of the authenticated ACR is the session-id. This is illustrated in
FIG. 17A . The steps above theline 400 are those taken by thehost 24. After an entity is authenticated (block 402) for ACR1, it requests access to a file associated with a key ID X in the memory device 10 (blocks ACR 1 allows such access,device 10 grants the request (diamond 410). If not, the system returns to block 402. After authentication is completed, thememory system 10 identifies the entity issuing a command only by the assigned session id (and not the ACR credentials). Once theACR 1 gains access to the data associated with the key IDs in its PCR, in an open session, any other application or user can access the same data by specifying the correct session ID which is shared between the different applications on thehost 24. This feature is advantageous in applications where it is more convenient to the user to be able to log in only once, and be able to access all the data tied to the account through which the log in is performed for different applications. Thus, a cellular phone user may be able to access stored emails, and listen to stored music inmemory 20 without having to log in multiple times. On the other hand, data not encompassed by the ACR1 will not be accessible. Thus, the same cellular phone user may have valuable content such as games and photographs accessible through a separate account ACR2. This is data that he does not wish others who borrow his phone to access, even though he may not mind others accessing data available through his first account ACR1. Separating access to the data into two separate accounts while allowing access to ACR1 in open session provides ease of use as well as affording protection of valuable data. - To even further ease the process of sharing the session-id amongst the host applications, when an ACR is requesting an Open session it can specifically request that the session will be assigned the “0 (zero)” id. This way, applications can be designed to use a pre-defined session-id. The only restriction is, for obvious reasons, that only one ACR, requesting
session 0, can be authenticated at a specific time. An attempt to authenticate anotherACR requesting session 0, will be rejected. - To add a layer of security, the session id may be used as shown in
FIG. 17B . TheMemory 10 then also stores the session ids of the active sessions. InFIG. 17B , for example, in order to be able to access a file associated with key ID X, the entity will need to also provide a session id, such as session id “A” before it is allowed to access the file (blocks memory 10. Since the session id is deleted after the session is over and will be different for each session, an entity can gain access only when it has been able to provide the session number. - The SSA system has no way to make sure that a command is really coming from the correct authenticated entity, other than by using the session number. For applications and use cases where there is a threat that attackers will try to use an open channel to send malicious commands, the host application uses a secure session (a secure channel).
- When using a secure channel, the session-id, as well as the entire command, is encrypted with the secure channel encryption (session) key and the security level is as high as the host side implementation.
- A session is terminated and, the ACR is logged off, in any one of the following scenarios:
- 1. The entity issues an explicit end-session command.
- 2. Time out on communication. A specific entity issued no command for a time period defined as one of the ACR parameters.
- 3. All open sessions are terminated after device (e.g. flash card) reset and/or power cycle.
- The SSA system verifies the integrity of the SSA database (which contains all the ACRs, PCRs, etc. . . . ). In addition data integrity services are offered for entity data through the key ID mechanism.
- If a key ID is configured with Hashed as its encryption algorithms the hash values are stored along side with the CEK and IV in the CEK record. Hash values are calculated and stored during write operation. Hash values are again calculated during read operations and compared with the values stored during the previous write operations. Every time the entity is accessing the key ID the additional data is concatenated (cryptographically) to the old data and the appropriate Hash value (for read or for write) updated.
- Since only the host knows the data files associated with or pointed to by a key ID, the host explicitly manages several aspects of the data integrity function in the following manner:
- 1. A data file associated with or pointed to by a key ID is written or read from the beginning to end. Any attempt to access portions of the file will mess it up since the SSA system is using a CBC encryption method and generates a hashed message digest of the entire data
- 2. There is no need to process the data in a contiguous stream (the data stream can be interleaved with data streams of other key Ids and may be split over multiple sessions) since intermediate Hash values are maintained by the SSA system. However, the entity will need to explicitly instruct the SSA system to reset the Hash values if the data stream is restarted.
- 3. When a read operation is completed, the host must explicitly request the SSA system to validate the read Hash by comparing it with the Hash value calculated during the write operation.
- 4. The SSA system provides a “dummy read” operation as well. This feature will stream the data through the encryption engines but will not send it out to the host. This feature can be used to verify data integrity before it is actually read out of the device (e.g. flash card).
- The SSA system will enable external entities to make use of the internal random number generator and request random numbers to be used outside of the SSA system. This service is available to any host and does not require authentication.
- The SSA system will enable external users to make use of the internal RSA key pair generation feature and request an RSA key pair to be used outside of the SSA system. This service is available to any host and does not require authentication.
- Instead of using a hierarchical approach, similar results can be achieved using a data base approach, as illustrated in
FIG. 18 . - As shown in
FIG. 18 , a list of credentials for entities, authentication methods, the maximum number of failed attempts, and the minimum number of credentials needed to unblock may be entered into a database stored incontroller 12 ormemory 20, which relates such credential requirements to the policies (read, write access to keys and partitions, secure channel requirement) in the database carried out by thecontroller 12 ofmemory 10. Also stored in the database are constraints and limitations to the access to keys and partitions. Thus, some entities (e.g. system administrator) may be on a white list, which means that these entities can always access all keys and partitions. Other entities may be on a black list, and their attempts to access any information will be blocked. The limitation can be global, or key and/or partition specific. This means that only certain entities can always access certain specific keys and partitions, and certain entities always cannot do so. Constraints can also be put on the content itself, irrespective of the partition it is in or the key used to encrypt or decrypt it. Thus, certain data (e.g. songs) may have the attribute that they can only be accessed by the first five host devices that access them, or that other data (e.g. movies) can only be read for a limited number of times, irrespective of which entities had access. - Password Protection
- Password-protect means that a password needs to be presented to access the protected area. Unless it cannot be more than one password then passwords could be associated with different rights such as read access or read/write access.
- Password protect means that the device (e.g. flash card) is able to verify a password provided by the host i.e. the device also has the password stored in device managed secured memory area.
- Issues and Limitations
- Passwords are subject to replay attack. Because the password does not change after each presentation it can be identically resent. It means that password as is must not be use if the data to be protected are valuable, and the communication bus is easily accessible.
- Password could protect access to stored data but should NOT be used to protect data (not a key)
- To increase the security level associated with passwords, they can be diversified using a master key, with the result that hacking one does not crack entire system. A session key based secure communication channel can be use to send the password.
-
FIG. 19 is a flow chart illustrating authentication using a password. The entity sends in an account id and password to system 10 (e.g. flash memory card). The system checks to see if the password matches that in its memory. If it matches, authenticated status is returned. Otherwise, the error counter is incremented for that account, and the entity is asked to re-enter an account id and password. If the counter overflows, the system return status that access is denied. - Challenge Response
-
FIG. 20 is a Flow Chart illustrating authentication using a challenge/response type method. The entity sends in an account id and requests a challenge fromsystem 10.System 10 generates a random number and presents it to the host. The host computes a response from the number and sends it to thesystem 10.System 10 compares the response to the value stored. The remaining steps are similar to those inFIG. 19 for determining whether to grant access. -
FIG. 21 is a Flow Chart illustrating authentication using another challenge/response type method.FIG. 21 differs from that inFIG. 20 in that, in addition to requiring the host to be authenticated by thesystem 10, it also requires thesystem 10 to be authenticated by a challenge/response wheresystem 10 also requests a challenge from the host and returns a response to be checked by the host. -
FIG. 22 is a Flow Chart illustrating authentication using another challenge/response type method. In this case, only thesystem 10 needs to be authenticated, where the host sends a challenge tosystem 10, which computes a response that is checked by the host for a match with its record ofsystem 10. - Symmetric Key
- Symmetric key algorithm means that the SAME key is used on both sides to encrypt and decrypt. It means that the key must have been pre-agreed prior to communicating. Also each side should implement the reverse algorithm of each other i.e. encrypt algorithm on one side and decrypt on the other. Both sides do not need to implement both algorithms to communicate.
- Authentication
- Symmetric key authentication means that device (e.g. flash card) and host share the same key and have the same cryptographic algorithm (direct and reverse e.g. DES and DES-1).
- Symmetric key authentication means challenge-response (protect against replay attack). The protected device generates a challenge for the other device and both compute the response. The authenticating device sends back the response and the protected device check the response and validate authentication accordingly. Then rights associated with authentication can be granted.
- Authentication could be:
- External: the device (e.g. flash card) authenticates the outside world i.e. the device validates credentials of a given host or application
- Mutual: a challenge is generated on both sides
- Internal: the host application authenticates the device (e.g. flash card) i.e. host checks if device is genuine for its application.
- To increase the security level of the entire system (i.e. breaking one does not break all)
- Symmetric key are usually combined with diversification using a master key
- Mutual authentication uses challenge from both side to ensure challenge is a real challenge
- Encryption
- Symmetric key cryptography is also used for encryption because it is a very efficient algorithm i.e. it does not need a powerful CPU to handle cryptography.
- When used to secure a communication channel:
- Both devices have to know the session key used to secure the channel (i.e. encrypt all outgoing data and decrypt all incoming data). This session key is usually established using a pre-shared secret symmetric key or using PKI.
- Both devices have to know and implement the same cryptographic algorithms
- Signature
- Symmetric key can also be used to sign data. In that case the signature is a partial result of the encryption. Keeping the result partial allows to sign as many time as needed without exposing the key value.
- Issues and Limitations
- Symmetric algorithms are very efficient and secure but they are based on a pre-shared secret. The issue is securely share this secret in a dynamic manner and possibly to have it random (like a session key). The idea is that a shared secret is hard to keep safe in a long term and is almost impossible to share with multiple people.
- To facilitate this operation, public key algorithm has been invented as it allows the exchange of secrets without sharing them.
- Public Key Cryptography
- Asymmetric key algorithm is commonly referred Public Key cryptograph. It is a quite complex and usually CPU intensive mathematical implementation. It has been invented to solve the issues of key distribution associated with symmetric key algorithms. It also provides signing capabilities used to ensure data integrity.
- Asymmetric key algorithm uses a key which has private and public elements respectively referred as private key and public key. Both private key and public key are mathematically linked together. The public key can be shared whereas the private has to remain secret. As for the keys, asymmetric algorithm uses two mathematical functions (one for the private key and one for the public key) to provide wrap and unwrap or sign and verify.
- Key Exchange and Key Distribution
- Key exchange becomes very simple using PK algorithm. The device sends its public key to the other device. The other device wraps its secret key with the public key and returns the encrypted data to the first device. The first device uses its private key to unwrap the data and retrieve the secret key which is now known to both sides and can be used to exchange data. Because the symmetric key can be exchanged that easily it is usually a random key.
- Signature
- Because of its nature public key algorithm is usually used only to sign small amount of data. To ensure data integrity it is then combine with a hash function that provides a one-way foot print of the message.
- The Private key is used to sign the data. The public key (freely available) allows to verify the signature.
- Authentication
- Authentication usually uses signature: a challenge is signed and returned for validation
- The public part of the key is used for verification. Because anyone can generate a key pair, there is a need to certify the owner of the public key in order to prove that this is the right person using the correct key. Certification authority provides certification and will include the public key in a signed certificate. The certificate is signed by the authority itself. Then using a public key to verify a signature means that the authority that issued the certificate containing that key is trusted and that one is able to verify that the certificate has not been hacked i.e. that the certificate hash signed by the authority is correct; meaning that the user has and trusts the authority public key certificate.
- The most common way to provide PK authentication is to trust the authority or root certificate and indirectly trust all key pairs certified by the given authority. Authenticating is then a matter of proving that the private key that one has matches the certificate by signing a challenge and providing the challenge response, and the certificate. Then certificate is checked to make sure it has not been hacked and it is signed by a trusted authority. Then the challenge response is verified. Authentication is successful if the certificate is trusted and the challenge response is correct.
- Authentication in a device (e.g. flash card) means that the device is loaded with trusted root certificates and that the device is able to verify the challenge response as well as the certificate signed hash.
- File Encryption
- PK algorithm is not used to encrypt large amounts of data because it is too CPU intensive, but is usually used to protect a randomized encryption/decryption key generated to encrypt the content. For example SMIME (Secure email) generate a key which is then encrypted with all recipients' public key.
- Issues and Limitations
- Because anything can generate a key pair, it has to be certified to ensure its origin. During key exchange one may want to make sure that the secret key is provided to the right device i.e. the origin of the provided public key will need to be checked. Certificate management then becomes part of the security as it can inform about the validity of the key, and whether the key has been revoked.
- While the invention has been described above by reference to various embodiments, it will be understood that changes and modifications may be made without departing from the scope of the invention, which is to be defined only by the appended claims and their equivalent. All references referred to herein are incorporated by reference.
Claims (31)
1-19. (canceled)
20. A method for access control, the method comprising:
performing by a storage device that contains an account with authentication credentials and further contains permissions:
receiving a request to access the storage device, the request including a session ID, the session ID being associated with the permissions upon authenticating an entity to the account using the authentication credentials, wherein the storage device stores the permissions prior to receiving a request to authenticate the entity;
using the session ID included in the request to look up in the storage device the permissions associated with the session ID;
determining whether the permissions authorize the requested access to the storage device; and
granting the requested access to the storage device if the permissions authorize the requested access to the storage device.
21. The method of claim 20 , wherein the request is received in plain text.
22. The method of claim 20 , wherein the session ID is sharable among other entities to share access to the storage device, and wherein after the entity is authenticated to the account using the authentication credentials, the storage device identifies the other entities by the session ID and not the authentication credentials.
23. The method of claim 20 , wherein the memory comprises a partition, and wherein the method further comprises permitting authenticated entities to access data in the partition.
24. The method of claim 23 , wherein the partition comprises a continuous range of addresses.
25. The method of claim 20 , wherein a type of access to the storage device is independent from any authentication used to authenticate the entity to the account.
26. The method of claim 20 , wherein multiple accounts can be authorized for a type of access to the storage device.
27. The method of claim 20 , wherein the account is stored in a memory component of the storage device, and wherein information relating to the account is fetched from the memory component by a controller of the storage device during authentication.
28. A storage device comprising:
a non-volatile memory containing an account with authentication credentials and further containing permissions; and
a controller in communication with the non-volatile memory, wherein the controller is operative to:
receive a request to access the storage device, the request including a session ID, the session ID being associated with the permissions upon authenticating an entity to the account using the authentication credentials, wherein the storage device stores the permissions prior to receiving a request to authenticate the entity;
use the session ID included in the request to look up in the storage device the permissions associated with the session ID;
determine whether the permissions authorize the requested access to the storage device; and
grant the requested access to the storage device if the permissions authorize the requested access to the storage device;
wherein the session ID is sharable among other entities to share access to the storage device, and wherein after the entity is authenticated to the account using the authentication credentials, the storage device identifies the other entities by the session ID and not the authentication credentials.
29. The storage device of claim 28 , wherein the request is received in plain text.
30. The storage device of claim 28 , wherein the session ID is sharable among other entities to share access to the storage device, and wherein after the entity is authenticated to the account using the authentication credentials, the storage device identifies the other entities by the session ID and not the authentication credentials.
31. The storage device of claim 28 , wherein the memory comprises a partition, and wherein the controller is further operative to permit authenticated entities to access data in the partition.
32. The storage device of claim 31 , wherein the partition comprises a continuous range of addresses.
33. The storage device of claim 28 , wherein a type of access to the storage device is independent from any authentication used to authenticate the entity to the account.
34. The storage device of claim 28 , wherein multiple accounts can be authorized for a type of access to the storage device.
35. The storage device of claim 28 , wherein information relating to the account is fetched from the non-volatile memory by the controller during authentication.
36. A method for access control of a partition of a storage device, the method comprising:
performing by a storage device that has a non-volatile memory with a partition:
authenticating an entity to an account on the storage device;
receiving permissions from the entity to restrict access to the partition; and
applying the permissions to access the partition when an unauthenticated entity attempts to access the partition.
37. The method of claim 36 , wherein the memory comprises at least one additional partition.
38. The method of claim 36 , wherein the account comprises an access control record.
39. The method of claim 36 , wherein the account is stored in a memory component of the storage device, and wherein information relating to the account is fetched from the memory component by a controller of the storage device during authentication.
40. The method of claim 36 , wherein the partition comprises a continuous range of addresses.
41. The method of claim 36 , wherein the partition is a public partition.
42. The method of claim 36 , wherein the partition is accessed using regular read and write commands of the storage device.
43. A storage device comprising:
a non-volatile memory having a partition; and
a controller in communication with the non-volatile memory, wherein the controller is configured to:
authenticate an entity to an account on the storage device;
receive permissions from the entity to restrict access to the partition; and
apply the permissions to access the partition when an unauthenticated entity attempts to access the partition.
44. The storage device of claim 43 , wherein the memory comprises at least one additional partition.
45. The storage device of claim 43 , wherein the account comprises an access control record.
46. The storage device of claim 43 , wherein the account is stored in a memory component of the storage device, and wherein information relating to the account is fetched from the memory component by a controller of the storage device during authentication.
47. The storage device of claim 43 , wherein the partition comprises a continuous range of addresses.
48. The storage device of claim 43 , wherein the partition is a public partition.
49. The storage device of claim 43 , wherein the partition is accessed using regular read and write commands of the storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/067,574 US20140115698A1 (en) | 2004-12-21 | 2013-10-30 | Method for Versatile Content Control with Partitioning |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US63880404P | 2004-12-21 | 2004-12-21 | |
US11/314,052 US8601283B2 (en) | 2004-12-21 | 2005-12-20 | Method for versatile content control with partitioning |
US14/067,574 US20140115698A1 (en) | 2004-12-21 | 2013-10-30 | Method for Versatile Content Control with Partitioning |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/314,052 Continuation US8601283B2 (en) | 2004-12-21 | 2005-12-20 | Method for versatile content control with partitioning |
Publications (1)
Publication Number | Publication Date |
---|---|
US20140115698A1 true US20140115698A1 (en) | 2014-04-24 |
Family
ID=37188228
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/314,052 Active 2029-04-27 US8601283B2 (en) | 2004-12-21 | 2005-12-20 | Method for versatile content control with partitioning |
US14/067,574 Abandoned US20140115698A1 (en) | 2004-12-21 | 2013-10-30 | Method for Versatile Content Control with Partitioning |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/314,052 Active 2029-04-27 US8601283B2 (en) | 2004-12-21 | 2005-12-20 | Method for versatile content control with partitioning |
Country Status (1)
Country | Link |
---|---|
US (2) | US8601283B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130103748A1 (en) * | 2011-10-19 | 2013-04-25 | Nintendo Co., Ltd. | Information processing system, storage medium having stored therein information processing program, information processing apparatus, and information processing method |
US20140156961A1 (en) * | 2011-07-18 | 2014-06-05 | Ted A. Hadley | Access to Memory Region Including Confidential Information |
US20160300078A1 (en) * | 2015-04-08 | 2016-10-13 | Joseph Bryan Wooldridge | Electronic preemptive evidentiary escrow platform |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006048643A (en) * | 2004-07-08 | 2006-02-16 | Namco Ltd | Terminal device, program, information storage medium, and data processing method |
US7748031B2 (en) | 2005-07-08 | 2010-06-29 | Sandisk Corporation | Mass storage device with automated credentials loading |
US7971071B2 (en) * | 2006-05-24 | 2011-06-28 | Walkoe Wilbur J | Integrated delivery and protection device for digital objects |
US8819563B2 (en) * | 2008-04-03 | 2014-08-26 | Dell Products L.P. | Systems and methods for accessing system utilities |
US20090276837A1 (en) * | 2008-04-30 | 2009-11-05 | Microsoft Corporation | Credential equivalency and control |
KR101505682B1 (en) * | 2008-09-11 | 2015-03-24 | 엘지전자 주식회사 | Mobile Terminal, Restricting System and Method of opening Information using the Mobile Terminal |
US8769190B1 (en) * | 2010-09-15 | 2014-07-01 | Western Digital Technologies, Inc. | System and method for reducing contentions in solid-state memory access |
US8370535B2 (en) | 2010-10-27 | 2013-02-05 | Sandisk Il Ltd. | Routing commands within a multifunctional device |
US8881240B1 (en) * | 2010-12-06 | 2014-11-04 | Adobe Systems Incorporated | Method and apparatus for automatically administrating access rights for confidential information |
US20130333024A1 (en) * | 2011-03-04 | 2013-12-12 | Nec Corporation | Random value identification device, random value identification system, and random value identification method |
US9430641B1 (en) * | 2011-11-03 | 2016-08-30 | Mobile Iron, Inc. | Adapting a mobile application to a partitioned environment |
US9225675B2 (en) | 2012-08-08 | 2015-12-29 | Amazon Technologies, Inc. | Data storage application programming interface |
US9904788B2 (en) | 2012-08-08 | 2018-02-27 | Amazon Technologies, Inc. | Redundant key management |
US9525588B2 (en) * | 2012-08-14 | 2016-12-20 | Empire Technology Development Llc | Push content to a currently utilized device among client devices |
JP2014041461A (en) * | 2012-08-22 | 2014-03-06 | Nec Corp | Document authority violation detecting device, method, and program |
US10558581B1 (en) * | 2013-02-19 | 2020-02-11 | Amazon Technologies, Inc. | Systems and techniques for data recovery in a keymapless data storage system |
US9094391B2 (en) * | 2013-10-10 | 2015-07-28 | Bank Of America Corporation | Dynamic trust federation |
CN104636275B (en) * | 2014-12-30 | 2018-02-23 | 北京兆易创新科技股份有限公司 | The information protecting method and device of a kind of MCU chip |
JP6321216B2 (en) * | 2015-01-15 | 2018-05-09 | 日本電信電話株式会社 | Matrix / key generation device, matrix / key generation system, matrix combination device, matrix / key generation method, program |
WO2016118177A1 (en) * | 2015-01-19 | 2016-07-28 | Hewlett Packard Enterprise Development Lp | Access control to a portion of a file system object |
WO2016179590A1 (en) * | 2015-05-07 | 2016-11-10 | Antique Books, Inc. | Method for delegated authentication, access control and confirmation of irreversible commands in a storage device |
US20160379207A1 (en) * | 2015-06-25 | 2016-12-29 | Intel Corporation | Secured credential aggregator |
CN105681032B (en) * | 2016-01-08 | 2017-09-12 | 腾讯科技(深圳)有限公司 | Method for storing cipher key, key management method and device |
US10467429B2 (en) * | 2016-09-14 | 2019-11-05 | Faraday & Future Inc. | Systems and methods for secure user profiles |
KR102392844B1 (en) | 2017-03-10 | 2022-05-03 | 삼성전자주식회사 | Memory controller and storage device including the same |
US12086450B1 (en) | 2018-09-26 | 2024-09-10 | Amazon Technologies, Inc. | Synchronous get copy for asynchronous storage |
US11082406B2 (en) * | 2018-11-29 | 2021-08-03 | Secret Double Octopus Ltd | System and method for providing end-to-end security of data and metadata |
US11411746B2 (en) * | 2019-05-24 | 2022-08-09 | Centrality Investments Limited | Systems, methods, and storage media for permissioned delegation in a computing environment |
FR3098613A1 (en) * | 2019-07-09 | 2021-01-15 | STMicroelectronics (Grand Ouest) SAS | PROCESS FOR MANAGING THE OPERATION OF AT LEAST ONE NUMBER APPLICATION SOFTWARE AND CORRESPONDING INTEGRATED CIRCUIT |
US11487908B2 (en) * | 2019-08-16 | 2022-11-01 | Macronix International Co., Ltd. | Secure memory |
US11296872B2 (en) * | 2019-11-07 | 2022-04-05 | Micron Technology, Inc. | Delegation of cryptographic key to a memory sub-system |
CN115758324B (en) * | 2022-11-28 | 2024-01-26 | 陈立 | Data security access control system and method |
CN116886248B (en) * | 2023-09-08 | 2023-12-01 | 南昌大学 | Multi-user detection method and system based on HDMA |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6343320B1 (en) * | 1998-06-09 | 2002-01-29 | Compaq Information Technologies Group, L.P. | Automatic state consolidation for network participating devices |
US20030149869A1 (en) * | 2002-02-01 | 2003-08-07 | Paul Gleichauf | Method and system for securely storing and trasmitting data by applying a one-time pad |
US8042163B1 (en) * | 2004-05-20 | 2011-10-18 | Symatec Operating Corporation | Secure storage access using third party capability tokens |
Family Cites Families (151)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4575621A (en) | 1984-03-07 | 1986-03-11 | Corpra Research, Inc. | Portable electronic transaction device and system therefor |
US4780905A (en) | 1984-11-26 | 1988-10-25 | Nightwatch, Inc. | Computer data encryption system |
ES2064432T3 (en) | 1988-02-20 | 1995-02-01 | Fujitsu Ltd | INTEGRATED CIRCUIT CARDS. |
US5237609A (en) | 1989-03-31 | 1993-08-17 | Mitsubishi Denki Kabushiki Kaisha | Portable secure semiconductor memory device |
US5347579A (en) | 1989-07-05 | 1994-09-13 | Blandford Robert R | Personal computer diary |
US5052040A (en) | 1990-05-25 | 1991-09-24 | Micronyx, Inc. | Multiple user stored data cryptographic labeling system and method |
US5473692A (en) | 1994-09-07 | 1995-12-05 | Intel Corporation | Roving software license for a hardware agent |
GB9412434D0 (en) | 1994-06-21 | 1994-08-10 | Inmos Ltd | Computer instruction compression |
US5581753A (en) * | 1994-09-28 | 1996-12-03 | Xerox Corporation | Method for providing session consistency guarantees |
JPH08263438A (en) | 1994-11-23 | 1996-10-11 | Xerox Corp | Distribution and use control system of digital work and access control method to digital work |
US5604801A (en) | 1995-02-03 | 1997-02-18 | International Business Machines Corporation | Public key data communications system under control of a portable security device |
DE19536548A1 (en) | 1995-09-29 | 1997-04-03 | Ibm | Generation of software tools for initialisation and personalising of memory card, smart card |
US5687235A (en) | 1995-10-26 | 1997-11-11 | Novell, Inc. | Certificate revocation performance optimization |
US5857020A (en) | 1995-12-04 | 1999-01-05 | Northern Telecom Ltd. | Timed availability of secured content provisioned on a storage medium |
CA2245822A1 (en) | 1996-02-09 | 1997-08-14 | Integrated Technologies Of America, Inc. | Access control/crypto system |
US6038551A (en) | 1996-03-11 | 2000-03-14 | Microsoft Corporation | System and method for configuring and managing resources on a multi-purpose integrated circuit card using a personal computer |
US5903651A (en) | 1996-05-14 | 1999-05-11 | Valicert, Inc. | Apparatus and method for demonstrating and confirming the status of a digital certificates and other data |
US5949877A (en) | 1997-01-30 | 1999-09-07 | Intel Corporation | Content protection for transmission systems |
US6189097B1 (en) | 1997-03-24 | 2001-02-13 | Preview Systems, Inc. | Digital Certificate |
US6513116B1 (en) | 1997-05-16 | 2003-01-28 | Liberate Technologies | Security information acquisition |
US5930167A (en) | 1997-07-30 | 1999-07-27 | Sandisk Corporation | Multi-state non-volatile flash memory capable of being its own two state write cache |
US6438666B2 (en) | 1997-09-26 | 2002-08-20 | Hughes Electronics Corporation | Method and apparatus for controlling access to confidential data by analyzing property inherent in data |
US6094724A (en) | 1997-11-26 | 2000-07-25 | Atmel Corporation | Secure memory having anti-wire tapping |
JPH11161552A (en) | 1997-11-28 | 1999-06-18 | Fujitsu Ltd | Data protecting method for reloadable storage medium and storage device applied therewith |
US6026402A (en) | 1998-01-07 | 2000-02-15 | Hewlett-Packard Company | Process restriction within file system hierarchies |
WO1999038078A1 (en) | 1998-01-21 | 1999-07-29 | Tokyo Electron Limited | Storage device, encrypting/decrypting device, and method for accessing nonvolatile memory |
US6584495B1 (en) | 1998-01-30 | 2003-06-24 | Microsoft Corporation | Unshared scratch space |
US6134550A (en) | 1998-03-18 | 2000-10-17 | Entrust Technologies Limited | Method and apparatus for use in determining validity of a certificate in a communication system employing trusted paths |
US6073242A (en) | 1998-03-19 | 2000-06-06 | Agorics, Inc. | Electronic authority server |
FR2779018B1 (en) | 1998-05-22 | 2000-08-18 | Activcard | TERMINAL AND SYSTEM FOR IMPLEMENTING SECURE ELECTRONIC TRANSACTIONS |
US6397197B1 (en) | 1998-08-26 | 2002-05-28 | E-Lynxx Corporation | Apparatus and method for obtaining lowest bid from information product vendors |
US7111173B1 (en) | 1998-09-01 | 2006-09-19 | Tecsec, Inc. | Encryption process including a biometric unit |
US6609199B1 (en) | 1998-10-26 | 2003-08-19 | Microsoft Corporation | Method and apparatus for authenticating an open system application to a portable IC device |
US6481632B2 (en) | 1998-10-27 | 2002-11-19 | Visa International Service Association | Delegated management of smart card applications |
US20030172280A1 (en) | 1998-12-04 | 2003-09-11 | Scheidt Edward M. | Access control and authorization system |
US6343291B1 (en) | 1999-02-26 | 2002-01-29 | Hewlett-Packard Company | Method and apparatus for using an information model to create a location tree in a hierarchy of information |
US7073063B2 (en) | 1999-03-27 | 2006-07-04 | Microsoft Corporation | Binding a digital license to a portable device or the like in a digital rights management (DRM) system and checking out/checking in the digital license to/from the portable device or the like |
FI108389B (en) | 1999-04-15 | 2002-01-15 | Sonera Smarttrust Oy | Management of subscriber identity modules |
DE60011958T2 (en) * | 1999-04-28 | 2005-08-25 | Matsushita Electric Industrial Co., Ltd., Kadoma | Optical disc, optical disc recording and reproducing apparatus, and recording and reproducing methods |
US6289450B1 (en) | 1999-05-28 | 2001-09-11 | Authentica, Inc. | Information security architecture for encrypting documents for remote access while maintaining access control |
CN1304977C (en) | 1999-07-06 | 2007-03-14 | 索尼株式会社 | Data providing system, device, and method |
WO2001013358A1 (en) | 1999-08-10 | 2001-02-22 | Fujitsu Limited | Memory card |
US7124170B1 (en) | 1999-08-20 | 2006-10-17 | Intertrust Technologies Corp. | Secure processing unit systems and methods |
GB9922665D0 (en) | 1999-09-25 | 1999-11-24 | Hewlett Packard Co | A method of enforcing trusted functionality in a full function platform |
BR0007239B1 (en) | 1999-10-21 | 2014-03-18 | Panasonic Corp | ACCESSORIES TO THE SEMICONDUCTORY MEMORY BOARD, SEMICONDUCTORY MEMORY BOARD AND STARTUP METHOD. |
US6779113B1 (en) | 1999-11-05 | 2004-08-17 | Microsoft Corporation | Integrated circuit card with situation dependent identity authentication |
EP1237325A4 (en) | 1999-12-03 | 2007-08-29 | Sanyo Electric Co | Data distribution system and recorder for use therein |
US6816900B1 (en) | 2000-01-04 | 2004-11-09 | Microsoft Corporation | Updating trusted root certificates on a client computer |
US20060161725A1 (en) | 2005-01-20 | 2006-07-20 | Lee Charles C | Multiple function flash memory system |
US7269726B1 (en) | 2000-01-14 | 2007-09-11 | Hewlett-Packard Development Company, L.P. | Lightweight public key infrastructure employing unsigned certificates |
CN100423041C (en) | 2000-01-21 | 2008-10-01 | 索尼公司 | Data processing apparatus and method |
TW519651B (en) | 2000-06-27 | 2003-02-01 | Intel Corp | Embedded security device within a nonvolatile memory device |
US7215771B1 (en) | 2000-06-30 | 2007-05-08 | Western Digital Ventures, Inc. | Secure disk drive comprising a secure drive key and a drive ID for implementing secure communication over a public network |
US7350204B2 (en) | 2000-07-24 | 2008-03-25 | Microsoft Corporation | Policies for secure software execution |
US20020199001A1 (en) | 2001-02-25 | 2002-12-26 | Storymail, Inc. | System and method for conducting a secure response communication session |
CN1263026C (en) | 2000-08-16 | 2006-07-05 | 皇家菲利浦电子有限公司 | Method and device for controlling distribution and use of digital works |
US6880084B1 (en) | 2000-09-27 | 2005-04-12 | International Business Machines Corporation | Methods, systems and computer program products for smart card product management |
US7546334B2 (en) | 2000-11-13 | 2009-06-09 | Digital Doors, Inc. | Data security system and method with adaptive filter |
FR2817055B1 (en) | 2000-11-22 | 2003-02-14 | Gemplus Card Int | EXECUTION OF AN APPLICATION IN A PORTABLE ELECTRONIC OBJECT WITH LOW MEMORY CAPACITY |
US6970891B1 (en) | 2000-11-27 | 2005-11-29 | Microsoft Corporation | Smart card with volatile memory file subsystem |
US7209893B2 (en) | 2000-11-30 | 2007-04-24 | Nokia Corporation | Method of and a system for distributing electronic content |
JP2002271316A (en) | 2001-03-13 | 2002-09-20 | Sanyo Electric Co Ltd | Reproducing equipment |
JP2002278838A (en) * | 2001-03-15 | 2002-09-27 | Sony Corp | Memory access control system, device managing device, partition managing device, memory packaged device, memory access control method and program storage medium |
JP2002278839A (en) | 2001-03-15 | 2002-09-27 | Sony Corp | Data access managing system, memory packaged device, data access managing method and program storage medium |
US7051210B2 (en) * | 2001-03-20 | 2006-05-23 | Hewlett-Packard Development Company, L.P. | Persistance and recovery of security keys |
US20020136410A1 (en) | 2001-03-26 | 2002-09-26 | Sun Microsystems, Inc. | Method and apparatus for extinguishing ephemeral keys |
JP3895940B2 (en) | 2001-03-27 | 2007-03-22 | 三洋電機株式会社 | Information terminal equipment |
US7020645B2 (en) | 2001-04-19 | 2006-03-28 | Eoriginal, Inc. | Systems and methods for state-less authentication |
US7500104B2 (en) | 2001-06-15 | 2009-03-03 | Microsoft Corporation | Networked device branding for secure interaction in trust webs on open networks |
EP1402372B1 (en) * | 2001-07-05 | 2017-09-20 | Panasonic Intellectual Property Management Co., Ltd. | Recording apparatus, medium, method, and related computer program |
US7925894B2 (en) | 2001-07-25 | 2011-04-12 | Seagate Technology Llc | System and method for delivering versatile security, digital rights management, and privacy services |
US7036020B2 (en) | 2001-07-25 | 2006-04-25 | Antique Books, Inc | Methods and systems for promoting security in a computer system employing attached storage devices |
US7418344B2 (en) | 2001-08-02 | 2008-08-26 | Sandisk Corporation | Removable computer with mass storage |
FI115257B (en) | 2001-08-07 | 2005-03-31 | Nokia Corp | Method for Processing Information in an Electronic Device, System, Electronic Device, and Processor Block |
US7921287B2 (en) | 2001-08-13 | 2011-04-05 | Qualcomm Incorporated | Application level access privilege to a storage area on a computer device |
JP2003085321A (en) | 2001-09-11 | 2003-03-20 | Sony Corp | System and method for contents use authority control, information processing device, and computer program |
US6456528B1 (en) | 2001-09-17 | 2002-09-24 | Sandisk Corporation | Selective operation of a multi-state non-volatile memory system in a binary mode |
WO2003027816A1 (en) | 2001-09-28 | 2003-04-03 | High Density Devices As | Method and device for encryption/decryption of data on mass storage device |
US6865555B2 (en) | 2001-11-21 | 2005-03-08 | Digeo, Inc. | System and method for providing conditional access to digital content |
AUPR966001A0 (en) | 2001-12-20 | 2002-01-24 | Canon Information Systems Research Australia Pty Ltd | A microprocessor card defining a custom user interface |
DE10164422A1 (en) | 2001-12-29 | 2003-07-17 | Philips Intellectual Property | Method for writing to NV memories in computer architecture, requires data values or data words to be written to specified position of cache-page register of NV memory |
JP2003233594A (en) | 2002-02-06 | 2003-08-22 | Sony Corp | Access right management system, access right management method, access right management program and recording medium recording access right management program |
GB0205751D0 (en) | 2002-03-12 | 2002-04-24 | James Barry E | Improvements relating to memory devices |
EP1349032B1 (en) | 2002-03-18 | 2003-11-19 | Ubs Ag | Secure user authentication over a communication network |
US7627753B2 (en) | 2002-03-19 | 2009-12-01 | Microsoft Corporation | Secure digital data format and code enforced policy |
US7058768B2 (en) | 2002-04-17 | 2006-06-06 | Microsoft Corporation | Memory isolation through address translation data edit control |
JP4209131B2 (en) | 2002-04-23 | 2009-01-14 | 株式会社エヌ・ティ・ティ・ドコモ | Mobile terminal and access control method |
EP1361527A1 (en) | 2002-05-07 | 2003-11-12 | Sony Ericsson Mobile Communications AB | Method for loading an application in a device, device and smart card therefor |
US7680743B2 (en) | 2002-05-15 | 2010-03-16 | Microsoft Corporation | Software application protection by way of a digital rights management (DRM) system |
JP2003345654A (en) | 2002-05-23 | 2003-12-05 | Hitachi Ltd | Data protection system |
JP3908982B2 (en) | 2002-05-28 | 2007-04-25 | 日本電信電話株式会社 | CUG (Closed User Group) management method, CUG providing system, CUG providing program, and storage medium storing CUG providing program |
JP2004013744A (en) | 2002-06-10 | 2004-01-15 | Takeshi Sakamura | Issuing system for digital content and issuing method |
US7103914B2 (en) | 2002-06-17 | 2006-09-05 | Bae Systems Information Technology Llc | Trusted computer system |
GB2391082B (en) | 2002-07-19 | 2005-08-03 | Ritech Internat Ltd | Portable data storage device with layered memory architecture |
US7083090B2 (en) | 2002-08-09 | 2006-08-01 | Patrick Zuili | Remote portable and universal smartcard authentication and authorization device |
US20040083370A1 (en) | 2002-09-13 | 2004-04-29 | Sun Microsystems, Inc., A Delaware Corporation | Rights maintenance in a rights locker system for digital content access control |
US20040059946A1 (en) * | 2002-09-25 | 2004-03-25 | Price Burk Pieper | Network server system and method for securely publishing applications and services |
US7197585B2 (en) | 2002-09-30 | 2007-03-27 | International Business Machines Corporation | Method and apparatus for managing the execution of a broadcast instruction on a guest processor |
US20040139021A1 (en) | 2002-10-07 | 2004-07-15 | Visa International Service Association | Method and system for facilitating data access and management on a secure token |
JP4400059B2 (en) | 2002-10-17 | 2010-01-20 | 株式会社日立製作所 | Policy setting support tool |
EP1554855A1 (en) | 2002-10-24 | 2005-07-20 | Matsushita Electric Industrial Co., Ltd. | System and method for pushing information from a service provider to a communication terminal comprising a memory card |
US7478248B2 (en) | 2002-11-27 | 2009-01-13 | M-Systems Flash Disk Pioneers, Ltd. | Apparatus and method for securing data on a portable storage device |
JP2004199138A (en) | 2002-12-16 | 2004-07-15 | Matsushita Electric Ind Co Ltd | Memory device and electronic equipment using the same |
TW588244B (en) | 2002-12-30 | 2004-05-21 | Foquest Advanced Inc | Data protection method and system for storage unit |
KR20050117605A (en) | 2003-01-04 | 2005-12-15 | 김재형 | Network expansion typed smart card and method for operating it |
KR100493885B1 (en) | 2003-01-20 | 2005-06-10 | 삼성전자주식회사 | Electronic Registration and Verification System of Smart Card Certificate For Users in A Different Domain in a Public Key Infrastructure and Method Thereof |
US7340615B2 (en) | 2003-01-31 | 2008-03-04 | Microsoft Corporation | Method and apparatus for managing power in network interface modules |
US7322042B2 (en) | 2003-02-07 | 2008-01-22 | Broadon Communications Corp. | Secure and backward-compatible processor and secure software execution thereon |
JP2004266652A (en) | 2003-03-03 | 2004-09-24 | Nippon Telegr & Teleph Corp <Ntt> | Device, method, program and record medium for generating lapse information of electronic certificate, system for generating the same, as well as device, method, program and record medium for verifying lapse of electronic certificate |
JP4682498B2 (en) | 2003-04-09 | 2011-05-11 | ソニー株式会社 | Communication device and memory management method for communication device |
US8467534B2 (en) | 2003-04-16 | 2013-06-18 | Broadcom Corporation | Method and system for secure access and processing of an encryption/decryption key |
CN100483535C (en) | 2003-06-11 | 2009-04-29 | 松下电器产业株式会社 | Reproduction apparatus, program, integrated circuit |
US7949877B2 (en) | 2003-06-30 | 2011-05-24 | Realnetworks, Inc. | Rights enforcement and usage reporting on a client device |
US6988175B2 (en) | 2003-06-30 | 2006-01-17 | M-Systems Flash Disk Pioneers Ltd. | Flash memory management method that is resistant to data corruption by power loss |
TW200502758A (en) | 2003-07-07 | 2005-01-16 | Yuen Foong Paper Co Ltd | Portable secure information accessing system and method thereof |
US6938136B2 (en) | 2003-07-14 | 2005-08-30 | International Business Machines Corporation | Method, system, and program for performing an input/output operation with respect to a logical storage device |
US7546630B2 (en) * | 2003-07-17 | 2009-06-09 | International Business Machines Corporation | Methods, systems, and media to authenticate a user |
US20050049931A1 (en) | 2003-08-29 | 2005-03-03 | Wisnudel Marc Brian | Digital content kiosk and associated methods for delivering selected digital content to a user |
US7484090B2 (en) | 2003-10-10 | 2009-01-27 | Panasonic Corporation | Encryption apparatus, decryption apparatus, secret key generation apparatus, and copyright protection system |
JP3880957B2 (en) | 2003-10-20 | 2007-02-14 | 日本電信電話株式会社 | Root certificate distribution system, root certificate distribution method, computer executable root certificate distribution program, server device, and client device |
US7711951B2 (en) | 2004-01-08 | 2010-05-04 | International Business Machines Corporation | Method and system for establishing a trust framework based on smart key devices |
US8019928B2 (en) | 2004-02-15 | 2011-09-13 | Sandisk Il Ltd. | Method of managing a multi-bit-cell flash memory |
US7523140B2 (en) | 2004-03-01 | 2009-04-21 | Sandisk Il Ltd. | File system that manages files according to content |
NZ549544A (en) | 2004-03-22 | 2008-03-28 | Samsung Electronics Co Ltd | Method and apparatus for digital rights management using certificate revocation list |
JP3947528B2 (en) | 2004-04-21 | 2007-07-25 | 株式会社エヌ・ティ・ティ・ドコモ | IC card and access control method |
WO2005104431A1 (en) | 2004-04-21 | 2005-11-03 | Matsushita Electric Industrial Co., Ltd. | Content providing system, information processing device, and memory card |
EP1594250A1 (en) | 2004-05-03 | 2005-11-09 | Thomson Licensing | Distributed management of a certificate revocation list |
US8352697B2 (en) | 2004-05-17 | 2013-01-08 | Sandisk Il Ltd. | Method of managing files for optimal performance |
US20050262361A1 (en) | 2004-05-24 | 2005-11-24 | Seagate Technology Llc | System and method for magnetic storage disposal |
JP4576894B2 (en) | 2004-06-14 | 2010-11-10 | ソニー株式会社 | Information management apparatus and information management method |
US7562216B2 (en) | 2004-06-28 | 2009-07-14 | Symantec Operating Corporation | System and method for applying a file system security model to a query system |
US7363365B2 (en) | 2004-07-13 | 2008-04-22 | Teneros Inc. | Autonomous service backup and migration |
US7797750B2 (en) | 2004-08-10 | 2010-09-14 | Newport Scientific Research Llc | Data security system |
JP2006085647A (en) | 2004-09-17 | 2006-03-30 | Sony Corp | Gradation converting device and method, image output device, and method and program for displaying user interface |
US8954751B2 (en) | 2004-10-08 | 2015-02-10 | International Business Machines Corporation | Secure memory control parameters in table look aside buffer data fields and support memory array |
GB2434673B (en) | 2004-11-12 | 2009-10-14 | Discretix Technologies Ltd | Method, device, and system of securely storing data |
WO2006056988A2 (en) | 2004-11-24 | 2006-06-01 | Discretix Technologies Ltd. | System, method and apparatus of securing an operating system |
US20060129824A1 (en) | 2004-12-15 | 2006-06-15 | Hoff James P | Systems, methods, and media for accessing TPM keys |
US8504849B2 (en) | 2004-12-21 | 2013-08-06 | Sandisk Technologies Inc. | Method for versatile content control |
DE102004062203B4 (en) | 2004-12-23 | 2007-03-08 | Infineon Technologies Ag | Data processing device, telecommunication terminal and method for data processing by means of a data processing device |
US20060232826A1 (en) | 2005-04-13 | 2006-10-19 | Hagai Bar-El | Method, device, and system of selectively accessing data |
WO2006126191A2 (en) | 2005-05-23 | 2006-11-30 | Discretix Technologies Ltd. | Method, device, and system of encrypting/decrypting data |
US20060272027A1 (en) | 2005-05-26 | 2006-11-30 | Finisar Corporation | Secure access to segment of data storage device and analyzer |
US7493656B2 (en) | 2005-06-02 | 2009-02-17 | Seagate Technology Llc | Drive security session manager |
JP4654806B2 (en) | 2005-07-15 | 2011-03-23 | ソニー株式会社 | Information processing apparatus, information recording medium manufacturing apparatus, information recording medium and method, and computer program |
US8046837B2 (en) | 2005-08-26 | 2011-10-25 | Sony Corporation | Information processing device, information recording medium, information processing method, and computer program |
US7752382B2 (en) | 2005-09-09 | 2010-07-06 | Sandisk Il Ltd | Flash memory storage system and method |
US7634629B2 (en) | 2005-12-19 | 2009-12-15 | Intel Corporation | Mechanism to control access to a storage device |
US20070180210A1 (en) | 2006-01-31 | 2007-08-02 | Seagate Technology Llc | Storage device for providing flexible protected access for security applications |
US20080072060A1 (en) | 2006-08-28 | 2008-03-20 | Susan Cannon | Memory device for cryptographic operations |
US8166326B2 (en) | 2007-11-08 | 2012-04-24 | International Business Machines Corporation | Managing power consumption in a computer |
-
2005
- 2005-12-20 US US11/314,052 patent/US8601283B2/en active Active
-
2013
- 2013-10-30 US US14/067,574 patent/US20140115698A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6343320B1 (en) * | 1998-06-09 | 2002-01-29 | Compaq Information Technologies Group, L.P. | Automatic state consolidation for network participating devices |
US20030149869A1 (en) * | 2002-02-01 | 2003-08-07 | Paul Gleichauf | Method and system for securely storing and trasmitting data by applying a one-time pad |
US8042163B1 (en) * | 2004-05-20 | 2011-10-18 | Symatec Operating Corporation | Secure storage access using third party capability tokens |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140156961A1 (en) * | 2011-07-18 | 2014-06-05 | Ted A. Hadley | Access to Memory Region Including Confidential Information |
US9418027B2 (en) | 2011-07-18 | 2016-08-16 | Hewlett Packard Enterprise Development Lp | Secure boot information with validation control data specifying a validation technique |
US9483422B2 (en) * | 2011-07-18 | 2016-11-01 | Hewlett Packard Enterprise Development Lp | Access to memory region including confidential information |
US20130103748A1 (en) * | 2011-10-19 | 2013-04-25 | Nintendo Co., Ltd. | Information processing system, storage medium having stored therein information processing program, information processing apparatus, and information processing method |
US10791198B2 (en) * | 2011-10-19 | 2020-09-29 | Nintendo Co., Ltd. | Information processing system, storage medium having stored therein information processing program, information processing apparatus, and information processing method |
US20160300078A1 (en) * | 2015-04-08 | 2016-10-13 | Joseph Bryan Wooldridge | Electronic preemptive evidentiary escrow platform |
US10430612B2 (en) * | 2015-04-08 | 2019-10-01 | Joseph Bryan Wooldridge | Electronic preemptive evidentiary escrow platform |
Also Published As
Publication number | Publication date |
---|---|
US8601283B2 (en) | 2013-12-03 |
US20060242065A1 (en) | 2006-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8504849B2 (en) | Method for versatile content control | |
US8601283B2 (en) | Method for versatile content control with partitioning | |
US8051052B2 (en) | Method for creating control structure for versatile content control | |
US20100077214A1 (en) | Host Device and Method for Protecting Data Stored in a Storage Device | |
US20060242151A1 (en) | Control structure for versatile content control | |
US20060242150A1 (en) | Method using control structure for versatile content control | |
EP2284758A2 (en) | Versatile content control with partitioning | |
KR101213118B1 (en) | Memory System with versatile content control | |
US20060242066A1 (en) | Versatile content control with partitioning | |
US8140843B2 (en) | Content control method using certificate chains | |
US8639939B2 (en) | Control method using identity objects | |
US8266711B2 (en) | Method for controlling information supplied from memory device | |
US20060242067A1 (en) | System for creating control structure for versatile content control | |
US20080022395A1 (en) | System for Controlling Information Supplied From Memory Device | |
US20080010449A1 (en) | Content Control System Using Certificate Chains | |
US20080010685A1 (en) | Content Control Method Using Versatile Control Structure | |
US20080010458A1 (en) | Control System Using Identity Objects | |
EP1836643A2 (en) | System for creating control structure for versatile content control | |
JP2008524755A5 (en) | ||
WO2006069311A2 (en) | Control structure for versatile content control and method using structure | |
WO2008013656A2 (en) | Content control system and method using certificate chains |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
AS | Assignment |
Owner name: SANDISK TECHNOLOGIES LLC, TEXAS Free format text: CHANGE OF NAME;ASSIGNOR:SANDISK TECHNOLOGIES INC;REEL/FRAME:038809/0672 Effective date: 20160516 |