Honeypot identification method and device, electronic equipment and readable storage medium

By counting the total number of detections and vulnerability times of IP addresses, combined with 1-day vulnerability detection records, we can dynamically identify highly camouflaged 1-day vulnerability honeypots, solving the problem of difficulty in identifying dynamically changing honeypots with existing technology, and achieving more accurate honeypots. Identification and cybersecurity assessment.

CN118869320APending Publication Date: 2024-10-29BEIJING KNOWNSEC INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411062143.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

It is difficult for existing technology to identify 1-day vulnerability honeypots that are highly disguised and highly dynamic. Especially after the 1-day vulnerability is publicly disclosed, the camouflage of the honeypot system is no different from the real system. It is difficult for existing honeypot identification technology to identify and match dynamic changes. of honeypots.

Method used

By establishing and maintaining an IP vulnerability detection record database, we count the total number of detections and vulnerability times for each IP address, and use whether there is a 1-day vulnerability in each vulnerability detection to determine whether the IP address is a honeypot IP address and dynamically identify honeypots.

Benefits of technology

Effectively identify and distinguish honeypot IP addresses from normal IP addresses to avoid misidentification and improve the accuracy and efficiency of network penetration testing and security assessments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869320A_ABST
    Figure CN118869320A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a honeypot identification method and device, electronic equipment and a readable storage medium, and relates to the technical field of network security. The method comprises the steps that under the condition that a honeypot needs to be recognized, according to a currently-stored IP vulnerability detection record library, the total detection times and vulnerability times corresponding to all IP addresses are obtained through statistics, the IP vulnerability detection record library comprises multiple detection records obtained in the mode that vulnerability detection is conducted on found 1day vulnerabilities every time the 1day vulnerabilities are found, and the detection records are stored in the database; the detection record is used for indicating whether a corresponding 1day vulnerability exists at the corresponding IP address, and the vulnerability frequency is used for representing the frequency of detecting the 1day vulnerability from the corresponding IP address; and for each IP address, judging whether the IP address is a honeypot IP address or not according to the total number of times of detection and the number of times of vulnerability corresponding to the IP address. Therefore, honeypot identification can be completed according to the 1day vulnerability detection condition of the IP address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and in particular to a honeypot identification method, device, electronic device and readable storage medium. Background Art

[0002] Honeypots are a deception technology for attackers, used to monitor, detect, analyze and trace attack behaviors. Because honeypots themselves have no business use, all traffic flowing into / out of the honeypot indicates scanning or attack behavior, so it is better to focus on attack traffic.

[0003] In the cybersecurity industry, security defenders deploy honeypot systems on the Internet to capture and analyze Internet attack behaviors, thereby collecting information about hacker attackers: the tools and methods used in the attack, the intentions and motives of the attack, etc.

[0004] At present, honeypot identification is required due to various needs. For example, when conducting network security assessment, it is necessary to analyze which IP addresses are the IP addresses of honeypots. Therefore, how to identify honeypots has become a technical problem that technicians in this field need to solve urgently. Summary of the invention

[0005] The embodiments of the present application provide a honeypot identification method, device, electronic device and readable storage medium, which determine whether the IP address is the IP address of a honeypot based on whether there is a 1-day vulnerability at the IP address during each vulnerability detection, so as to complete honeypot identification.

[0006] The embodiments of the present application can be implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a honeypot identification method, the method comprising:

[0008] In the case where the honeypot needs to be identified, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library, wherein the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, the detection record is used to indicate whether the corresponding 1-day vulnerability exists at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times the 1-day vulnerability is detected from the corresponding IP address;

[0009] For each IP address, determine whether the IP address is a honeypot IP address based on the total number of detections and the number of vulnerabilities corresponding to the IP address.

[0010] In a second aspect, an embodiment of the present application provides a honeypot identification device, the device comprising:

[0011] A statistics module, for obtaining the total number of detections and the number of vulnerabilities corresponding to each IP address according to the currently saved IP vulnerability detection record library when it is necessary to identify the honeypot, wherein the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, the detection record is used to indicate whether the corresponding 1-day vulnerability exists at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times the 1-day vulnerability is detected from the corresponding IP address;

[0012] The identification module is used to determine, for each IP address, whether the IP address is a honeypot IP address according to the total number of detections and the number of vulnerabilities corresponding to the IP address.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the honeypot identification method described in the aforementioned embodiment.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the honeypot identification method as described in the foregoing embodiment is implemented.

[0015] The honeypot identification method, device, electronic device and readable storage medium provided in the embodiments of the present application, when it is necessary to identify a honeypot, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library, and then for each IP address, according to the total number of detections and the number of vulnerabilities corresponding to the IP address, it is determined whether the IP address is a honeypot IP address. Among them, the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, and the detection record is used to indicate whether there is a corresponding 1-day vulnerability at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times a 1-day vulnerability is detected from the corresponding IP address. In this way, it is possible to determine whether the IP address is the IP address of the honeypot based on whether there is a 1-day vulnerability at the IP address during each vulnerability detection to complete the honeypot identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 Schematic diagram of different vulnerabilities;

