# US 2016/0259941 A1 · Device Attestation Through Security Hardened Management Agent

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

- Number: US 2016/0259941 A1
- Document ID: US20160259941A1
- Status: Published application
- Kind: A1
- Application number: 14/641,184
- Filed: 2015-03-06
- Published: 2016-09-08
- Earliest claimed: 2015-03-06
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Janani Vasudevan; Peter David Waxman; Kinshuman Kinshumann; Justin A. Hou; Peter J. Kaufman; Yuhang Zhu; Giridhar Viswanathan; Scott R. Shell
- Web page: https://patentgrep.com/patent/US20160259941A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 2221/033: Test or assess software
- H04L 2209/127: Trusted platform modules [TPM]
- 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

A device boots in a secure manner that allows measurements reflecting which components are loaded during booting to be generated. Measurements of such components, as well as of a device management agent and the security state of the device, are also obtained. The device management agent accesses an attestation service for an enterprise, which is a collection of resources managed by a management service. The device management agent provides the obtained measurements to the attestation service, which evaluates the measurements and based on the evaluation determines whether the device is verified for use in the enterprise. The management service uses this verification to ensure that the device management agent is running in a secure manner, is accurately providing indications of the state of the device to the management service, and is implementing policy received from the management service.

## Claims

### Claim 1

A method implemented in a computing device, the method comprising:
securely booting the computing device, the securely booting including generating one or more measurements reflecting modules or components loaded on the computing device and a security state of the computing device;
running a device management agent on the computing device as a hardened program that is protected from having malicious code being injected into the program;
communicating, via a network, with an attestation service to verify the device management agent for use in an enterprise; and
implementing, on the computing device by the device management agent, policy received from a management service via the network in response to the attestation service verifying the device management agent for use in the enterprise.

### Claim 2 (depends on 1)

The method as recited in claim 1, further comprising accessing resources of the enterprise as permitted by the management service.

### Claim 3 (depends on 2)

The method as recited in claim 2, further comprising providing to the management service an indication of one or more policies that are being complied with by the computing device, access to the resources of the enterprise being permitted by the management service based at least in part on which policies are being complied with by the computing device.

### Claim 4 (depends on 2)

The method as recited in claim 2, further comprising:
providing to the management service an indication of a trusted platform module endorsement key of the computing device; and
being permitted to access resources of the enterprise only in response to the trusted platform module endorsement key of the computing device being included in an approved list of devices of the management service.

### Claim 5 (depends on 1)

The method as recited in claim 1, further comprising:
incrementing, each time the computing device is booted a boot counter that is a monotonic counter;
providing a current value of the boot counter to the attestation service; and
providing the current value of the boot counter to the management service, allowing the management service to verify the value of the boot counter provided to the attestation service is the same as the value of the boot counter provided to the management service.

### Claim 6 (depends on 1)

The method as recited in claim 1, the implementing including implementing, by the device management agent, policy received via the network only if the received policy is digitally signed by the management service.

### Claim 7 (depends on 6)

The method as recited in claim 6, further comprising storing the received policy that is digitally signed by the management service in a hardware policy store of the computing device.

### Claim 8 (depends on 1)

The method as recited in claim 1, further comprising the device management agent digitally signing the policy received from the management service and storing the digitally signed policy in a policy store of the computing device.

### Claim 9 (depends on 1)

The method as recited in claim 1, further comprising:
receiving, from the attestation service, an attestation state for the computing device, the attestation state including an indication of whether the computing device is verified by the attestation service as well as at least one of the one or more measurements; and
providing the attestation state to one or more additional services in the enterprise to prove to the one or more additional services that the computing device has been verified for use in the enterprise by the attestation service.

### Claim 10 (depends on 9)

The method as recited in claim 9, further comprising:
deriving, by the device management agent, a key from the attestation state; and
encrypting data on the computing device using the key derived from the attestation state.

### Claim 11 (depends on 1)

The method as recited in claim 1, the one or more measurements reflecting the device management agent.

### Claim 12 (depends on 1)

The method as recited in claim 1, further comprising:
obtaining, by the device management agent, a value associated with a hardware component of the computing device;
verifying that the obtained value is the same value as was previously provided to a trusted platform module of the computing device; and
attesting to the management service that the hardware component is trusted by the trusted platform module in response to the obtained value being the same as was previously provided to the trusted platform module.

### Claim 13 (depends on 1)

The method as recited in claim 1, further comprising:
providing to the management service an enrollment request; and
receiving an indication that the computing device is enrolled with the management service in response to the attestation service having verified the device management agent for use in the enterprise, the management service taking a remedial action in response to the attestation service not having verified the device management agent for use in the enterprise.

### Claim 14

A computing device comprising:
a policy store;
a measurement system including a trusted platform module;
a boot system configured to securely boot the computing device, the securely booting including generating and providing, to the measurement system, one or more measurements reflecting modules or components loaded on the computing device and a security state of the computing device; and
a device management agent configured to run on the computing device as a hardened program that is protected from having malicious code being injected into the program, communicate via a network with an attestation service to verify the device management agent for use in an enterprise, maintain policy received from a management system via the network in the policy store, and implement the policy on the computing device.

### Claim 15 (depends on 14)

The computing device as recited in claim 14, the policy store comprising a hardware policy store that can be written to by the device management agent but not by other programs running on the computing device.

### Claim 16 (depends on 14)

The computing device as recited in claim 14, the one or more measurements reflecting the device management agent.

### Claim 17 (depends on 14)

The computing device as recited in claim 14, the measurement system being further configured to increment, each time the computing device is booted, a boot counter that is a monotonic counter, the device management agent being further configured to provide a current value of the boot counter to the attestation service, and provide the current value of the boot counter to the management service, allowing the management service to verify the value of the boot counter provided to the attestation service is the same as the value of the boot counter provided to the management service.

### Claim 18

A computing device comprising:
one or more processors; and
one or more computer-readable storage media having stored thereon multiple instructions that, when executed by the one or more processors, cause the one or more processors to perform acts including:
securely booting the computing device, the securely booting including generating one or more measurements reflecting modules or components loaded on the computing device and a security state of the computing device;
running a device management agent on the computing device as a hardened program that is protected from having malicious code being injected into the program;
communicating, via a network, with an attestation service to verify the device management agent for use in an enterprise; and
implementing, on the computing device by the device management agent, policy received from a management service via the network in response to the attestation service verifying the device management agent for use in the enterprise.

### Claim 19 (depends on 18)

The computing device as recited in claim 18, the acts further including accessing resources of the enterprise as permitted by the management service.

### Claim 20 (depends on 19)

The computing device as recited in claim 19, the one or more measurements further reflecting an indication that the computing device is used by one or more children, and the acts further including providing to the management service an enrollment request, and receiving an indication that the computing device is enrolled with the management service in response to the attestation service having verified the device management agent for use in the enterprise, the management service preventing the computing device from accessing content deemed objectionable by the management service.
