# US 2018/0324209 A1 · Network attack defense method, apparatus, and system

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

- Number: US 2018/0324209 A1
- Document ID: US20180324209A1
- Status: Published application
- Kind: A1
- Application number: 16/023,294
- Filed: 2018-06-29
- Published: 2018-11-08
- Earliest claimed: 2016-09-29
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Haohao ZHANG
- Web page: https://patentgrep.com/patent/US20180324209A1

## CPC

- H04L 63/0892: {by using authentication-authorization-accounting [AAA] servers or protocols}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 63/1458: {Denial of Service}
- H04L 67/563: Data redirection of data network streams
- H04L 67/564: Enhancement of application control based on intercepted application data
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network attack defense method is provided. An access request transmitted from a client to a target server is intercepted by at least one processor of a bypass check device. The client is redirected to a target verification server, to perform verification of a verification code on the client. A verification result of the verification of the verification code performed on the client by the target verification server is obtained. The access request sent by the client is forwarded to the target server based on the verification result indicating that client verification is successful.

## Claims

### Claim 1

A network attack defense method, comprising:
intercepting, by at least one processor of a bypass check device, an access request transmitted from a client to a target server;
redirecting, by the at least one processor of the bypass check device, the client to a target verification server, to perform verification of a verification code on the client;
obtaining, by the at least one processor of the bypass check device, a verification result of the verification of the verification code performed on the client by the target verification server; and
forwarding, by the at least one processor of the bypass check device, to the target server, the access request sent by the client based on the verification result indicating that client verification is successful.

### Claim 2 (depends on 1)

The network attack defense method according to claim 1, wherein the target server is included in a service system, the service system comprising one or more servers.

### Claim 3 (depends on 2)

The network attack defense method according to claim 2, further comprising:
determining, by the at least one processor of the bypass check device, based on information included in the access request, whether to perform the verification of the verification code on the client; and
redirecting, by the at least one processor of the bypass check device, the client to the target verification server, based on a result of the determining.

### Claim 4 (depends on 3)

The network attack defense method according to claim 3, wherein the determining comprises:
detecting, by the at least one processor of the bypass check device, whether a source IP address included in the access request corresponds to an IP address in a preset defense list; and
based on a result of the detecting, determining to perform the verification of the verification code on the client.

### Claim 5 (depends on 3)

The network attack defense method according to claim 3, wherein the determining comprises:
obtaining, by the at least one processor of the bypass check device, a domain name included in the access request, and extracting a host name of the target server from the domain name; and
detecting, by the at least one processor of the bypass check device, whether the host name of the target server corresponds to a host name in a preset defense list, wherein
based on a result of the detecting, determining to perform the verification of the verification code on the client.

### Claim 6 (depends on 1)

The network attack defense method according to claim 1, further comprising:
determining, by the at least one processor of the bypass check device, the target verification server from a plurality of verification servers.

### Claim 7 (depends on 6)

The network attack defense method according to claim 6, wherein the determining comprises:
determining, by the at least one processor of the bypass check device, the target verification server based on current load of the plurality of verification servers.

### Claim 8 (depends on 7)

The network attack defense method according to claim 7, further comprising:
querying, by the at least one processor of the bypass check device, a load manager about the current load of the plurality of verification servers.

### Claim 9 (depends on 6)

The network attack defense method according to claim 6, wherein the determining comprises:
determining, by the at least one processor of the bypass check device, the target verification server based on a preset association relationship between the target server and the target verification server, from the plurality of verification servers.

### Claim 10 (depends on 1)

The network attack defense method according to claim 1, further comprising:
detecting, by the at least one processor of the bypass check device, whether a source IP address included in the access request is recorded in a verification success list, the verification success list comprising at least one IP address of at least one client whose verification was successful prior to a current time;
when the source IP address included in the access request is not recorded in the verification success list, redirecting the client to the target verification server;
storing, by the at least one processor of the bypass check device, the source IP address of the client into the verification success list based on the verification result indicating that the client verification is successful, the source IP address of the client being included in the verification result.

### Claim 11

A network attack defense apparatus, comprising:
at least one memory configured to store program code; and
at least one processor configured to access the at least one memory and operate according to the program code, the program code comprising:
interception code configured to cause the at least one processor to intercept an access request transmitted from a client to a target server;
redirection code configured to cause the at least one processor to redirect the client to a target verification server, to perform verification of a verification code on the client;
verification result obtaining code configured to cause the at least one processor to obtain a verification result of the verification of the verification code performed on the client by the target verification server; and
forwarding code configured to cause the at least one processor to forward, to the target server, the access request transmitted by the client based on the verification result indicating that client verification is successful.

### Claim 12 (depends on 11)

The network attack defense apparatus according to claim 11, wherein the target server is included in a service system, the service system comprising one or more servers.

### Claim 13 (depends on 11)

The network attack defense apparatus according to claim 11, the program code further comprises:
judgment code configured to cause the at least one processor to determine, based on information included in the access request, whether to perform the verification of the verification code, and redirect the client to the target verification server, based on a result of determination.

### Claim 14 (depends on 13)

The network attack defense apparatus according to claim 13, wherein the judgment code further causes the at least one processor to detect whether a source IP address included in the access request corresponds to an IP address in a preset defense list, and determine to perform the verification of the verification code on the client based on a result of detection.

### Claim 15 (depends on 13)

The network attack defense apparatus according to claim 13, wherein the judgment code further causes the at least one processor to obtain a domain name included in the access request;
extract a host name of the target server from the domain name; and
detect whether the host name of the target server corresponds to a host name in a preset defense list, and determine to perform the verification of the verification code on the client based on a result of detecting.

### Claim 16 (depends on 11)

The network attack defense apparatus according to claim 11, wherein the program code further comprises:
determining code configured to cause the at least one processor to determine the target verification server from a plurality of verification servers.

### Claim 17 (depends on 13)

The network attack defense apparatus according to claim 13, wherein the program code further comprises:
third detection code configured to cause the at least one processor to detect whether a source IP address included in the access request is recorded in a verification success list, the verification success list comprising at least one IP address of at least one client whose verification was successful prior to a current time, and to redirect the client to the target verification server when the source IP address included in the access request is not recorded in the verification success list; and
storage code configured to cause the at least one processor to store the source IP address of the client into the verification success list based on the verification result indicating that the client verification is successful, the source IP address of the client being included in the verification result.

### Claim 18

A network attack defense system, comprising:
a bypass check device; and
a target verification server,
the bypass check device being configured to: intercept an access request transmitted from a client to a target server; redirect the client to the target verification server, to perform verification of a verification code on the client; obtain a verification result of the verification of the verification code performed on the client by the target verification server; and forward, to the target server, the access request transmitted by the client based on the verification result indicating that client verification is successful; and
the target verification server being configured to: perform the verification of the verification code on the client, and return the verification result to the bypass check device.

### Claim 19 (depends on 1)

A network attack defense device, comprising:
at least one processor; and
at least one memory,
the at least one memory being configured to store program code; and
the at least one processor being configured to perform the network attack defense method according to claim 1 by executing the program code.

### Claim 20 (depends on 1)

A non-transitory storage medium configured to store program code, which, when executed by at least one processor, causes the at least one processor to perform the network attack defense method according to claim 1.