[0018] Figure 2 A block diagram of an electronic device provided in an embodiment of the present application;

[0019] Figure 3 One of the flow charts of the honeypot identification method provided in the embodiment of the present application;

[0020] Figure 4 The second flowchart of the honeypot identification method provided in the embodiment of the present application;

[0021] Figure 5 A schematic diagram of the field description of the 1day vulnerability detection tool knowledge base provided in the embodiment of the present application;

[0022] Figure 6 A schematic diagram of the field description of the IP vulnerability detection record library provided in the embodiment of the present application;

[0023] Figure 7 A schematic diagram of a detection record in the IP vulnerability detection statistics library provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram of another detection record in the IP vulnerability detection statistics library provided in an embodiment of the present application;

[0025] Fig. 9 for Figure 3 A schematic flow chart of the sub-steps included in step S120;

[0026] Fig.10 A schematic diagram of the fields of the IP vulnerability detection statistics library provided in the embodiment of the present application;

[0027] Fig.11 It is a data schematic diagram corresponding to an IP address in the IP vulnerability detection record library;

[0028] Fig.12 For IP vulnerability detection statistics database Fig.11 Corresponding data;

[0029] Fig.13 for Figure 3 A schematic flow chart of the sub-steps included in step S130;

[0030] Fig.14 for Fig.13 A schematic flow chart of the sub-steps included in sub-step S132;

[0031] Fig.15 A data schematic diagram of an IP vulnerability detection statistics library provided in an embodiment of the present application;

[0032] Fig.16 One of the block diagrams of the honeypot identification device provided in the embodiment of the present application;

[0033] Fig.17 The second block diagram of the honeypot identification device provided in the embodiment of the present application.

[0034] Icon: 100 - electronic device; 110 - memory; 120 - processor; 130 - communication unit; 200 - honeypot identification device; 210 - vulnerability detection module; 220 - statistics module; 230 - identification module. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0036] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0037] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0038] The following first introduces the honeypot.

[0039] Honeypot technology is essentially a technology that deceives attackers. By placing some hosts, network services or information as bait, it can induce attackers to attack them, thereby capturing and analyzing attack behaviors, understanding the tools and methods used by attackers, and inferring attack intentions and motives. It can also enable defenders to clearly understand the security threats they face and enhance the security protection capabilities of the actual system through technical and management means.

[0040] Honeypots are like intelligence collection systems. Honeypots are like targets that are deliberately set up to attract hackers to attack. So after an attacker breaks in, they can learn how he succeeded and keep up to date with the latest attacks and vulnerabilities against the server. They can also eavesdrop on the connections between hackers, collect the various tools used by hackers, and gain access to their social networks.

[0041] The following is an introduction to the types of vulnerabilities.

[0042] The time window for vulnerability attacks is called the window of vulnerability. Generally speaking, the longer the window of vulnerability lasts, the greater the possibility that an attacker can exploit the vulnerability to attack. Figure 1 As shown, they can be divided into 0day vulnerabilities, 1day vulnerabilities, and nday vulnerabilities.

[0043] 0day vulnerabilities, also known as "zero-day vulnerabilities", refer to vulnerabilities that have not yet been publicly announced by the manufacturer, which means that attackers already know the existence of this vulnerability and have already used it to attack. 0day vulnerabilities pose a serious threat to the security of the system because defense measures are not yet ready.

[0044] When a 0day vulnerability is discovered and made public, the manufacturer does not release a patch for a period of time (usually a short period of time, usually 1 day). According to custom, this vulnerability is called a 1day vulnerability. At this time, the manufacturer has not released a patch, and the system has this 1day vulnerability, which means that more attackers can use this time window of the 1day vulnerability to launch attacks, so the 1day vulnerability also poses a serious threat to the security of the system.

[0045] For example, if the application system is like a safe, if there is a hole in the safe, and only a few people know about it, it has not been spread, and there is no remedial measure for the time being, then this hole is a 0day vulnerability, that is, this vulnerability is in a relatively "unknown" state, and once it is used to launch an attack, it will face the situation of "no patch". A 1day vulnerability is when the problem of the hole has been made public, and the owner of the safe is organizing people to patch the hole. In this period of time when the hole is made public but no measures have been taken to patch the hole, this hole is called a 1day vulnerability.

[0046] In the cybersecurity industry, security defenders deploy honeypot systems on the Internet to capture and analyze Internet attack behaviors, thereby collecting information about hacker attackers: the tools and methods used in the attack, the intentions and motives of the attack, etc.

[0047] Currently, honeypot identification is required due to various needs. For example, when conducting network security assessment, it is necessary to analyze which IP addresses are honeypot IP addresses. For another example, the network security red team (attack team) corresponding to the security defense party needs to have honeypot identification technology to identify which are real business systems and which are honeypot systems, so as to avoid exposing attack intentions, tools, methods, etc., so as to implement network penetration testing more efficiently.

