IP Library Granted Patent US 11,277,418
Granted Patent B2
US 11,277,418 · App. 16/773,910 · Granted Mar 15, 2022

Network attack determination method, secure network data transmission method, and corresponding apparatus

Inventor: Yufei Lin (Guangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L63/1416H04L63/0236H04L63/1408H04L63/0428H04L63/1425H04L63/1466H04L63/168
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,277,418
App. No.
16/773,910
Granted
Mar 15, 2022
Kind
B2
Abstract

This application discloses a network attack determination method, a secure network data transmission method, and a corresponding apparatus. In this application, a browser client terminal obtains attack rules formulated by a rule configuration server, and after obtaining feedback information that is returned by a network according to a webpage browsing request, determines, according to a comparison result between the attack rules and the feedback information, whether the webpage browsing request encounters a network attack, thereby resolving a problem in the prior art that a network attack cannot be identified. In addition, after determining that a network attack is encountered, the browser client terminal performs network data transmission in a secure manner, which can avoid impact from the network attack, and improve security of network data transmission.

Claims (87)

1. A secure network data transmission method, wherein the secure network data transmission method comprises:

determining conforming attack rules based on format analysis on attack rules transmitted by a rule configuration server;

comparing domain name resolution information with the conforming attack rules, wherein the domain name resolution information is returned by a network in response to a webpage browsing request;

determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack; and

in response to determining that the webpage browsing request encounters the network attack:

discarding the domain name resolution information;

sending the webpage browsing request to a proxy server;

obtaining correct webpage data corresponding to the webpage browsing request by performing a network data transmission in a secure manner using the proxy server; and

accessing a correct website based on the correct webpage data.

2. The method according to claim 1 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information; and

determining, according to the legality of the IP address comprised in the domain name resolution information, whether the webpage browsing request encounters a network attack, and if the IP address is legal, determining that the webpage browsing request encounters no network attack, or if the IP address is illegal, determining that the webpage browsing request encounters a network attack.

3. The method according to claim 2 , wherein the determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a domain name, an IP address, and a rule type identifier, and wherein a domain name comprised in the target attack rule is the same as a to-be-accessed domain name in the webpage browsing request;

traversing the target attack rule, to determine whether the IP address comprised in the domain name resolution information is comprised in the target attack rule; and

if the IP address comprised in the domain name resolution information is not comprised in the target attack rule, determining that the IP address comprised in the domain name resolution information is legal; or

if the IP address comprised in the domain name resolution information is comprised in the target attack rule, determining, according to the target attack rule, whether the IP address comprised in the domain name resolution information is legal, and if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is a legal identifier, determining that the IP address is legal, or if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is an illegal identifier, determining that the IP address is illegal.

4. The method according to claim 1 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a tempering keyword, a non-tempered information expression, and a tempered information expression, and the non-tempered information expression comprised in the target attack rule corresponds to the webpage browsing request;

obtaining response information returned by the network according to the webpage browsing request;

traversing the target attack rule, to determine whether a response header keyword in the response information matches a tempering keyword in the target attack rule;

if the response header keyword in the response information matches the tempering keyword in the target attack rule, determining whether response header content in the response information matches a tempered information expression in the target attack rule; and

if the response header content matches the tempered information expression in the target attack rule, determining that the webpage browsing request encounters a network attack.

5. The method according to claim 1 , further comprising:

analyzing the conforming attack rules according to domain names included in the conforming attack rules to obtain a two-dimensional data structure of each conforming attack rule.

6. The method according to claim 1 , wherein obtaining the correct webpage data comprises:

encrypting the webpage browsing request;

sending the encrypted webpage browsing request to the proxy server for the proxy server to decrypt the encrypted webpage browsing request to obtain the webpage browsing request, perform domain name resolution on the webpage browsing request, access a target server corresponding to a domain name resolution result, to obtain network data corresponding to the webpage browsing request, and encrypt the network data to obtain encrypted network data; and

receiving the encrypted network data from the proxy server.

7. A network attack determining system, comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to cause the system to perform operations comprising:

determining conforming attack rules based on format analysis on attack rules transmitted by a rule configuration server;

comparing domain name resolution information with the conforming attack rules, wherein the domain name resolution information is returned by a network in response to a webpage browsing request;

determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack; and

in response to determining that the webpage browsing request encounters the network attack:

discarding the domain name resolution information;

sending the webpage browsing request to a proxy server;

obtaining correct webpage data corresponding to the webpage browsing request by performing a network data transmission in a secure manner using the proxy server; and

accessing a correct website based on the correct webpage data.

8. The system according to claim 7 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information; and

determining, according to the legality of the IP address comprised in the domain name resolution information, whether the webpage browsing request encounters a network attack, and if the IP address is legal, determining that the webpage browsing request encounters no network attack, or if the IP address is illegal, determining that the webpage browsing request encounters a network attack.

9. The system according to claim 8 , wherein the determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a domain name, an IP address, and a rule type identifier, and wherein a domain name comprised in the target attack rule is the same as a to-be-accessed domain name in the webpage browsing request;

traversing the target attack rule, to determine whether the IP address comprised in the domain name resolution information is comprised in the target attack rule; and

if the IP address comprised in the domain name resolution information is not comprised in the target attack rule, determining that the IP address comprised in the domain name resolution information is legal; or

if the IP address comprised in the domain name resolution information is comprised in the target attack rule, determining, according to the target attack rule, whether the IP address comprised in the domain name resolution information is legal, and if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is a legal identifier, determining that the IP address is legal, or if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is an illegal identifier, determining that the IP address is illegal.

10. The system according to claim 7 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a tempering keyword, a non-tempered information expression, and a tempered information expression, and the non-tempered information expression comprised in the target attack rule corresponds to the webpage browsing request;

obtaining response information returned by the network according to the webpage browsing request;

traversing the target attack rule, to determine whether a response header keyword in the response information matches a tempering keyword in the target attack rule;

if the response header keyword in the response information matches the tempering keyword in the target attack rule, determining whether response header content in the response information matches a tempered information expression in the target attack rule; and

if the response header content matches the tempered information expression in the target attack rule, determining that the webpage browsing request encounters a network attack.

11. The system according to claim 7 , further comprising:

analyzing the conforming attack rules according to domain names included in the conforming attack rules to obtain a two-dimensional data structure of each conforming attack rule.

12. The system according to claim 7 , wherein obtaining the correct webpage data comprises:

encrypting the webpage browsing request;

sending the encrypted webpage browsing request to the proxy server for the proxy server to decrypt the encrypted webpage browsing request to obtain the webpage browsing request, perform domain name resolution on the webpage browsing request, access a target server corresponding to a domain name resolution result, to obtain network data corresponding to the webpage browsing request, and encrypt the network data to obtain encrypted network data; and

receiving the encrypted network data returned by the proxy server.

13. A non-transitory computer-readable storage medium configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

determining conforming attack rules based on format analysis on attack rules transmitted by a rule configuration server;

comparing domain name resolution information with the conforming attack rules, wherein the domain name resolution information is returned by a network in response to a webpage browsing request;

determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack; and

in response to determining that the webpage browsing request encounters the network attack:

discarding the domain name resolution information;

sending the webpage browsing request to a proxy server;

obtaining correct webpage data corresponding to the webpage browsing request by performing a network data transmission in a secure manner using the proxy server; and

accessing a correct website based on the correct webpage data.

14. The non-transitory computer-readable storage medium according to claim 13 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information; and

determining, according to the legality of the IP address comprised in the domain name resolution information, whether the webpage browsing request encounters a network attack, and if the IP address is legal, determining that the webpage browsing request encounters no network attack, or if the IP address is illegal, determining that the webpage browsing request encounters a network attack.

15. The non-transitory computer-readable storage medium according to claim 14 , wherein the determining, according to the conforming attack rules and the domain name resolution information, legality of an IP address comprised in the domain name resolution information comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a domain name, an IP address, and a rule type identifier, and wherein a domain name comprised in the target attack rule is the same as a to-be-accessed domain name in the webpage browsing request;

traversing the target attack rule, to determine whether the IP address comprised in the domain name resolution information is comprised in the target attack rule; and

if the IP address comprised in the domain name resolution information is not comprised in the target attack rule, determining that the IP address comprised in the domain name resolution information is legal; or

if the IP address comprised in the domain name resolution information is comprised in the target attack rule, determining, according to the target attack rule, whether the IP address comprised in the domain name resolution information is legal, and if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is a legal identifier, determining that the IP address is legal, or if a rule type identifier, in the target attack rule, corresponding to the IP address comprised in the domain name resolution information is an illegal identifier, determining that the IP address is illegal.

16. The non-transitory computer-readable storage medium according to claim 13 , wherein determining, according to the comparing the domain name resolution information with the conforming attack rules, whether the webpage browsing request encounters a network attack comprises:

obtaining a target attack rule in the conforming attack rules by using the webpage browsing request, wherein the conforming attack rules comprise a tempering keyword, a non-tempered information expression, and a tempered information expression, and the non-tempered information expression comprised in the target attack rule corresponds to the webpage browsing request;

obtaining response information returned by the network according to the webpage browsing request;

traversing the target attack rule, to determine whether a response header keyword in the response information matches a tempering keyword in the target attack rule;

if the response header keyword in the response information matches the tempering keyword in the target attack rule, determining whether response header content in the response information matches a tempered information expression in the target attack rule; and

if the response header content matches the tempered information expression in the target attack rule, determining that the webpage browsing request encounters a network attack.

17. The non-transitory computer-readable storage medium according to claim 13 , further comprising:

analyzing the conforming attack rules according to domain names included in the conforming attack rules to obtain a two-dimensional data structure of each conforming attack rule.

18. The non-transitory computer-readable storage medium according to claim 13 , wherein obtaining the correct webpage data comprises:

encrypting the webpage browsing request;

sending the encrypted webpage browsing request to the proxy server for the proxy server to decrypt the encrypted webpage browsing request to obtain the webpage browsing request, perform domain name resolution on the webpage browsing request, access a target server corresponding to a domain name resolution result, to obtain network data corresponding to the webpage browsing request, and encrypt the network data to obtain encrypted network data; and

receiving the encrypted network data from the proxy server.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2020
From: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD.
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053601/0565 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 27, 2020
From: LIN, YUFEI
To: GUANGZHOU UCWEB COMPUTER TECHNOLOGY CO., LTD.
Reel/Frame 051636/0161 →
Priority Claims (2)
CN 201510416039.6 · Jul 15, 2015 · national
CN 201510416040.9 · Jul 15, 2015 · national
Continuity (2)
Continuation 15505835
Related Publication 20200162490A1 · May 21, 2020