Authorized and secure data movement

The use of dual-key encryption with watermarks in an authenticated encryption layer addresses unauthorized encryption in data sharing systems, effectively preventing ransomware attacks and data leaks by ensuring only authorized entities can decrypt data.

JP2024532737AActive Publication Date: 2024-09-10INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024507889
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-17
Filing Date
2022-07-07
Publication Date
2024-09-10
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

Existing data sharing methods in storage systems and networks, such as cloud-based systems, are vulnerable to unauthorized encryption and data leaks, leading to security threats like ransomware attacks and data exfiltration, where attackers encrypt data using unknown keys, causing denial of service and expensive recovery.

Method used

Implementing an authenticated encryption layer that encrypts data with dual keys and adds watermarks to ensure authorized encryption, using a first key to encrypt data and a second key to create double-encrypted data, with watermarks to verify authorized encryption and prevent unauthorized access.

Benefits of technology

This method thwarts ransomware attacks by ensuring only authorized entities can decrypt data, providing an additional layer of protection against unauthorized encryption and data leaks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024532737000001
    Figure 2024532737000001
Patent Text Reader

Abstract

The system includes an authenticated encryption layer comprising logic configured to encrypt data received at the authenticated encryption layer from an authorized application at a source node, the data being encrypted using a first key to obtain first encrypted data. The logic is configured to encrypt the first encrypted data using a second key to obtain second encrypted data, and generate a watermark for the first encrypted data or a watermark for the second encrypted data, or both. The logic is configured to generate a watermark token for the first encrypted data or a watermark token for the second encrypted data, or both.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to cryptography, and more particularly to authorized and secure data movement in storage systems and networks, such as cloud-based storage systems. [Background technology]

[0002] It is desirable to share data securely between computer nodes. Secure data transfer is especially beneficial when providing computational capabilities close to the stored data. For example, each node may have specific computational capabilities (e.g., database, inference engine, etc.). Until now, prior art approaches have used access control to limit data sharing. Access control is not foolproof and can lead to data leakage. For example, privileges can be escalated, controls can be misconfigured, etc.

[0003] Unauthorized encryption of data, such as by an attacker encrypting a victim's data using a key not known to the victim, has become a major security issue. Such ransomware-style attacks can cause a denial of service to the victim that may be expensive or impossible to recover from. For example, such attacks include ransomware attacks in which a ransom is demanded in exchange for an encryption key needed to unlock the victim's data.

[0004] Malware may also, or alternatively, perform unauthorized data transfer (e.g., data is copied, transferred, exfiltrated, etc.) without authorization in a data exfiltration attack.

[0005] What is needed is a way to ensure that encrypted data within a system is encrypted in an authorized manner so that the data owner can decrypt the data. Summary of the Invention

[0006] According to one aspect, the system includes an authenticated encryption layer comprising logic configured to encrypt data received at the authenticated encryption layer from an authorized application at a source node. The data is encrypted using a first key to obtain first encrypted data. The logic is configured to obtain second encrypted data by encrypting the first encrypted data using a second key, and generate a watermark for the first encrypted data and / or a watermark for the second encrypted data. The logic is configured to generate a watermark token for the first encrypted data and / or a watermark token for the second encrypted data. The watermark and / or watermark token are used to verify that the encryption was performed by an authorized encryption layer and not by an unauthorized process. Ransomware-type attacks are thereby advantageously thwarted.

[0007] In one optional aspect, the authenticated encryption layer comprises logic configured to cause the second encrypted data and the generated watermarks to be stored in the data storage, each generated watermark being generated using a respective watermark key, the watermarks and their respective watermark keys allowing selective simultaneous sharing of the encrypted information, with authorized users having different keys and the owner of the data being able to selectively revoke access rights to authorized users.

[0008] According to another aspect, a computer-implemented method includes receiving, from a data storage in response to a data request from a destination node outside an authorized encryption trust zone, second encrypted data, a watermark, and a first watermark token. The second encrypted data is data encrypted with a first key to create the first encrypted data and then encrypted with a second key to create the second encrypted data. The watermark includes a first watermark generated for the first encrypted data and a second watermark generated for the second encrypted data. The first watermark token is generated for the first encrypted data. The method includes verifying the second watermark generated for the second encrypted data and, in response to verifying the second watermark, decrypting the second encrypted data using the second key to obtain the first encrypted data. The method further includes verifying a first watermark generated for the first encrypted data and transmitting the first encrypted data to a trusted verifier in response to verifying the first watermark. The trusted verifier is configured to verify the first watermark token generated for the first encrypted data, and the method includes encrypting the first encrypted data using a third key to create third encrypted data in response to receiving verification of the first watermark token generated for the first encrypted data from the trusted verifier. The method further includes generating a third watermark and / or a third watermark token for the third encrypted data and transmitting the third encrypted data, watermark, and watermark token including the third watermark and / or the third watermark token to an authorized destination. The authorized destination may be configured to verify the third watermark and / or the third watermark token, and upon successful verification of the third watermark and / or the third watermark token, the authorized destination may decrypt the third encrypted data using the third key to obtain the first encrypted data (e.g., unencrypted data). The third encrypted data provides an additional layer of protection from attacks.

[0009] In one optional aspect, the trusted verifier includes a pre-filter function configured to verify that the data is not encrypted. The trusted verifier sends the verification only in response to a successful verification that the data is not encrypted. The pre-filter function provides the advantage of being able to determine whether the data is encrypted with any encryption key and prevent further processing of the tainted data. For example, the data may be encrypted by an attacker substituting encrypted text for plain text.

[0010] According to another aspect, a computer-implemented method includes receiving, by a trusted verifier, inner encrypted data based at least in part on a data request from a destination node outside an authorized encryption trust zone, the inner encrypted data being data encrypted with an inner key to create the inner encrypted data. The method includes verifying, by the trusted verifier, an inner watermark token generated for the inner encrypted data, the inner watermark token being generated for the inner encrypted data. The trusted verifier enables verification of the watermark of the authorized encrypted data without the trusted verifier having sufficient information to allow a counterfeit watermark to replace the original watermark.

[0011] In one general aspect, the data request is a data write request, and the method includes, in response to successful verification of the inner watermark token, decrypting, by the trusted verifier, the inner encrypted data using the inner key to obtain the data, and determining, by the trusted verifier, that the data is not encrypted using a pre-filter function. The method further includes, in response to successful verification of the inner watermark token and a determination that the data is not encrypted, returning a first verification message to the transcoder. The pre-filter function provides the advantage of being able to determine whether the data is encrypted with any encryption key and prevent further processing of tainted data.

[0012] Other aspects and techniques of the present invention will become apparent from the following detailed description, taken in conjunction with the drawings, illustrating by way of example the principles of the invention. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 illustrates a cloud computing environment in accordance with one embodiment of the present invention. [Diagram 2] FIG. 2 illustrates an abstract model layer according to one embodiment of the present invention. [Diagram 3] FIG. 2 is a high-level architecture diagram according to one embodiment of the present invention. [Figure 4] FIG. 2 is a high-level architecture diagram according to one embodiment of the present invention. [Diagram 5] FIG. 2 is a high-level architecture diagram according to one embodiment of the present invention. [Figure 6] FIG. 2 is a high-level architecture diagram according to one embodiment of the present invention. [Figure 7] 1 is a flow chart of a method according to one embodiment of the present invention. [Figure 8] 1 is a flow chart of a method according to one embodiment of the present invention. [Figure 9] 4 is a diagram of an exemplary implementation of a read request in accordance with one embodiment of the present invention. [Figure 10] 4 is a diagram of an exemplary implementation of a write request in accordance with one aspect of the present invention. [Figure 11] FIG. 2 is a diagram of an exemplary implementation of a trusted verifier in accordance with one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The following description is made for the purpose of illustrating the general principles of the present invention and is not intended to limit the inventive concepts claimed herein. Moreover, particular features described herein can be used in combination with other described features in each of the various possible combinations and permutations.

[0015] In this specification, unless otherwise specifically defined, all terms are to be given their broadest possible interpretation, including the meaning implied from this specification and the meaning understood by a person of ordinary skill in the art and / or defined in dictionaries, treatises, etc.

[0016] It should also be noted that, as used in this specification and the appended claims, the singular forms "a," "an," and "the" include plural referents unless otherwise specified. It will be further understood that the terms "comprises" and / or "comprising," as used herein, indicate the presence of stated features, integers, steps, operations, elements, or components, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof, or combinations thereof.

[0017] The following description discloses several aspects of detecting unauthorized key use in a secure share using an authorized verifier that is provided with enough information to verify the watermark of authorized encrypted data, but not enough information to allow a counterfeit watermark to replace the original watermark.

[0018] In one general aspect, a system includes an authenticated encryption layer comprising logic configured to encrypt data received at the authenticated encryption layer from an authorized application at a source node, the data being encrypted using a first key to obtain first encrypted data. The logic is configured to encrypt the first encrypted data using a second key to obtain second encrypted data, and generate a watermark for the first encrypted data and / or a watermark for the second encrypted data. The logic is configured to generate a watermark token for the first encrypted data and / or a watermark token for the second encrypted data.

[0019] In another general aspect, a computer-implemented method includes receiving, from a data storage in response to a data request from a destination node outside an authorized encryption trust zone, second encrypted data, a watermark, and a first watermark token. The second encrypted data is data that is encrypted with a first key to create the first encrypted data and then encrypted with a second key to create the second encrypted data. The watermark includes a first watermark generated for the first encrypted data and a second watermark generated for the second encrypted data. The first watermark token is generated for the first encrypted data. The method includes verifying the second watermark generated for the second encrypted data and, in response to verifying the second watermark, decrypting the second encrypted data using the second key to obtain the first encrypted data. The method further includes verifying a first watermark generated for the first encrypted data and transmitting the first encrypted data to a trusted verifier in response to verifying the first watermark. The trusted verifier is configured to verify the first watermark token generated for the first encrypted data, and the method includes encrypting the first encrypted data using a third key to create third encrypted data in response to receiving verification of the first watermark token generated for the first encrypted data from the trusted verifier. The method further includes generating a third watermark and / or a third watermark token for the third encrypted data and transmitting the third encrypted data, watermark, and watermark token including the third watermark and / or the third watermark token to an authorized destination.

[0020] In another general aspect, a computer-implemented method includes receiving, by a trusted verifier, inner encrypted data based at least in part on a data request from a destination node outside an authorized encryption trust zone, the inner encrypted data being data encrypted with an inner key to create the inner encrypted data. The method includes verifying, by the trusted verifier, an inner watermark token generated for the inner encrypted data, the inner watermark token generated for the inner encrypted data.

[0021] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the recited content herein is not limited to a cloud computing environment. Rather, aspects of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.

[0022] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computational resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) and for rapidly provisioning and releasing these resources with minimal administrative effort or interaction with a service provider. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0023] The features are as follows:

[0024] On-Demand Self-Service: Cloud customers can automatically provision server time and computing power, such as network storage, as needed, without the need for unilateral human interaction with the service provider.

[0025] Broad network access: Cloud capabilities are available over the network and can be accessed using standard mechanisms, facilitating usage by heterogeneous thin- or thick-client platforms (e.g., mobile phones, laptops, and PDAs).

[0026] Resource Pool: The provider's computing resources are pooled and offered to multiple consumers using a multi-tenant model. Different physical and virtual resources are dynamically allocated and reallocated according to demand. There is a sense of location independence, consumers usually have no control or knowledge regarding the exact location of the resources offered, although at a higher level of abstraction they may be able to specify a location (e.g. country, state, or data center).

[0027] Rapid Elasticity: Cloud capacity can be provisioned quickly and elastically, in some cases automatically, to scale out quickly, and quickly released to scale in quickly. Capacity available for provisioning often appears to consumers as unlimited, available for purchase in any amount at any time.

[0028] Measured Services: Cloud systems leverage metering to automatically control and optimize resource usage at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services used.

[0029] The service model is as follows:

[0030] SaaS (Software as a Service): The capability provided to the consumer is the use of the provider's applications running on a cloud infrastructure. Those applications can be accessed from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or individual application functionality, except for the possibility of limited user-specific application configuration settings.

[0031] PaaS (Platform as a Service): The capability provided to a consumer is to deploy applications that the consumer creates or acquires, written using programming languages ​​and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does have control over the deployed applications and, in some cases, the configuration of the application hosting environment.

[0032] Infrastructure as a Service (IaaS): The capability provided to a consumer is the provisioning of processing, storage, network, and other basic computing resources over which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but has control over the operating systems, storage, deployed applications, and in some cases, limited control over selected network components (e.g., host firewalls).

[0033] The deployment model is as follows:

[0034] Private Cloud: This cloud infrastructure is operated solely for the organization. It can be managed by the organization or a third party and can exist on-premise or off-premise.

[0035] Community Cloud: This cloud infrastructure is shared by multiple organizations to support a specific community with shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It can be managed by these organizations or a third party and can reside on-premise or off-premise.

[0036] Public Cloud: This cloud infrastructure is available for use by general users or large industry organizations and is owned by an organization that sells cloud services.

[0037] Hybrid cloud: This cloud infrastructure is a combination of two or more clouds (private, community, or public) that remain unique but are bound together by standardized or proprietary technologies that allow for the portability of data and applications (e.g., cloud bursting to balance the load between clouds).

[0038] A cloud computing environment is a service-oriented environment with an emphasis on statelessness, loose coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that contains a network of interconnected nodes.

[0039] Referring now to FIG. 1, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which local computing devices used by cloud consumers (e.g., a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, and / or an automobile computer system 54N) can communicate. The nodes 10 may communicate with each other. The nodes 10 may be physically or virtually grouped in one or more networks (not shown), such as in a private cloud, community cloud, public cloud, or hybrid cloud, or combination thereof, as previously described herein. This allows the cloud computing environment 50 to provide an infrastructure, platform, and / or SaaS that does not require the cloud consumer to maintain resources on a local computing device. The types of computing devices 54A-N illustrated in FIG. 1 are intended as examples only, and it will be understood that the computing node 10 and cloud computing environment 50 may communicate with any type of computer-controlled device via any type of network and / or network-addressable connection (e.g., a connection using a web browser).

[0040] Referring now to Figure 2, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 1) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 2 are intended to be illustrative only and that aspects of the invention are not limited thereto. As shown in the figure, the following layers and corresponding functions are provided:

[0041] The hardware and software layer 60 includes hardware and software components. Examples of hardware components include a mainframe 61, a Reduced Instruction Set Computer (RISC) architecture based server 62, a server 63, a blade server 64, a storage device 65, and a network and network components 66. In some embodiments, the software components include network application server software 67 and database software 68.

[0042] The virtualization layer 70 provides an abstraction layer that can provide virtual entities such as virtual servers 71 , virtual storage 72 , virtual networks including virtual private networks 73 , virtual applications and operating systems 74 , and virtual clients 75 .

[0043] As an example, the management layer 80 may provide the following functions: Resource provisioning 81 dynamically procures computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 tracks costs as resources are utilized within the cloud computing environment and sends bills or invoices for the utilization of those resources. As an example, those resources may include application software licenses. Security verifies identity of cloud users and tasks, and protects data and other resources. User portal 83 provides access to the cloud computing environment to users and system administrators. Service level management 84 allocates and manages cloud computing resources to meet required service levels. Service level agreement (SLA) planning and execution 85 pre-provisions and procures cloud computing resources in anticipation of upcoming demands and in accordance with SLAs.

[0044] The Workload Layer 90 illustrates examples of functionality available in a cloud computing environment. Examples of workloads and functionality that may be provided from this layer include mapping and navigation 91, software development and lifecycle management 92, virtual classroom instructional delivery 93, data analytics processing 94, transaction processing 95, and authorized secure data movement 96.