[0048] In the early days, when security defenders deployed honeypots, they often used open source honeypots. The advantage is that they are easy to deploy, but the disadvantage is that they have obvious characteristics and are easy to be identified. With the development of attack and defense technology, security defenders will deploy high-interaction honeypots (for example, including login verification methods and operation command interactions) to prevent honeypots from being identified. Therefore, currently, these target honeypots are generally identified through fingerprint characteristics and interactive verification.

[0049] For example, in one method, a honeypot in a target is identified based on a honeypot fingerprint library and a target honeypot identification plug-in. The honeypot fingerprint library includes characteristic fingerprints of multiple honeypots, and the target honeypot identification plug-in is used to interact with the target port. If it is determined that a field in a scan response matches any characteristic fingerprint in the honeypot fingerprint library, it is determined that a honeypot exists in the target; if it is determined that a field in a scan response does not match any characteristic fingerprint in the honeypot fingerprint library, a target honeypot identification plug-in matching the target port is determined, and the existence of a honeypot in the target is determined based on the interaction result between the target honeypot identification plug-in and the target port.

[0050] The above honeypot identification method relies on the fingerprint in the honeypot fingerprint library and the target honeypot identification plug-in. If the honeypot deployer does not use open source honeypots (the fingerprint features of open source honeypots are more obvious and easy to identify) when deploying honeypots, and deliberately modifies the fingerprint features and the port interaction return results in its own honeypot system, then the target honeypot may not be identified when using the honeypot identification method.

[0051] For example, in another method, honeypot identification is performed based on feature recognition and interactive verification: using open source honeypot features, identify whether the Dionaea, Conpot, Kippo and T pot features of the honeypot exist in the IP node; verify the confirmed honeypot identification results through the login verification method and the system's operation command interactive verification method. Similar to the above method, this method relies on honeypot features and interactive verification. If the honeypot deployer deliberately modifies the features of the open source honeypot, modifies the login verification method and the operation command interaction method of the honeypot when deploying the honeypot, then using this honeypot identification method may result in the target honeypot being unable to be identified.

[0052] After the 1day vulnerability is publicly disclosed, but before the vendor releases a patch, there are many systems with 1day vulnerabilities on the Internet. Many hackers take advantage of the short window of time when the 1day vulnerability is publicly disclosed but the vendor does not release a patch, develop vulnerability attack tools, and attack systems with 1day vulnerabilities. For a period of time after the 1day vulnerability is publicly disclosed, there will be a large number of attacks on the Internet that exploit the 1day vulnerability. Therefore, during this period of time, security defenders (and security researchers) will also quickly deploy systems with the 1day vulnerability as honeypots to specifically capture attacks that exploit the 1day vulnerability, collect attack data (such as the payload used by the attacker), and analyze them.

[0053] When a new 1-day vulnerability is publicly disclosed, the security defender will delete the system with the previous 1-day vulnerability on the server and then deploy the system with the new 1-day vulnerability to capture attacks launched by exploiting the new 1-day vulnerability.

[0054] These systems with 1-day vulnerabilities are used as honeypots and have the following two characteristics.

[0055] 1. Disguise. Compared with ordinary honeypots, this type of honeypot is only used to capture attacks launched by exploiting specific 1-day vulnerabilities, and can capture fewer attacks; however, its performance is no different from that of the real system, and its camouflage is strong. It does not have the fingerprint features and interaction methods of ordinary honeypots, making it difficult for existing honeypot identification technology solutions to identify it.

[0056] 2. Dynamicity. With the public disclosure of new 1-day vulnerabilities, this type of honeypot will change from the system corresponding to the previous 1-day vulnerability to the system corresponding to the new 1-day vulnerability. Therefore, the identification of this type of honeypot also requires dynamic thinking; however, the existing honeypot identification technology solution does not have a corresponding dynamic matching method.

[0057] In view of the above situation, the embodiments of the present application provide a honeypot identification method, device, electronic device and readable storage medium based on 1day vulnerability detection, which can effectively identify honeypots using systems with 1day vulnerabilities in a batch of IP target lists, and then avoid honeypots in network penetration testing work, avoid exposing attack intentions, tools, and techniques, thereby more effectively implementing network penetration testing work, and facilitating accurate network security assessments, etc. It is worth noting that the defects existing in the above schemes are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the embodiments of the present application for the above problems below should be the contributions made by the inventor to the present application during the application process.

[0058] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0059] Please refer to Figure 2 , Figure 2 A block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be, but is not limited to, a computer, a server, etc. The electronic device 100 may include a memory 110, a processor 120, and a communication unit 130. The memory 110, the processor 120, and the communication unit 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses or signal lines.

[0060] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0061] The processor 120 is used to read / write data or programs stored in the memory 110 and execute corresponding functions. For example, the memory 110 stores a honeypot identification device 200, and the honeypot identification device 200 includes at least one software function module that can be stored in the memory 110 in the form of software or firmware. The processor 120 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the honeypot identification device 200 in the embodiment of the present application, that is, the honeypot identification method in the embodiment of the present application is implemented.

[0062] The communication unit 130 is used to establish a communication connection between the electronic device 100 and other communication terminals through a network, and to send and receive data through the network.

