# US 2025/0061234 A1 · Using timestamps to prevent data tampering

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0061234 A1
- Document ID: US20250061234A1
- Status: Published application
- Kind: A1
- Application number: 18/450,856
- Filed: 2023-08-16
- Published: 2025-02-20
- Earliest claimed: 2023-08-16
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Garret BUBAN
- Web page: https://patentgrep.com/patent/US20250061234A1

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/50: Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F 21/60: Protecting data
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- G06F 2221/2151: Time stamp
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 2463/121: Timestamp
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Timestamps are used to prevent data tampering. A trusted data generator generates a concatenated data object including a data object and metadata, which includes a location indication, a timestamp, and, depending on the type of encryption, an integrity value. The trusted timestamp generator encrypts the concatenated data object, stores the encrypted concatenated data object (e.g., in untrusted storage) in accordance with a location indicated by the location indication, and protects the timestamp in trusted storage (e.g., by protecting at least the root timestamp). A trusted data validator extracts the data object and metadata from the decrypted concatenated data object and validates the data object by comparing the storage location to the extracted location indication, the protected timestamp to the extracted timestamp, and a calculated integrity value to the extracted integrity value. Timestamps may be validated without calculations and with tolerances, supporting performance customization/security optimization.

## Claims

### Claim 1

A confidential computing system comprising:
a processor; and
a memory device that stores program code configured to be executed by the processor, the program code comprising:
a trusted data generator configured to:
generate a concatenated data object comprising a first data object, a first location indication, and a first timestamp;
encrypt the concatenated data object as an encrypted concatenated data object;
store the encrypted concatenated data object in untrusted storage in accordance with a first location indicated by the first location indication; and
store the first timestamp in trusted storage.

### Claim 2 (depends on 1)

The confidential computing system of claim 1, the program code further comprising:
a trusted data validator configured to:
retrieve a second timestamp protected by the trusted storage;
retrieve the encrypted concatenated data object from the untrusted storage in accordance with the first location;
decrypt the encrypted concatenated data object;
extract the first data object, the first location indication, and the first timestamp from the decrypted concatenated data object; and
validate the first data object by:
comparing the first location to the first location indication; and
comparing the second timestamp to the first timestamp.

### Claim 3 (depends on 2)

The confidential computing system of claim 2, wherein the trusted data validator is further configured to:
extract a first integrity value from the decrypted concatenated data object; and
further validate the first data object by:
calculating a second integrity value based at least on the first data object; and
comparing the second integrity value to the first integrity value.

### Claim 4 (depends on 2)

The confidential computing system of claim 2, wherein the trusted data validator is configured to validate the second timestamp if the second timestamp is equal to or greater than the first timestamp.

### Claim 5 (depends on 1)

The confidential computing system of claim 1, wherein the trusted data generator is configured to:
generate the concatenated data object comprising the first data object, the first location indication, the first timestamp, and an integrity value.

### Claim 6 (depends on 1)

The confidential computing system of claim 1, wherein the trusted data generator is configured to:
store the first timestamp in a tree structure of timestamps, wherein at least a root timestamp of a root of the tree structure is stored in the trusted storage.

### Claim 7 (depends on 1)

The confidential computing system of claim 1, the program code further comprising:
a trusted timestamp generator configured to generate the first timestamp for the trusted data generator.

### Claim 8

A method for writing data, comprising:
generating a concatenated data object comprising a data object, a location indication, and a timestamp;
encrypting the concatenated data object;
storing the encrypted concatenated data object in untrusted storage in accordance with a location indicated by the location indication; and
protecting the timestamp in trusted storage.

### Claim 9 (depends on 8)

The method of claim 8, wherein the concatenated data object comprises the data object, the location indication, the timestamp, and an integrity value.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
calculating the integrity value based on the data object.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
calculating the integrity value based on the data object, the location indication, and the timestamp.

### Claim 12 (depends on 8)

The method of claim 8, wherein said encrypting the concatenated data object comprises encrypting the concatenated data object using authenticated encryption.

### Claim 13 (depends on 8)

The method of claim 8, wherein said protecting the timestamp in trusted storage comprises storing the timestamp in a tree structure of timestamps, and wherein at least a root timestamp of a root of the tree structure is stored in the trusted storage.

### Claim 14 (depends on 8)

The method of claim 8, wherein the timestamp is generated by a trusted timestamp server running in a trusted environment.

### Claim 15

A method for reading data, comprising:
retrieving a first timestamp protected by trusted storage;
retrieving an encrypted concatenated data object from a storage location in untrusted storage;
decrypting the concatenated data object;
extracting a data object, a location indication, and a second timestamp from the decrypted concatenated data object; and
validating the data object by:
comparing the storage location to the location indication; and
comparing the first timestamp to the second timestamp.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
extracting a first integrity value from the decrypted concatenated data object; and
further validating the data object by:
calculating a second integrity value based at least on the data object; and
comparing the second integrity value to the first integrity value.

### Claim 17 (depends on 16)

The method of claim 16, wherein said calculating the second integrity value based at least on the data object comprises:
calculating the second integrity value based on the data object, the location indication, and the timestamp.

### Claim 18 (depends on 15)

The method of claim 15, wherein said decrypting the concatenated data object comprises decrypting the concatenated data object using authenticated encryption.

### Claim 19 (depends on 15)

The method of claim 15, wherein said retrieving a first timestamp protected by trusted storage comprises:
retrieving the first timestamp from a tree structure of timestamps, wherein at least a root timestamp of a root of the tree structure is stored in the trusted storage.

### Claim 20 (depends on 15)

The method of claim 15, wherein the validation of the data object by comparing the first timestamp to the second timestamp comprises validating the time second timestamp if the second timestamp is equal to or greater than the first timestamp.