[0045] Unauthorized encryption of data, such as by an attacker encrypting a victim's data with a key unknown to the victim, has become a major security issue. Such ransomware attacks can cause a denial of service to the victim, from which recovery can be expensive or impossible. At least some aspects of the present disclosure provide a method for detecting unauthorized key usage in a secure share using an authorized verifier that is given enough information to verify the watermark of the authorized encrypted data, but not enough information to allow a fake watermark to replace the original watermark. Thus, at least some aspects of the present disclosure provide a method for ensuring that encrypted data in a system is encrypted in an authorized manner so that the data owner can decrypt the data. The encryption is authenticated by the creation of a "watermark," which verifies that the encryption was performed by an authorized encryption layer and not by an unauthorized process. Ransomware-type attacks are thereby advantageously thwarted. Exfiltration-type attacks are severely limited by requiring that data be encrypted using authorized encryption by applications that are authorized, authorized and / or proven correct to use authorized encryption.

[0046] At least some aspects of the present disclosure enable secure data movement using double encryption to securely share data between users. As referenced throughout this disclosure, doubly encrypted data includes data that is first encrypted using a first key to create "inner encrypted data", which is then encrypted using a second key to create "outer encrypted data". Doubly encrypted data may be used interchangeably with "outer encrypted data" throughout this disclosure, unless otherwise noted herein. Similarly, "inner encrypted data" may be used interchangeably with "first encrypted data" throughout this disclosure, unless otherwise noted herein.

[0047] Various aspects of secure data movement use a secure transcoder that is given only the outer key (e.g., so that the secure transcoder does not see unencrypted data during the transcoding process). The destination may be given only the inner key, thereby preventing direct access to the data in the storage system and the ability to directly read and decrypt those data. Data written by the destination to the storage system is encrypted with the outer key received from the transcoder and the inner key received from the source. At least some of the aspects described herein improve secure data movement using authorized encryption by modifying the secure transcoder and using a secure verifier element.

[0048] Authenticated encryption (e.g., "authencrypt") and the authenticated encryption engine as described herein use keys known to the system. Registered keys may be generated and / or stored in a key server, and only registered keys are available for authenticated encryption. Registered keys, in a preferred embodiment, cannot be used by applications. Keys not known to the system cannot be used (e.g., are not used) by authenticated encryption. Authenticated encryption may be used only by authorized applications. In various approaches, a policy manager maintains application authorization information in a manner known in the art. For example, policies may be implemented in a derivative of the eXtensible Access Control Markup Language (XACML) associated with policy enforcement points, policy decision points, etc. In response, unauthorized encryption is prevented at the storage. In various approaches, authorized encryption functionality may reside at the host, and authenticated encryption verification functionality may reside at the storage and / or secure transcoder.

[0049] In one exemplary embodiment, the authenticated encryption system includes a host with the ability to write to storage. Authorized applications pass all data to be encrypted to an authenticated encryption engine. An encryption key is generated and stored in a key server. In some embodiments, the key may be provided by the application. The authenticated encryption engine verifies that the data is not already encrypted. If the data is encrypted, the request is denied in accordance with at least some embodiments described herein. The ransomware cannot place the encrypted data in the storage. If the ransomware uses its own encryption key, data encrypted using the ransomware's encryption key is detected and prevented from being written to the storage. If the data is not encrypted, the authenticated encryption engine passes the data through an encryption engine, which encrypts the data using a key associated with the request. The encryption engine (e.g., authorized encryption function) may be encapsulated in hardware, accelerators, trusted execution environments, etc. that typically improve the security of the key and encryption process. After encryption, the data is watermarked using a watermark key before passing the encrypted data to the storage system. The storage system can access a watermark key server and can verify that encryption is authorized (e.g., check if the watermark is valid) before writing data to storage. When the storage system receives the data and watermark, it independently accesses the watermark key server and calculates the watermark to verify that the data has not been altered. Data is written to storage only if the watermark verification is successful. In a preferred embodiment, all data written to storage is stored using authorized encryption and no plaintext is stored in storage. Encryption and decryption is preferably limited to authorized applications. Access to encryption keys is restricted to authorized encryption trust zones. Attempts to write unauthorized encrypted data are detected and blocked at storage (e.g., unauthorized encrypted data is not stored).Authorizing a new application may require proof of application correctness and / or multi-party manual authorization in a manner known in the art. In preferred aspects, only authorized applications encrypt data using the dual encryption engine. In at least some aspects, all encryption may be performed using the dual encryption engine. At least some aspects of the present disclosure take authorized encryption further by implementing a secure transcoder in the watermark verification and authentication process.

[0050] In various aspects, it is assumed that all communication between disparate components occurs over mutually authenticated secure (e.g., encrypted) sessions. It may be assumed that all data stored in the system is encrypted. At least some approaches may include providing unencrypted data, but unencrypted data may not be protected from data extraction.

[0051] At least some of the aspects described herein may be advantageously used in conjunction with symmetric encryption techniques, which provide relatively high performance compared to relatively slow public key encryption methods of transferring data between nodes in a system.

[0052] According to various aspects of the present disclosure, the following terms may each be defined. It should be understood by those of skill in the art that the following terms are not limited to the exact definitions provided below. Rather, these definitions are exemplary and may include a broader or narrower scope as detailed in accordance with various aspects of the present disclosure.

[0053] A node, as used throughout this disclosure, may refer to a system or component that processes application data. A node may include a computer, a CPU processor, a GPU processor, a virtual machine instance, a container, any other processing element, etc., or any combination thereof.

[0054] Watermark token, as used throughout this disclosure, may refer to a unique identifier calculated from encrypted data, a watermark key, another watermark token, etc. In at least some approaches, the watermark token may be calculated using a keyed hash, such as a hash-based message authentication code (HMAC). The watermark token may be efficiently generated using an authenticated encryption mode, such as offset code book (OCB) mode, integrity aware parallelizable mode (IAPM), etc. In at least some approaches, the watermark token may be generated using additional information, such as a logical block address (LBA), sequence number, etc., to prevent substitution attacks. In at least one approach, an authentication token generated during encryption by the aforementioned modes may be used as the watermark token for the encrypted data. In the aforementioned approaches, the token is verified upon decryption. In a preferred embodiment, the watermark token is used to generate a watermark. Thus, an entity with access to the encrypted data and watermark key cannot generate a valid watermark without having access to a valid watermark token and / or a valid watermark token key.

[0055] In at least one aspect, if a trusted verifier has access to the watermark token key, the watermark token may be verified without access to the stored watermark token. Verification is accomplished by regenerating the watermark token and using the regenerated watermark token to verify the stored watermark (e.g., generated using the watermark token). In an alternative aspect, the watermark token does not need to be written to storage. However, if the watermark token is not written to storage, users outside the trust zone cannot verify the watermark without access to the watermark token key. Watermark verifiers that do not have access to the watermark token key, such as watermark verifiers located in storage and watermark verifiers associated with users outside the trust zone, must be provided with access to the watermark token. In an alternative embodiment in which a watermark token is not used to generate the watermark, the watermark and the watermark token are independent and therefore may be stored and verified independently.

[0056] A watermark, as used throughout this disclosure, may be a unique identifier computed from encrypted data, a watermark key, a watermark token, etc. In at least some approaches, a watermark may be computed using a keyed hash, such as a hash-based message authentication code (HMAC). In at least some aspects, a watermark on encrypted data may refer to any watermark and / or watermark token computed on the encrypted data. A watermark may be generated with or without a watermark token. For example, the watermark and watermark token may be generated separately using different keys (e.g., a watermark key and a watermark token key).

[0057] The watermark token key may be shared only with modules authorized to decrypt the data for which the token was generated. The ultimate destination of the encrypted data (e.g., the destination where the data is used) preferably validates the watermark and watermark token at all levels (e.g., inside and outside, including the watermark and watermark token per level, etc.).

[0058] An authenticated encryption trust zone, as used throughout this disclosure, includes a set of systems and components that are mutually authenticated for the generation and use of watermark tokens and watermarks using authorized access to a common watermark key manager and a common encryption key manager. This mutual authentication allows writing to storage, and the storage is configured to verify that unauthorized encryption is not performed on data written to the storage. In at least some aspects, nodes outside the authenticated encryption trust zone may use authenticated encryption and share watermark keys between zones using the watermark keys generated to share.

[0059] In some aspects, nodes outside the authentication encryption trust zone may not be trusted to perform all authentication encryption operations, and additional validation is used for receiving data from nodes outside the authentication encryption trust zone. In at least some approaches, watermarks and watermark keys originating from outside the authentication encryption trust zone may not be fully trusted and must be validated by nodes inside the authentication encryption trust zone. In preferred aspects, these watermarks are regenerated using a trusted watermark key when received by a secure transcoder inside the authentication encryption trust zone. Data received from outside the authentication encryption trust zone may be watermarked and double encrypted. If the watermark and watermark key are available but not fully trusted, the watermark should be validated.

[0060] According to at least some of the aspects described herein, the dual authentication encryption engine is an authorized encryption engine that includes a pre-filter for verifying that input data is not encrypted, a first encryption engine for generating first encrypted data using a first encryption key, a second encryption engine for generating second encrypted data using a second encryption key, and a watermark generator for generating a watermark for the first encrypted data or the second encrypted data or both. In at least some approaches, the first encryption engine and the second encryption engine may be implemented using the same hardware module or the same software module or both. The pre-filter preferably determines whether the data received by the pre-filter is encrypted. The pre-filter may be implemented in hardware and / or software programs to perform analysis on the data (e.g., to determine whether the data is encrypted). The pre-filter may determine whether the data is encrypted using statistical analysis and / or any other means known in the art in a manner that would be apparent to one of ordinary skill in the art upon reading this disclosure. The pre-filter can advantageously determine whether the data has been encrypted with any cryptographic key and prevent further processing of the tainted data, e.g., the data may be encrypted by an attacker substituting ciphertext for plaintext.

[0061] According to an example aspect of the present disclosure, a dual-authentication encryption engine performs a method that includes verifying that received data is unencrypted, encrypting the received data using a first key to generate first encrypted data, encrypting the first encrypted data using a second key to generate second encrypted data, and generating a watermark of the first encrypted data or the second encrypted data or both.

[0062] In at least some approaches, the verifier receives the inner encrypted data and / or determines that the decrypted data is not encrypted. The verifier may be referred to interchangeably throughout this disclosure as a secure verifier, an authorized verifier, a trusted verifier, etc. The verifier preferably has access to the encryption key used to encrypt the data and decrypts the data using the encryption key. In some aspects, the decrypted data may pass from the verifier through a verifier pre-filter to verify (e.g., determine) that the data is not encrypted. In various aspects, the verifier has access to a watermark token key and watermark for the encrypted data to enable verification of the watermark token against the encrypted data. In some approaches, a new secure watermark token may be generated by the secure verifier. In an alternative implementation, the secure verifier receives the doubly encrypted data along with the inner and outer watermarks, the watermark token, and the encryption key. A secure verifier verifies all watermarks, decrypts the data, and verifies that the original data was not encrypted.

[0063] According to at least some aspects of the present disclosure, the inner encrypted data is the first encrypted data encrypted once by the dual encryption engine, and the outer encrypted data is the encrypted data resulting from encrypting the inner encrypted data. The outer encrypted data may be referred to as the second encrypted data generated by another dual encryption engine. In at least some aspects, if the outer encrypted data is generated by the transcoder or by a destination forwarding data to the transcoder, this data may be referred to as the third encrypted data. The third encrypted data may be generated by decrypting the outer encrypted data to generate the inner encrypted data and re-encrypting the inner encrypted data using a new encryption key.

[0064] The secure transcoder may have various characteristics according to the desired implementation. For example, in an exemplary implementation, the secure transcoder does not transcode the inner watermark, but does transcode the outer watermark. In such an implementation, the transcoder validates the outer watermark and the outer watermark token, and protects against storage of counterfeit data and / or the outer watermark. The transcoder may generate a new outer watermark token and a new outer watermark. The transcoder may send the original inner watermark and the new outer watermark to a destination. The destination preferably has access to the original inner watermark token key and inner watermark key, in addition to the transcoded outer watermark token and watermark key. The destination validates all watermarks and watermark tokens in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0065] In another exemplary implementation, the secure transcoder further verifies the inner watermark rather than the inner watermark token. The inner watermark key is shared with both the secure transcoder and the destination. The inner watermark token key is shared only with the destination. The exemplary implementation maximizes early detection of problems while minimizing trust of the secure transcoder.

[0066] In an alternative exemplary implementation, all watermarks and watermark keys are transcoded (e.g., the secure transcoder has access to all of the watermark keys). The destination can then verify all watermarks and watermark keys (e.g., the destination has access to the keys used to generate the transcoded watermarks). This alternative implementation requires additional trust of the secure transcoder.

[0067] It should be understood by one of ordinary skill in the art that in various aspects of the present disclosure, any verification described herein may be considered "successful" (e.g., valid) or "failed" (e.g., invalid). The purpose of the verification is to determine whether the watermark is valid. For example, any watermark verification described herein may be considered "successful" if the watermarks "match". In some approaches, the watermarks must be identical to be considered "matching". In other approaches, a predefined portion, percentage, subcomponent, etc. of the watermarks must match. Similarly, any watermark token verification described herein may be considered "successful" if the watermark tokens "match". In response to a failed verification (e.g., the verification "fails"), further processing of any data, watermark, watermark token, etc. may be prevented (e.g., an indication of the failed verification may be sent to the requestor, an error may be output, further encryption of the data may be prevented, the write request and / or read request may be denied, etc.). In at least some approaches, an error may be logged and / or a warning may be sent to the user. In one approach, two or more validations may be attempted before blocking further processing. In another approach, as will be appreciated by those skilled in the art, the system may have mechanisms for recovering failed data, such as rebuilding blocks if the storage is configured as a random array of independent disks (RAID).

[0068] Any aspect of the present disclosure may be applied to data stored in memory, persistent memory, non-volatile storage, etc., or any combination thereof, in a manner that would be apparent to one of ordinary skill in the art upon reading this disclosure.

[0069] An exemplary implementation of authorized secure data movement using dual watermarking (e.g., a watermark token and watermark are generated for both the first (e.g., inner) encrypted data and the second (e.g., outer) encrypted data) is shown in Figure 3. Two watermark token keys and two watermark keys are used. In the exemplary approach, upon direct write to the storage from the source (or from the destination via a secure transcoder, or both (see Figure 4)), the storage verifies the outer watermark based on the outer watermark key and outer watermark token.

[0070] 3 is a diagram of a high level architecture according to various configurations. Architecture 300 may be implemented in accordance with the present invention in a variety of configurations, particularly in any of the environments illustrated in Figures 1-2 and 4-11. Of course, more or less elements than those specifically illustrated in Figure 3 may be included in architecture 300, as one of ordinary skill in the art would understand upon reading this description.

[0071] According to one aspect, architecture 300 illustrates an exemplary data system. Architecture 300 includes an owner 302 (e.g., a host system) that generates data and commits the data to persistent data storage. Owner 302 includes at least one authorized application 304 and a dual-authentication encryption engine 306. Dual-authentication encryption engine 306 may be referred to interchangeably as an authorized encryption function or an authorized encryption engine throughout this disclosure.