[0063] It should be understood that Figure 2 The structure shown is only a schematic diagram of the structure of the electronic device 100. The electronic device 100 may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0064] Please refer to Figure 3 , Figure 3 This is one of the flow diagrams of the honeypot identification method provided in the embodiment of the present application. The method can be applied to the above-mentioned electronic device. The specific process of the honeypot identification method is described in detail below. In this embodiment, the method may include steps S120 to S130.

[0065] Step S120, when it is necessary to identify the honeypot, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library.

[0066] In this embodiment, the electronic device stores an IP vulnerability detection record library that is created and updated and maintained for a long time. The IP vulnerability detection record library includes multiple detection records obtained by performing vulnerability detection on the discovered 1-day vulnerability each time a 1-day vulnerability is discovered. The detection record is used to indicate whether a corresponding 1-day vulnerability exists at the corresponding IP address, that is, one detection record corresponds to one IP address and one 1-day vulnerability, and is used to indicate whether the 1-day vulnerability exists at the IP address.

[0067] It is understandable that vulnerability detection based on discovered 1day vulnerabilities is an ongoing action, and the action of updating the IP vulnerability detection record library according to the vulnerability detection situation is also an ongoing action. For example, if a 1day vulnerability is discovered on July 23, 2024, vulnerability detection will be performed based on the 1day vulnerability, and the IP vulnerability detection record library will be updated according to the vulnerability detection situation; if another 1day vulnerability is discovered on July 25, 2024, vulnerability detection will be performed based on the 1day vulnerability discovered again, and the IP vulnerability detection record library will be updated according to the vulnerability detection situation. Among them, the device for vulnerability detection can be other devices or the electronic device, which can be determined in combination with actual needs and is not specifically limited here.

[0068] Whether honeypot identification is currently required can be determined based on whether a honeypot identification instruction indicated by human intervention is received, or it can be determined based on other methods. For example, if a periodic honeypot identification cycle is set in advance, whether honeypot identification is currently required can be determined based on the cycle.

[0069] If it is determined that the honeypot needs to be identified, the total number of detections and vulnerabilities corresponding to each IP address can be obtained by statistics based on the currently saved IP vulnerability detection record library. Among them, the total number of detections corresponding to an IP address indicates the total number of 1-day vulnerability detections for the IP address; the number of vulnerabilities corresponding to an IP address indicates the number of 1-day vulnerabilities detected from the IP address.

[0070] Step S130 , for each IP address, judging whether the IP address is a honeypot IP address according to the total number of detections and the number of vulnerabilities corresponding to the IP address.

[0071] When the total number of detections and vulnerability detections corresponding to an IP address is obtained, it is possible to analyze and determine whether the IP address is a normal IP address or a honeypot IP address based on the total number of detections and vulnerability detections. The specific analysis method can be determined in combination with actual needs. For example, whether an IP address is a honeypot IP address can be determined based on whether a 1-day vulnerability often exists at an IP address. After performing the above processing on each IP address, the honeypot IP address can be determined, and the system at the honeypot IP address is the honeypot. In this way, based on whether there is a 1-day vulnerability at the IP address during each vulnerability detection, it is determined whether the IP address is the IP address of the honeypot to complete the honeypot identification.

[0072] As a possible implementation, the device used for performing honeypot identification based on detection records and the device for performing vulnerability detection are the same device.

[0073] Please refer to Figure 4, Figure 4 The second flowchart of the honeypot identification method provided in the embodiment of the present application. In this embodiment, the method may include step S110. It can be understood that step S110 is a continuous action, and steps S120 to S130 may also be continuous actions.

[0074] S110, when it is determined that a new 1-day vulnerability has appeared, vulnerability detection is performed on the target IP address list based on the vulnerability detection tool corresponding to the new 1-day vulnerability, and a corresponding detection record is generated and saved in the currently saved IP vulnerability detection record library.

[0075] In this embodiment, a 1-day vulnerability detection tool knowledge base can be created and updated and maintained for a long time. The 1-day vulnerability detection tool knowledge base may include vulnerability identifiers, vulnerability detection tools, and vulnerability names. Figure 5 As shown, the fields in the 1day vulnerability detection tool knowledge base may include vulnerability identification, vulnerability name, and vulnerability detection tool; the vulnerability identification is the number of the 1day vulnerability, which is used as the unique identification of the vulnerability; the vulnerability name is used to indicate the name of the 1day vulnerability so that the staff can understand which specific vulnerability it is; the vulnerability detection tool is a detection tool for the 1day vulnerability, which is usually a code file. By running the code file, it can be detected whether the system running on the target IP address has the vulnerability.

[0076] You can browse well-known cybersecurity forums, social accounts and other cybersecurity information release channels every day, pay attention to the latest publicly disclosed 1-day vulnerabilities, and determine whether new 1-day vulnerabilities have appeared. You can determine whether new 1-day vulnerabilities have appeared, or you can automatically obtain relevant information to determine whether new 1-day vulnerabilities have appeared.

