# US 2012/0254361 A1 · Random file request for software attestation

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

- Number: US 2012/0254361 A1
- Document ID: US20120254361A1
- Status: Published application
- Kind: A1
- Application number: 13/075,173
- Filed: 2011-03-29
- Published: 2012-10-04
- Earliest claimed: 2011-03-29
- Assignees: Microsoft Corporation
- Inventors: Mushegh Malkhasyan; Gilbert Wong; Paul C. Roberts
- Web page: https://patentgrep.com/patent/US20120254361A1

## CPC

- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 11/00: Error detection; Error correction; Monitoring (error detection, correction or monitoring in information storage based on relative movement between record carrier and transducer G11B20/18; monitoring, i.e. supervising the progress of recording or reproducing G11B27/36; in static stores G11C29/00)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies pertaining to attesting to computer-executable code residing on a robot are described herein. An attestation server includes a database that comprises file paths that correspond to files on the robot at a time of manufacture of the robot. The database also includes file digests that are indicative of content of the files on the robot. The attestation server randomly selects a file path and transmits the file path to the robot. The robot accesses the file at the file path and computes a file digest for that file. The robot then transmits the file digest to the attestation server, which compares the file digest from the robot with the file digest in the database. If the file digests match, then the attestation server attests to the computer-executable code on the robot.

## Claims

### Claim 1

A method, comprising:
causing a processor to access content of a data repository on a first computing device, wherein the content of the data repository comprises:
a plurality of locations corresponding to a plurality of files existent on a robot at a time of manufacture of the robot; and
data that is indicative of content of each of the plurality of files;
randomly selecting one location from amongst the plurality of locations, wherein the one location is a location of a file existent on the robot at a previous point in time;
transmitting a request to the robot for data indicative of content of the file at the one location;
subsequent to the transmitting of the request, receiving from the robot the data that is indicative of the content of the file on the robot that is at the one location;
comparing the data that is indicative of the content of the file in the data repository with the data that is indicative of the content of the file received from the robot; and
causing an instruction to be transmitted to the robot based at least in part upon the comparing, wherein a first instruction is transmitted to the robot if the data that is indicative of the content of the file in the data repository is equivalent to the data that is indicative of the content of the file received from the robot, and wherein a second instruction is transmitted to the robot if the data that is indicative of the content of the file in the data repository is different from the data that is indicative of the content of the file received from the robot.

### Claim 2 (depends on 1)

The method of claim 1 configured for execution on a server that is in communication with the robot by way of a network.

### Claim 3 (depends on 1)

The method of claim 1, wherein the network is the Internet.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first instruction allows the robot to operate with full functionality, and the second instruction causes the robot to operate with limited functionality.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
prior to causing the processor to access the content of the data repository, receiving a request from the robot for a randomly selected file location, wherein the request is encrypted through utilization of a first encryption key;
decrypting the request;
subsequent to decrypting the request, generating a first nonce, wherein the first nonce comprises a plurality of random digits; and
transmitting to the robot the first nonce together with the request for data indicative of content of the file at the one location.

### Claim 6 (depends on 5)

The method of claim 5, wherein the request from the robot for the randomly selected file comprises a second nonce, wherein the second nonce is generated at the robot, and further comprising:
storing the second nonce in the data repository.

### Claim 7 (depends on 6)

The method of claim 6, wherein the data that is indicative of the content of the file on the robot that is at the one location that is received from the robot is included in a data packet, wherein the data packet comprises a third nonce, and the method further comprising:
comparing the third nonce with the first nonce; and
causing the instruction to be transmitted to the robot based at least in part upon the comparing of the third nonce with the first nonce, wherein the first instruction is transmitted to the robot if the third nonce is equivalent to the first nonce, and wherein the second instruction is transmitted to the robot if the third nonce is different from the first nonce.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
transmitting a first timestamp together with the request for data indicative of content of the file at the one location to the robot, wherein the first timestamp identifies a time that the request for data indicative of the content of the file at the one location is transmitted to the robot;
receiving a second timestamp from the robot together with the data that is indicative of the content of the file on the robot that is at the one location, wherein the second timestamp identifies a time that the robot transmits data that is indicative of the content of the file on the robot;
computing a difference between the first timestamp and the second timestamp;
comparing the difference with a predefined threshold; and
if the difference is greater than the predefined threshold, transmitting a command to the robot that causes the robot to operate with limited functionality.