[0072] Exemplary operations for encrypting data sent from an authorized application 304 are shown in FIG. 3. FIG. 3 illustrates an exemplary authorized data transfer where both parties (e.g., host and target) have access to the same key server and the same watermark key server. In a preferred embodiment, the authorization of the authorized application 304 is checked and the authority of the authorized application 304 to use the dual authentication encryption engine 306 is authenticated before sending data. In a preferred embodiment, the authorized application 304 requests permission to use authenticated encryption from the manager 308 before sending data. The manager 308 may check whether a system policy engine (not shown) has granted the application permission and issues appropriate credentials. In an alternative embodiment, if the application is already authorized, those credentials are presented to the manager 308 before utilizing authenticated encryption. Those skilled in the art will appreciate that authenticated encryption may be implemented as a shared system feature or a pre-application service. The credentials may be unique to each instance of the application and may be utilized to ensure that all of the meta data and keys are properly associated with each other. The authorization may be checked in any manner known in the art, with different levels of security, as will be apparent to one of skill in the art upon reading this disclosure. In one approach, a permission list may be used. In another approach, a secure hash of the application may be checked. In yet another approach, a complete application attestation with authority may be performed. If the application cannot obtain encryption authorization, the data is prevented from being processed, e.g., the data is not encrypted by the authorized encryption. In at least some approaches, a notice may be logged indicating that an unauthorized application has attempted to access the authentication encryption and / or an alert may be sent to an administrator.

[0073] After an application is authorized (e.g., authorized application 304), the authorized application 304, via the manager 308, prepares a selected set of encryption keys 314 maintained by the key server 310 and associated watermark keys 316 maintained by the watermark key server 312 to be used for encrypting and watermarking data generated by the authorized application 304. Each encryption key may be associated with the authorized application 304. In one approach, each system may have a single encryption key that is used for each of the authorized applications of the system. In another approach, each encryption key may vary depending on the application, user, system owner, data set, set of files, set of volumes, etc. Any of the aforementioned information may be sent to the manager 308 as a request for access by the authorized application 304. The manager 308 may generate new keys and / or determine identifying information for the encryption keys, watermark keys, etc. associated with the request. The manager 308 may send this information (e.g., a request for information associated with the new key, or identification of the encryption key and / or watermark key associated with the request) to the key server 310 and / or the watermark key server 312.

[0074] In an alternative approach, the key server 310 and / or the watermark key server 312 perform the key generation in response to a request from the manager 308 to the key server 310 and / or the watermark key server 312 for the generation of a new key.

[0075] In a preferred embodiment, the manager 308 is embedded in the dual authentication encryption engine 306. In some approaches, the manager 308 may be embedded in a TEE in a host (e.g., external to the dual authentication encryption engine 306). In further approaches, the manager 308 may be embedded in a separate secure component such as the key server 310, the watermark key server 312, an HSM or TEE in another host, etc. In each of these alternative approaches, for data security, all links between the manager 308 and other components are protected using authentication, encryption, integrity protection, etc.

[0076] In a preferred embodiment, the key server 310 holds at least one set of encryption keys 314 that are used by the dual authentication encryption engine 306 to encrypt data. In a further preferred approach, the set of encryption keys 314 stored in the key server 310 cannot be used by the authorized applications 304. Similarly, the watermark keys 316 stored in the watermark key server 312 cannot be used by the authorized applications 304. In some approaches, the manager 308 may generate new keys. In a preferred approach, the manager 308 is securely isolated from the authorized applications 304 in a manner known in the art, including via a hardware security module (HSM), a trusted execution environment (TEE), or the like. According to various aspects described herein, key distribution may be performed in a secure manner, such as over an encrypted link or using a secure key exchange protocol.

[0077] At operation 318, data generated by the authorized application 304 is forwarded to a pre-filter 320 in the dual authentication encryption engine 306. The pre-filter 320 verifies that the data is not already encrypted. If the data is not encrypted (e.g., the verification is successful), at operation 322, the data is forwarded to an inner encryptor 324. The inner encryptor 324 obtains an inner encryption key 326 from a set of encryption keys 314 located at the key server 310. The inner encryption key 326 may be selected from the set of encryption keys 314 based on a policy established between the authorized application 304 and the manager 308 for the set of data to be written. The inner encryptor 324 encrypts the data using the inner encryption key 326 and at operation 328 forwards the encrypted data (e.g., the inner encrypted data) to an inner watermark generator 330. The inner watermark generator 330 obtains an inner watermark token key 332 and an inner watermark key 334 associated with the inner encryption key 326 to generate an inner watermark token and an inner watermark. The inner watermark generator 330 generates an inner watermark token and an inner watermark for the inner encrypted data. In operation 336, the inner encrypted data is passed to an outer encryptor 338. The outer encryptor 338 encrypts the inner encrypted data using an outer encryption key 340 obtained from the key server 310 to generate the outer encrypted data. In operation 342, the outer encrypted data is forwarded to an outer watermark generator 344. The outer watermark generator 344 obtains an outer watermark token key 346 and an outer watermark key 348 to generate an outer watermark token and an outer watermark. The outer watermark generator generates an outer watermark token and an outer watermark for the outer encrypted data. The dual authentication encryption engine 306 transfers the outer encrypted data, the inner watermark token, the inner watermark, the outer watermark token, and the outer watermark to a storage system 352 in operation 350 .

[0078] The storage system 352 may include further encryption of the encrypted data and associated watermarks and / or watermark tokens. The further encryption may be performed securely to prevent an attacker from using the further encryption as a means to encrypt data such that the owner of the data cannot decrypt the data (e.g., pass the data back to the storage system). One secure implementation of the further encryption may include a self-encrypting storage unit.

[0079] In some aspects, storage system 352 may support storage of unencrypted data. To store unencrypted data, a pre-filter function (e.g., pre-filter 320) may be added to storage system 352 such that storage system 352 can distinguish between encrypted data and clear data (e.g., data in the clear, unencrypted data, etc.) and reject unauthorized encryption, thereby allowing storage of clear data. Allowing storage of clear text reduces the security of clear text data against data extraction attacks and should therefore be limited to data that is less sensitive to unauthorized disclosure, in a manner that could be determined by one of skill in the art.

[0080] In various approaches, each watermark generator described herein may use any number of methods to create a value that uniquely identifies the encrypted data (e.g., a watermark generated for the encrypted data). In a preferred embodiment, a keyed-hash message authentication code (HMAC) may be used, in a manner that would be understood by one of skill in the art. The hash function may be any form of hash depending on the desired level of security, as would be determinable by one of skill in the art. Examples of hash functions include MD5, SHA256, etc. In one approach, a hash function that does not use HMAC, such as a SHA3 hash function, may be used.

[0081] Storage system 352 may be any type of storage system known in the art. It should be understood by one of ordinary skill in the art that storage system 352 may include more or less components than those illustrated herein.

[0082] In various aspects, the storage system 352 includes a storage verifier 354. The storage verifier 354 obtains an outer watermark key 348 for the data to be written from the watermark key server 312. The storage verifier 354 verifies the outer watermark using the outer watermark key 348 in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. If the verification is successful, the data is written to storage 356 in operation 358.

[0083] According to the exemplary operation of FIG. 3, data written by the owner 302 is retrieved from the storage system 352 for processing by the target user 360. The outer encrypted data (e.g., doubly encrypted data) and associated watermark and / or watermark token may be read from the storage system 352 via the secure transcoder 362 and forwarded to an outer authentication encryption verifier 366 located at the secure transcoder 362 in operation 364. The secure transcoder 362 obtains the outer watermark token key 346 from the key server 310 and the outer watermark key 348 from the watermark key server 312. The outer authentication encryption verifier 366 verifies both the outer watermark and the outer watermark token in a manner that will be apparent to one skilled in the art upon reading this disclosure. If both the outer watermark and the outer watermark token are correctly verified, then the outer encrypted data is forwarded to an outer decrypter 370 in operation 368. The outer decryptor 370 obtains the outer encryption key 340 from the key server 310. The outer decryptor 370 uses the outer encryption key 340 to decrypt the outer encrypted data to generate inner encrypted data. In operation 372, the inner encrypted data is forwarded to an inner authentication encryption verifier 374. The inner authentication encryption verifier 374 obtains the inner watermark key 334 from the watermark key server 312 and uses the inner watermark key 334 to verify the inner watermark. If the verification of the inner watermark is successful, in operation 376, the inner encrypted data is forwarded to a secure transcoder outer encryptor 378. The secure transcoder outer encryptor 378 obtains an outer shared key 380 from the key server 310 and encrypts the inner encrypted data using the outer shared key 380 to generate new outer encrypted data. In operation 381, the new outer encrypted data (e.g., the third encrypted data) is forwarded to a secure transcoder watermark generator 382. The secure transcoder watermark generator 382 obtains a watermark token key 384 from the key server 310 and a watermark key 383 from the watermark key server 312. The secure transcoder watermark generator 382 generates a new watermark token and a new watermark for the new outer encrypted data for sharing.At operation 385 , the outer encrypted data for sharing and the associated inner and outer watermark tokens and watermarks are forwarded to a dual authentication encryption engine 386 of the target user 360 .

[0084] The encrypted data received by the target user's 360 dual authentication encryption engine 386 is passed to an outer verifier 387. The outer verifier 387 obtains the watermark key 383 from the watermark key server 312 and the watermark token key 384 from the key server 310. The outer verifier 387 verifies the outer watermark and watermark token in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. If the verification is successful, the outer encrypted data is forwarded to an outer decryptor 389 in operation 388. The outer decryptor 389 obtains the outer shared key 380 from the key server 310 and decrypts the outer encrypted data to generate inner encrypted data. The inner encrypted data is forwarded to an inner verifier 391 in operation 390. The inner verifier 391 obtains the inner watermark token key 332 from the key server 310 and the inner watermark key 334 from the watermark key server 312. An inner verifier 391 verifies the watermark and watermark token against the inner encrypted data in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. If the verification is successful, the inner encrypted data is forwarded to an inner decrypter 393 in operation 392. The inner decrypter 393 obtains the inner encryption key 326 from the key server 310. The inner decrypter 393 decrypts the inner encrypted data into plaintext data using the inner encryption key 326. If the decryption is successful, the data (e.g., plaintext data) is forwarded to an authorized application 395 of the target user 360 for processing in operation 394. The association of the key appropriate to the particular data being written or read is managed by the manager 308 of the owner 302 during data writing by the owner 302. The association of the key appropriate to the particular data being written or read is further managed by the manager 396 of the target user 360 during reading of the data by the target user 360 .

[0085] In various aspects, the owner 302 may reference existing data in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. "Data," as described throughout this disclosure, may refer to a file, an object, a data block, a range of data blocks, or the like, or any combination thereof. "Existing data" may refer to any file, object, data block, range of blocks, or the like, or any combination thereof, that is stored and accessed with the various policies described herein. For example, the owner 302 may indicate to the manager 308 whether the authorized application 304 is creating new data or referencing existing data (e.g., data stored according to at least one of the aspects described in detail above), or both. In another approach, the owner 302 may provide data indicating whether the owner 302 and / or the authorized application 304 are requesting read-only or read / write access to the existing data. If the authorized application 304 is not executing according to the owner's credentials, the authorized application 304 may have access to the data as determined by policies set by the owner 302. In at least some aspects, when the encryption key owner 302 reads the stored data, the stored data does not go through the secure transcoder 362 and the owner 302 (e.g., the owner-side dual authentication encryption engine 306) may verify the watermark and / or watermark token in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0086] In various approaches, the following definitions and operations may be applicable to performing write operations as described herein and illustrated in FIG.

[0087] Definition:

[0088] pi = input plaintext i

[0089] ci=pi output ciphertext

[0090] cci=ci output ciphertext

[0091] sci=ci shared output ciphertext

[0092] twi=ci inner watermark token

[0093] txi=cci outer watermark token

[0094] tvi=sci shared outer watermark token

[0095] kp, kr, ko = inner data key, outer data key, shared data key (e.g., encryption key from a key server), respectively

[0096] h1, h2, j1 = inner watermark token key, outer watermark token key, shared watermark token key, respectively

[0097] w1, w2, v1 = inner watermark key (e.g., from a watermark key server), outer watermark key, shared watermark key, respectively

[0098] wi, xi, vi = inner watermark, outer watermark, shared watermark, respectively

[0099] It should be noted that incremental numbering (e.g., ko1, ko2, etc.) is used to designate multiple components (e.g., as shown in Figures 3-6). For example, ko1 and ko2 may both refer to encryption keys, but as will be apparent to one of ordinary skill in the art upon reading this disclosure, different numbering represents different encryption keys unless otherwise noted.

[0100] Generate dual-auth encrypted data at the source:

[0101] Get kp, kr, h1, and h2 from the key server

[0102] Obtain w1 and w2 from the watermark (ws) server

[0103] ci=encrypt(kp,pi)

[0104] twi = HMAC(h1,ci)

[0105] wi = HMAC(w1,ci||twi)

[0106] cci=encrypt(kr,ci)

[0107] txi = HMAC(h2,cci)

[0108] xi = HMAC(w2,cci||txi)

[0109] Send to storage:{cci,twi,wi,txi,xi}

[0110] Verifying dual-auth encrypted data in storage:

[0111] Get w2 from the ws server

[0112] xi'=HMAC(w2,cci||txi)

[0113] Verify 'xi==xi'

[0114] If verified, store the data

[0115] Reliable code conversion when reading from storage for destination:

[0116] Read the data:

[0117] Get kr and h2 from the key server

[0118] Read from storage(cci,twi,wi,txi,xi)

[0119] Get w2 from the ws server

[0120] xi'=HMAC(w2,cci||txi)

[0121] Verify 'xi==xi'

[0122] txi'=HMAC(h2,cci)

[0123] Verify 'txi==txi'

[0124] ci=decrypt(kr,cci)

[0125] Get w1 from the ws server

[0126] wi' = HMAC(w1,ci||twi)

[0127] Verify wi==wi'

[0128] Transcode (the outer encryption key to the new key) and create the shared watermark:

[0129] Get v1 from the ws server

[0130] Obtain ko and j1 from the key server

[0131] sci=encrypt(ko,ci)

[0132] tvi = HMAC(j1,sci)

[0133] vi = HMAC(v1,sci||tvi)

[0134] Send to:{sci,twi,wi,tvi,vi}

[0135] At the destination (verify inner and outer encryption):

[0136] Read {sci,twi,wi,tvi,vi} from transcoder

[0137] Get kp, ko, h1, and j1 from the key server

[0138] Get w1 and v1 from the ws server

[0139] vi' = HMAC(v1,sci||tvi)

[0140] Verify that vi==vi'

[0141] tvi' = HMAC(j1,sci)

[0142] Verify that tvi==tvi'

[0143] ci=decrypt(ko,sci)

[0144] wi' = HMAC(w1,ci||twi)

[0145] Verify wi==wi'

[0146] twi' = HMAC(h1,ci)

[0147] Verify 'twi==twi'

[0148] pi=decrypt(kp,ci)

[0149] In at least some approaches, the watermark token key may be stored in and retrieved from a key server, and other watermark keys may be stored in and retrieved from a separate watermark key server (e.g., a watermark key server). Other configurations for retrieving different keys from the same or different key servers may be implemented in a manner that will become apparent to one of ordinary skill in the art upon reading this disclosure.

[0150] In various aspects involving dual watermarks and watermark tokens, the source owner and data destination can fully verify all watermarks and watermark tokens to verify that both the inner encryption and the outer encryption were performed by an authenticated encryption engine using authorized keys. The transcoder may verify all watermarks and watermark tokens except the inner watermark token. The transcoder cannot generate a fake inner watermark token that would allow the transcoder to perform certain data substitution attacks. The storage may verify the outer watermark but not the inner watermark. The storage cannot forge either the inner encryption watermark token or the outer encryption watermark token. In a preferred environment, the storage has no access to the outer encryption key or the outer watermark token key.