[0077] If a new 1day vulnerability is found, you can study the vulnerability detection method, write a vulnerability detection tool, and add the vulnerability identifier, vulnerability name, and vulnerability detection tool of the new 1day vulnerability to the above 1day vulnerability detection tool knowledge base. A new 1day vulnerability means a 1day vulnerability that has not been used for vulnerability detection.

[0078] Afterwards, vulnerability detection can be performed in batches for the new 1-day vulnerability based on the target IP address list to determine whether the new 1-day vulnerability exists at each IP address in the target IP address list, and generate corresponding detection records and save them in the currently saved IP vulnerability detection record library. Among them, you can manually click to perform vulnerability detection on the newly discovered 1-day vulnerability, or you can automatically perform vulnerability detection on the newly discovered 1-day vulnerability. It can be understood that the vulnerability detection based on the vulnerability detection tool corresponding to the new 1-day vulnerability described in step S110 means that it detects whether the new 1-day vulnerability exists at the IP address, and does not detect whether there is a vulnerability that was discovered previously and has been detected at the IP address.

[0079] In this embodiment, if Figure 6 As shown, the IP vulnerability detection record library may include the following fields: IP address, vulnerability identifier, and vulnerability detection result. That is, a detection record includes: IP address, vulnerability identifier, and vulnerability detection and result; the IP address indicates the target IP address corresponding to the detection record; the vulnerability identifier can be queried in the 1day vulnerability detection tool knowledge base to obtain the corresponding vulnerability name as vulnerability information, which is convenient for staff to understand what specific 1day vulnerabilities exist; the vulnerability detection result is used to indicate whether the target IP address has the vulnerability detected by the vulnerability detection tool for the vulnerability. This field has and only has two possible values: Y (indicating the existence of a vulnerability) and N (indicating the absence of a vulnerability).

[0080] The IP vulnerability detection record library may include the following fields: vulnerability detection time. That is, a detection record includes the vulnerability detection time, and the vulnerability detection time indicates the time when the vulnerability detection is performed on the target IP address.

[0081] like Figure 7 As shown in the figure, at 2023-11-25 14:23:40, a vulnerability check is performed on 123.123.123.123 to see if there is a 1day vulnerability "CVE-2023-46214", and the detection result is yes, then a vulnerability check can be generated. Figure 7 As shown in the detection record, the IP address in the detection record is 123.123.123.123, the vulnerability identifier is CVE-2023-46214, the vulnerability detection result is Y, and the vulnerability detection time is 2023-11-25 14:23:40.

[0082] Another example Figure 8As shown in the figure, at 2024-04-28 10:33:20, a vulnerability check is performed on 130.130.130.130 to see if there is a 1day vulnerability "CVE-2024-4040", and the detection result is that it does not exist, then a vulnerability check can be generated. Figure 8 As shown in the detection record, the IP address in the detection record is 130.130.130.130, the vulnerability identifier is CVE-2024-4040, the vulnerability detection result is N, and the vulnerability detection time is 2024-04-28 10:33:20.

[0083] There are no detection records with the same IP address and vulnerability identifier in the IP vulnerability detection record library. In this embodiment, under normal circumstances, when a new 1-day vulnerability appears, only one vulnerability detection is performed on an IP address based on the new 1-day vulnerability, so that there are no detection records with the same IP address and vulnerability identifier in the IP vulnerability detection record library. However, due to certain factors, multiple detections of a 1-day vulnerability may be performed on an IP address. If the detection records generated based on the vulnerability detection are directly saved in the IP vulnerability detection record library, it will cause the IP vulnerability detection record library to have the same IP address and vulnerability identifier. In order to avoid the above situation, the detection records corresponding to the new 1-day vulnerability can be saved in the IP vulnerability detection record library in the following way.

[0084] Each detection record generated by vulnerability detection for a new 1day vulnerability is used as the first detection record. For each generated first detection record, determine whether there is a second detection record in the currently saved IP vulnerability detection record library with the same IP address and vulnerability identifier as the first detection record. That is, the second detection record has the same IP address as the second detection record, and the same vulnerability identifier. If it exists, delete the second detection record in the IP vulnerability detection record library, and save the first detection record in the IP vulnerability detection record library, that is, replace the second detection record with the first detection record. If it does not exist, the first detection record can be directly recorded in the IP vulnerability detection record library.

[0085] For example, a vulnerability detection was performed on a 1-day vulnerability in the morning of one day. Later, the staff discovered that some configuration anomalies caused the morning detection results to be unusable, but the detection records corresponding to the morning detection results had been saved in the IP vulnerability detection record library; the staff could adjust the configuration in the afternoon of the same day, and then perform vulnerability detection again for the same 1-day vulnerability, and use the newly generated detection records to replace the old detection records corresponding to the 1-day vulnerability in the IP vulnerability detection record library, thereby ensuring data accuracy.

[0086] As a possible implementation method, the detection record includes the vulnerability detection time, which can be Fig. 9 Please refer to Fig. 9 , Fig. 9 for Figure 3 Schematic diagram of the flow of sub-steps included in step S120. In this embodiment, step S120 may include sub-steps S121 to S122.

