# US 2023/0068346 A1 · Application self-defense through deceptive message transmission

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

- Number: US 2023/0068346 A1
- Document ID: US20230068346A1
- Status: Published application
- Kind: A1
- Application number: 17/405,267
- Filed: 2021-08-18
- Published: 2023-03-02
- Earliest claimed: 2021-08-18
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Cedric R.J. Hebert; Merve Sahin
- Web page: https://patentgrep.com/patent/US20230068346A1

## CPC

- H04L 63/1491: {using deception as countermeasure, e.g. honeypots, honeynets, decoys or entrapment}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 21/44: Program or device authentication
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/552: {involving long-term monitoring or reporting}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an example embodiment, rather than merely identifying and patching vulnerabilities, a defender in a computer system is able to utilize deception to set traps for attackers who might attack an application. In this manner, rather than the attacker simply merely needing one entry point to succeed, the attacker would then need to avoid all traps, and the defender only needs one trap to be alerted of the attacker. More particularly, in an example embodiment, traps are set in a way that fools attackers, by blending deceptive but believable network traffic into real traffic to and from the application.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a computer-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising:
identifying a first version of an application having a plurality of predefined endpoints, a predefined endpoint being a portion of the application that receives communications over a network via an interface;
accessing a list of deceptive endpoints stored in a database, a deceptive endpoint being an endpoint not contained in the plurality of predefined endpoints;
accessing server code and client code stored in a parameter library in the database, the server code and client code stored in the parameter library defining functions not needed to run the first version of the application;
weaving the server code stored in the parameter library with server code of the first version of the application, using a configuration file stored in the database, the configuration file linking parameters defined in the list of deceptive endpoints with the server code stored in the parameter library;
weaving the client code stored in the parameter library with client code of the first version of the application, using the configuration file;
storing the weaved server code as a server-portion of a second version of the application and the weaved client code as a client-portion of the second version of the application; and
executing the server-portion of the second version of the application, causing deceptive traffic to be sent from a server to a client accessing a deceptive endpoint in the plurality of deceptive endpoints.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise:
receiving a response to the deceptive traffic from the client;
comparing the response to an expected response based on the server code stored in the parameter library;
in response to a determination that the response does not match the expected response, generating an alert indicating that an attack is in progress.

### Claim 3 (depends on 1)

The system of claim 1, wherein the plurality of predefined endpoints and the deceptive endpoints are application program interfaces (APIs).

### Claim 4 (depends on 1)

The system of claim 1, wherein the server code stored in the parameter library, when executed, causes a modification to a value of a parameter defined in the list of deceptive endpoints.

### Claim 5 (depends on 1)

The system of claim 1, wherein the weaving the client code includes inserting a call to a deceptive endpoint just before or just after a call to a predefined endpoint, as indicated in the configuration file.

### Claim 6 (depends on 1)

The system of claim 1, wherein the configuration file incudes a constants portion, the constants portion indicating values that will be made known to both the client and the server.

### Claim 7 (depends on 1)

The system of claim 1, wherein the configuration file incudes an endpoints portion, the endpoints portion indicating how the server and the client should act for one or more of the deceptive endpoints.

### Claim 8

A method comprising:
identifying a first version of an application having a plurality of predefined endpoints, a predefined endpoint being a portion of the application that receives communications over a network via an interface;
accessing a list of deceptive endpoints stored in a database, a deceptive endpoint being an endpoint not contained in the plurality of predefined endpoints;
accessing server code and client code stored in a parameter library in the database, the server code and client code stored in the parameter library defining functions not needed to run the first version of the application;
weaving the server code stored in the parameter library with server code of the first version of the application, using a configuration file stored in the database, the configuration file linking parameters defined in the list of deceptive endpoints with the server code stored in the parameter library;
weaving the client code stored in the parameter library with client code of the first version of the application, using the configuration file;
storing the weaved server code as a server-portion of a second version of the application and the weaved client code as a client-portion of the second version of the application; and
executing the server-portion of the second version of the application, causing deceptive traffic to be sent from a server to a client accessing a deceptive endpoint in the plurality of deceptive endpoints.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a response to the deceptive traffic from the client;
comparing the response to an expected response based on the server code stored in the parameter library;
in response to a determination that the response does not match the expected response, generating an alert indicating that an attack is in progress.

### Claim 10 (depends on 8)

The method of claim 8, wherein the plurality of predefined endpoints and the deceptive endpoints are application program interfaces (APIs).

### Claim 11 (depends on 8)

The method of claim 8, wherein the server code stored in the parameter library, when executed, causes a modification to a value of a parameter defined in the list of deceptive endpoints.

### Claim 12 (depends on 8)

The method of claim 8, wherein the weaving the client code includes inserting a call to a deceptive endpoint just before or just after a call to a predefined endpoint, as indicated in the configuration file.

### Claim 13 (depends on 8)

The method of claim 8, wherein the configuration file incudes a constants portion, the constants portion indicating values that will be made known to both the client and the server.

### Claim 14 (depends on 8)

The method of claim 8, wherein the configuration file incudes an endpoints portion, the endpoints portion indicating how the server and the client should act for one or more of the deceptive endpoints.

### Claim 15

A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
identifying a first version of an application having a plurality of predefined endpoints, a predefined endpoint being a portion of the application that receives communications over a network via an interface;
accessing a list of deceptive endpoints stored in a database, a deceptive endpoint being an endpoint not contained in the plurality of predefined endpoints;
accessing server code and client code stored in a parameter library in the database, the server code and client code stored in the parameter library defining functions not needed to run the first version of the application;
weaving the server code stored in the parameter library with server code of the first version of the application, using a configuration file stored in the database, the configuration file linking parameters defined in the list of deceptive endpoints with the server code stored in the parameter library;
weaving the client code stored in the parameter library with client code of the first version of the application, using the configuration file;
storing the weaved server code as a server-portion of a second version of the application and the weaved client code as a client-portion of the second version of the application; and
executing the server-portion of the second version of the application, causing deceptive traffic to be sent from a server to a client accessing a deceptive endpoint in the plurality of deceptive endpoints.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the operations further comprise:
receiving a response to the deceptive traffic from the client;
comparing the response to an expected response based on the server code stored in the parameter library;
in response to a determination that the response does not match the expected response, generating an alert indicating that an attack is in progress.

### Claim 17 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the plurality of predefined endpoints and the deceptive endpoints are application program interfaces (APIs).

### Claim 18 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the server code stored in the parameter library, when executed, causes a modification to a value of a parameter defined in the list of deceptive endpoints.

### Claim 19 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the weaving the client code includes inserting a call to a deceptive endpoint just before or just after a call to a predefined endpoint, as indicated in the configuration file.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the configuration file incudes a constants portion, the constants portion indicating values that will be made known to both the client and the server.