[0151] In some approaches, other types of watermarks may include hashing the encrypted data and encrypting this hash using a watermark key, hashing the encrypted data using a watermark key, etc. Asymmetric encryption techniques may then be used, including PKI signatures, in which the hash of the encrypted data is encrypted with a private key. A public key may be used to verify the signature, as will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0152] Those skilled in the art may modify the various operations described herein to achieve a desired level of security based on design requirements and the selection of operations used to create the watermark, in ways that will become apparent upon reading this disclosure. Watermarks provide the ability to check the validity of the encryption without knowing the encryption key. Watermark tokens provide the ability to detect modifications to the watermark and / or encrypted data while providing resistance to forgery. Performing these operations using symmetric encryption is often preferred due to the higher performance that can be achieved, resistance to quantum attacks, smaller key sizes, etc.

[0153] In various aspects of the disclosure, the verifier may compare the calculated watermark to the watermark received with the encrypted data (and similarly may compare the calculated watermark token to the received watermark token). If the watermarks do not match, the encrypted data is not stored. In some approaches, the watermarks must match to a predefined degree. For example, in some approaches, the watermarks must be identical to be considered a "match." In other approaches, a predefined portion, percentage, subcomponent, etc. of the watermarks must match. In at least some aspects, in response to a determination that the watermarks do not match, a notice may be logged and / or a warning may be sent to an administrator indicating that an attempt to store unauthorized data has been made. Verification may be performed without the verifier having access to the plaintext of the key used to create the ciphertext (e.g., the encrypted data). In one approach, if the watermark is generated as an encrypted hash (e.g., as a PKI signature), the detection operation of the verifier involves decrypting the watermark using a watermark key and comparing the decrypted watermark to a hash calculated over the encrypted data, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. The verifier may verify that the data was encrypted using authenticated encryption and has not been altered at any time, such as when read, during a scrub operation (e.g., to check data integrity), etc.

[0154] Detecting that the input data is encrypted may be performed in a manner known in the art. For example, data from an authorized application may be determined from unencrypted data, but may have a format and / or characteristics that are missing from the encrypted data. Other techniques for detecting that the input data is encrypted include entropy measurements, statistical tests used to assign a probability that an element of data is encrypted, and the like. The system may use multiple data chunks, blocks, and the like to improve the accuracy of the detection probability. If the storage system supports continuous data protection, snapshots, or other means for temporarily storing data (e.g., supports rollback), detection may occur after a predefined number of data elements have been processed. A high probability of detecting an encrypted input may trigger an event, such as a snapshot.

[0155] In at least some embodiments, an encryption key, a watermark key, a watermark token key, a shared key, etc. may be stored in a key server. The key server may be a distributed key server for additional resilience. Each set of keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, may be stored in a unique key server. In another approach, a single key server may provide any combination of keys. In a preferred embodiment, for resilience and fault tolerance, each set of k keys may be divided among m servers such that k < m servers are required to obtain the keys in a manner known to those skilled in the art. Keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, may be stored in any other method known in the art. For example, keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, may be stored in separate storage devices or the same storage device, and keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, may be generated or managed, or both, by a key manager of a type known in the art. Keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, may be stored in a host system, a storage system, or any combination thereof, etc. As shown in Figure 3, the encryption key and the watermark key are stored separately so as to provide separation. A system such as a container or a TEE may be used to separate keys, shared keys, watermark token keys, or watermark keys, or combinations thereof, from a system administrator, other users without root privileges, etc.

[0156] At least one exemplary implementation of secure data movement as provided herein uses inside-only watermark generation, where the storage does not have access to the inside encrypted data and therefore cannot perform watermark verification as previously described herein. With inside-only watermarking, all writes to the storage are done through a secure transcoder that performs watermark verification (e.g., there can be no physical path to write to the storage that does not go through the secure transcoder). The transcoder verifies the watermark when writing (e.g., the transcoder has access to the watermark key).

[0157] Since the storage system does not have access to the inner encrypted data, the storage system cannot generate a false inner watermark. This reduces the requirements for the watermark token. However, if the watermark token contains either a logical block address (LBA) or a sequence number to protect against other attacks (e.g., old data or substitute data from another LBA), the watermark token also provides protection against attacks by the transcoder. In preferred embodiments, the LBA and / or sequence number are used to generate the watermark token and / or to verify the watermark token. Even if the LBA and / or sequence number are used to generate the watermark token, in various preferred embodiments, the watermark token is used to reduce the level of trust required of the transcoder.

[0158] In one aspect of inside-only watermarking, the transcoder does not transcode the watermark. The transcoder has access only to the watermark key to verify at the time of writing, but not to the watermark token key. The destination verifies the watermark and has access to the watermark key. The destination verifies the watermark token and has access to the watermark token key.

[0159] In an alternative embodiment of inside-only watermarking, the transcoder transcodes the watermark. The transcoder checks the watermark when reading from storage and has access to the watermark key. The transcoder generates a new watermark using a new watermark key shared with the destination. In at least some approaches, the transcoder may validate the watermark token and the transcoder has access to the watermark token key and any additional data such as the LBA and / or sequence number (e.g., known by definition). This embodiment requires more trust of the transcoder. The transcoder may generate a new watermark token using a new watermark token key shared with the destination (e.g., to validate the watermark token).

[0160] In yet another alternative aspect of inside-only watermarking, the transcoder may not verify the watermark token, in which case the watermark token key and ancillary information are shared with the destination for watermark token verification.

[0161] In various approaches, the following operations using the definitions detailed above may be applicable to perform a read from storage for sharing with a destination, in which both the watermark token and the watermark are transcoded by a transcoder.

[0162] For inside-only watermarks, the source performs the following actions:

[0163] Get kp and kr from the key server

[0164] Get h1 and w1 from the ws server

[0165] ci=encrypt(kp,pi)

[0166] twi = HMAC(h1,ci)

[0167] wi = HMAC(w1,ci||twi)

[0168] cci=encrypt(kr,ci)

[0169] Send to secure transcoder:{cci,twi,wi}

[0170] After the authorized encryption is completed, the data is encrypted using a second key (kr) to generate outer encrypted data before being sent to storage via a secure transcoder. The secure transcoder decrypts the outer encrypted data and enables verification of the watermark on the inner encrypted data before sending the outer encrypted data and the watermark to storage, described below.

[0171] Get kr from the key server

[0172] Read from source (cci,twi,wi)

[0173] ci=decrypt(kr,cci)

[0174] Get w1 from the ws server

[0175] wi' = HMAC(w1,ci||twi)

[0176] Verify wi==wi'

[0177] If the verification passes, the block (cci, twi, wi) is written to storage. If the verification does not pass, there is a problem with the block and it should not be written.

[0178] The secure transcoder may have a manager located therein that is used to manage the connection to the destination. When an authorized application wants to allow an application on the destination system to access the data, the authorized application informs the manager (e.g., associated with both the authorized encryption and secure data transfer). The manager informs the key server and watermark key server that the remote application has access rights to. The manager's capabilities allow the secure transcoder to provide an outer key so that the remote application can read the data, and allows the key server to provide a transcode key and an inner key to the authenticated encryption engine on the remote system.

[0179] Upon reading from storage for transmission to a destination, the secure transcoder performs the following operations:

[0180] Read the data:

[0181] Get kr from the key server

[0182] Read from storage(cci,twi,wi)

[0183] ci=decrypt(kr,cci)

[0184] Verify inner encrypted data

[0185] Get w1 from the ws server

[0186] wi' = HMAC(w1,ci||twi)

[0187] Verify wi==wi'

[0188] Get h1 from the ws server

[0189] twi' = HMAC(h1,ci)

[0190] Verify 'twi==twi'

[0191] Create a new shared watermark:

[0192] Get v1 from the ws server

[0193] Obtain ko and j1 from the key server

[0194] tvi = HMAC(j1,ci)

[0195] vi = HMAC(v1,ci||tvi)

[0196] sci=encrypt(ko,ci)

[0197] Send to:{sci,tvi,vi}

[0198] At the destination, to obtain the plaintext from the computation, the destination's authenticated encryption engine performs the following operations:

[0199] Decrypt the outer block:

[0200] Read {sci,tvi,vi} from transcoder

[0201] Get ko from the key server

[0202] ci=decrypt(ko,sci)

[0203] Verify the watermark:

[0204] Get v1 from the ws server

[0205] vi' = HMAC(v1,ci||tvi)

[0206] Verify that vi==vi'

[0207] Get j1 from the ws server

[0208] tvi' = HMAC(j1,ci)

[0209] Verify that tvi==tvi'

[0210] Get access to the plaintext:

[0211] Get kp from the key server

[0212] pi=decrypt(kp,ci)

[0213] Another exemplary aspect of permitted secure data movement includes outside-only watermarking, where the watermark token and watermark are created based on the second (e.g., outer) encrypted data. In outside-only watermarking, if the watermark key is shared with the storage, the storage checks the watermark on write directly from the source. Since the watermark can be forged by the storage, the watermark token is checked on read from the storage. The transcoder transcodes the watermark when transcoding the outer encrypted data. The original watermark does not match the transcoded outer encrypted data.

[0214] To transcode the watermark, the transcoder verifies the watermark on the original outer encrypted data. The transcoder preferably has access to a watermark key. The watermark token is also verified by the transcoder, and the transcoder also has access to a watermark token key. The transcoder generates a watermark token and watermark for the new outer encrypted data using the new watermark token and watermark key. The outer encrypted data, watermark token and watermark are forwarded to the destination. The destination is preferably authorized to access both the watermark token and the watermark key. The destination verifies both the watermark and the watermark token. The transcoder preferably includes a dual-authentication encryption engine.

[0215] In the above embodiment, the transcoder is trusted with the outer encryption key but not with the inner encryption key. The transcoder is fully trusted with the watermark key and the watermark token key. The destination is trusted with the watermark key (e.g., in the same way that the destination is trusted with the outer encryption key). The destination verifies both the watermark and the watermark token.

[0216] An outer-only watermark cannot verify that inner encryption is allowed when written back from the destination. The destination may re-encrypt with a fake inner key and generate a valid watermark with the outer key. In this case, a ransomware attack may occur at the destination where only the outer watermark is used. The transcoder must be trusted not to circumvent authenticated encryption on the inner encrypted data in a manner similar to how trust is required in storage if no watermark was present or if no watermark token was used.

[0217] The following operations illustrate an exemplary implementation of an outside-only watermark.

[0218] In the source:

[0219] Get kp, kr, and h1 from the key server

[0220] ci=encrypt(kp,pi)

[0221] cci=encrypt(kr,ci)

[0222] Obtain w1 from the watermark key server

[0223] txi = HMAC(h1,cci)

[0224] xi = HMAC(w1,cci||txi)

[0225] Send to storage:{cci,txi,xi}

[0226] When reading from storage, with a trusted transcoder:

[0227] Read the data:

[0228] Get kr and h1 from the key server

[0229] Read from storage(cci,txi,xi)

[0230] Get w1 from the ws server

[0231] xi' = HMAC(w1,cci||txi)

[0232] Verify 'xi==xi'

[0233] txi'=HMAC(h1,cci)

[0234] Verify 'txi==txi'

[0235] ci=decrypt(kr,cci)

[0236] Create a shared watermark:

[0237] Obtain ko and j1 from the key server

[0238] Get v1 from the ws server

[0239] sci=encrypt(ko,ci)

[0240] tvi = HMAC(j1,sci)

[0241] vi = HMAC(v1,sci||tvi)

[0242] Send to:{sci,tvi,vi}

[0243] At destination:

[0244] Read {sci,tvi,vi} from transcoder

[0245] Get kp, ko, and j1 from the key server

[0246] Get v1 from the ws server

[0247] vi' = HMAC(v1,sci||tvi)

[0248] Verify vi==vi'

[0249] tvi' = HMAC(j1,sci)

[0250] Verify that tvi==tvi'

[0251] ci=decrypt(ko,sci)

[0252] pi=decrypt(kp,ci)

[0253] One exemplary implementation of authorized secure data movement includes a hybrid inside / outer watermarking approach, in which a watermark token is formed based on the inner (e.g., first) encrypted data, and a watermark is created based on the watermark token and the outer (e.g., second) encrypted data.

[0254] The storage verifies the watermark based on the watermark, the watermark token, the outer encrypted data, and access to the watermark key. Thus, data is securely written directly from the source to the storage. The storage does not need to be trusted with the encryption key and does not need to trust the source of the data. The storage only needs trusted and authorized access to the watermark key. Upon retrieval from the storage, the original source verifies the watermark token to prove that the data was not tampered with by the storage.

[0255] The transcoder transcodes the outer watermark because the outer watermark is based on the inner watermark token and the outer encryption that has been modified by the transcoder. Because the transcoder transcodes the watermark, the transcoder validates the watermark before both transcoding the outer encryption and generating a new watermark. The transcoder preferably has access to the watermark key and the watermark token. The operation of the transcoder works according to at least two approaches.

[0256] In one exemplary approach, the transcoder does not transcode the watermark token. The transcoder validates the watermark token when reading from the storage. The storage may replace the bad data and generate a valid outer watermark. The transcoder has access to the watermark token key. If the transcoder does not validate the watermark token, detection of possible corruption by the storage is delayed to the time of watermark token validation at the destination. The transcoded watermark is shared with the destination. The watermark token key is shared with the destination. This approach imposes an additional trust of the transcoder not to replace bad inner encrypted data.

[0257] In another exemplary approach, the transcoder transcodes the watermark token. The watermark token is used to prevent the storage from generating a valid watermark. The storage has access to the watermark token and the watermark key. The storage does not have access to the watermark token key. If the storage generates a new (e.g., fake) watermark, in a preferred embodiment, the fake watermark is detected by the transcoder and / or the source because the watermark generated by the source, which is based on the encrypted data and the watermark token key, does not match the fake watermark generated by the storage. The transcoder preferably has access to the watermark token key. The transcoder may generate a new watermark token (e.g., transcode the watermark) using the new watermark token key and share this new watermark token with the destination. Thus, when the data is read by the destination, the transcoder validates both the outer watermark and the inner watermark token to ensure that both are valid. The destination may verify both the watermark and the watermark token.

[0258] A detailed example operation of hybrid watermarking, in which the transcoder does not transcode the watermark tokens (eg, assuming greater trust of the transcoder), is presented below.

[0259] In the source:

[0260] Get kp, kr, and h1 from the key server

[0261] Get w1 from the ws server

[0262] ci=encrypt(kp,pi)

[0263] twi = HMAC(h1,ci)

[0264] cci=encrypt(kr,ci)

[0265] xi = HMAC(w1,cci||twi)

[0266] Send to storage:{cci,twi,xi}

[0267] Reliable Transcoder:

[0268] Read the data:

[0269] Get kr and h1 from the key server

[0270] Read from storage (cci,twi,xi)

[0271] Get w1 from the ws server

[0272] xi'=HMAC(w1,cci||twi)

[0273] Verify 'xi==xi'

[0274] ci=decrypt(kr,cci)

[0275] twi' = HMAC(h1,ci)

[0276] Verify 'twi==twi'

[0277] Create a shared watermark:

[0278] Get ko from the key server

[0279] Get v1 from the ws server

[0280] sci=encrypt(ko,ci)

[0281] vi = HMAC(v1,sci||twi)

[0282] Send to:{sci,twi,vi}

[0283] At destination:

[0284] Read {sci,twi,vi} from transcoder

[0285] Get kp, ko, h1 from the key server

[0286] Get v1 from the ws server

[0287] vi' = HMAC(v1,sci||twi)

[0288] Verify vi==vi'

[0289] ci=decrypt(ko,sci)

[0290] twi' = HMAC(h1,ci)

[0291] Verify 'twi==twi'

[0292] pi=decrypt(kp,ci)

