# US 2014/0208435 A1 · Software modification for partial secure memory processing

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

- Number: US 2014/0208435 A1
- Document ID: US20140208435A1
- Status: Published application
- Kind: A1
- Application number: 13/994,411
- Filed: 2011-12-29
- Published: 2014-07-24
- Earliest claimed: 2011-12-29
- Assignees: Intel Corporation
- Inventors: Moshe Maor; Shay Gueron
- Web page: https://patentgrep.com/patent/US20140208435A1

## CPC

- G06F 21/12: Protecting executable software
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- H04W 4/50: Service provisioning or reconfiguring
- H04W 4/60: Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
- H04W 12/35: {Protecting application or service provisioning, e.g. securing SIM application provisioning}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

This disclosure is directed to software modification that may be used to prevent software piracy and prevent unauthorized modification of applications. In some embodiments, a software vendor may modify software prior to distribution to a user. The software vendor may extract cutouts from an application to create a modified application. The modified application and the cutouts may be downloaded by a user device. The user device may run the application using the modified application and by executing the cutouts in a secure execution environment that conceals the underlying code in the cutouts.

## Claims

### Claim 1

A processor comprising:
a first logic to process code stored in memory for an application that includes an extracted portion of code to be stored separately in secure memory; and
a second logic to process in a secure execution environment at least a portion of the extracted portion of code stored in the secure memory when the first logic reaches a location of the extracted portion of code, the secure memory restricted to access by the secure execution environment, the secure execution environment concealing content of the extracted portion of binary code while passing resultant data back to the first logic.

### Claim 2 (depends on 1)

The processor as recited in claim 1, wherein the first logic redirects to the second logic upon detection of redirect code that is a placeholder in the application for the extracted portion of the code.

### Claim 3 (depends on 1)

The processor as recited in claim 1, wherein the extracted portion of code is decrypted by the second logic and executed in the secure execution environment.

### Claim 4 (depends on 1)

The processor as recited in claim 1, wherein the first logic passes at least one parameter to the second logic to initiate a request to process the at least a portion of the extracted code.

### Claim 5 (depends on 1)

The processor as recited in claim 1, further comprising a third logic to decrypt the application and to store the extracted portion of the code in the secure memory.

### Claim 6

A method of securely distributing software, the method comprising:
extracting portions of code as cutouts from an application to create a modified application that does not include the cutouts;
encrypting the cutouts using an encryption key that is maintained by a user; and
transmitting the encrypted cutouts and the modified application to the user.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein the cutouts are functions of code from the application.

### Claim 8 (depends on 6)

The method as recited in claim 6, wherein the cutouts are limited in size to a threshold size.

### Claim 9 (depends on 6)

The method as recited in claim 6, further comprising identifying the cutouts based at least in part using indicators from a developer.

### Claim 10 (depends on 6)

The method as recited in claim 6, further comprising receiving the application in an unmodified state from a developer.

### Claim 11 (depends on 6)

The method as recited in claim 6, further comprising transmitting the encryption key to the user prior to the encrypting.

### Claim 12

One or more computer-readable media maintaining computer-executable instructions to be executed on one or more processors to perform acts comprising:
removing portions of code as cutouts from an application to create a modified application;
encrypting the cutouts using an encryption key; and
transmitting the modified application and the encrypted cutouts to the user.

### Claim 13 (depends on 12)

The method as recited in claim 12, further comprising identifying the portions of code as the cutouts by an automated selection process.

### Claim 14 (depends on 12)

The method as recited in claim 12, further comprising transmitting a user license to the user.

### Claim 15 (depends on 12)

The method as recited in claim 12, wherein the modified application and the encrypted cutouts are included in an encrypted package for the transmitting.

### Claim 16 (depends on 12)

The method as recited in claim 12, further comprising transmitting the encryption key to the user prior to the encrypting.

### Claim 17

A system to securely store and execute an application, the system comprising:
one or more processors;
exposed memory to store an application executable by the one or more processors;
secure memory to store code as one or more cutouts that are extracted from the application prior to receipt of the application by the exposed memory, the secure memory limited to access by a secure execution environment using the one or more processors;
wherein the one or more processors execute the application from the exposed memory; and
when the executing the application from the exposed memory reaches a cutout in the application, executing corresponding code in the cutout in the secure execution environment without revealing contents of the cutout to the exposed memory.

### Claim 18 (depends on 17)

The system as recited in claim 17, wherein the application includes redirect code in place of the cutouts to redirect the processing to the corresponding code in the cutout.

### Claim 19 (depends on 17)

The system as recited in claim 17, wherein the cutout is decrypted when located in the secure encryption environment.

### Claim 20 (depends on 17)

The system as recited in claim 17, wherein the cutout is a function of the application.

### Claim 21 (depends on 17)

The system as recited in claim 17, wherein the secure memory further includes an encryption key to decrypt the application and the one or more cutouts after a download of the application and the one or more cutouts.

### Claim 22 (depends on 17)

The system as recited in claim 17, wherein the one or more processors pass at least one parameter to the secure execution environment prior to the executing the corresponding code.