### Claim 9

A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause the processor to perform acts comprising:
randomly selecting a file location that corresponds to a file on a computing device, wherein content of the file at a previous point in time are known;
transmitting the file location by way of a network to the computing device;
subsequent to transmitting the file location, receiving from the computing device data that is indicative of current content of the file; and
comparing the data that is indicative of the current content of the file with the known content of the file at the previous point in time;
determining whether or not the file has changed from the previous point in time based at least in part upon the comparing; and
selectively transmitting a data packet to the computing device based at least in part upon whether or not the file has changed from the previous point in time.

### Claim 10 (depends on 9)

The computer-readable medium of claim 9, wherein the computing device is comprised by a robot.

### Claim 11 (depends on 9)

The computer-readable medium of claim 9, wherein the computing device is comprised by an automobile.

### Claim 12 (depends on 9)

The computer-readable medium of claim 9, wherein the computing device is comprised by industrial machinery.

### Claim 13 (depends on 9)

The computer-readable medium of claim 9, wherein the previous point in time is a time corresponding to manufacture of the computing device.

### Claim 14 (depends on 9)

The computer-readable medium of claim 9 being comprised by an attestation server that is configured to attest to validity of at least one computer-executable program residing on the computing device.

### Claim 15 (depends on 9)

The computer-readable medium of claim 9, wherein the acts further comprise:
prior to randomly selecting the file location, receiving a request from the computing device to select the file location together with a first nonce;
responsive to receiving the request from the computing device to select the file location, generating a second nonce; and
transmitting the second nonce together with the file location.

### Claim 16 (depends on 15)

The computer-readable medium of claim 15, wherein the data packet transmitted to the computing device comprises the first nonce.

### Claim 17 (depends on 9)

The computer-readable medium of claim 9, further comprising:
prior to transmitting the file location, encrypting the file location through utilization of a first key to generate a first encrypted file location; and
encrypting the first encrypted file location through utilization of a second key to generate a second encrypted file location, wherein the file location transmitted to the computing device is the second encrypted file location.

### Claim 18 (depends on 9)

The computer-readable medium of claim 9, wherein data that is indicative of current content of the file is encrypted by the computing device through utilization of a first key and a second key, wherein the acts further comprise:
decrypting the data that is indicative of the current content of the file through utilization of the first key; and
further decrypting the data that is indicative of the current content of the file through utilization of the second key.

### Claim 19 (depends on 9)

The computer-readable medium of claim 9, where the acts further comprise:
receiving from the computing device data that identifies the computing device; and
accessing file locations that correspond to the computing device.

### Claim 20

A method configured for execution on an attestation server, the method comprising:
receiving a first data packet from a robot by way of a network, wherein the first data packet comprises:
an identity of the robot;
a request to attest to contents of a data repository included in the robot; and
a first nonce generated at the robot, wherein the first nonce comprises a first plurality of randomly generated digits;
responsive to receiving the first data packet, accessing a database utilizing the identity of the robot as an index key to the database, wherein the database comprises file locations corresponding to a plurality of files known to be existent on the robot at a time of manufacture of the robot, wherein the database further comprises file digests corresponding to the plurality of files known to be existent on the robot at the time of manufacture of the robot;
randomly selecting a file location from the file locations in the database that corresponds to the identity of the robot;
generating a second nonce, wherein the second nonce comprises a second plurality of randomly generated digits;
storing the second nonce in a computer-readable medium;
transmitting a second data packet to the robot, wherein the second data packet comprises the file location and the second nonce;
subsequent to transmitting the second data packet to the robot, receiving a third data packet from the robot, wherein the third data packet comprises data that is indicative of content of a file on the robot at the file location and a third nonce;
comparing the second nonce with the third nonce;
comparing a file digest in the database that corresponds to the file location transmitted to the robot with the data that is indicative of content of the file on the robot at the file location; and
if the second nonce and the third nonce are equivalent and if the file digest corresponds to the data that is indicative of the content of the file on the robot at the file location, transmitting a validation message to the robot that attests to contents of the data repository in the robot; and
if the second nonce and the third nonce are different or if the file digest fails to correspond to the data that is indicative of the content of the file on the robot at the file location, transmitting a message to the robot that indicates that attestation has failed.
