# US 2019/0317904 A1 · Nop sled defense

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

- Number: US 2019/0317904 A1
- Document ID: US20190317904A1
- Status: Published application
- Kind: A1
- Application number: 16/014,442
- Filed: 2018-06-21
- Published: 2019-10-17
- Earliest claimed: 2018-04-14
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: George Thomas LETEY; Felix Stefan DOMKE; Edmund B. NIGHTINGALE
- Web page: https://patentgrep.com/patent/US20190317904A1

## CPC

- G06F 12/1483: {using an access-table, e.g. matrix or list}
- G06F 21/54: by adding security routines or objects to programs
- G06F 12/02: Addressing or allocation; Relocation (program address sequencing G06F9/00; arrangements for selecting an address in a digital store G11C8/00)
- G06F 12/1441: {for a range}
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- H04L 63/02: {for separating internal from external traffic, e.g. firewalls}
- G06F 2212/1052: Security improvement
- G06F 2212/2022: Flash memory
- 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

The disclosed technology is generally directed to protection against unauthorized code. In one example of the technology, a read request to a restricted region of memory is detected. The read request is associated with a first processor. In response to detecting the read request to the restricted region of memory, a data value that causes an exception in response to execution by the first processor is provided.

## Claims

### Claim 1

An apparatus, comprising:
a device that is adapted to perform actions, including:
detecting a read request to a restricted region of memory, wherein the read request is associated with a first processor; and
in response to detecting the read request to the restricted region of memory, providing a data value that causes an exception in response to execution by the first processor.

### Claim 2 (depends on 1)

The apparatus of claim 1, the actions further including, in response to detecting the read request to an unmapped region of memory, providing a data value that causes an exception in response to execution by the first processor.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the device further includes a firewall, and wherein the restricted region of memory is restricted by the firewall.

### Claim 4 (depends on 1)

The apparatus of claim 1, the actions further including:
detecting a read request to a restricted region of memory, wherein the read request is associated with the first processor; and
in response to detecting the read request to the restricted region of memory, providing a data value that causes an infinite loop or a data value that causes a branch to logging detection of the read request.

### Claim 5 (depends on 1)

The apparatus of claim 1, the actions further including determining the data value that causes an exception in response to execution by the first processor based on a look-up table and an indication of the first processor as an input to the look-up table.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the read request is associated with the first processor via a master identifier (ID) that is associated with the read request.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the device further includes a second processor, and wherein the data value also causes an exception in response to execution by the second processor.

### Claim 8

An apparatus, comprising:
a device that is adapted to perform actions, including:
detecting a read request to a restricted region of memory, wherein the read request is associated with a first processor; and
in response to detecting the read request to the restricted region of memory, providing a data value that causes, in response to execution by the first processor, an infinite loop or a data value that causes a branch to logging detection of the read request.

### Claim 9 (depends on 8)

The apparatus of claim 8, the actions further including, in response to detecting a read request to an unmapped region of memory, providing a data value that causes an infinite loop or a data value that causes a branch to logging detection of the read request in response to execution by the first processor.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the device further includes a firewall, and wherein the restricted region of memory is restricted by the firewall.

### Claim 11 (depends on 8)

The apparatus of claim 8, the actions further including:
detecting a read request to a restricted region of memory, wherein the read request is associated with the first processor; and
in response to detecting the read request to the restricted region of memory, providing a data value that causes an exception in response to execution by the first processor.

### Claim 12 (depends on 8)

The apparatus of claim 8, the actions further including determining the data value that causes an infinite loop or a data value that causes a branch to logging detection of the read request by the first processor based on a look-up table and an indication of the first processor as an input to the look-up table.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the read request is associated with the first processor via a master identifier (ID) that is associated with the read request.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the device further includes a second processor, and wherein the data value also causes an infinite loop or a data value that causes a branch to logging detection of the read request in response to execution by the second processor.

### Claim 15

A method, comprising:
detecting that a read request is a read request to a restricted region of memory, wherein the read request is associated with a first processor; and
responsive to detecting the read request to the restricted region of memory, providing a data value that causes an exception in response to execution by the first processor.

### Claim 16 (depends on 15)

The method of claim 15, further comprising, in response to detecting a read request to an unmapped region of memory, providing a data value that causes an exception in response to execution by the first processor.

### Claim 17 (depends on 15)

The method of claim 15, wherein the restricted region of memory is restricted by a firewall.

### Claim 18 (depends on 15)

The method of claim 15, further comprising:
detecting the read request to a restricted region of memory, wherein the read request is associated with a first processor; and
in response to detecting the read request to the restricted region of memory, providing a data value that causes an infinite loop or a data value that causes a branch to logging detection of the read request.

### Claim 19 (depends on 15)

The method of claim 15, wherein the read request is associated with the first processor via a master identifier (ID) that is associated with the read request.

### Claim 20 (depends on 15)

The method of claim 15, wherein the data value also causes an exception in response to execution by a second processor.