[0293] Returning to the preferred embodiment of double authenticated encryption, the double authenticated encryption engine generates watermark tokens and watermarks for both the inner and outer encrypted data. The storage is granted access to only the outer watermark key. The secure transcoder has access to the inner watermark key, the outer watermark token key, and the outer watermark key. The source and destination have access to all watermark keys for the encrypted data. The storage verifies the outer watermark before writing data to the storage. The transcoder verifies the outer watermark key, the outer watermark, and the inner watermark (but not the inner watermark token) before transcoding. The transcoder does not have access to the inner watermark token key. Access to the inner watermark token key allows the transcoder to use substitute data in place of the inner encrypted data and generate a valid watermark token.

[0294] Data from non-owners (destinations) is preferably doubly encrypted according to at least some of the aspects detailed above. Figure 4 illustrates the data flow of a destination in an authenticated encrypted trust zone that performs a write-back of the data to the shared storage doubly inner and outer watermarks.

[0295] 4 is a diagram of a high level architecture according to various configurations. Architecture 400 may be implemented in accordance with the present invention in a variety of configurations, particularly in any of the environments illustrated in Figures 1-3 and 5-11. Of course, more or less elements than those specifically illustrated in Figure 4 may be included in architecture 400, as one of ordinary skill in the art would understand upon reading this description.

[0296] According to one aspect, architecture 400 illustrates an exemplary data system. It should be understood by one of ordinary skill in the art that Figure 4 shares common components with Figure 3, and common features have common numbering and functionality.

[0297] The target user 360 inside the authenticated encryption zone uses the dual authenticated encryption engine 386 on the data being written back to storage in a manner similar to the data written to storage from the original owner (see exemplary FIG. 3). In an exemplary embodiment, the authorized application 395 passes the data to the pre-filter 402 in operation 404. The pre-filter 402 determines that the data is not encrypted in a manner similar to that described above. If the data is not encrypted, then the data is sent to the inner encryptor 408 in operation 406, which encrypts the data using the inner encryption key 326 to generate inner encrypted data. The inner encrypted data is sent to the inner watermark generator 412 in operation 410. The inner watermark generator 412 receives the inner watermark key 334 from the watermark key server 312 and the inner watermark token key 332 from the key server 310. The inner watermark generator 412 generates an inner watermark and an inner watermark token according to at least some of the aspects described herein. At operation 414, the inner encrypted data, the inner watermark, and the inner watermark token are sent to the outer encryptor 416, which generates the outer encrypted data using the outer shared key 380. At operation 418, the outer encrypted data, the inner watermark, and the inner watermark token are sent to the outer watermark generator 420. The outer watermark generator 420 receives the watermark key 383 from the watermark key server 312 and the watermark token key 384 from the key server 310. The outer watermark generator 420 generates an outer watermark and an outer watermark token of the outer encrypted data according to at least some of the aspects described herein.

[0298] In operation 422, the outer encrypted data, the inner watermark, and the outer watermark are forwarded to the secure transcoder 362. The outer verifier 424 of the secure transcoder 362 verifies the outer watermark using the watermark token key 384 obtained from the watermark key server 312 and the watermark token key 384 obtained from the key server 310. If the verification is successful, the outer encrypted data is sent in operation 426 for decryption by the outer decryptor 428 using the outer shared key 380 obtained from the key server 310. In operation 430, the decrypted data (e.g., the inner encrypted data) is sent to the inner verifier 432. The inner verifier 432 obtains the inner watermark key 334 from the watermark key server 312 and verifies the watermark. If the verification is successful, the inner encrypted data is forwarded in operation 434 to the outer encryptor 436. The outer encryptor 436 encrypts the inner encrypted data using the outer encryption key 340 obtained from the key server 310 to generate the outer encrypted data. In operation 438, the outer encrypted data is sent to the outer watermark generator 440. The outer watermark generator 440 obtains the outer watermark token key 346 from the key server 310 and the outer watermark key 348 from the watermark key server 312. The outer watermark generator 440 generates a new outer watermark token and a new outer watermark. In operation 442, the inner and outer watermark tokens, the inner and outer watermarks, and the outer encrypted data are transferred to a storage verifier 354 in a storage system 352. The storage verifier 354 obtains the outer watermark key 348 from the watermark key server 312 and verifies the outer watermark. If the verification is successful, then in operation 444 the encrypted data, the watermark token, and the watermark are written to storage 356 .

[0299] If the destination is not within the authentication encryption trust zone, additional validation is required. If the data is watermarked and the watermark key has been shared with the transcoder, the transcoder first validates all watermarks and watermark tokens. Since there is no guarantee that prefilter operations were properly applied prior to encryption outside the authentication encryption trust zone, the fully decrypted data is verified to be unencrypted plaintext.

[0300] In a preferred embodiment of data exchange with nodes outside the authentication encryption trust zone, a trusted verifier (e.g., a secure verifier) ​​assists the secure transcoder in transcoding the double encrypted data for exchange with nodes outside the authentication encryption trust zone. The trusted verifier comprises four elements: a watermark token identifier, a data decoder, a pre-filter that determines if the data is encrypted, and a watermark token generator. The trusted verifier has access to an inner encryption key and an inner watermark token key. The trusted verifier receives the inner encrypted data for verification. In at least some embodiments, the trusted verifier outputs the verification result and the newly generated inner watermark token. The trusted verifier does not export either the encrypted data or the plaintext data. The trusted verifier may be executed within a secure enclave or other protected environment to ensure that unencrypted data is not leaked to other elements of the system.

[0301] In exchanging data with nodes outside the authenticated encryption trust zone, the trust zone watermark key cannot be shared with the external node. Thus, the watermark is regenerated with a different set of watermark keys shared with the external node. The transcoder verifies and regenerates the watermark of the outer encrypted data during the transcoding operation. The transcoder has access to the inner encryption watermark key. By providing the transcoder with the shared outer watermark key and the shared inner watermark key, the transcoder can verify and regenerate the outer watermark token, the outer watermark, and the inner watermark when transcoding data going to or coming from an external source. In a preferred embodiment, the transcoder has neither access to the inner watermark token key nor to the inner encryption key. The transcoder cannot fully verify the externally supplied data as not encrypted outside a known key and cannot verify the inner watermark token.

[0302] In exchanging data with a node outside the authentication encryption trust zone, the transcoder passes the inner encrypted data to the secure verifier for verification and regeneration of the inner watermark token. The secure verifier is trusted with both the inner encryption key and the inner watermark token key (e.g., both the authentication encryption trust zone watermark token key and the externally shared watermark token key). In exchanges with nodes outside the authentication encryption trust zone, the secure verifier passes the inner encrypted data. When receiving data from an external source, the secure verifier verifies the inner watermark token, decrypts the data, verifies that the plaintext (e.g., the data just decrypted) is not encrypted, and generates a new watermark token. The secure verifier returns a verification confirmation and the watermark token to the transcoder. If the secure verifier does not report successful verification, the transcoder pauses the transcoding and reports an error. Because the secure verifier does not perform any encryption and does not return any encrypted data to the transcoder, the secure verifier cannot corrupt or substitute false encrypted data.

[0303] When transcoding encrypted data for transmission to a node outside the trust zone, the secure verifier verifies the inner watermark token using an inner watermark token key owned by the authenticated encryption trust zone and generates a new inner watermark token using an inner watermark token key shared with the outside node. The secure verifier returns the verification result and the new watermark token to the transcoder.

[0304] 5 is a diagram of a high level architecture according to various configurations. Architecture 500 may be implemented in accordance with the present invention in a variety of configurations, particularly in any of the environments illustrated in Figures 1-4 and 6-11. Of course, more or less elements than those specifically illustrated in Figure 5 may be included in architecture 500, as one of ordinary skill in the art would understand upon reading this description.

[0305] According to one aspect, architecture 500 illustrates an exemplary data system. It should be understood by those skilled in the art that FIG. 5 shares common components with FIG. 3 and other figures, and common features have common numbering and functionality. An exemplary operation of a transcoder for transmitting data to a node outside an authentication encryption zone is illustrated in FIG. 5.

[0306] In operation 364, the outer encrypted data and watermark are transferred from the storage 356 to an outer authenticated encryption verifier 366 located in the secure transcoder 362. The outer authenticated encryption verifier 366 obtains the outer watermark key 348 from the first watermark key server 502 and the outer watermark token key 346 from the key server 310. If verified, in operation 368, the outer authenticated encryption verifier 366 transmits the outer encrypted data and watermark to an outer decryptor 370. The outer decryptor 370 decrypts the data using the outer encryption key 340 to generate the inner encrypted data. In operation 504, the inner encrypted data and the associated inner encrypted watermark are transmitted to a secure verifier 506. In operation 372, the inner encrypted data and the inner encrypted watermark are also transmitted to an inner authenticated encryption verifier 374. The secure verifier 506 includes a verifier 508 that verifies the inner watermark token. If the verification is successful, the verifier 508 sends the inner encrypted data to the inner watermark token generator 512 in operation 510. Alternatively, if the verification is unsuccessful, the verifier 508 sends an indication of the verification failure to the inner watermark token generator 512 in operation 510. The inner watermark token generator 512 retrieves the watermark token key 384 from the key server 310, generates a new watermark token, and forwards this new watermark token and a verification message to the inner watermark generator 516 located in the secure transcoder 362 in operation 514. The inner authentication encryption verifier 374 retrieves the inner watermark key 334 from the first watermark key server 502 and verifies the watermark in a similar manner. If the verification by both the secure verifier 506 and the inner authentication encryption verifier 374 is successful, the inner encrypted data is passed to the inner watermark generator 516 in operation 520. The inner watermark generator 516 generates a new inner watermark using the watermark key 383 obtained from the second watermark key server 518. In a preferred embodiment, the inner watermark generator 516 generates the new inner watermark using the inner encrypted data and the watermark key 383 as inputs, plus the actual watermark token generated by the inner watermark token generator 512 in the secure verifier 506. At operation 522, the inner encrypted data is passed to the secure transcoder outer encryptor 378.The secure transcoder outer encryptor 378 obtains an outer shared key 380 from the key server 310 and encrypts the inner encrypted data to generate outer encrypted data. At operation 524, the outer encrypted data is passed to an outer watermark generator 526. The outer watermark generator 526 obtains a shared outer watermark key 528 from the second watermark key server 518 and an outer watermark token key 530 from the key server 310. The outer watermark generator 526 generates a new outer watermark token and outer watermark in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. At operation 532, the outer encrypted data, inner watermark token, inner watermark, outer watermark token, and outer watermark are forwarded to the target user 360.

[0307] An outer verifier 534 at the target user 360 verifies the outer watermark using the shared outer watermark key 528 from the second watermark key server 518 and the outer watermark token key 530 from the key server 310. If the verification is successful, then in operation 536 the outer encrypted data, the inner watermark token, the inner watermark, the outer watermark token, and the outer watermark are forwarded to the outer decryptor 389 which decrypts the outer encrypted data using the outer shared key 380 from the key server 310 to generate the inner encrypted data. In operation 538 the inner encrypted data is sent to the inner verifier 540 which verifies the inner watermark and the inner watermark token using the watermark key 383 obtained from the second watermark key server 518 and the watermark token key 384 obtained from the key server 310. If the verification is successful, then in operation 542 the inner encrypted data is sent to the inner decryptor 393. The inner decryptor 393 obtains the inner encryption key 326 from the key server 310. The inner decryptor 393 decrypts the inner encrypted data to plaintext using the inner encryption key 326. If the decryption is successful, then in operation 394 the data (e.g., the plaintext data) is forwarded to an authorized application 395 of the target user 360 for processing.

[0308] In a preferred embodiment, the secure transcoder cannot decrypt the inner encrypted ciphertext because the key for the inner encrypted ciphertext is never shared with the transcoder. The transcoder verifies that the data was originally properly encrypted by an authorized encryptor and not by malware. This verification may be performed after decrypting the outer encrypted data and before transcoding to a new outer encryption key. The inner encrypted data is passed to a trusted verifier that has access to the inner encryption key but not the outer encryption key. The trusted verifier verifies the inner watermark token using the inner watermark token key shared with the external node. If verified, the trusted verifier decrypts the inner encrypted data and verifies that the fully decrypted data is not encrypted using the encryption detection pre-filter function as described herein. The success or failure of the verification is then returned to the transcoder and the decrypted data is discarded. Because the inner encryption was not performed by an authentication encryption engine inside the authentication encryption trust zone, a new watermark token and a new watermark are generated for the inner encrypted data based on a watermark token key and a watermark key that are known and maintained by a key server of the authentication encryption trust zone. In a preferred embodiment, these keys are associated with an inner encryption key shared from a source of the encrypted data that is outside the authentication encryption trust zone. The trusted verifier obtains the inner watermark token key, generates a watermark token, and passes the watermark token to the transcoder. The transcoder may obtain a new inner watermark key and generate an inner watermark based on the inner encrypted data and the inner watermark token.

[0309] 6 is a diagram of a high level architecture according to various configurations. Architecture 600 may be implemented in accordance with the present invention in a variety of configurations, particularly in any of the environments illustrated in Figures 1-5 and 7-11. Of course, more or less elements than those specifically illustrated in Figure 6 may be included in architecture 600, as one of ordinary skill in the art would understand upon reading this description.

[0310] According to one aspect, architecture 600 illustrates an exemplary data system. It should be understood by those skilled in the art that FIG. 6 shares common components with FIG. 4 and other figures, and common features have common numbering and functionality. An exemplary operation of a write-back from a destination outside the authentication encryption trust zone using a trusted verifier is illustrated in FIG. 6.

[0311] Data being written back to storage by the authorized application 395 of the target user 360 is sent to the dual authentication encryption engine 386 in the trusted authentication encryption zone of the target user 360, which is outside the trusted authentication encryption zone of the owner (not shown), the secure transcoder 362, and the storage system 352. In an exemplary embodiment, the authorized application 395 passes the data to the pre-filter 402 in operation 404. The pre-filter 402 determines that the data is not encrypted in a manner similar to that described above. If the data is not encrypted, then the data is sent to the inner encryptor 408 in operation 406, which encrypts the data using the inner encryption key 326 to generate inner encrypted data. The inner encrypted data is sent to the inner watermark generator 604 in operation 602. The inner watermark generator 604 receives the watermark key 383 from the second watermark key server 518 and the watermark token key 384 from the key server 310. The inner watermark generator 604 generates an inner watermark and an inner watermark token according to at least some of the aspects described herein. In operation 606, the inner encrypted data, the inner watermark, and the inner watermark token are sent to the outer encryptor 416, which generates the outer encrypted data using the outer shared key 380. In operation 608, the outer encrypted data, the inner watermark, and the inner watermark token are sent to the outer watermark generator 610. The outer watermark generator 610 receives the outer watermark key 528 from the second watermark key server 518 and the outer watermark token key 530 from the key server 310. In another approach, the outer watermark generator 610 receives the outer watermark token key 530 from the second watermark key server 518 or from another key server to maintain confidentiality of information associated with the internally recorded data (e.g., in a preferred embodiment, the target user 360 does not have access to the internal key server 310). The outer watermark generator 610 generates an outer watermark and an outer watermark token for the outer encrypted data according to at least some of the embodiments described herein.In operation 612, the outer encrypted data, the inner watermark, and the outer watermark are forwarded to a secure transcoder 362 inside the owner's authenticated encryption zone. In at least some approaches, if the destination does not support authenticated encryption, the watermarking step is skipped.

