Method, system, device, equipment and product for scheduling honeypot trapping strategy
By receiving the target description data and detection messages of the decoy node, it automatically associates the ports and target honeypots that the attacker is interested in, solving the problems of diversified attack behaviors and dynamic changes in services, and achieving efficient attack feature capture and honeypot orchestration. Scheduling.
Patent Information
- Application Number
- CN202410851604.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-27
AI Technical Summary
In Internet attack scenarios, the attacker's attack behaviors are diverse and the services of interest change dynamically. It is difficult for existing technologies to automatically adapt, making it difficult to capture effective attack characteristics.
By receiving the target description data reported by the decoy node, the port of interest to the attacker is determined and its corresponding detection message is obtained. Based on this information, the port of interest is associated with the target honeypot to realize automatic orchestration and scheduling of the honeypot.
It realizes automatic adaptation to the dynamic changes of the attacker, improves the ability to capture effective attack characteristics, and improves the efficiency of honeypot orchestration and scheduling.
Smart Images

Figure CN118400202B
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to a method, system, device, equipment and product for scheduling and arranging a honeypot trapping strategy. Background Art
[0002] A honeypot is a bait system that forges services by creating simulated vulnerable services and web services to lure attackers to attack. Once an attack occurs, it captures and analyzes the attack behavior to understand the attacker's attack methods and attack purposes. The port of the trapping node is associated with a corresponding honeypot. When the trapping node is attacked, the attack will be forwarded to the honeypot corresponding to the port through traffic traction.
[0003] In the Internet attack scenario, the attacker's attack behaviors are diverse, and the attacker's interested services with vulnerabilities will change dynamically (that is, the attacker's interested honeypots will change dynamically). Therefore, how to automatically adapt to the dynamic changes of the attacker to provide a basis for capturing effective attack features is an urgent problem to be solved. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, system, device, equipment and product for scheduling and arranging honeypot trapping strategies, so as to automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features. The specific technical solution is as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for scheduling a honeypot trapping strategy, which is applied to a server, and the method includes:
[0006] Receive target description data reported by the trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node determined by the trapping node performing traffic monitoring on all ports;
[0007] Based on the target description data, determining a port of interest to the attacker among all ports;
[0008] Acquire, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest;
[0009] Based on each acquired detection message, determine the target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0010] The decoy node is controlled to associate the port of interest with the target honeypot.
[0011] Optionally, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0012] Before acquiring each detection message of the attacking party for the port of interest when the port of interest in the trapping node is turned on, the method further includes:
[0013] In response to the interested port in the trapping node not being enabled, controlling the interested port in the trapping node to be enabled.
[0014] Optionally, after controlling the trapping node to associate the port of interest with the target honeypot, the method further includes:
[0015] In response to a port other than the port of interest being associated with a honeypot, the port associated with the honeypot is closed.
[0016] Optionally, determining the target honeypot corresponding to the port of interest based on each acquired detection message includes:
[0017] Performing classification processing on each acquired detection message according to the access path to obtain a classification result;
[0018] Based on the classification result, determine the target message to be analyzed; wherein the target message is a message in a type of detection message with the largest number of messages;
[0019] The target message is processed with respect to the service to be accessed to obtain the target honeypot corresponding to the port of interest.
[0020] Optionally, the performing classification processing on each acquired detection message with respect to the access path to obtain a classification result includes:
[0021] Based on the target character string in each acquired detection message, classify each acquired detection message to obtain a classification result;
[0022] The target character string in each detection message is used to represent the access path of the detection message.
[0023] Optionally, the performing guessing processing on the target message for the service to be accessed to obtain a target honeypot corresponding to the port of interest includes:
[0024] Sending the target message to a plurality of preset honeypots;
[0025] A honeypot that performs a service response to the target message is determined, and a target honeypot corresponding to the port of interest is obtained.
[0026] Optionally, the determining, based on the target description data, a port of interest to the attacker among all ports includes:
[0027] Performing analysis and processing on the target description data in a specified dimension to obtain analysis results;
[0028] Based on the analysis result, selecting ports in the trapping node that meet a predetermined interest condition, and obtaining ports of interest to the attacker from among all ports;
[0029] The analysis and processing of the specified dimension includes: analyzing the change in the frequency of connection of each port at each time point in the same cycle;
[0030] The predetermined conditions of interest include: the frequency of connection changes in a predetermined upward trend, and the frequency of connection reaches a predetermined threshold at a moment in the analyzed period.
[0031] In a second aspect, an embodiment of the present application provides a method for scheduling a honeypot trapping strategy, which is applied to a trapping node, and the method includes:
[0032] Monitor traffic flow on all ports;
[0033] Determine target description data; wherein the target description data is used to characterize: the traffic generated by the attacker attempting to connect to the port in the trapping node;
[0034] Report the target description data to the server, so that the server determines the ports of interest to the attacker in the full ports based on the target description data, and obtains each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; based on each of the detection messages obtained, determine the target honeypot corresponding to the ports of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0035] In response to receiving a first control instruction from the server, the port of interest is associated with the target honeypot.
[0036] Optionally, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0037] The method further comprises:
[0038] In response to receiving a second control instruction from the server, opening the port of interest;
[0039] The second control instruction is an instruction sent by the server to the trapping node in response to the interested port in the trapping node not being opened, and is used to control the opening of the interested port in the trapping node.
[0040] Optionally, the method further comprises:
[0041] In response to receiving a third control instruction from the server, closing ports associated with the honeypot except the port of interest;
[0042] The third control instruction is an instruction sent by the server to the trapping node in response to a port other than the port of interest being associated with a honeypot, and is used to control the port to be closed.
[0043] In a third aspect, an embodiment of the present application provides a system for scheduling and arranging a honeypot trapping strategy, the system comprising: a server and a trapping node;
[0044] The trapping node is used to monitor the traffic of all ports; determine target description data; and report the target description data to the server; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node;
[0045] The server is used to receive target description data reported by the trapping node; based on the target description data, determine the port of interest to the attacker in the full port; obtain each detection message of the attacker for the port of interest when the port of interest in the trapping node is turned on; based on each obtained detection message, determine the target honeypot corresponding to the port of interest, and send a first control instruction to the trapping node; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0046] The trapping node is used to associate the port of interest with the target honeypot in response to receiving the first control instruction from the server.
[0047] In a fourth aspect, an embodiment of the present application provides a device for scheduling a honeypot trapping strategy, which is applied to a server, and the device includes:
[0048] A receiving module, configured to receive target description data reported by a trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node, as determined by the trapping node performing traffic monitoring on all ports;
[0049] A first determination module, configured to determine, based on the target description data, an interesting port for the attacker among all the ports;
[0050] An acquisition module, used for acquiring, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest;
[0051] A second determination module is used to determine the target honeypot corresponding to the port of interest based on the acquired detection messages; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0052] The first control module is used to control the decoy node to associate the port of interest with the target honeypot.
[0053] In a fifth aspect, an embodiment of the present application provides a device for scheduling a honeypot trapping strategy, which is applied to a trapping node, and the device includes:
[0054] Monitoring module, used to monitor the traffic of all ports;
[0055] A third determination module is used to determine target description data; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node;
[0056] A reporting module, used to report the target description data to a server, so that the server determines the ports of interest to the attacker in the full ports based on the target description data, and obtains each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; based on each of the obtained detection messages, determines the target honeypot corresponding to the ports of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0057] The association module is configured to associate the port of interest with the target honeypot in response to receiving a first control instruction from the server.
[0058] In a sixth aspect, an embodiment of the present application provides an electronic device, including:
[0059] Memory, used to store computer programs;
[0060] The processor is used to implement any of the honeypot trapping strategy scheduling methods when executing the program stored in the memory.
[0061] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for orchestrating and scheduling any of the honeypot trapping strategies described above is implemented.
[0062] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-mentioned methods for arranging and scheduling honeypot trapping strategies.
[0063] Beneficial effects of the embodiments of the present application:
[0064] In the method for scheduling and arranging the honeypot trapping strategy provided by the embodiment of the present application, the server can receive the target description data reported by the trapping node, and the target description data is the traffic situation generated by the attacker trying to connect to the port in the trapping node determined by the trapping node for traffic monitoring of all ports; based on the target description data, the ports of interest to the attacker in the full port are determined; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; then, based on each detection message, the target honeypot corresponding to the port of interest is determined, and the trapping node is controlled to associate the port of interest with the target honeypot. The present application can automatically determine the ports of interest to the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot, so as to automatically schedule the honeypot to adapt the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0065] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0067] Figure 1 A flowchart of a method for scheduling a honeypot trapping strategy provided in an embodiment of the present application;
[0068] Figure 2 A curve diagram showing the frequency of connection of each port at each time point in the same cycle provided by an embodiment of the present application;
[0069] Figure 3 Another flowchart of a method for scheduling a honeypot trapping strategy provided by an embodiment of the present application;
[0070] Figure 4 A schematic diagram of the structure of a system for arranging and scheduling a honeypot trapping strategy provided in an embodiment of the present application;
[0071] Figure 5 A schematic diagram of the process of a system for arranging and scheduling a honeypot trapping strategy provided in an embodiment of the present application;
[0072] Figure 6 A schematic diagram of the structure of a device for arranging and scheduling a honeypot trapping strategy provided in an embodiment of the present application;
[0073] Figure 7 Another structural schematic diagram of a device for scheduling and arranging a honeypot trapping strategy provided in an embodiment of the present application;
[0074] Figure 8 A block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0076] When new security vulnerabilities emerge and it is necessary to collect attack behaviors in a targeted manner, it is often necessary to deploy a large number of specific honeypots to maximize the capture effect. However, due to the limitation of trapping resources, it is not possible to deploy a full number of trapping nodes indefinitely. By scheduling the honeypots, the existing honeypots can be switched to honeypots of interest to the attacker to adapt to the attacker's dynamically changing attack behaviors. The so-called scheduling of honeypots is to switch the honeypot associated with the port of the trapping node to a new honeypot of interest, or to switch the port of the trapping node to a new port of interest and associate a new honeypot of interest with the new port of interest.
[0077] In the related art, new ports of interest in the trapping node are usually determined manually, and the honeypots corresponding to the new services of interest, i.e., new honeypots of interest, are analyzed, and the new honeypots of interest are associated with the new ports of interest; however, the manual scheduling of honeypots is time-consuming, labor-intensive and inefficient.
[0078] The automatic scheduling technology for honeypots can undoubtedly achieve the purpose of improving the efficiency of honeypot scheduling through full automatic scheduling. Therefore, an automatic scheduling technology for honeypots is needed to realize real-time perception and analysis and prediction of attack trends and attack heat, and to realize dynamic scheduling adjustment of honeypots to automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0079] Based on this, the embodiments of the present application provide a method, system, device, equipment and product for scheduling and arranging a honeypot trapping strategy to automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0080] The following first introduces a method for scheduling a honeypot trapping strategy provided by an embodiment of the present application.
[0081] A method for scheduling and arranging a honeypot trapping strategy provided in an embodiment of the present application is applied to a server. The specific device form of the server is not specifically limited in the present application. Moreover, the method for scheduling and arranging a honeypot trapping strategy can be applied to any scenario with a honeypot scheduling requirement. The server can be understood as a server for managing a trapping node. The server can schedule and arrange the ports in the trapping node and the honeypots corresponding to the ports to adapt to the dynamic changes of the attacker. In addition, the scheduling and arrangement of the honeypot trapping strategy can be understood as adjusting the honeypot to a honeypot of interest to the attacker.
[0082] A method for scheduling and arranging a honeypot trapping strategy provided in an embodiment of the present application is applied to a server, and the method includes:
[0083] Receive target description data reported by the trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node determined by the trapping node performing traffic monitoring on all ports;
[0084] Based on the target description data, determining a port of interest to the attacker among all ports;
[0085] Acquire, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest;
[0086] Based on each acquired detection message, determine the target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0087] The decoy node is controlled to associate the port of interest with the target honeypot.
[0088] In the method for scheduling and arranging the honeypot trapping strategy provided by the embodiment of the present application, the server can receive the target description data reported by the trapping node, and the target description data is the traffic situation generated by the attacker trying to connect to the port in the trapping node determined by the trapping node for traffic monitoring of all ports; based on the target description data, the ports of interest to the attacker in the full port are determined; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; then, based on each detection message, the target honeypot corresponding to the port of interest is determined, and the trapping node is controlled to associate the port of interest with the target honeypot. The present application can automatically determine the ports of interest to the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot, so as to automatically schedule the honeypot to adapt the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0089] A method for scheduling a honeypot trapping strategy provided in an embodiment of the present application is introduced below in conjunction with the accompanying drawings.
[0090] like Figure 1 As shown, the method for scheduling the honeypot trapping strategy provided in the embodiment of the present application is applied to the server and may include the following steps:
[0091] S101: receiving target description data reported by a trapping node;
[0092] The target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node, as determined by the trapping node performing traffic monitoring on all ports;
[0093] In an embodiment of the present application, the trapping node can monitor the traffic of all its ports and determine the traffic generated by the attacker's attempt to connect to the port in the trapping node, that is, the trapping node can monitor the traffic of all its ports, obtain target description data and report it to the server; correspondingly, the server can receive the target description data reported by the trapping node for subsequent analysis.
[0094] It should be noted that, due to the diversification of the attacker's attack behavior and the dynamic changes of the attacker's interested and vulnerable services, the attacker's interested ports may also change in real time. Therefore, in order to better adapt to the dynamic changes of the attack behavior, the trapping node can monitor all ports, that is, all ports. In addition, the number of trapping nodes can be one or more, and each trapping node can monitor the traffic of all ports in the trapping node to determine the traffic generated by the attacker's attempt to connect to each port in the trapping node; in this way, each trapping node can determine the target description data of the trapping node and report it to the server, and through subsequent steps, the honeypot of the trapping node is scheduled.
[0095] Exemplarily, the target description data may include: the port number and time information of each port in the trapping node that the attacker attempts to connect to; of course, the target description may also include: the frequency of the attacker attempting to connect to each port in the trapping node in each predetermined time period, etc. The specific expression form of the traffic situation generated by the attacker attempting to connect to the port in the trapping node is not limited in the embodiments of the present application.
[0096] S102: Determine, based on the target description data, a port of interest to the attacker among all the ports;
[0097] Since the target description data of the trapping node represents the traffic generated by the attacker trying to connect to the port in the trapping node, and the traffic situation can reflect the degree of interest, the target description data can be analyzed to determine the ports of interest to the attacker among all ports.
[0098] It should be noted that any implementation method that can determine the ports of interest to the attacker in the full port based on the target description data can be applied to the present application. Exemplarily, in one implementation method, for each port in the trapping node, the access frequency of the port in a predetermined statistical period can be analyzed based on the target description data. If the access frequency is higher than the predetermined frequency threshold, the port can be determined as a port of interest (equivalent to a specific analysis of the frequency change of a specific port in a predetermined period), wherein the predetermined statistical period can be a period with the current time as the end time and a predetermined duration, and of course, it can also be any other period that needs to be paid attention to or analyzed. Exemplarily, in one implementation method, for each port in the trapping node, the access frequency of the port in the first statistical period and the access frequency of the second statistical period can be analyzed based on the target description data, and the first statistical period is the previous statistical period of the second statistical period; then, the growth ratio of the access frequency in the second period relative to the access frequency in the first statistical period is identified, and if the growth ratio is higher than the predetermined ratio threshold, the port can be determined as a port of interest.
[0099] Exemplarily, in another implementation, in order to have higher accuracy, determining the ports of interest to the attacker in the full ports based on the target description data includes:
[0100] Performing analysis and processing on the target description data in a specified dimension to obtain analysis results;
[0101] Based on the analysis result, selecting ports in the trapping node that meet a predetermined interest condition, and obtaining ports of interest to the attacker from among all ports;
[0102] The analysis and processing of the specified dimension includes: analyzing the change in the frequency of connection of each port at each time point in the same cycle;
[0103] The predetermined conditions of interest include: the frequency of connection changes in a predetermined upward trend, and the frequency of connection reaches a predetermined threshold at a moment in the analyzed period, wherein the predetermined upward trend is an upward trend whose degree of change is higher than a predetermined degree of change when rising.
[0104] When determining the ports of interest to the attacker, the target description data can be analyzed and processed in a specified dimension, and based on the analysis results, the ports in the trapping node that meet the predetermined conditions of interest are selected to obtain the ports of interest to the attacker in all ports. The analysis and processing of the specified dimension may include: analyzing the changes in the frequency of the ports being connected at each time point in the same cycle (i.e., performing an overall analysis of the frequency changes of all ports); the predetermined conditions of interest can be understood as satisfying the first condition and the second condition at the same time, the first condition being: the frequency change of the connection shows a predetermined upward trend, and the degree of change when rising is higher than the predetermined degree of change, and the second condition being that the frequency of the connection reaches a predetermined threshold at a moment in the analyzed cycle.
[0105] For example, the frequency change curve of each port being connected at each time point in the same cycle is as follows: Figure 2 As shown, the horizontal axis is the t axis, which represents the change in time, and the vertical axis is the c axis, which represents the change in the number of times (frequency) the port is connected; the present application observes the change curve of the frequency of connection of different ports in the same time interval. For the curve of each port, the slope of the curve of the port in the same time interval can be used to analyze the severity of the change in the heat of the port. The larger the slope, the greater the increase or decay of the heat of the port. Exemplarily, in the same time interval, the slope of the curve of each port is calculated as follows: for each port, the slope m=Δc / Δt in the time interval from t1 to t2 is calculated through the coordinates of the port at times t1 and t2: (t1, c1), (t2, c2); wherein Δc is the change in the number of times the port is connected in the time interval from t1 to t2, Δt is the time difference between the time intervals from t1 to t2, Δc = c2 - c1, Δt = t2 - t1.
[0106] Afterwards, the ports that meet the predetermined conditions of interest, i.e., the ports of interest, can be selected from the ports according to the slope m of each port in the time interval from t1 to t2; specifically, for port 80, port 81, and port 82, the slopes obtained in the time interval from t1 to t2 are m and 80 、m 81 、m 82 , and the corresponding number of connections at time t2 is c2 80 、c2 81 、c2 82 , the preset frequency threshold is c0 (i.e., the predetermined threshold), and the preset slope threshold is m0 (i.e., the predetermined degree of change), where m 80 >m0>m 81 >m 82 , c2 81 >c2 80 >c0>c2 82, if a port satisfies c2>c0&&m>m0, that is, the port satisfies the first and second conditions, the port can be an interesting port; it can be seen that port 80 satisfies m 80 >m0, and c2 80 >c0, then among all ports, port 80 is the port of interest.
[0107] It can be seen that in the embodiment of the present application, the frequency threshold c0 and the slope threshold m0 are set, and the dual thresholds are used to determine whether a port is an interesting port, so that the interesting ports that meet the predetermined interesting conditions can be accurately screened out. In addition, the description of the above-mentioned method for determining the interesting port is only used as an example and should not constitute a limitation on the present application.
[0108] It should be noted that the ports of interest determined by different trapping nodes may be different, and the number of ports of interest in different trapping nodes may be different. This application does not limit this. Each port of interest in each trapping node can be scheduled for honeypot scheduling through subsequent steps.
[0109] S103: acquiring, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest;
[0110] After determining the ports of interest to the attacker, in order to determine the honeypot that needs to be associated with the ports of interest, the attacker can obtain each detection message for the ports of interest when the ports of interest in the trapping node are turned on. The detection messages for the ports of interest can represent the services of interest to the attacker.
[0111] Among them, when the port of interest in the trapping node is turned on, the trapping node can continue to monitor the traffic of the port of interest, determine the various detection messages of the attacker for the port of interest, and upload the various detection messages of the attacker for the port of interest to the server. The server can obtain the various detection messages of the attacker for the port of interest from the trapping node.
[0112] In one implementation, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0113] Before acquiring each detection message of the attacking party for the port of interest when the port of interest in the trapping node is turned on, the method further includes:
[0114] In response to the interested port in the trapping node not being enabled, controlling the interested port in the trapping node to be enabled.
[0115] In some cases, there are various target ports in the trapping node that are in an open state, and each target port includes a port that is associated with a honeypot, or a port that is not associated with a honeypot but is opened by default, etc. Ports other than the target ports are in a closed state. If the determined port of interest is not opened, the server also needs to control the port of interest in the trapping node to open. For example, the server can send a second control instruction to the trapping node to enable the trapping node to open the port of interest.
[0116] In another implementation, all ports in the full port are in a closed state; and when the interested port in the trapping node is opened, before the attacker sends each detection message for the interested port, the method further includes:
[0117] In response to the interested port in the trapping node not being enabled, controlling the interested port in the trapping node to be enabled.
[0118] In other cases, all ports in the trapping node are in a closed state. In this case, if the determined interesting port is not opened, the interesting port in the trapping node also needs to be controlled to be opened.
[0119] It should be emphasized that no matter whether the ports in the trapping node are open or not, the trapping node can monitor the traffic of all ports and determine the traffic generated by the attacker's attempt to connect to the ports in the trapping node, that is, no matter whether the ports in the trapping node are open or not, the trapping node can report the target description data to the server. The target description data at this time represents the frequency change of the attacker's attempt to connect to the ports in the trapping node. When the port is open, the trapping node can continue to monitor the port and determine the attacker's various probe messages to the port. Each probe message represents the service that the attacker who sent the probe message is interested in. Therefore, if the port of interest is not open, the trapping node can be controlled to open the port of interest first, and the attacker's various probe messages for the port of interest can be obtained when the port of interest in the trapping node is open, so as to subsequently determine the honeypot corresponding to the service of interest to the attacker.
[0120] S104: Determine the target honeypot corresponding to the port of interest based on the acquired detection messages;
[0121] Wherein, the target honeypot is the honeypot corresponding to the service that the attacker is interested in;
[0122] Due to the diversification of the attacker's attack behaviors and the dynamic changes in the attacker's interested and vulnerable services, that is, the attacker's interested honeypots may also change in real time. The real-time acquisition of each probe message from the attacker for the port of interest can characterize the service of interest to the attacker, and the target honeypot corresponding to the port of interest can be determined based on the acquired probe messages.
[0123] It should be noted that there may be multiple ways to determine the target honeypot corresponding to the port of interest, and the specific implementation methods will be described in detail in the subsequent embodiments and will not be described in detail here.
[0124] S105: Control the trapping node to associate the port of interest with the target honeypot;
[0125] After determining the port of interest and the target honeypot corresponding to the port of interest, the trapping node can be controlled to associate the port of interest with the target honeypot, so that the messages received through the port of interest can be diverted to the target honeypot. At this time, the latest and most interesting attack behaviors of the attacker can be captured in real time through the target honeypot, and the dynamic changes of the attacker can be automatically adapted, thereby providing a basis for capturing effective attack features.
[0126] It should be noted that the honeypot can be understood as a honeypot trapping strategy for the attack behavior of the attacker, so as to capture the attack behavior through the honeypot trapping strategy and analyze the attack behavior; the present application associates the port of interest with the target honeypot, which is equivalent to scheduling the honeypot trapping strategy associated with the port of interest, so that the honeypot trapping strategy of the target honeypot associated with the port of interest can automatically adapt to the dynamic changes of the attacker and capture the latest and effective attack behavior of the attacker.
[0127] Exemplarily, the server may send a first control instruction to the trapping node, so that the trapping node associates the port of interest with the corresponding target honeypot. If the port of interest is currently associated with a honeypot, the honeypot associated with the port of interest may be switched to the target honeypot, the honeypot currently associated with the port of interest may be uninstalled, and then the port of interest is associated with the target honeypot; if the port of interest is not currently associated with a honeypot, the target honeypot is directly associated with the port of interest.
[0128] Optionally, after controlling the trapping node to associate the port of interest with the target honeypot, the method further includes:
[0129] In response to a port other than the port of interest being associated with a honeypot, the port associated with the honeypot is closed.
[0130] After associating the port of interest with the target honeypot, in order to capture the attacker's latest attack behavior through the port of interest and the associated target honeypot, if a port other than the port of interest is associated with a honeypot, the port associated with the honeypot can also be closed to prevent the attacker's latest attack behavior from not being captured by the port of interest and the target honeypot.
[0131] In the technical solution of the present application, the operations of acquiring, storing, using, processing, transmitting, providing and disclosing target description data and detection messages are all performed with the authorization of the user.
[0132] In the method for scheduling and arranging the honeypot trapping strategy provided by the embodiment of the present application, the server can receive the target description data reported by the trapping node, and the target description data is the traffic situation generated by the attacker trying to connect to the port in the trapping node determined by the trapping node for traffic monitoring of all ports; based on the target description data, the ports of interest to the attacker in the full port are determined; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; then, based on each detection message, the target honeypot corresponding to the port of interest is determined, and the trapping node is controlled to associate the port of interest with the target honeypot. The present application can automatically determine the ports of interest to the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot, so as to automatically schedule the honeypot to adapt the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0133] Optionally, in another embodiment of the present application, determining the target honeypot corresponding to the port of interest based on each acquired detection message includes:
[0134] Performing classification processing on each acquired detection message according to the access path to obtain a classification result;
[0135] Based on the classification result, determine the target message to be analyzed; wherein the target message is a message in a type of detection message with the largest number of messages;
[0136] The target message is processed with respect to the service to be accessed to obtain the target honeypot corresponding to the port of interest.
[0137] The services that the attacker is interested in and that are represented by the probe messages of the same port of interest may be different (the same attacker may have different services of interest, or different attackers may have different services of interest, etc.). When determining the target honeypot corresponding to the port of interest, the access path can represent the service that the attacker is interested in. The acquired probe messages can be classified according to the access path. The classification results can include multiple types of probe messages, each type of probe message represents a service that the attacker is interested in. The messages in the type of probe message with the largest number of messages can be selected from the classification results, that is, the target message to be analyzed. The target message can represent the probe message with the highest popularity among the probe messages, that is, the representative probe message. The target honeypot corresponding to the port of interest can be obtained by performing conjecture processing on the service to be accessed.
[0138] It should be noted that the so-called guess processing is to guess the service that the target message wants to access.
[0139] Exemplarily, in one implementation, the classifying process for each acquired detection message according to the access path to obtain the classification result includes:
[0140] Based on the target character string in each acquired detection message, classify each acquired detection message to obtain a classification result;
[0141] The target character string in each detection message is used to represent the access path of the detection message.
[0142] The target character string in each detection message may represent the access path of the detection message. Based on the target character string of each detection message, each detection message may be classified to obtain a classification result.
[0143] Among them, the target string in each detection message can be understood as the key string of the detection message. For example, the target string in the detection message can be: URL (Uniform Resource Locator) field, IP (Internet Protocol) address, etc., which is not limited in this application.
[0144] Optionally, the performing guessing processing on the target message for the service to be accessed to obtain a target honeypot corresponding to the port of interest includes:
[0145] Sending the target message to a plurality of preset honeypots;
[0146] A honeypot that performs a service response to the target message is determined, and a target honeypot corresponding to the port of interest is obtained.
[0147] In the present application, multiple honeypots are preset for various services. Each honeypot is used to simulate a service with a vulnerability, a web service, or the like. The target message can be sent to the preset multiple honeypots, and the honeypot that provides a service response to the target message is determined as the honeypot that the target message wants to access, that is, the target honeypot corresponding to the port of interest.
[0148] The present application provides a method for scheduling and arranging a honeypot trapping strategy. It can classify and process each probe message through the access path, and determine the target message to be analyzed based on the classification result. The target message is the probe message with the highest heat of the attacker. By guessing the target message for the service to be accessed, the target honeypot corresponding to the port of interest can be obtained. The honeypot that can respond to the target message is the honeypot corresponding to the service that the attacker is interested in. It can be seen that the present application can classify each probe message, determine the target message with the highest heat of the attacker, and by guessing the target message for the service to be accessed, the target honeypot corresponding to the service that the attacker is interested in can be accurately determined.
[0149] The embodiment of the present application also provides a method for scheduling a honeypot trapping strategy, which is applied to a trapping node. The trapping node can be understood as a host device corresponding to a server, such as Figure 3 As shown, the method comprises the following steps:
[0150] S301: Monitor the traffic flow of all ports;
[0151] Any trapping node in the present application can be set at a corresponding geographical location to capture effective attack features of attackers in each geographical location through each trapping node; each trapping node can perform traffic monitoring on all ports in the trapping node, at which time there may be a port in the trapping node that is in an open state, and the port is associated with a honeypot.
[0152] Exemplarily, the monitoring module in the trapping node can perform traffic monitoring on all ports in the trapping node. The so-called all ports refer to each port in the trapping node. By monitoring the traffic of all ports (regardless of whether the port is open or closed), the subsequent server can determine the port of interest to the attacker.
[0153] S302: Determine target description data;
[0154] The target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node;
[0155] When the trapping node monitors the traffic of all ports, the traffic generated by the attacker's attempt to connect to each port in the trapping node can be recorded, that is, the target description data can be determined. Exemplarily, the target description data can characterize the frequency, port number, and time information of the attacker's attempt to connect to each port in the trapping node, etc., and this application does not limit this.
[0156] S303: reporting the target description data to the server, so that the server determines the ports of interest to the attacker in the full ports based on the target description data, and obtains each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; and determines the target honeypot corresponding to the ports of interest based on the obtained detection messages;
[0157] S304: In response to receiving the first control instruction of the server, associating the port of interest with the target honeypot;
[0158] The target honeypot is the honeypot corresponding to the service that the attacker is interested in.
[0159] After determining the target description data, the target description data can be reported to the server. The server determines the interested port of the attacker in all ports of the trapping node through the target description data. When the interested port in the trapping node is turned on, the monitoring module in the trapping node can continue to monitor the traffic of the interested port, and record each detection message of the attacker for the interested port, and report it to the server. After the server obtains each detection message, it can determine the target honeypot corresponding to the interested port and issue a first control instruction. After receiving the first control instruction, the trapping node associates the interested port with the target honeypot.
[0160] Optionally, in one implementation, all ports except each target port in the full port are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0161] The method further comprises:
[0162] In response to receiving a second control instruction from the server, opening the port of interest;
[0163] The second control instruction is an instruction sent by the server to the trapping node in response to the interested port in the trapping node not being opened, and is used to control the opening of the interested port in the trapping node.
[0164] All ports except the target ports can be in a closed state. If the port of interest is not open, the port of interest needs to be opened first to obtain the detection messages of the attacker. The server can control the trapping node to open the port of interest by sending a second control instruction to the trapping node; specifically, when the server identifies that the port of interest in the trapping node is not open, the server can send the second control instruction to the trapping node, and the trapping node can open the port of interest after receiving the second control instruction.
[0165] Of course, all ports in the full port can be in a closed state, or all ports can be in an open state, or some ports can be in an open state, etc. If the port of interest is not open, the server can send a second control instruction to the trapping node. After receiving the second control instruction, the trapping node opens the port of interest. Other ports except the port of interest can be in an open state or a closed state, etc. This application does not limit this.
[0166] Optionally, there may be a default open port in the trapping node, and the port is associated with a honeypot to capture the attack characteristics of the attacker. In this case, in order to enable the port of interest and the associated honeypot to capture the latest attack characteristics of the attacker, the method further includes:
[0167] In response to receiving a third control instruction from the server, closing ports associated with the honeypot except the port of interest;
[0168] The third control instruction is an instruction sent by the server to the trapping node in response to a port other than the port of interest being associated with a honeypot, and is used to control the port to be closed.
[0169] The server can control the trapping node to close the ports associated with the honeypot except the port of interest by issuing the third control instruction, so as to prevent the latest attack behavior of the attacker from not being captured by the port of interest and the target honeypot.
[0170] It should be noted that the above-mentioned first control instruction, second control instruction, and third control instruction are only used to distinguish different control instructions issued by the server. The first control instruction is used to control the trapping node to associate the port of interest with the target honeypot, the second control instruction is used to control the trapping node to open the port of interest, and the third control instruction is used to control the trapping node to close the ports associated with the honeypot except the port of interest. This application does not limit this.
[0171] In the method for scheduling and arranging the honeypot trapping strategy provided in the embodiment of the present application, the trapping node can monitor the traffic of all ports, determine the traffic generated by the attacker's attempt to connect to the port in the trapping node, that is, determine the target description data, and report the target description data to the server. The server can receive the target description data reported by the trapping node, and determine the ports of interest to the attacker in all ports based on the target description data; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; further, based on each detection message, determine the target honeypot corresponding to the port of interest, and send a first control instruction to the trapping node. After receiving the first control instruction, the trapping node associates the port of interest with the target honeypot. The present application can automatically determine the ports of interest of the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot through the interaction between the server and the trapping node, so as to automatically schedule the honeypot to adapt to the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0172] Based on the above method embodiment, the present application also provides a system for scheduling honeypot trapping strategies, such as Figure 4 As shown, the system includes: a server 410 and a trapping node 420;
[0173] The trapping node 420 is used to monitor the traffic of all ports; determine target description data; and report the target description data to the server 410; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node;
[0174] The server 410 is used to receive target description data reported by the trapping node 420; based on the target description data, determine the port of interest to the attacker in the full port; obtain each detection message of the attacker for the port of interest when the port of interest in the trapping node 420 is turned on; based on each detection message obtained, determine the target honeypot corresponding to the port of interest, and send a first control instruction to the trapping node 420; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0175] The trapping node 420 is configured to associate the port of interest with the target honeypot in response to receiving the first control instruction from the server 410 .
[0176] In the honeypot trapping strategy scheduling system provided by the embodiment of the present application, the trapping node can monitor the traffic of all ports, determine the traffic generated by the attacker trying to connect to the port in the trapping node, that is, determine the target description data, and report the target description data to the server. The server can receive the target description data reported by the trapping node, and determine the ports of interest to the attacker in all ports based on the target description data; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; further, based on each detection message, determine the target honeypot corresponding to the port of interest, and send a first control instruction to the trapping node. After receiving the first control instruction, the trapping node associates the port of interest with the target honeypot. The present application can automatically determine the ports of interest of the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot through the interaction between the server and the trapping node, so as to automatically schedule the honeypot to adapt to the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0177] Optionally, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0178] The server is further configured to send a second control instruction to the trap node; wherein the second control instruction is an instruction sent by the server to the trap node in response to the interested port in the trap node not being opened, and is used to control the interested port in the trap node to be opened;
[0179] The trapping node is further configured to open the port of interest in response to receiving a second control instruction from the server.
[0180] Optionally, the server is further used to send a third control instruction to the trapping node; wherein the third control instruction is an instruction sent by the server to the trapping node in response to the existence of a port other than the port of interest being associated with a honeypot, and is used to control the port to be closed;
[0181] The trapping node is further configured to, in response to receiving a third control instruction from the server, close ports associated with the honeypot except the port of interest.
[0182] In conjunction with another embodiment, a system for scheduling and orchestrating a honeypot trapping strategy provided by the present application is introduced below.
[0183] This application mainly solves the problem in Internet attack scenarios. Due to the diversity of attack behaviors, the attack targets have strong randomness and sudden events. The model based on pre-made honeypot orchestration has great entrapment limitations. As time goes by, attackers are often not interested in pre-arranged honeypot services, or the heat of attacks on old honeypot services gradually decreases, resulting in the inability to capture the latest attack intentions and payloads (that is, unable to adapt to the dynamic changes of the attacker and unable to capture effective attack features). Therefore, this application mainly evaluates the best honeypot delivery strategy based on comprehensive calculations of full-flow monitoring perception, attack heat, frequency, time distribution, geographical distribution and other factors in Internet scenarios, and automatically modifies the honeypot node traffic traction path in real time (that is, automatically switches the honeypot associated with the port) to guide attackers to further deepen the attack and obtain the best attack features. Figure 5 As shown, the process of the system for scheduling the honeypot trapping strategy in this application may include the following steps:
[0184] S501: The trapping node executes the scheduling strategy;
[0185] The monitoring module is deployed in the trapping nodes H1…Hn. The monitoring module pulls and forwards the traffic to the backend honeypot based on the scheduling strategy (the default scheduling strategy or the scheduling strategy issued by the server) to execute the honeypot trapping strategy. That is, the monitoring module in each trapping node Hn can also pull the attack traffic to the honeypot corresponding to the port (the honeypot corresponding to the default port, or the target honeypot corresponding to the port of interest in the last scheduling strategy) based on the scheduling strategy.
[0186] S502: The trapping node performs full-port traffic monitoring;
[0187] The monitoring module in the trapping node monitors the network traffic of all ports on the trapping node, and records and analyzes the traffic conditions such as the frequency and trend of the attacker's attempts to connect to each port captured in the network traffic in each time slice, that is, the above-mentioned target description data, and reports the target description data to the server.
[0188] S503: The server analyzes the frequency changes of each port of the trapping node;
[0189] The server receives the traffic conditions such as the frequency and trend of each port reported by each trapping node Hn, and analyzes the geographical location of the reported trapping node Hn, the change in the access frequency of different ports within a specific period (i.e., the change in the frequency of each port being connected at each time point in the same period), and the change in the access frequency of a specific port within a specific period (i.e., the change in the frequency of the same port being connected at each time point in a predetermined period). During the analysis, a frequency change curve of each port can be generated.
[0190] S504: The server identifies whether the frequency change exceeds a threshold;
[0191] After analyzing each port in the trapping node, the server can identify whether the frequency change of the port exceeds the set policy change threshold X (i.e., c0 mentioned above) based on the frequency change curve of each port. If the identification result is yes, execute step S505; if the identification result is no, return to step S502.
[0192] S505: Determine and enable the port of interest, and continue monitoring the port of interest;
[0193] After the server recognizes that the frequency change of the port exceeds the threshold, it can continue to determine the ports of interest to the attacker. Specifically, if the frequency change of a port exceeds the threshold and the frequency change is still in an overall upward trend (the above trend reaches the predetermined change degree m0), then the port is a high-interest port P for the attacker, which can also be called a high-heat port. After determining the port of interest P, the trapping node can be controlled to open the port of interest P, and the monitoring module in the trapping node continues to monitor the port of interest P to obtain each detection message R of the attacker for the port of interest.
[0194] S506: The server analyzes each detection message of the port of interest to the attacker and guesses the corresponding honeypot of interest;
[0195] The server can obtain the attacking party's probe messages R1...Rn for the port of interest P, classify the probe messages according to the access path of each probe message, and sort them according to the number of probe messages in each category, and select the probe message Rm with the highest sorting. For example, select the message Rm from the category of probe messages with the largest number of messages. For the probe message Rm, the server guesses the target service / device for the probe message (that is, the above-mentioned guess processing), and obtains the interested honeypot Hm corresponding to the probe message Rm (that is, the above-mentioned target honeypot).
[0196] S507: The server automatically generates a scheduling strategy and sends it to the trapping node;
[0197] The policy scheduling module in the server can automatically generate a scheduling policy and send it to the trapping node. The trapping node associates the interested port P with the interested honeypot Hm according to the received scheduling policy and closes the original trapping port. When the interested port is attacked, the traffic is pulled to the trapping node and the attack is forwarded to the honeypot Hm to capture the latest attack characteristics of the attacker.
[0198] Among them, the geographical location of each trapping node can be used for analysis and processing. For example, if the frequency of trapping nodes in a geographical location changes greatly, it means that the trapping nodes in the geographical location have been attacked multiple times in a short period of time. At this time, the security protection capability of the trapping nodes in the geographical location can be enhanced, or more ports of interest can be opened for the trapping nodes in the geographical location (the policy change threshold X at this time can be lowered, etc., to determine more ports of interest) and associated with the corresponding honeypots of interest to capture a large number of the latest and effective attack features. In addition, the geographical locations of different trapping nodes can be the same. At this time, if there is only one trapping node in the geographical location to analyze the scheduling strategy, so as to capture the latest and effective attack features through the trapping node, and other trapping nodes do not capture the attack features, the server can also analyze the scheduling strategy obtained by the trapping node and send it to other trapping nodes in the same geographical area at the same time, so as to capture the latest and effective attack features through other trapping nodes.
[0199] The trapping nodes and servers continuously repeat the above process, and automatically orchestrate the traffic traction strategy for all ports of each trapping node in real time. That is, the honeypots are automatically and real-timely scheduled according to the dynamic changes of the attacker, laying the foundation for capturing effective attack features.
[0200] This application mainly solves the problem that in Internet attack scenarios, due to the diversity of attack behaviors, the attack targets have strong periodic fluctuations, and the attack behaviors show certain dynamic fluctuations as new vulnerabilities emerge. Conventional preset honeypots cannot respond to new attack behavior characteristics in a timely manner and cannot accurately capture new vulnerability exploitation characteristics. This application dynamically adjusts the honeypot network construction by automatically predicting the heat, trend, and spatiotemporal distribution of network attacks, maximizes the response to new attack characteristics, and realizes the effective capture of attack characteristics.
[0201] Based on the above method embodiment, the present application also provides a device for scheduling a honeypot trapping strategy, which is applied to a server, such as Figure 6 As shown, the device comprises:
[0202] The receiving module 610 is used to receive target description data reported by the trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party trying to connect to the port in the trapping node determined by the trapping node performing traffic monitoring on all ports;
[0203] A first determination module 620, configured to determine, based on the target description data, an interesting port for the attacker among all the ports;
[0204] An acquisition module 630 is used to acquire, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest;
[0205] A second determination module 640 is used to determine a target honeypot corresponding to the port of interest based on each acquired detection message; wherein the target honeypot is a honeypot corresponding to the service of interest to the attacker;
[0206] The first control module 650 is used to control the decoy node to associate the port of interest with the target honeypot.
[0207] In the device for scheduling and arranging the honeypot trapping strategy provided by the embodiment of the present application, the server can receive the target description data reported by the trapping node, and the target description data is the traffic situation generated by the attacker trying to connect to the port in the trapping node determined by the trapping node for traffic monitoring of all ports; based on the target description data, the ports of interest to the attacker in the full port are determined; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; then, based on each detection message, the target honeypot corresponding to the ports of interest is determined, and the trapping node is controlled to associate the ports of interest with the target honeypot. The present application can automatically determine the ports of interest to the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot, so as to automatically schedule the honeypot to adapt the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0208] Optionally, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0209] The device also includes:
[0210] The second control module is used for controlling the interesting port in the trapping node to be opened in response to the interesting port in the trapping node being not opened.
[0211] Optionally, the device further comprises:
[0212] The first closing module is configured to close the port associated with the honeypot in response to a port other than the port of interest being associated with the honeypot.
[0213] Optionally, the second determining module includes:
[0214] The classification submodule is used to classify each acquired detection message according to the access path to obtain a classification result;
[0215] A determination submodule, used to determine the target message to be analyzed based on the classification result; wherein the target message is a message in a type of detection message with the largest number of messages;
[0216] The processing submodule is used to perform guess processing on the target message for the service to be accessed, so as to obtain the target honeypot corresponding to the port of interest.
[0217] Optionally, the classification submodule is specifically used to:
[0218] Based on the target character string in each acquired detection message, classify each acquired detection message to obtain a classification result;
[0219] The target character string in each detection message is used to represent the access path of the detection message.
[0220] Optionally, the processing submodule is specifically used to:
[0221] Sending the target message to a plurality of preset honeypots;
[0222] A honeypot that performs a service response to the target message is determined, and a target honeypot corresponding to the port of interest is obtained.
[0223] Optionally, the first determining module is specifically configured to:
[0224] Performing analysis and processing on the target description data in a specified dimension to obtain analysis results;
[0225] Based on the analysis result, selecting ports in the trapping node that meet a predetermined interest condition, and obtaining ports of interest to the attacker from among all ports;
[0226] The analysis and processing of the specified dimension includes: analyzing the change in the frequency of connection of each port at each time point in the same cycle;
[0227] The predetermined conditions of interest include: the frequency of connection changes in a predetermined upward trend, and the frequency of connection reaches a predetermined threshold at a moment in the analyzed period.
[0228] Based on the above method embodiment, the present application also provides a device for scheduling a honeypot trapping strategy, which is applied to trapping nodes, such as Figure 7 As shown, the device comprises:
[0229] Monitoring module 710, used for monitoring the flow of all ports;
[0230] The third determination module 720 is used to determine target description data; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node;
[0231] The reporting module 730 is used to report the target description data to the server, so that the server determines the ports of interest to the attacker in the full ports based on the target description data, and obtains each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; based on each of the obtained detection messages, the target honeypot corresponding to the ports of interest is determined; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker;
[0232] The association module 740 is configured to associate the port of interest with the target honeypot in response to receiving the first control instruction from the server.
[0233] In the device for scheduling and arranging the honeypot trapping strategy provided by the embodiment of the present application, the trapping node can monitor the traffic of all ports, determine the traffic generated by the attacker trying to connect to the port in the trapping node, that is, determine the target description data, and report the target description data to the server. The server can receive the target description data reported by the trapping node, and determine the ports of interest to the attacker in all ports based on the target description data; when the ports of interest are opened, the attacker sends each detection message to the ports of interest, and each detection message of the attacker can characterize the services of interest to the attacker; further, based on each detection message, determine the target honeypot corresponding to the ports of interest, and send a first control instruction to the trapping node. After receiving the first control instruction, the trapping node associates the ports of interest with the target honeypot. The present application can automatically determine the ports of interest of the attacker, and determine the target honeypot corresponding to the services of interest to the attacker, and associate the ports of interest with the target honeypot through the interaction between the server and the trapping node, so as to automatically schedule the honeypot to adapt to the ports and honeypots of interest to the attacker. It can be seen that the present application can automatically adapt to the dynamic changes of the attacker, thereby providing a basis for capturing effective attack features.
[0234] Optionally, all ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default;
[0235] The device also includes:
[0236] an opening module, configured to open the port of interest in response to receiving a second control instruction from the server;
[0237] The second control instruction is an instruction sent by the server to the trapping node in response to the interested port in the trapping node not being opened, and is used to control the opening of the interested port in the trapping node.
[0238] Optionally, the device further comprises:
[0239] A second closing module, configured to close ports associated with the honeypot except the port of interest in response to receiving a third control instruction from the server;
[0240] The third control instruction is an instruction sent by the server to the trapping node in response to a port other than the port of interest being associated with a honeypot, and is used to control the port to be closed.
[0241] The present application also provides an electronic device, such as Figure 8 As shown, including:
[0242] Memory 801, used for storing computer programs;
[0243] The processor 802 is used to implement any of the honeypot trapping strategy scheduling methods when executing the program stored in the memory 801.
[0244] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 802, the communication interface, and the memory 801 communicate with each other via the communication bus.
[0245] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0246] The communication interface is used for communication between the above electronic device and other devices.
[0247] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0248] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0249] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for honeypot trapping strategy orchestration and scheduling are implemented.
[0250] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the honeypot trapping strategy scheduling methods in the above embodiments.
[0251] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0252] It should be noted that, in this article, relational terms such as first and second, etc. are only used 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.
[0253] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system and device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0254] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A method for scheduling a honeypot trapping strategy, characterized in that: Applied to a server, the method comprises: Receive target description data reported by the trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node determined by the trapping node performing traffic monitoring on all ports; Based on the target description data, determining a port of interest to the attacker among all ports; Acquire, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest; Based on the target character string in each acquired detection message, each acquired detection message is classified and processed to obtain a classification result; based on the classification result, a target message to be analyzed is determined; the target message is guessed for the service to be accessed to obtain a target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker; the target message is a message in a class of detection messages with the largest number of messages; the target character string in each detection message is used to characterize the access path of the detection message; The decoy node is controlled to associate the port of interest with the target honeypot.
2. The method according to claim 1, characterized in that All ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default; Before acquiring each detection message of the attacking party for the port of interest when the port of interest in the trapping node is turned on, the method further includes: In response to the interested port in the trapping node not being enabled, controlling the interested port in the trapping node to be enabled.
3. The method according to claim 2, characterized in that After controlling the trapping node to associate the port of interest with the target honeypot, the method further includes: In response to a port other than the port of interest being associated with a honeypot, the port associated with the honeypot is closed.
4. The method according to claim 1, characterized in that: The guessing process of the target message for the service to be accessed to obtain the target honeypot corresponding to the port of interest includes: Sending the target message to a plurality of preset honeypots; A honeypot that performs a service response to the target message is determined, and a target honeypot corresponding to the port of interest is obtained.
5. The method according to any one of claims 1 to 3, characterized in that: The determining, based on the target description data, a port of interest to the attacker among all the ports includes: Performing analysis and processing on the target description data in a specified dimension to obtain analysis results; Based on the analysis result, selecting ports in the trapping node that meet a predetermined interest condition, and obtaining ports of interest to the attacker from among all ports; The analysis and processing of the specified dimension includes: analyzing the change in the frequency of connection of each port at each time point in the same cycle; The predetermined conditions of interest include: the frequency of connection changes in a predetermined upward trend, and the frequency of connection reaches a predetermined threshold at a moment in the analyzed period.
6. A method for scheduling a honeypot trapping strategy, characterized in that: Applied to trapping nodes, the method comprises: Monitor traffic flow on all ports; Determine target description data; wherein the target description data is used to characterize: the traffic generated by the attacker attempting to connect to the port in the trapping node; Report the target description data to the server, so that the server can determine the ports of interest to the attacker in the full ports based on the target description data, and obtain each probe message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; classify each probe message obtained based on the target character string in each probe message obtained to obtain a classification result; determine the target message to be analyzed based on the classification result; perform conjecture processing on the target message for the service to be accessed to obtain the target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker; the target message is a message in a class of probe messages with the largest number of messages; the target character string in each probe message is used to characterize the access path of the probe message; In response to receiving a first control instruction from the server, the port of interest is associated with the target honeypot.
7. The method according to claim 6, characterized in that All ports except each target port in the said all ports are in a closed state, and each target port includes a port associated with a honeypot and / or a port that is not associated with a honeypot and is opened by default; The method further comprises: In response to receiving a second control instruction from the server, opening the port of interest; The second control instruction is an instruction sent by the server to the trapping node in response to the interested port in the trapping node not being opened, and is used to control the opening of the interested port in the trapping node.
8. The method according to claim 6, characterized in that The method further comprises: In response to receiving a third control instruction from the server, closing ports associated with the honeypot except the port of interest; The third control instruction is an instruction sent by the server to the trapping node in response to a port other than the port of interest being associated with a honeypot, and is used to control the port to be closed.
9. A system for scheduling and arranging a honeypot trapping strategy, characterized in that: The system comprises: a server and a trapping node; The trapping node is used to monitor the traffic of all ports; determine target description data; and report the target description data to the server; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node; The server is used to receive target description data reported by a trapping node; based on the target description data, determine the ports of interest to the attacker in the full ports; obtain each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; based on the target character string in each detection message obtained, classify each detection message obtained to obtain a classification result; based on the classification result, determine the target message to be analyzed; perform conjecture processing on the target message for the service to be accessed to obtain the target honeypot corresponding to the port of interest, and send a first control instruction to the trapping node; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker; the target message is a message in a class of detection messages with the largest number of messages; the target character string in each detection message is used to characterize the access path of the detection message; The trapping node is used to associate the port of interest with the target honeypot in response to receiving the first control instruction from the server.
10. A device for scheduling and arranging a honeypot trapping strategy, characterized in that: Applied to a server, the device comprises: A receiving module, configured to receive target description data reported by a trapping node; wherein the target description data is used to characterize: the traffic situation generated by the attacking party attempting to connect to the port in the trapping node, as determined by the trapping node performing traffic monitoring on all ports; A first determination module, configured to determine, based on the target description data, an interesting port for the attacker among all the ports; An acquisition module, used for acquiring, when the port of interest in the trapping node is turned on, each detection message of the attacking party for the port of interest; The second determination module is used to classify the acquired detection messages based on the target character string in each acquired detection message to obtain a classification result; determine the target message to be analyzed based on the classification result; perform conjecture processing on the target message for the service to be accessed to obtain the target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker; the target message is a message in a class of detection messages with the largest number of messages; the target character string in each detection message is used to characterize the access path of the detection message; The first control module is used to control the decoy node to associate the port of interest with the target honeypot.
11. A device for scheduling and arranging a honeypot trapping strategy, characterized in that: Applied to trapping nodes, the device comprises: Monitoring module, used to monitor the traffic of all ports; A third determination module is used to determine target description data; wherein the target description data is used to characterize: the traffic generated by the attacker trying to connect to the port in the trapping node; A reporting module, used for reporting the target description data to a server, so that the server can determine the ports of interest to the attacker in the full ports based on the target description data, and obtain each detection message of the attacker for the ports of interest when the ports of interest in the trapping node are turned on; based on the target character string in each detection message obtained, classify each detection message obtained to obtain a classification result; based on the classification result, determine the target message to be analyzed; perform conjecture processing on the target message for the service to be accessed to obtain the target honeypot corresponding to the port of interest; wherein the target honeypot is the honeypot corresponding to the service of interest to the attacker; the target message is a message in a class of detection messages with the largest number of messages; the target character string in each detection message is used to characterize the access path of the detection message; The association module is configured to associate the port of interest with the target honeypot in response to receiving a first control instruction from the server.
12. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-8 when executing a program stored in a memory.
13. A computer program product comprising instructions, characterized in that When the method is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.