[0087] Sub-step S121, determining a target detection record according to a target time period and the vulnerability detection time in each detection record in a currently stored IP vulnerability detection record library.

[0088] Sub-step S122, for the determined target detection records, obtain the total number of detections and the number of vulnerabilities corresponding to each IP address through statistics.

[0089] In this embodiment, the target time period can be determined based on the start and end points specified by the user, or can be obtained by the current time and the set duration, or can be determined by other methods, which are not specifically limited here. As a possible implementation duration, the duration is preset to 1 year, and the target time period can be determined based on the current time, that is, the target time period is the most recent year.

[0090] The target detection record can be determined from the currently saved IP vulnerability detection record library according to whether the vulnerability detection time in each detection record in the currently saved IP vulnerability detection record library is within the target time period. The vulnerability detection time in the target detection record is within the target time period. When all target detection records are determined, the total number of detections and the number of vulnerabilities corresponding to each IP address appearing in all target detection records can be statistically obtained.

[0091] As a possible implementation method, the IP addresses determined this time, the total number of detections and the number of vulnerabilities corresponding to each IP address can be saved in an IP vulnerability detection statistics library. It can be understood that each IP vulnerability detection statistics library is generated based on the statistics of the target detection records determined each time. When a new IP vulnerability detection statistics library is generated, the old IP vulnerability detection statistics library is invalidated and deleted, and the honeypot identification is performed based on the newly generated IP vulnerability detection statistics library.

[0092] like Fig.10As shown, the IP vulnerability detection statistics library may include the following fields: IP address, total number of times, and number of times a vulnerability exists. The IP address is the target IP address. The total number of times is the total number of detections, that is, the total number of times vulnerability detection is performed on an IP address; the number of vulnerabilities is the number of times a vulnerability is detected for an IP address. For example, when the target time period is the most recent year, the total number of times means the total number of times vulnerability detection is performed on the corresponding IP address within the most recent year; the number of times a vulnerability exists means the number of times a vulnerability is detected for the IP address within the time range of the most recent year.

[0093] Assume that the detection records of 123.123.123.123 in the current IP vulnerability detection statistics database are as follows: Fig.11 Shown: 123.123.123.123, CVE-2023-22463, Y, 2023-05-10 10:13:42; 123.123.123.123, CVE-2023-34034, Y, 2023-08-15 22:28:20; 123.123.123.123, CVE-2023-46214, Y, 2023-11-2514:23:40; 123.123.123.123, CVE-2024-14750, Y, 2024-04-01 18:23:23;123.123.123.123, CVE-2024-3400, Y, 2024-04-15 09:39:30; 123.123.123.123, CVE-2024-4040, N, 2024-04-2810:33:20; 123.123.123.123, CVE-2024-6387, Y, 2024-05-18 19:48:21. Assuming that the current time is 10:00:00 on July 5, 2024, the target time period is from "2023-07-05 10:00:00" to "2024-07-05 10:00:00". For the above detection records of 123.123.123.123, the statistical results corresponding to the target time period can be analyzed as follows: the total number of times 123.123.123.123 is 6, and the number of times there are vulnerabilities is 5. That is, the corresponding data about the IP address "123.123.123.123" in the IP vulnerability detection statistics library generated this time is as follows: Fig.12 shown.

[0094] As a possible implementation method, in order to reduce misidentification, Fig.13 The method shown here determines that an IP address is a honeypot IP address. Please refer to Fig.13 , Fig.13 for Figure 3Schematic diagram of the flow of sub-steps included in step S130. In this embodiment, step S130 may include sub-steps S131 to S132.

[0095] Sub-step S131, for each IP address, determining whether the total detection times of the IP address is greater than a preset number, to obtain a first determination result.

[0096] Sub-step S132, determining whether the IP address is a honeypot IP address according to the first judgment result and the number of vulnerabilities.

[0097] In this embodiment, the following analysis can be performed for each IP address. Determine whether the total number of detections of the IP address is greater than a preset number of times, and obtain the first judgment result. Among them, the preset number of times is greater than 0, and can be set in combination with actual needs. The first judgment result is used to indicate whether the total number of detections of the IP address is greater than the preset number of times. If the first judgment result obtained indicates that the total number of detections of the IP address is less than the preset number of times, it can be determined that the IP address is not a honeypot IP address. If the first judgment result obtained indicates that the total number of detections of the IP address is greater than or equal to the preset number of times, it can be combined with the number of vulnerability times to determine whether the IP address is a honeypot IP address.

[0098] As a possible implementation, Fig.14 The method shown in FIG. 1 determines whether an IP address is a honeypot IP address based on the first judgment result and the number of vulnerabilities. Fig.14 , Fig.14 for Fig.13 Schematic diagram of the flow of sub-steps included in sub-step S132. In this embodiment, sub-step S132 may include sub-steps S1321 to S1324.

[0099] Sub-step S1321, calculate and obtain the difference between the total detection times and the vulnerability times of the IP address.

[0100] Sub-step S1322, determining whether the difference is less than a preset value to obtain a second determination result.