[0312] The outer verifier 614 in the secure transcoder 362 obtains the shared outer watermark key 528 from the second watermark key server 518 and the outer watermark token key 530 from the key server 310 and verifies the outer encryption according to at least some of the techniques described herein. If the verification is successful, the outer encrypted data is passed to the outer decryptor 428 in operation 616 for decryption using the outer shared key 380 obtained from the key server 310. In operation 618, the decrypted data (e.g., the inner encrypted data) is sent to the inner verifier 620. The inner verifier 620 obtains the watermark key 383 from the second watermark key server 518 and verifies the watermark. If the verification is successful, the inner encrypted data is forwarded to the secure verifier 506 in operation 622. The secure verifier 506 includes a verifier 624 that obtains the watermark token key 384 from the key server 310 to verify the inner watermark token. If the verification is successful, the secure verifier 506 obtains the inner encryption key 326 (not shown in the secure verifier 506) from the key server 310. The inner decryptor 626 decrypts the data using the inner encryption key 326. In operation 628, the decrypted data is passed to a pre-filter 630 to verify that the decrypted data is not encrypted. If the verification is successful, the pre-filter 630 sends a verification message to a watermark generator 632 in operation 633 of the secure verifier 506. The watermark generator 632 in the secure verifier 506 obtains the inner watermark token key 332 from the key server 310 and generates a new inner watermark token. At operation 634, the new inner watermark token and the verification message are returned to the watermark generator 636 in the secure transcoder 362. If the verification is successful, the watermark generator 636 obtains the inner watermark key 334 from the first watermark key server 502 and generates a new watermark using the inner encrypted data passed from the inner verifier 620 at operation 638, the inner watermark token from operation 634, and the inner watermark key 334. At operation 640, the inner encrypted data is passed to the outer encryptor 436. The outer encryptor 436 encrypts the inner encrypted data using the outer encryption key 340 obtained from the key server 310 to generate the outer encrypted data.In operation 642, the outer encrypted data is sent to the outer watermark generator 440. The outer watermark generator 440 obtains the outer watermark token key 346 from the key server 310 and the outer watermark key 348 from the first watermark key server 502. The outer watermark generator 440 generates a new outer watermark token and a new outer watermark. In operation 442, the inner and outer watermark tokens, the inner and outer watermarks, and the outer encrypted data are transferred to a storage verifier 354 in the storage system 352. The storage verifier 354 obtains the outer watermark key 348 from the first watermark key server 502 and verifies the outer watermark. If the verification is successful, in operation 444, the encrypted data and the watermark are written to storage 356.

[0313] In an alternative embodiment, upon receipt of data from outside the authenticated encryption trust zone, a first dual-authentication encryption engine verifies and fully decrypts the data from outside the trust zone using a key shared from an external source. The unencrypted data is then encrypted and watermarked by a second dual-authentication encryption engine using a key from the trusted authenticated encryption zone. This encryption process performs unencrypted filter validation prior to encryption, such that at this point the encrypted data has been validated. Data imported in this manner does not require validation by a secure verifier connected to the transcoder.

[0314] 7, there is shown a flow chart of a method 700 according to one embodiment. Method 700 may be performed in accordance with the present invention in various embodiments, particularly in any of the environments shown in Figures 1-6 and 8-11. Of course, more or less operations may be included in method 700 than those specifically illustrated in Figure 7, as one of ordinary skill in the art would understand upon reading this description.

[0315] Each of the steps of method 700 may be performed by any suitable component of an operating environment. For example, in various aspects, method 700 may be performed in part or in whole by a computer or other device including one or more processors. A processor (e.g., a processing circuit, chip, or module, or a combination thereof) implemented in hardware and / or software and preferably including at least one hardware component may be utilized within any device to perform one or more steps of method 700. Examples of processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, combinations thereof, or any other suitable computing device known in the art.

[0316] As shown in FIG. 7, method 700 includes operation 702. Operation 702 includes receiving second encrypted data, a watermark, and a first watermark token from a data storage in response to a data request from a destination node outside an authorized encryption zone. The second encrypted data includes data that has been encrypted with a first key to create the first encrypted data, according to various aspects of the present disclosure. The first encrypted data is preferably encrypted with a second key to create the second encrypted data. A first watermark token is generated for the first encrypted data.

[0317] In various aspects, the second encrypted data is received at a secure transcoder, such as the secure transcoders described in various aspects of the present disclosure, which may be located at the source node, the data storage, a storage network coupled to the source node and the data storage, etc.

[0318] An authorized encryption trust zone (e.g., authorized encryption zone) preferably includes a source node that stores data in a data storage using an authorized encryption layer, a data storage, an authorized encryption layer, a secure transcoder, and a trusted verifier. In a preferred embodiment, an authorized encryption layer (e.g., authorized encryption layer) on a host system (e.g., source node) performs authentication of applications that generate and / or process the data to be stored. This authentication may be performed in any manner known in the art. In various approaches, an application must be authorized to perform encryption and / or store encrypted data in the storage system. A host system, user, system, etc. may determine whether one or more applications are authorized in any manner known in the art before the application requests to read encrypted data from and / or write encrypted data to the storage system. In a preferred embodiment, unencrypted data is not stored in the storage system.

[0319] In various aspects, in response to determining that the application is not allowed to encrypt, the authenticated encryption layer blocks read requests, write requests, etc. from unauthorized applications. In some aspects, the system may log the incident and / or send a warning to a user of the system to indicate a possible attack from a fraudster. The data may comprise any data format known in the art. The data may be in the form of data files, chunks, blocks, etc., or any combination thereof. In various approaches, the data is received at the authenticated encryption layer in any manner known in the art. In a preferred aspect, the data is received only in response to determining that the application is allowed to send data.

[0320] In one approach, the authenticated encryption layer includes a pre-filter function. In a preferred embodiment, the pre-filter function performs an encryption detection function, including determining whether the data has been pre-encrypted. More specifically, the encryption detection function of the pre-filter determines whether the data has already been encrypted with any encryption key. In response to determining that the data is encrypted, the authenticated encryption layer may prevent further processing of the data (e.g., an error may be output, further encryption of the data may be prevented, the write and / or read requests may be denied, etc.). As described above, an error may be logged and / or a warning may be sent to the user. In particular, in response to determining that the data is encrypted, the authenticated encryption layer prevents encryption of the data. In one exemplary embodiment, the authenticated encryption layer may prevent a write request of encrypted data, even if the request is from an authorized application. The authenticated encryption layer preferably encrypts only unencrypted data of authorized applications.

[0321] The authenticated encryption layer may request an encryption key and / or a watermark key for the data. In at least some approaches, the encryption key and the watermark key are requested from separate key servers. For example, the encryption key may be requested from a key server and the watermark key may be requested from a watermark key server. In other aspects, the encryption key and the watermark key are requested from the same key server. The key server may be located on the host system, encapsulated from the host system and / or the storage system, located on the storage system, etc. In a preferred aspect, the storage system does not have access to the encryption key.

[0322] According to various aspects, the second encrypted data is generated by an authenticated encryption layer before the data is sent to the storage. For example, creating the second encrypted data may include first encrypting the data (e.g., plaintext data) using an encryption key (e.g., a first key). The first key may be used to encrypt the data in a manner known in the art to obtain the first encrypted data. In a preferred aspect, the first key cannot be used by the application. The first key may be requested by the authenticated encryption layer and sent directly to the authenticated encryption layer in response to the request, preferably bypassing an authorized application. In various approaches, the first encrypted data is encrypted using the second key to obtain the second encrypted data in a similar manner.

[0323] In various approaches, the authenticated encryption layer may request various keys as described herein based on the authentication information of the authorized application. For example, each authorized application may be associated with a single encryption key and a single watermark key. In another example, each authorized application may be associated with a set of encryption keys and a set of watermark keys. Any combination of applications, encryption keys, watermark keys, etc. may be used in accordance with at least some of the aspects described throughout this disclosure.

[0324] In a preferred embodiment, a watermark for the first encrypted data is generated using a watermark key (e.g., a first watermark key) associated with the first encrypted data, or a watermark for the second encrypted data is generated using a watermark key (e.g., a second watermark key) associated with the second encrypted data, or both. The watermark generated for the first encrypted data may be interchangeably referred to as the first watermark. The watermark generated for the second encrypted data may similarly be interchangeably referred to as the second watermark. The watermark received at the secure transcoder may include the first watermark or the second watermark or both.

[0325] In various aspects, the watermark of the encrypted data may be generated in any manner known in the art. In one approach, the watermark is a keyed-hash message authentication code that uses a watermark key and a watermark token in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0326] In a preferred embodiment, a watermark token for the first encrypted data is generated using a watermark token key (e.g., a first watermark token key) associated with the first encrypted data, or a watermark token for the second encrypted data is generated using a watermark token key (e.g., a second watermark token key) associated with the second encrypted data, or both. The watermark token generated for the first encrypted data may be interchangeably referred to as the first watermark token. The watermark token generated for the second encrypted data may similarly be interchangeably referred to as the second watermark token. The watermark token received at the secure transcoder may include the first watermark token or the second watermark token or both.

[0327] According to various approaches, generating a watermark token may include any process that turns encrypted data into a random string (e.g., a token) that contains no meaningful value if broken. Any token, as referred to herein, serves as a reference to the original data, but the token cannot be used to infer the value of the original data (e.g., to access the data). In at least some approaches, the watermark token is a message authentication code (MAC) of the encrypted data. In various approaches, an authenticated encryption layer generates meta data associated with a watermark and / or a watermark key. In some approaches, the associated watermark and / or watermark key may be used to generate the watermark token. Similarly, in at least some approaches, the watermark token and / or a watermark token key may be used to generate the watermark.

[0328] In at least one approach, a first and second watermark are generated and a first and second watermark token are generated. In another approach, only a first watermark and a first watermark token are generated. In yet another approach, only a second watermark and a second watermark token are generated. In a further approach, only a first watermark token and a second watermark are generated (e.g., according to a hybrid approach described herein). It will be apparent to one of skill in the art upon reading this disclosure that any combination of a first and / or second watermark, a first and / or second watermark token, and a first and / or second watermark token key may be used with an associated level of security that could be determined by one of skill in the art.

[0329] In at least some aspects, before the secure transcoder receives the second encrypted data and the watermark, the authenticated encryption layer may store the second encrypted data and any generated watermark in a data storage. In some approaches, the storage system may be a subsystem of the computer executing the method, such as a data storage drive that is part of the computer and / or directly coupled to the computer. The data storage may include a verifier function with access to the watermark key in the key server. The data storage is preferably authorized to access the appropriate watermark key in a manner known in the art according to various authorization policies described herein. In other approaches, meta data associated with the watermark and / or watermark key is sent to the data storage. The data storage may request the associated watermark key from the key server based on the meta data in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. The verifier function of the data storage may verify the watermark using any respective watermark key.

[0330] The verifier function of the data storage may have access to the watermark token keys in a key server (which may be the same key server as the key server that holds the watermark key or a different key server, for example). The data storage is preferably authorized to access the appropriate watermark token keys in accordance with various authorization policies described herein, in a manner known in the art. The verifier function of the data storage may use any respective watermark token key to verify the watermark token.

[0331] In one aspect, a second watermark is generated for the second encrypted data. The second encrypted data and the second watermark may be sent to a data storage, which has access to a second watermark key. As one skilled in the art would understand upon reading this disclosure, a verifier function in the data storage verifies the second watermark using the second watermark key. Any watermark verification described herein may be considered "successful" if the watermarks "match" according to at least some of the foregoing aspects.

[0332] In one approach of the foregoing embodiment, a second watermark token is generated for the second encrypted data. As one skilled in the art would understand upon reading this disclosure, the data storage may verify the second watermark token using the second watermark token key.

[0333] Operation 704 includes verifying the second watermark generated for the second encrypted data. According to method 700, a transcoder receives the second encrypted data and the first and second watermarks, as described above. The transcoder is preferably authorized to access the appropriate watermark key in accordance with various authorization policies described herein, in a manner known in the art. In various aspects, the transcoder includes a verifier function that may verify either the first watermark, the second watermark, etc., in a manner similar to the verifier function described with respect to data storage.

[0334] Operation 706 includes decrypting the second encrypted data using the second key to obtain the first encrypted data. In a preferred embodiment, operation 704 is performed in response to successful verification of the second watermark at operation 702. The transcoder is preferably authorized to access the appropriate encryption keys (e.g., first key, second key, etc.) in accordance with various authorization policies described herein and in a manner known in the art.

[0335] Operation 708 includes verifying the first watermark generated for the first encrypted data. As described above, the first watermark generated for the first encrypted data may be verified using a first watermark key from a key server.

[0336] Operation 710 includes transmitting the first encrypted data to a trusted verifier upon successful verification of the first watermark. The trusted verifier may be of the type described in FIGS. 5-6 and throughout this disclosure. The trusted verifier may be configured to perform at least some of the aspects of method 800. In various aspects, the trusted verifier is configured to verify a first watermark token generated for the first encrypted data, the trusted verifier having access to a first watermark token key in a manner similar to a data storage and / or transcoder. The trusted verifier may transmit a verification message to the secure transcoder in response to successful verification of the first watermark token received by the secure transcoder in operation 712. In other approaches, the trusted verifier is configured to verify the watermark and / or watermark token generated for the first encrypted data. The trusted verifier may be configured to transmit a verification of the watermark and / or watermark token generated for the first encrypted data to the transcoder.

[0337] Operation 712 includes, in response to receiving verification of the first watermark token from the trusted verifier, encrypting the first encrypted data using a third key to create third encrypted data. In a preferred approach, the transcoder has access to the third key in a key server, as described in operation 706, and the encryption is performed in a manner known in the art.

[0338] Operation 714 includes generating a third watermark and / or a third watermark token for the third encrypted data. The third watermark may be generated for the third encrypted data using a third watermark key according to various aspects described herein. The third watermark token may be generated for the third encrypted data using a third watermark token key according to various aspects described herein.

[0339] Operation 716 includes transmitting the third encrypted data, the watermark, and the watermark token, including the third watermark and / or the third watermark token, to an authorized destination. The third encrypted data, the watermark, and the watermark token may be transmitted to the authorized destination in a manner known in the art.

[0340] In an alternative embodiment, in operation 702, only the second watermark is transmitted to the transcoder. The first watermark may not be generated or transmitted to the transcoder or the data storage or both. The transcoder may read the second encrypted data and the second watermark and verify the second watermark using the second watermark key, as described above. The transcoder may transmit the second encrypted data and the first watermark to a trusted verifier, which is configured to verify the second watermark generated for the second encrypted data. Upon successful verification of the second watermark by the trusted verifier, the transcoder may write the second encrypted data and the first watermark to the data storage.

[0341] In other aspects, the transcoder also verifies the first watermark token or the second watermark token or both in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0342] In various aspects, the transcoder transmits the third encrypted data and any generated watermark and / or watermark token to an authorized destination. The authorized destination preferably has access to the third key, the first key, the first watermark key, and the third watermark key according to a policy set by a manager in the source node and / or other authorization procedures described herein. The authorized destination is configured to verify the third watermark using the third watermark key as described above using a similar verifier function at the authorized destination. Upon successful verification of the third watermark, the authorized destination may decrypt the third encrypted data using the third key to obtain the first encrypted data. As one skilled in the art would understand upon reading this disclosure, the authorized destination preferably verifies the first watermark using the first watermark key. Upon successful verification of the first watermark, the authorized destination may use the first key to decrypt the first encrypted data and obtain the data (e.g., plaintext data), which the authorized destination may use for processing according to any desired implementation.

[0343] In at least some embodiments, the authorized destination also has access to the third watermark token key and the first watermark token key. As one skilled in the art will understand upon reading this disclosure, the authorized destination may further validate each of the third watermark token and the first watermark token before accessing the unencrypted data.

