# US 2020/0265138 A1 · Security via Web Browser Tampering Detection

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

- Number: US 2020/0265138 A1
- Document ID: US20200265138A1
- Status: Published application
- Kind: A1
- Application number: 16/288,817
- Filed: 2019-02-28
- Published: 2020-08-20
- Earliest claimed: 2019-02-20
- Assignees: Paypal, Inc.
- Applicants: PayPal, Inc.
- Inventors: Yuri Shafet; Ilya Chernyakov
- Web page: https://patentgrep.com/patent/US20200265138A1

## CPC

- G06F 21/563: {by source code analysis}
- G06F 21/564: {by virus signature recognition}
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06Q 20/382: {insuring higher security of transaction}
- G06Q 20/4016: {involving fraud or risk level assessment in transaction processing}
- G06F 2221/2119: Authenticating web pages, e.g. with suspicious links
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Computer system security can be threatened by users who manipulate their software to avoid detection of malicious activities—such as account takeover. Web browser software, for example, can be altered so the browser will report false information about the browser itself and/or the system on which it is running. By providing such false information, a user can try to avoid his system being fingerprinted (e.g. identified) so that the user can more effectively instigate electronic attacks without being detected. This disclosure describes techniques that allow for detection of when a user has tampered with their web browser (e.g., by overriding native code functions in the browser). Detecting that a browser has been tampered with can allow a computer server system to take mitigation actions against potentially malicious users, thus improving computer security.

## Claims

### Claim 1

A system, comprising:
a processor; and
a memory having stored thereon instructions that are executable to cause the system to perform operations comprising:
transmitting a web page to a client device in response to a request from a web browser of the client device for the web page,
wherein the web page includes tampering detection code that is configured to execute in response to the web page being received by the web browser of the client device, wherein execution of the tampering detection code includes determining whether a native code function of the web browser has been overridden;
subsequent to the transmitting, receiving execution results transmitted by the tampering detection code, wherein the execution results indicate whether the native code function has been overridden;
if the native code function has not been overridden, providing access to an electronic resource via the web page; and
if the native code function has been overridden, preventing access to the electronic resource.

### Claim 2 (depends on 1)

The system of claim 1, wherein providing access to the electronic resource comprises allowing a user to use particular functionality of a user account.

### Claim 3 (depends on 2)

The system of claim 2, wherein the particular functionality includes electronic transfer of funds from the user account to a destination account.

### Claim 4 (depends on 1)

The system of claim 1, wherein preventing access to the electronic resource includes not transmitting a particular web page to the client device.

### Claim 5 (depends on 1)

The system of claim 1, wherein the tampering detection code comprises JavaScript code.

### Claim 6 (depends on 5)

The system of claim 5, wherein the native code function comprises a JavaScript function that returns a value corresponding to a property of the web browser of the client device.

### Claim 7 (depends on 5)

The system of claim 5, wherein the native code function comprises a JavaScript function that returns a value corresponding to a property of the client device.

### Claim 8

A non-transitory, computer-readable medium having stored thereon instructions that when executed by a computer system cause the computer system to perform operations comprising:
transmitting a web page to a client device in response to a request from a web browser of the client device for the web page,
wherein the web page includes tampering detection code that is configured to execute in response to the web page being received by the web browser of the client device, wherein execution of the tampering detection code includes determining whether a native code function of the web browser has been overridden;
subsequent to the transmitting, receiving execution results transmitted by the tampering detection code, wherein the execution results indicate whether the native code function has been overridden;
if the native code function has not been overridden, providing access to an electronic resource via the web page; and
if the native code function has been overridden, preventing access to the electronic resource.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein preventing access to the electronic resource comprises preventing a user from accessing one or more functionalities of a user account.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the operations further comprise transmitting a web page to the web browser of the client device containing contact information via which the user can provide verification details in order to restore access to the one or more functionalities of the user account.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein providing access to the electronic resource via the web page includes updating the web page with additional data not previously displayed on the web page.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the native code function returns a value corresponding to a property of the web browser.

### Claim 13 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein execution of the tampering detection code includes determining whether a plurality of native code functions of the web browser has been overridden;
wherein the execution results indicate whether individual ones of the plurality of native code functions have been overridden; and
wherein the operations further comprise identifying whether a user of the web browser appears to be using particular software to modify the web browser based on a comparison of the execution results to one or more known tampering profiles.

### Claim 14

A method, comprising:
a computer system transmitting a first web page to a client device in response to a request from a web browser of the client device,
wherein the first web page includes tampering detection code that is configured to execute in response to the first web page being received by the web browser, wherein execution of the tampering detection code includes determining whether a native code function of the web browser has been overridden;
subsequent to the transmitting, the computer system receiving execution results transmitted by the tampering detection code, wherein the execution results indicate whether the native code function has been overridden; and
based on whether the native code function has been overridden, the computer system determining whether to provide access to an electronic resource.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
based on a determination by the tampering detection code that a plurality of native code functions of the web browser have been overridden, the computer system denying access to the electronic resource.

### Claim 16 (depends on 14)

The method of claim 14, wherein the electronic resource includes a particular functionality associated with a user account corresponding to an entity that transmitted the first web page.

### Claim 17 (depends on 14)

The method of claim 14, wherein the electronic resource includes specific data accessible via the computer system.

### Claim 18 (depends on 14)

The method of claim 14, further comprising:
based on a determination by the tampering detection code that the native code function has not been overridden, providing access to the electronic resource via the first web page.

### Claim 19 (depends on 18)

The method of claim 18, wherein providing the access to the electronic resource comprises transmitting an additional web page to the web browser of the client device based on a user action taken on the first web page.

### Claim 19 (depends on 14)

The method of claim 14, wherein the computer system is a web server configured to provide particular functionality via the web page through communication with a back-end server.

### Claim 20 (depends on 14)

The method of claim 14, wherein execution of the tampering detection code includes determining whether a plurality of native code functions of the web browser has been overridden; and
wherein the method comprises providing access to the electronic resource based on the execution results of the tampering detection code indicating that none of the plurality of native code functions have been overridden.