[0101] Sub-step S1323, when the first judgment result indicates that the total number of detections is greater than the preset number, and the second judgment result indicates that the difference is less than the preset value, determining that the IP address is a honeypot IP address.

[0102] Sub-step S1324, when the first judgment result indicates that the total number of detections is not greater than the preset number and / or the second judgment result indicates that the difference is not less than the preset value, determine that the IP address is not a honeypot IP address.

[0103] In this embodiment, for each IP address, the total number of detections of the IP address is subtracted from the number of vulnerabilities of the IP address to obtain a difference, and it is determined whether the difference is less than a preset value to obtain the second judgment result. The preset value may be greater than or equal to 0, may be set to be smaller, and may be determined in combination with actual needs. The second judgment result is used to determine whether the difference is less than the preset value.

[0104] If the first judgment result indicates that the total number of detections is greater than the preset number of times, and the second judgment result indicates that the difference is less than the preset value, it means that the IP address has been tested for multiple different 1day vulnerabilities, and in most cases there are 1day vulnerabilities. In this case, it can be determined that the IP address is a honeypot IP address. On the contrary, if the first judgment result indicates that the total number of detections is not greater than the preset number of times and / or the second judgment result indicates that the difference is not less than the preset value, it is determined that the IP address is not a honeypot IP address.

[0105] After the above processing, the honeypot IP address list can be obtained.

[0106] Assuming the preset times are 5 and the preset value is 4, the IP address of the honeypot IP address satisfies the following conditions: X>5 and XY<3, where X represents the total number of detections and Y represents the number of vulnerabilities. For example, assuming that the IP vulnerability detection statistics database obtained this time is as follows Fig.15 As shown: the total number of detections corresponding to 123.123.123.123 is 6, and the number of vulnerabilities is 5; the total number of detections corresponding to 124.124.124.124 is 7, and the number of vulnerabilities is 4; the total number of detections corresponding to 125.125.125.125 is 5, and the number of vulnerabilities is 5.

[0107] Then, for example data 1 "the total number of detections corresponding to 123.123.123.123 is 6, and the number of vulnerabilities is 5", the data meets the judgment condition "X>5 and XY<3", so it is determined that the IP address 123.123.123.123 is a honeypot IP address.

[0108] For example data 2 "the total number of detections corresponding to 124.124.124.124 is 7, and the number of vulnerabilities is 4", the data does not meet the judgment condition "X>5 and XY<3", so it is determined that the IP address 124.124.124.124 is not a honeypot IP address, but a normal IP address.

[0109] For example data 3 "the total number of detections corresponding to 125.125.125.125 is 5, and the number of vulnerabilities is 5", the data does not meet the judgment condition "X>5 and XY<3", so it is determined that the IP address 125.125.125.125 is not a honeypot IP address but a normal IP address.

[0110] Deployment of a honeypot with a new 1day vulnerability makes it difficult to identify it with existing honeypot identification technology solutions because it does not have the fingerprint features and interaction methods that ordinary honeypots have. In this embodiment, there is no need to detect the fingerprint features and interaction methods of the target IP address. Instead, after the 1day vulnerability is publicly disclosed, a vulnerability detection tool is developed to perform 1day vulnerability detection on the target IP address list, and the vulnerability detection results are stored in the IP vulnerability detection record library; then, the result data of the 1day vulnerability detection on the target IP address list in the target time period in the IP vulnerability detection record library is counted, and multiple detection data within the target time period are combined to perform dynamic judgment to determine which IP addresses are honeypot IP addresses and which IP addresses are normal IP addresses.

[0111] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a honeypot identification device 200 is given below. Optionally, the honeypot identification device 200 can adopt the above Figure 2 The device structure of the electronic device 100 is shown. Fig.16 , Fig.16 This is one of the block diagrams of the honeypot identification device 200 provided in the embodiment of the present application. It should be noted that the basic principle and technical effects of the honeypot identification device 200 provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. In this embodiment, the honeypot identification device 200 may include: a statistical module 220 and an identification module 230.

[0112] The statistical module 220 is used to obtain the total number of detections and the number of vulnerabilities corresponding to each IP address according to the currently saved IP vulnerability detection record library when it is necessary to identify the honeypot. The IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered. The detection record is used to indicate whether there is a corresponding 1-day vulnerability at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times a 1-day vulnerability is detected from the corresponding IP address.

[0113] The identification module 230 is used to determine, for each IP address, whether the IP address is a honeypot IP address according to the total number of detections and the number of vulnerabilities corresponding to the IP address.

[0114] Please refer to Fig.17 , Fig.17 The second block diagram of the honeypot identification device provided in the embodiment of the present application. In this embodiment, the honeypot identification device 200 may further include a vulnerability detection module 210 .

[0115] The vulnerability detection module 210 is used to perform vulnerability detection on the target IP address list based on the vulnerability detection tool corresponding to the new 1-day vulnerability when determining that a new 1-day vulnerability has appeared, and generate corresponding detection records and save them in the currently saved IP vulnerability detection record library.