[0344] In various aspects, in response to determining that any verification has failed, storage of the encrypted data, any watermarks, any watermark tokens, etc. is prevented. In some aspects, preventing storage of the encrypted data, any watermarks, any watermark tokens, etc. may not prevent temporary storage of the data until verification. For example, a data storage may receive the encrypted data and temporarily store it in a cache until verification, as will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0345] The data storage is preferably configured to validate the encrypted data for storage before writing a block or after reading a block, or both. Blocks that fail validation are not written to storage, or similarly, reads are not returned to the requestor. In various aspects, the data storage performs its own independent computation of the watermark using the encrypted data and the watermark key as part of validation. If the associated values ​​of the encrypted data and / or the watermark token are not values ​​generated by an authenticated encryption layer, validation fails.

[0346] Referring now to Figure 8, there is shown a flow chart of a method 800 according to one embodiment. Method 800 may be performed in accordance with the present invention in various embodiments, particularly in any of the environments shown in Figures 1-7 and 9-11. Of course, more or less operations may be included in method 800 than those specifically illustrated in Figure 8, as one of ordinary skill in the art would understand upon reading this description.

[0347] Each of the steps of method 800 may be performed by any suitable component of an operating environment. For example, in various aspects, method 800 may be performed in part or in whole by a computer or other device including one or more processors. A processor (e.g., a processing circuit, chip, or module, or a combination thereof) implemented in hardware and / or software and preferably including at least one hardware component may be utilized within any device to perform one or more steps of method 800. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, combinations thereof, or any other suitable computing device known in the art.

[0348] As shown in FIG. 8, method 800 includes operation 802. Operation 802 includes receiving, by a trusted verifier, inner encrypted data based at least in part on a data request from a destination node outside the authorized encryption trust zone. The data request may include a data write request, a data read request, etc. The inner encrypted data includes data encrypted with an inner key to create the inner encrypted data. In various approaches, the inner encrypted data may be used interchangeably with "first encrypted data." The inner encrypted data is preferably received at the trusted verifier from a secure transcoder, as described in detail in operation 710 of method 700. The trusted verifier may be of the type described in FIGS. 5-6 and throughout this disclosure.

[0349] Operation 804 includes verifying the inner watermark token generated for the inner encrypted data using an inner watermark token key in the manner described above with respect to the first watermark token generated for the first encrypted data. In a preferred embodiment, a trusted verifier has access to the inner watermark token key, as described in detail above, and verifies the inner watermark token according to at least some of the embodiments described herein.

[0350] In various aspects, method 800 includes, in response to a data write request, decrypting the inner encrypted data using the inner key to obtain the data (e.g., plaintext data). In a preferred aspect, the data write request and subsequent decryption is performed in response to successful verification of the inner watermark at operation 804. The trusted verifier is preferably authorized to access the appropriate cryptographic key (e.g., the first key, etc.) in accordance with various authorization policies described herein, in a manner known in the art.

[0351] In at least some aspects, the method 800 further includes, in response to the data write request, using a pre-filter function to determine that the data (e.g., a result of decrypting the inner encrypted data using the inner key to obtain the data) is not encrypted. In a preferred aspect, the pre-filter function performs an encryption detection function that includes determining whether the data has been pre-encrypted. In other aspects, the encryption detection function of the pre-filter determines whether the data has been encrypted with any encryption key. In response to a determination that the data is not encrypted, the trusted verifier may prevent further processing of the data (e.g., an error may be output, further encryption of the data may be prevented, the write request or read request or both may be denied, etc.). As described above, an error may be logged and / or a warning may be sent to the user.

[0352] In at least some aspects, method 800 further includes, in response to receiving the data write request, returning a first verification message to the transcoder in response to successful verification of the inner watermark token and a determination that the data is not encrypted. This verification message may be similar to the verification received at operation 712 of method 700. The transcoder may continue to process the data associated with the data write request in accordance with at least some of the aspects described above with respect to method 700.

[0353] In other aspects, the trusted verifier also verifies the inner watermark token generated for the inner encrypted data using the inner watermark token key, in a manner that will be apparent to those of ordinary skill in the art upon reading this disclosure, and returns a second verification message to the secure transcoder in response to successful verification.

[0354] In one aspect, in response to successfully verifying the inner watermark token, the trusted verifier may obtain a new (e.g., different) inner watermark token key and generate a new (e.g., different) inner watermark token for the inner encrypted data. In at least one approach, the new inner watermark token may be generated using the new inner watermark token key and the inner encrypted data. The new inner watermark token may be sent to a transcoder, which then sends the new inner watermark token to an authorized destination. The authorized destination preferably has access to the new inner watermark token key and further verifies the new inner watermark token upon receipt of the third encrypted data (e.g., the inner encrypted data encrypted with the third encryption key at the transcoder to obtain the third encrypted data). In some aspects, if a watermark token is used in generating the watermark, an authorized destination with access to the watermark token key may verify the watermark and watermark token without having access to the watermark token (e.g., from a transcoder or from data storage), whereas if the watermark token and the watermark are independent, then both the watermark and the watermark token are verified independently.

[0355] In another aspect, the watermark tokens used in the watermark verification are not received from a data store but are generated locally. For example, in the case of an inner watermark token, a trusted verifier generates the inner watermark token used in the watermark verification. In the case of an outer watermark token, a secure transcoder generates the outer watermark token used in the watermark verification.

[0356] In various aspects, in response to receiving the data read request, the trusted verifier generates (e.g., calculates) a new inner watermark token. In one exemplary aspect, the trusted verifier receives an inner watermark token generated for the inner encrypted data from the transcoder. The inner watermark token is generated for the inner encrypted data using a first inner watermark token key, and the trusted verifier verifies the inner watermark token generated for the inner encrypted data according to at least some of the aspects described herein. As described above, the trusted verifier may return a second verification message to the transcoder in response to successful verification of the inner watermark token generated for the inner encrypted data.

[0357] In another example aspect, in response to receiving a data read request, the trusted verifier does not verify the inner watermark token (e.g., as in operation 804). Rather, the trusted verifier independently generates an inner watermark token for the inner encrypted data using the first inner watermark token key and returns the generated inner watermark token for the inner encrypted data to the transcoder.

[0358] In yet another exemplary aspect, in response to receiving the data read request, the trusted verifier obtains a second inner watermark token key (e.g., a watermark token key different from the first inner watermark token key) and generates a new inner watermark token for the inner encrypted data using the second inner watermark token key and the inner encrypted data. The trusted verifier may return the new inner watermark token generated for the inner encrypted data to the transcoder, which then returns the new inner watermark token to the destination node.

[0359] 9, according to one embodiment, a flow chart of an exemplary implementation 900 is shown. The exemplary implementation 900 may be performed in accordance with the present invention in various embodiments, particularly in any of the environments illustrated in FIGS. 1-8 and 10-11. Of course, more or less operations than those specifically illustrated in FIG. 9 may be included in the exemplary implementation 900, as one of ordinary skill in the art would understand upon reading this description.

[0360] Each of the steps of the exemplary implementation 900 may be performed by any suitable component of an operating environment. For example, in various aspects, the exemplary implementation 900 may be performed in part or in whole by a computer or other device including one or more processors. A processor (e.g., a processing circuit, chip, or module, or a combination thereof) implemented in hardware and / or software and preferably including at least one hardware component may be utilized within any device to perform one or more steps of the exemplary implementation 900. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, combinations thereof, or any other suitable computing device known in the art.

[0361] The exemplary implementation 900 is for a remote read request via a transcoder. The implementation 900 uses at least some of the components described with respect to Figures 5 and 6. Similar definitions are described with respect to Figure 3 and may have similar meaning and / or function unless otherwise indicated. Incremental numbering (e.g., ko1, ko2, etc.) is used to designate multiple components. For example, ko1 and ko2 may both refer to encryption keys, but different numbering represents different encryption keys unless otherwise noted, as will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0362] The exemplary implementation 900 is an implementation for processing a single request. As would be understood by one of ordinary skill in the art, a system as described herein may be capable of processing multiple requests. In at least some approaches, the exemplary implementation 900 is repeated for each of the requests (e.g., a predefined number of requests may be set according to approaches known in the art) unless or until an error condition indicates that there are no additional requests to be processed. For example, if a packet containing multiple I / O requests for a file (e.g., data) is received, the requests may be executed in any order, as may be determined by one of ordinary skill in the art, so long as the results are no different from executing each request sequentially in the order in which the requests were received.

[0363] An exemplary implementation begins with decision 902. Decision 902 includes determining whether the request is a valid request (e.g., determining whether the request is from an authorized request source, as described in detail above). If yes, decision 902 proceeds to decision 904 which processes the request. If the request is a write request, decision 904 proceeds to A (as shown and described in FIG. 10). If the request is a read request, decision 904 proceeds to operation 906. Decision 904 may include receiving meta data indicating an associated request type (e.g., whether the request is a read request, a write request, etc.). As will be appreciated by one of ordinary skill in the art, meta data, as used throughout this disclosure, may refer to information that enables a determination of whether a request is valid and / or the type of request.

[0364] Operation 906 includes reading cci, twi, wi, txi, and xi from storage. Operation 906 proceeds to operation 908, which includes obtaining kr1, h2 (e.g., an outer encryption key and an outer watermark token key, respectively) from one or more key servers according to aspects described herein. Operation 908 proceeds to operation 910, which includes calculating an outer watermark token txi′ according to various aspects described herein.

[0365] Decision 912 includes verifying whether the outer watermark token txi' is valid. Determining whether txi' is valid preferably includes determining whether txi' matches txi. If the outer watermark token is not valid (e.g., verification fails), then decision 912 returns an error indication at operation 914. If the outer watermark token is valid, then decision 912 proceeds to operation 916.

[0366] Operation 916 includes obtaining an outer watermark key w2 from a key server according to various aspects described herein. Operation 916 proceeds to operation 918, which includes calculating an outer watermark x i '. Operation 918 proceeds to decision 920, which includes verifying whether the outer watermark x i ' is valid. Determining whether the outer watermark x i ' is valid preferably includes determining whether x i ' matches x i. If the outer watermark x i ' is valid, then decision 920 proceeds to operation 922. If the outer watermark x i ' is not valid, then at operation 914, decision 920 returns an error indication.

[0367] As described in various approaches described herein, operation 922 includes decrypting the outer encrypted data (e.g., cci) to generate inner encrypted data. If there is an error in the decryption at decision 924, an error indication may be returned at operation 914. If there is no error at decision 924, decision 924 proceeds to operation 926. Operation 926 includes transcoding the inner watermark token using a trusted verifier (see FIG. 11 ), as will be apparent to those skilled in the art upon reading this disclosure. Operation 926 proceeds to decision 928. If there is an error in transcoding the inner watermark at decision 928, an error indication may be returned at operation 914. If no error is detected at decision 928, decision 928 proceeds to operation 930.

[0368] Operation 930 includes obtaining an inner watermark key w1 from a key server according to various aspects described herein. Operation 930 proceeds to operation 932, which includes computing an inner watermark wi' using at least the inner watermark key. After computing the inner watermark, decision 934 includes verifying whether the inner watermark is valid. If the inner watermark is valid, decision 934 proceeds to operation 936. If the inner watermark is not valid, at operation 914, decision 934 returns an error indication.

[0369] Operation 936 includes obtaining a shared inner watermark key v1 from a key server, as described herein. Operation 936 proceeds to operation 938, which includes calculating a shared inner watermark wi. Operation 938 proceeds to operation 940, which includes obtaining a shared outer encryption key ko1 and a shared outer watermark token key j2 from one or more key servers, according to at least some of the aspects described herein. Operation 940 proceeds to operation 942, which includes encrypting the inner encrypted data ci to generate shared outer encrypted data sci, as described above. Operation 942 proceeds to operation 944, which includes calculating a shared outer watermark token tvi, as described above. Operation 944 proceeds to operation 946, which includes calculating a shared outer watermark vi, as described above. Operation 946 proceeds to operation 948 which includes returning and / or sending sci, twi, wi, tvi, and vi to the requestor.

[0370] Referring now to Figure 10, according to one embodiment, a flow chart of an exemplary implementation 1000 is shown. The exemplary implementation 1000 may be performed in accordance with the present invention in various embodiments, particularly in any of the environments illustrated in Figures 1-9 and 11. Of course, as one of ordinary skill in the art would understand upon reading this description, more or less operations may be included in the exemplary implementation 1000 than those specifically illustrated in Figure 10.

[0371] Each of the steps of the exemplary implementation 1000 may be performed by any suitable component of an operating environment. For example, in various aspects, the exemplary implementation 1000 may be performed in part or in whole by a computer or other device including one or more processors. A processor (e.g., a processing circuit, chip, or module, or a combination thereof) implemented in hardware and / or software and preferably including at least one hardware component may be utilized within any device to perform one or more steps of the exemplary implementation 1000. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, combinations thereof, or any other suitable computing device known in the art.

[0372] The exemplary implementation 1000 is for a remote write request of shared data via a transcoder. The implementation 1000 uses at least some of the components described with respect to Figures 5 and 6. Similar definitions are described with respect to Figure 3 and may have similar meaning and / or function unless otherwise indicated. Incremental numbering (e.g., ko1, ko2, etc.) is used to designate multiple components. For example, ko1 and ko2 may both refer to encryption keys, but different numbering represents different encryption keys unless otherwise noted, as will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0373] Operation 1002 includes obtaining a shared outer watermark key v2 from a key server in a manner described in various aspects of the present disclosure. Operation 1002 proceeds to operation 1004, which includes obtaining a shared outer watermark token key j2 from a key server (the same key server or a different key server) in a manner described in various aspects of the present disclosure. Operation 1004 proceeds to operation 1006, which includes calculating an outer watermark xi′ in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. Operation 1006 proceeds to decision 1008, which determines whether the outer watermark is valid. If the outer watermark is valid, decision 1008 proceeds to operation 1010. If the outer watermark is not valid, at operation 1012, decision 1008 returns an error indication in accordance with various aspects described herein.

[0374] Operation 1010 includes obtaining a shared outer encryption key ko1 from a key server, as described herein. Operation 1010 proceeds to operation 1014, which includes decrypting the outer encrypted data to generate inner encrypted data ci, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. Operation 1014 proceeds to decision 1016, which determines whether an error occurred in decrypting the outer encrypted data. If no error occurred, decision 1016 proceeds to operation 1018. If an error occurred, operation 1012, decision 1016 returns an error indication.

[0375] Operation 1018 includes obtaining a shared inner watermark key v1 from a key server as described herein. Operation 1018 proceeds to operation 1020, which includes computing an inner watermark wi'. Decision 1022 determines whether the inner watermark is valid. If the inner watermark is valid, decision 1022 proceeds to operation 1024. If the inner watermark is not valid, at operation 1012, decision 1022 returns an error indication.

[0376] Operation 1024 includes requesting trusted verification of the inner encrypted data. In a preferred embodiment, a trusted verifier performs decision 1026, which determines whether the inner encrypted data has been verified according to at least some of the embodiments described herein (see FIG. 11). If the inner encrypted data has been verified, decision 1026 proceeds to operation 1028. If the inner encrypted data is not verified, then at operation 1012, decision 1026 returns an error indication.

[0377] Operation 1028 includes obtaining an inner watermark key w1 from a key server, as described above. Operation 1028 proceeds to operation 1030, which includes calculating a new inner watermark wi using at least the inner watermark key, in a manner that will be apparent to those skilled in the art upon reading this disclosure. Operation 1030 proceeds to operation 1032, which includes obtaining an outer encryption key kr1 from a key server, as described above. Operation 1032 proceeds to operation 1034, which includes encrypting the inner encrypted data ci to generate outer encrypted data cci, in a manner that will be apparent to those skilled in the art upon reading this disclosure. Operation 1034 proceeds to operation 1036, which includes obtaining an outer watermark token key h2 from a key server, as described above. Operation 1036 proceeds to operation 1038, which includes calculating a new outer watermark token txi, in a manner that will be apparent to one of ordinary skill in the art in view of this disclosure. Operation 1038 proceeds to operation 1040, which includes obtaining an outer watermark key w2 from a key server, as described above. Operation 1040 proceeds to operation 1042, which includes calculating a new outer watermark xi, using at least the outer watermark key, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. Operation 1042 proceeds to operation 1044, which includes writing the inner and outer watermarks, the inner and outer watermark tokens, and the outer encrypted data (e.g., cci, twi, wi, txi, xi, etc.) to storage as part of a remote write of the shared data via the transcoder.

