IP Library Granted Patent US 11,240,258
Granted Patent B2
US 11,240,258 · App. 15/984,287 · Granted Feb 1, 2022

Method and apparatus for identifying network attacks

Inventor: Xuejian Zheng (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L63/1425H04L63/1458H04L63/308H04L43/062
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,240,258
App. No.
15/984,287
Granted
Feb 1, 2022
Kind
B2
Abstract

Embodiments of the present disclose provide a method and apparatus for identifying network attacks. The method can include: acquiring access data within at least two time periods of a target website server, wherein the access data include one or more fields; determining, for each of the at least two time periods, a quantity of access data having same content in at least two of the one or more fields; determining whether the quantities of access data for each of the at least two time periods are the same; and in response to the quantities of access data being the same, determining that at least two access requests of the access data are network attacks.

Claims (88)

1. A method for identifying network attacks, comprising:

acquiring a plurality of access data sets for each of at least two time periods of a target website server, each of the plurality of access data sets including one or more fields;

determining, for each of the at least two time periods, a quantity of access data sets having a same field of the one or more fields; and

determining that at least two access requests of the plurality of access data sets are network attacks based on at least one of:

a difference between a maximum value and a minimum value of quantities of access data sets having the same field in the at least two time periods, or

a difference between the quantity of the access data sets in each of the at least two time periods and an average value of the quantities of the access data sets having the same field in the at least two time periods.

2. The method of claim 1 , wherein acquiring the plurality of access data sets for each of the at least two time periods of the target website server further comprises:

collecting an access log of the target website server; and

acquiring the access data sets within the at least two time periods from the access log.

3. The method of claim 2 , wherein collecting the access log of the target website server further comprises:

collecting an access log of a front-end application of the target website server.

4. The method of claim 2 , wherein after acquiring the plurality of access data sets for each of the at least two time periods from the access logs, the method further comprises:

storing the plurality of access data sets within the at least two time periods in a database, and

wherein determining, for each of the at least two time periods, the quantity of access data sets having the same field of the one or more fields further comprises:

querying the database for the access data sets within the at least two time periods, and

counting the quantity of the access data sets having the same field for each of the at least two time periods.

5. The method of claim 1 , wherein determining that the at least two access requests of the plurality of access data sets are the network attacks further comprises:

determining whether the quantities of the access data sets having the same field for the at least two time periods are the same; and

in response to the quantities of the access data sets having the same field being the same, determining that the at least two access requests of the plurality of access data sets are the network attacks.

6. The method of claim 1 , wherein determining that the at least two access requests of the plurality of access data sets are the network attacks further comprises:

acquiring the maximum value and the minimum value of the quantities of the access data sets having the same field;

determining the difference between the maximum value and the minimum value; and

determining the at least two access requests of the plurality of access data sets as the network attacks in response to a determination that the difference is less than a preset threshold.

7. The method of claim 1 , wherein determining that the at least two access requests of the plurality of access data sets are the network attacks further comprises:

determining the average value of the quantities of the access data sets having the same field;

determining the difference between the quantity of the access data sets in each of the at least two time periods and the average value; and

determining that the at least two access requests of the plurality of access data sets are the network attacks in response to a determination that the difference is less than a preset threshold.

8. The method of claim 1 , wherein the at least two time periods comprise adjacent time periods.

9. The method of claim 1 , wherein the one or more fields comprise at least one of an Internet Protocol (IP) address, a domain name that accesses the target website, a browser that accesses the target website, or an Uniform Resource Locator (URL).

10. An apparatus for identifying network attacks, comprising:

a memory device storing instructions; and

a processor arranged to execute the instructions to cause the apparatus to:

acquire a plurality of access data sets for at least two time periods of a target website server, each of the plurality of access data sets including one or more fields;

determine, for each of the at least two time periods, a quantity of access data sets having a same field of the one or more fields; and

determine that at least two access requests of the plurality of access data sets are network attacks based on at least one of:

a difference between a maximum value and a minimum value of quantities of access data sets having the same field in the at least two time periods, or

a difference between the quantity of the access data sets in each of the at least two time periods and an average value of the quantities of the access data sets having the same field in the at least two time periods.

11. The apparatus of claim 10 , wherein the processor is arranged to execute the instructions to cause the apparatus to:

collect an access log of the target website server; and

acquire the access data sets within the at least two time periods from the access log.

12. The apparatus of claim 11 , wherein the processor is arranged to execute the instructions to cause the apparatus to collect an access log of a front-end application of the target website server.

13. The apparatus of claim 11 , wherein the processor is arranged to execute the instructions to cause the apparatus to:

store the plurality of access data sets within the at least two time periods in a database, and

query the database for the access data sets within the at least two time periods; and

count the quantity of the access data sets having the same field for each of the at least two time periods.

14. The apparatus of claim 10 , wherein the processor is arranged to execute the instructions to cause the apparatus to:

determine whether the quantities of the access data sets having the same field for the at least two time periods are the same, and

in response to the quantities of the access data sets having the same field being the same, determine that the at least two access requests of the plurality of access data sets are the network attacks.

15. The apparatus of claim 10 , wherein the processor is arranged to execute the instructions to cause the apparatus to:

acquire the maximum value and the minimum value of the quantities of the access data sets having the same field;

determine the difference between the maximum value and the minimum value; and

determine the at least two access requests of the plurality of access data sets as the network attacks in response to a determination that the difference is less than a preset threshold.

16. The apparatus of claim 10 , wherein the processor is arranged to execute the instructions to cause the apparatus to:

determine the average value of the quantities of the access data sets having the same field;

determine the difference between the quantity of the access data sets in each of the at least two periods and the average value;

determine whether the difference is less than a threshold; and

determine that the at least two access requests of the plurality of access data sets are the network attacks in response to a determination that the difference is less than the threshold.

17. The apparatus of claim 10 , wherein the at least two time periods comprise adjacent time periods.

18. The apparatus of claim 10 , wherein the one or more fields comprise at least one of an Internet Protocol (IP) address, a domain name that accesses the target website, a browser that accesses the target website, or an Uniform Resource Locator (URL).

19. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of an electronic device to cause the device to perform a method for identifying network attacks, the method comprising:

acquiring a plurality of access data sets for each of at least two time periods of a target website server, each of the plurality of access data sets including one or more fields;

determining, for each of the at least two time periods, a quantity of access data sets having a same field of the one or more fields; and

determining that at least two access requests of the plurality of access data sets are network attacks based on at least one of:

a difference between a maximum value and a minimum value of quantities of access data sets having the same field in the at least two time periods, or

a difference between the quantity of the access data sets in each of the at least two time periods and an average value of the quantities of the access data sets having the same field in the at least two time periods.

20. The non-transitory computer readable medium of claim 19 , wherein acquiring the plurality of access data sets for each of the at least two time periods of the target website server further comprises:

collecting an access log of the target website server; and

acquiring the access data sets within the at least two time periods from the access log.

21. The non-transitory computer readable medium of claim 20 , wherein collecting the access log of the target website server further comprises:

collecting an access log of a front-end application of the target website server.

22. The non-transitory computer readable medium of claim 20 , wherein after acquiring the plurality of access data sets for each of the at least two time periods from the access logs, the set of instructions is further executable by the at least one processor of the electronic device to perform:

storing the plurality of access data sets within the at least two time periods in a database, and

wherein determining, for each of the at least two time periods, the quantity of access data sets having the same field of the one or more fields further comprises:

querying the database for the access data sets within the at least two time periods, and

counting the quantity of the access data sets having the same field for each of the at least two time periods.

23. The non-transitory computer readable medium of claim 19 , wherein determining the at least two access requests of the plurality of access data sets are the network attacks further comprises:

determining whether the quantities of the access data sets having the same field for the at least two time periods are the same; and

in response to the quantities of the access data sets having the same field being the same, determining that the at least two access requests of the plurality of access data sets are the network attacks.

24. The non-transitory computer readable medium of claim 19 , wherein determining that the at least two access requests of the plurality of access data sets are the network attacks further comprises:

acquiring the maximum value and the minimum value of the quantities of the access data sets having the same field;

determining the difference between the maximum value and the minimum value; and

determining the at least two access requests of the plurality of access data sets as the network attacks in response to a determination that the difference is less than a preset threshold.

25. The non-transitory computer readable medium of claim 19 , wherein determining that the at least two access requests of the plurality of access data sets are the network attacks further comprises:

determining the average value of the quantities of the access data sets having the same field;

determining the difference between the quantity of the access data sets in each of the at least two time periods and the average value; and

determining that the at least two access requests of the plurality of access data sets are the network attacks in response to a determination that the difference is less than a preset threshold.

26. The non-transitory computer readable medium of claim 19 , wherein the at least two time periods comprise adjacent time periods.

27. The non-transitory computer readable medium of claim 19 , wherein the fields comprise at least one of an Internet Protocol (IP) address, a domain name that accesses the target website, a browser that accesses the target website, or an Uniform Resource Locator (URL).

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 21, 2026
From: ALIBABA GROUP HOLDING LIMITED
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075478/0225 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 30, 2020
From: ZHENG, XUEJIAN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053088/0425 →
Priority Claims (1)
CN 201510802440.3 · Nov 19, 2015 · national
Continuity (2)
Continuation PCTCN2016105286 · Nov 10, 2016
Related Publication 20180278638A1 · Sep 27, 2018