# US 2021/0288999 A1 · Approaches for securing middleware data access

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

- Number: US 2021/0288999 A1
- Document ID: US20210288999A1
- Status: Published application
- Kind: A1
- Application number: 17/334,436
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-10-25
- Assignees: Palantir Technologies Inc.
- Applicants: Palantir Technologies Inc.
- Inventors: James Ding
- Web page: https://patentgrep.com/patent/US20210288999A1

## CPC

- H04L 63/1491: {using deception as countermeasure, e.g. honeypots, honeynets, decoys or entrapment}
- H04L 63/0281: {Proxies}
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods are provided for determining an access request provided by an entity that seeks to interact with one or more backend systems through a middleware system, the access request including a genuine access token. The entity can be authenticated based on the genuine access token. When a client request is made to the middleware system with a genuine access token, the request can be made through a smart ingress and egress proxy which intercepts the request and replaces the genuine access token with an invalid access token. The middleware system can subsequently make authorized requests to downstream systems on behalf of the middleware system's client by treating the smart proxy as an egress proxy for those subsequent requests, and the smart proxy replaces the invalid access token with a genuine one.

## Claims

### Claim 1

A computer-implemented method, comprising:
determining, by a computing system, that an access request provided by an entity seeks to request data from one or more backend systems through a middleware system, the access request including a genuine access token;
providing, by the computing system, the access request to the middleware system;
detecting, by the computing system, that the middleware system is attempting to retrieve requested data corresponding to the access request at the one or more backend systems by presenting an invalid token; and
in response to the detection, replacing, by the computing system, the invalid access token with the genuine access token in order to retrieve the requested data.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
authenticating the entity based on the genuine access token; and
indicating, to the middleware system, that the entity has been authenticated.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the invalid access token, without being replaced, fails to provide access rights to the one or more backend systems.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the entity is a user, a software application, or an other computing device.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the entity has been authorized to receive the genuine access token.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the replacing of the invalid access token is in response to a request from the one or more backend systems to replace the invalid access token with the genuine access token, and provides the genuine access token to the one or more backend systems.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the one or more backend systems from which the request was received are included in a permitted list.

### Claim 8

A system comprising:
one or more processors; and
a memory storing instructions that, when executed by the one or more processors, cause the system to perform:
determining that an access request provided by an entity requests to retrieve data from one or more backend systems through a middleware system, the access request including a genuine access token;
providing the access request to the middleware system;
detecting that the middleware system is attempting to retrieve requested data corresponding to the access request at the one or more backend systems by presenting an invalid token; and
in response to the detection, replacing the invalid access token with the genuine access token in order to retrieve the requested data.

### Claim 9 (depends on 8)

The system of claim 8, wherein the instructions further cause the system to perform:
authenticating the entity based on the genuine access token; and
indicating, to the middleware system, that the entity has been authenticated.

### Claim 10 (depends on 8)

The system of claim 8, wherein the invalid access token, without being replaced, fails to provide access rights to the one or more backend systems.

### Claim 11 (depends on 8)

The system of claim 8, wherein the entity is a user, a software application, or an other computing device.

### Claim 12 (depends on 8)

The system of claim 8, wherein the entity has been authorized to receive the genuine access token.

### Claim 13 (depends on 8)

The system of claim 8, wherein the replacing of the invalid access token is in response to a request from the one or more backend systems to replace the invalid access token with the genuine access token, and provides the genuine access token to the one or more backend systems.

### Claim 14 (depends on 13)

The system of claim 13, wherein the one or more backend systems from which the request was received are included in a permitted list.

### Claim 15

A non-transitory computer readable medium comprising instructions that, when executed, cause one or more processors to perform:
determining that an access request provided by an entity requests to retrieve data from one or more backend systems through a middleware system, the access request including a genuine access token;
providing the access request to the middleware system;
detecting that the middleware system is attempting to retrieve requested data corresponding to the access request at the one or more backend systems by presenting an invalid token; and
in response to the detection, replacing the invalid access token with the genuine access token in order to retrieve the requested data.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the one or more processors to perform:
authenticating the entity based on the genuine access token; and
indicating, to the middleware system, that the entity has been authenticated.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the invalid access token, without being replaced, fails to provide access rights to the one or more backend systems.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the entity is a user, a software application, or an other computing device.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the entity has been authorized to receive the genuine access token.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the replacing of the invalid access token is in response to a request from the one or more backend systems to replace the invalid access token with the genuine access token, and provides the genuine access token to the one or more backend systems.