[0378] 11, there is shown a flow chart of an exemplary implementation 1100 according to one embodiment. The exemplary implementation 1100 may be performed in accordance with the present invention in various embodiments, particularly in any of the environments shown in FIGS. 1-10. Of course, as one of ordinary skill in the art would understand upon reading this description, the exemplary implementation 1100 may include more or less operations than those specifically illustrated in FIG.

[0379] Each of the steps of the exemplary implementation 1100 may be performed by any suitable component of an operating environment. For example, in various aspects, the exemplary implementation 1100 may be performed in part or in whole by a computer or other device including one or more processors. A processor (e.g., a processing circuit, chip, or module, or a combination thereof) implemented in hardware and / or software and preferably including at least one hardware component may be utilized within any device to perform one or more steps of the exemplary implementation 1100. Exemplary processors include, but are not limited to, a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, combinations thereof, or any other suitable computing device known in the art.

[0380] The exemplary implementation 1100 illustrates various exemplary operations of a trusted verifier. The implementation 1100 uses at least some of the components described with respect to Figures 5 and 6. Similar definitions are described with respect to Figure 3 and may have similar meaning and / or function unless otherwise indicated. Incremental numbering (e.g., ko1, ko2, etc.) is used to designate multiple components. For example, ko1 and ko2 may both refer to cryptographic keys, but different numbering represents different cryptographic keys unless otherwise noted, as will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0381] Operation 1102 includes receiving meta data, inner encrypted data, and an inner watermark token from a transcoder at a trusted verifier according to any of the techniques detailed above. The meta data indicates the type of operation requested. Operation 1102 proceeds to decision 1104, which processes the request. If the request is a write request, decision 1104 proceeds to operation 1106. If the request is a read request, decision 1104 proceeds to operation 1108. At operation 1106, an inner watermark token key j1 is requested. At operation 1108, an inner watermark token key h1 is requested. Decision 1104 and operation 1108 both proceed to operation 1110, which calculates an inner watermark token twi' using the appropriate key requested in the previous operation, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0382] Operation 1110 proceeds to decision 1112, which determines whether the inner watermark token twi' is valid. Determining whether the inner watermark token is valid preferably includes determining whether twi' matches twi. If the inner watermark token is valid, decision 1112 proceeds to decision 1114. If the inner watermark token is not valid, verification fails at operation 1116. In accordance with at least some of the aspects described herein, an error indication may be returned at operation 1118.

[0383] A decision 1114 further processes the request (e.g., based at least in part on the meta data). If the request is a write request, the decision 1114 proceeds to operation 1120. If the request is a read request, the decision 1114 proceeds to operation 1122. At operation 1120, an inner decryption key kp1 is requested. At operation 1122, a new inner watermark token key j1 is requested.

[0384] Operation 1120 proceeds to operation 1124, which decrypts the inner encrypted data using the inner decryption key kp1 requested in operation 1120 to obtain plaintext data, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. Decision 1126 determines whether there is a decryption error and / or whether the data is encrypted. If there is an error and / or the data is still encrypted (e.g., due to an attacker using ciphertext instead of plaintext), then in operation 1118, decision 1126 returns an error indication. If there is no error and the data is not encrypted, then decision 1126 proceeds to operation 1128, which includes requesting an inner watermark token key h1. Operation 1128 proceeds to operation 1130, which includes calculating a new inner watermark token twi using the inner watermark token key h1 requested in operation 1128, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure.

[0385] Similarly, operation 1122 proceeds to operation 1132, which includes calculating a new inner watermark token twi using the inner watermark token key j1 requested in operation 1122, in a manner that will be apparent to one of ordinary skill in the art upon reading this disclosure. Operation 1132 and operation 1130 both proceed to operation 1134, which includes returning an indication of successful verification and / or the new inner watermark token to the transcoder, in accordance with various aspects of the present disclosure.

[0386] In an alternative aspect, the watermark token used in the watermark verification is not received from storage but is generated locally by a trusted verifier. The trusted verifier may regenerate the inner watermark token using a new (e.g., second) inner watermark token key and passes the new inner watermark token to the secure transcoder. The secure transcoder verifies the inner watermark token (e.g., generated using the first inner watermark token key) and the new inner watermark token (e.g., generated using the new inner watermark token key).

[0387] The present invention may be a system, method, and / or computer program product at any possible level of technical detail of integration. The computer program product may include one or more computer readable storage media containing computer readable program instructions for causing a processor to perform aspects of the present invention.

[0388] A computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. A non-exhaustive list of more specific examples of computer-readable storage media includes portable floppy disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridges in grooves on which the instructions are recorded, and any suitable combinations of these. As used herein, computer-readable storage media should not be construed as being signals that are themselves ephemeral, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over wires.

[0389] The computer readable program instructions described herein may be downloaded from a computer readable storage medium to each computing device / processing device or to an external computer or storage device over a network (e.g., the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof) that may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface within each computing device / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage on a computer readable storage medium within each computing device / processing device.

[0390] The computer readable program instructions for carrying out the operations of the present invention may be source or object code written in any combination of one or more programming languages, including assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or object-oriented programming languages, such as Smalltalk®, C++, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partially on the user's computer as a standalone software package, partially on the user's computer and on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLAs) may execute computer readable program instructions to customize the electronic circuitry by utilizing state information of the computer readable program instructions to perform aspects of the invention.

[0391] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks included in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0392] These computer readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, produce means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may be stored on a computer readable storage medium and capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner, such that the computer readable storage medium on which the instructions are stored comprises an article of manufacture containing instructions for performing aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.

[0393] Computer-readable program instructions may be loaded into a computer, other programmable data processing apparatus, or other device such that the instructions, which execute on the computer, other programmable apparatus, or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, thereby causing a series of operable steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process.

[0394] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of instructions, comprising one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions shown in the blocks may occur in a different order than the order shown in the figures. For example, two blocks shown in succession may in fact be realized as one step, executed simultaneously, executed simultaneously in a partially or fully overlapping manner in time, executed substantially simultaneously, or executed in reverse order, depending on the functionality involved. It is also noted that each block in the block diagrams and / or flowchart illustrations, as well as combinations of blocks included in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that executes the specified functions or operations or executes a combination of dedicated hardware and computer instructions.

[0395] Further, systems according to various embodiments may include a processor and logic integrated into and / or executable by the processor, the logic configured to perform one or more of the processing steps enumerated herein. By integrated, we mean that the logic is embedded in the processor as hardware logic, such as an application specific integrated circuit (ASIC), FPGA, etc. By executable by the processor, we mean that the logic is hardware logic accessible by the processor, software logic (such as firmware, part of an operating system, part of an application program, etc.), or some combination of hardware and software logic, configured to cause the processor to perform some function when executed by the processor. The software logic may be stored in any memory type known in the art, local and / or remote memory. Any processor known in the art may be used, such as software processor modules and / or hardware processors, such as ASICs, FPGAs, central processing units (CPUs), integrated circuits (ICs), graphics processing units (GPUs), etc.

[0396] It will be apparent from the description provided above that multiple combinations may be made and the various features of the systems and / or methods described above may be combined in any manner.

[0397] It will be further appreciated that embodiments of the present invention may be provided in the form of a service that is deployed for customers to provide the service on demand.

[0398] The description of various embodiments of the present invention is presented for illustrative purposes, but is not intended to be exhaustive and is not limited to the disclosed embodiments. Many changes and modifications that do not depart from the scope and spirit of the described embodiments will be apparent to those skilled in the art. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements beyond the technology found in the market, or to enable other skilled in the art to understand the embodiments disclosed herein.

Claims

1. 1. A system comprising an authenticated encryption layer, the authenticated encryption layer comprising: encrypting data received at the authenticated encryption layer from an authorized application at a source node, the data being encrypted using a first key to obtain first encrypted data; encrypting the first encrypted data using a second key to obtain second encrypted data; generating a watermark of the first encrypted data or a watermark of the second encrypted data or both; generating a watermark token for the first encrypted data, or a watermark token for the second encrypted data, or both.

2. 2. The system of claim 1, further comprising a trusted verifier configured to verify a watermark and / or a watermark token generated for the first encrypted data, and configured to transmit verification of the watermark generated for the first encrypted data to a transcoder.

3. 2. The system of claim 1, wherein the authenticated encryption layer comprises logic configured to cause the second encrypted data and the generated watermarks to be stored in a data storage, each generated watermark being generated using a respective watermark key.

4. 4. The system of claim 3, wherein the authenticated encryption layer comprises logic configured to cause the generated watermark tokens to be stored in the data storage, each generated watermark token being generated using a respective watermark token key.

5. 4. The system of claim 3, wherein the authenticated encryption layer comprises logic configured to generate the watermark for the second encrypted data, the data storage has access to the watermark key associated with the watermark generated for the second encrypted data, the data storage is configured to verify the watermark generated for the second encrypted data using the watermark key associated with the watermark generated for the second encrypted data, and the data storage is configured to store the second encrypted data and the generated watermark only upon successful verification of the watermark generated for the second encrypted data.

6. 4. The system of claim 3, further comprising a transcoder, the authenticated encryption layer comprising logic configured to generate the watermark for the second encrypted data, the transcoder comprising logic configured to read the second encrypted data and the watermark generated for the second encrypted data from the data storage, and to verify the watermark generated for the second encrypted data using the watermark key associated with the watermark generated for the second encrypted data.

7. 4. The system of claim 3, further comprising a transcoder, wherein the authenticated encryption layer comprises logic configured to generate the watermark for the first encrypted data, the transcoder comprises logic configured to read the second encrypted data and the watermark generated for the first encrypted data from the data storage, the transcoder is configured to decrypt the second encrypted data using the first key to obtain the first encrypted data, and the transcoder is configured to verify the watermark generated for the first encrypted data using the watermark key associated with the watermark generated for the first encrypted data.

8. 5. The system of claim 4, further comprising a transcoder, wherein the authenticated encryption layer comprises logic configured to generate the watermark token for the second encrypted data, and the transcoder comprises logic configured to read the second encrypted data and the watermark token generated for the second encrypted data from the data storage, and to verify the watermark token generated for the second encrypted data using the watermark token key associated with the watermark token generated for the second encrypted data.

9. 5. The system of claim 4, further comprising a transcoder, wherein the authenticated encryption layer comprises logic configured to generate the watermark token for the first encrypted data, the transcoder comprises logic configured to read the second encrypted data and the watermark token generated for the first encrypted data from the data storage, the transcoder is configured to decrypt the second encrypted data using the first key to obtain the first encrypted data, and the transcoder is configured to verify the watermark token generated for the first encrypted data using the watermark token key associated with the watermark token generated for the first encrypted data.

10. 8. The system of claim 7, further comprising a transcoder, the transcoder comprising logic configured to encrypt the first encrypted data using a third key to create third encrypted data, the transcoder configured to generate a watermark for the third encrypted data using a watermark key associated with the third encrypted data, and to transmit the third encrypted data and any generated watermark to an authorized destination.

11. 11. The system of claim 10, wherein the authorized destination comprises logic configured to: verify the watermark generated for the third encrypted data using the watermark key associated with the third encrypted data; decrypt the third encrypted data using the third key to obtain the first encrypted data; verify the watermark generated for the first encrypted data using the watermark key associated with the watermark generated for the first encrypted data; and, in response to successful verification of the watermark generated for the third encrypted data and the watermark generated for the first encrypted data, decrypt the first encrypted data using the first key to obtain the data.

12. receiving, in response to a data request from a destination node outside the authorized encryption trust zone, second encrypted data, a watermark, and a first watermark token from a data storage, the second encrypted data being data encrypted with the first key to create the first encrypted data and then encrypted with the second key to create the second encrypted data; the receiving, wherein the watermarks include a first watermark generated for the first encrypted data and a second watermark generated for the second encrypted data, and the first watermark token is generated for the first encrypted data; verifying the second watermark generated for the second encrypted data; in response to verifying the second watermark, decrypting the second encrypted data using the second key to obtain the first encrypted data; verifying the first watermark generated for the first encrypted data; in response to verifying the first watermark, transmitting the first encrypted data to a trusted verifier, the trusted verifier configured to verify the first watermark token generated for the first encrypted data; in response to receiving verification of the first watermark token generated for the first encrypted data from the trusted verifier, encrypting the first encrypted data using a third key to create third encrypted data; generating a third watermark and / or a third watermark token of the third encrypted data; transmitting the third encrypted data, including the third watermark and / or the third watermark token, the watermark, and the watermark token to an authorized destination.

13. 13. The computer-implemented method of claim 12, wherein the trusted verifier is configured to decrypt the first encrypted data using the first key to obtain the data.

14. 13. The computer-implemented method of claim 12, wherein the trusted verifier includes a pre-filter function configured to verify that the data is not encrypted, and wherein the trusted verifier sends the verification only in response to successful verification that the data is not encrypted.

15. receiving, by a trusted verifier, inner encrypted data based at least in part on a data request from a destination node outside an authorized encryption trust zone, the inner encrypted data being data that has been encrypted with an inner key to create the inner encrypted data; and verifying, by the trusted verifier, an inner watermark token generated for the inner encrypted data, wherein the inner watermark token is generated for the inner encrypted data.

16. the data request is a data write request, and the method further comprises: in response to successful verification of the inner watermark token, decrypting, by the trusted verifier, the inner encrypted data using the inner key to obtain the data; determining, by the trusted verifier, that the data is not encrypted using a pre-filter function; and returning a first verification message to a transcoder, by the trusted verifier, in response to successful verification of the inner watermark token and the determination that data is not encrypted.

17. 16. The computer-implemented method of claim 15, wherein the data request is a request to read data, the method including generating, by the trusted verifier, a new inner watermark token.

18. 16. The computer-implemented method of claim 15, further comprising: receiving, by the trusted verifier, from the transcoder, the inner watermark token generated for the inner encrypted data, the inner watermark token being generated for the inner encrypted data using a first inner watermark token key; verifying, by the trusted verifier, the inner watermark token generated for the inner encrypted data; and returning a second verification message to the transcoder in response to successful verification of the inner watermark token generated for the inner encrypted data by the trusted verifier.

19. 16. The computer-implemented method of claim 15, wherein the inner watermark token generated for the inner encrypted data is not verified by the trusted verifier, the inner watermark token is generated for the inner encrypted data using a first inner watermark token key, and the method includes returning the inner watermark token generated for the inner encrypted data by the trusted verifier to the transcoder.

20. 16. The computer-implemented method of claim 15, further comprising: obtaining, by the trusted verifier, a second inner watermark token key, the second inner watermark token key being used to generate the new inner watermark token for the inner encrypted data; and returning, by the trusted verifier, the new inner watermark token generated for the inner encrypted data to the transcoder.

21. A computer program product stored on a computer readable storage medium comprising computer program code which, when executed by an information handling system, performs the steps of the method of any of claims 12 to 20.

Citation Information

Patent Citations

  • Device and method for enciphering and deciphering and recording medium recording the same methods

    JP1999231778A

  • Communication system, communication device, and communication method

    JP2015233173A

  • Storage system and data protection method thereof

    JP2021090151A