[0116] Optionally, the above modules can be stored in the form of software or firmware. Figure 2 The memory 110 shown in the figure may be fixed in the operating system (OS) of the electronic device 100 and may be Figure 1 Meanwhile, the data and program codes required for executing the above modules may be stored in the memory 110.

[0117] An embodiment of the present application further provides a readable storage medium having a computer program stored thereon, and the computer program implements the honeypot identification method when executed by a processor.

[0118] In summary, the embodiments of the present application provide a honeypot identification method, device, electronic device and readable storage medium. When it is necessary to identify a honeypot, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library, and then for each IP address, according to the total number of detections and the number of vulnerabilities corresponding to the IP address, it is determined whether the IP address is a honeypot IP address. Among them, the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, and the detection record is used to indicate whether there is a corresponding 1-day vulnerability at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times a 1-day vulnerability is detected from the corresponding IP address. In this way, it is possible to determine whether the IP address is the IP address of the honeypot based on whether there is a 1-day vulnerability at the IP address during each vulnerability detection to complete the honeypot identification.

[0119] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0120] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0121] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0122] The above description is only an optional embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A honeypot identification method, characterized in that: The method comprises: In the case where the honeypot needs to be identified, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library, wherein the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, the detection record is used to indicate whether the corresponding 1-day vulnerability exists at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times the 1-day vulnerability is detected from the corresponding IP address; For each IP address, determine whether the IP address is a honeypot IP address based on the total number of detections and the number of vulnerabilities corresponding to the IP address.

2. The method according to claim 1, characterized in that For each IP address, judging whether the IP address is a honeypot IP address according to the total number of detections and the number of vulnerabilities corresponding to the IP address includes: For each IP address, determine whether the total number of detections of the IP address is greater than a preset number of times, so as to obtain a first determination result; Determine whether the IP address is a honeypot IP address based on the first judgment result and the vulnerability number, wherein when the first judgment result indicates that the total detection number is less than the preset number, the IP address is not a honeypot IP address.

3. The method according to claim 2, characterized in that The determining, according to the first judgment result and the number of vulnerabilities, whether the IP address is a honeypot IP address includes: Calculate the difference between the total number of detections of the IP address and the number of vulnerabilities; Determine whether the difference is less than a preset value to obtain a second determination result; When the first judgment result indicates that the total number of detections is greater than the preset number of times, and the second judgment result indicates that the difference is less than the preset value, determining that the IP address is a honeypot IP address; When the first judgment result indicates that the total number of detections is not greater than the preset number and / or the second judgment result indicates that the difference is not less than the preset value, it is determined that the IP address is not a honeypot IP address.

4. The method according to claim 1, characterized in that: The detection record includes the vulnerability detection time. When the honeypot needs to be identified, the total number of detections and the number of vulnerabilities corresponding to each IP address are statistically obtained according to the currently saved IP vulnerability detection record library, including: Determine a target detection record according to the target time period and the vulnerability detection time in each detection record in the currently saved IP vulnerability detection record library, wherein the vulnerability detection time in the target detection record is within the target time period; For the determined target detection records, the total number of detections and the number of vulnerabilities corresponding to each IP address are obtained by statistics.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When it is determined that a new 1-day vulnerability has appeared, vulnerability detection is performed on the target IP address list based on the vulnerability detection tool corresponding to the new 1-day vulnerability, and corresponding detection records are generated and saved in the currently saved IP vulnerability detection record library.

6. The method according to claim 5, characterized in that The generating of the corresponding detection record and saving it in the currently saved IP vulnerability detection record library includes: For each generated first detection record, determine whether there is a second detection record with the same IP address and vulnerability identifier as that in the first detection record in the currently saved IP vulnerability detection record library; If it exists, deleting the second detection record in the IP vulnerability detection record library, and saving the first detection record in the IP vulnerability detection record library; If it does not exist, the first detection record is directly saved in the IP vulnerability detection record library.

7. The method according to claim 5, characterized in that The vulnerability detection tool corresponding to the new 1-day vulnerability is obtained from a 1-day vulnerability detection tool knowledge base, and the 1-day vulnerability detection tool knowledge base includes vulnerability identifiers, vulnerability detection tools and vulnerability names.

8. A honeypot identification device, characterized in that: The device comprises: A statistics module, for obtaining the total number of detections and the number of vulnerabilities corresponding to each IP address according to the currently saved IP vulnerability detection record library when it is necessary to identify the honeypot, wherein the IP vulnerability detection record library includes a plurality of detection records obtained by performing vulnerability detection on the 1-day vulnerability discovered each time a 1-day vulnerability is discovered, the detection record is used to indicate whether the corresponding 1-day vulnerability exists at the corresponding IP address, and the number of vulnerabilities is used to indicate the number of times the 1-day vulnerability is detected from the corresponding IP address; The identification module is used to determine, for each IP address, whether the IP address is a honeypot IP address according to the total number of detections and the number of vulnerabilities corresponding to the IP address.

9. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the honeypot identification method according to any one of claims 1 to 6.

10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the honeypot identification method according to any one of claims 1 to 6 is implemented.