Data processing method, device, network equipment and storage medium
By inserting dynamically changing honeypot characteristics into the response packets of the business system and disguising them as honeypot characteristics, the problem of attackers identifying honeypots is solved and effective protection of the business system is achieved.
Patent Information
- Application Number
- CN202210160665.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-22
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-02-22
AI Technical Summary
Attackers can quickly identify honeypots by using anti-honeypot signature plug-ins, causing honeypots to become ineffective and unable to effectively protect business systems.
By intercepting the response packet of the business system, dynamically changing honeypot characteristics are inserted into the packet, including the attacker's identity traceability code, disguised as honeypot characteristics, causing the attacker to mistakenly believe that the real business system is a honeypot, thus giving up the attack.
Effectively protect business systems and prevent attackers from deleting honeypot characteristics through simple scripts. Dynamically changing honeypot characteristics make it difficult for attackers to identify, ensuring the security of business systems.
Smart Images

Figure CN114553529B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, network equipment and storage medium. Background Art
[0002] Currently, the relevant technology protects business systems by deploying honeypots. However, attackers generally use anti-honeypot feature plug-ins, which can quickly identify honeypots and render them ineffective. Summary of the invention
[0003] In order to solve the above problems, the embodiments of the present invention provide a data processing method, apparatus, network device and storage medium, so as to at least solve the problem in the related art that attackers can identify honeypots using anti-honeypot feature plug-ins.
[0004] The technical solution of the present invention is achieved in this way:
[0005] In a first aspect, an embodiment of the present invention provides a data processing method, the method comprising:
[0006] intercepting a first response packet; the first response packet represents a response packet sent by the business system according to the first access request;
[0007] Inserting a honeypot feature into the first response packet to obtain a second response packet;
[0008] The second response packet is sent to a first peer device; the first peer device represents the sender of the first access request.
[0009] In the above embodiment, the relevant parameters of the honeypot feature change dynamically over time.
[0010] In the above embodiment, inserting the honeypot feature into the first response packet to obtain the second response packet includes:
[0011] Parsing the first response packet to obtain a document object model of the first response packet;
[0012] Determining a location point for inserting the honeypot feature in the document object model;
[0013] The honeypot feature is inserted at the location point to obtain the second response packet.
[0014] In the above embodiment, before inserting the honeypot feature into the first response packet, the method further includes:
[0015] Get the configuration parameters selected by the user;
[0016] The honeypot signature is generated based on the configuration parameters.
[0017] In the above embodiment, before intercepting the first response packet, the method further includes:
[0018] The business system to be protected configured by the user is obtained so as to insert the honeypot feature into the response packet of the business system later.
[0019] In the above embodiment, the honeypot features include: attacker identity tracing code.
[0020] In a second aspect, an embodiment of the present invention provides a data processing device, the device comprising:
[0021] An interception module, used to intercept a first response packet; the first response packet represents a response packet sent by the business system according to the first access request;
[0022] An insertion module, used for inserting a honeypot feature into the first response packet to obtain a second response packet;
[0023] The sending module is used to send the second response packet to a first opposite-end device; the first opposite-end device represents the sender of the first access request.
[0024] In a third aspect, an embodiment of the present invention provides a network device, comprising a processor and a memory, wherein the processor and the memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the steps of the data processing method provided in the first aspect of the embodiment of the present invention.
[0025] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the data processing method provided in the first aspect of the embodiment of the present invention are implemented.
[0026] In a fifth aspect, an embodiment of the present invention provides a cloud computing platform, including a data processing software module for implementing a network device, wherein the data processing software module is used to implement the steps of the data processing method provided in the first aspect of the embodiment of the present invention.
[0027] The embodiment of the present invention intercepts the first response packet sent by the business system according to the first access request, inserts the honeypot feature into the first response packet, obtains the second response packet, and sends the second response packet to the sender of the first access request. If the sender of the first access request is an attacker who has deployed an anti-honeypot feature plug-in, the anti-honeypot feature plug-in will identify the honeypot feature in the second response packet, so that the attacker believes that the second response packet is sent by the honeypot, and mistakenly believes that the real business system is the honeypot, so that the attacker abandons the attack and protects the business system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a schematic diagram of a traffic trend provided by an embodiment of the present invention;
[0029] Figure 2 It is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present invention;
[0030] Figure 3 It is a schematic diagram of an implementation flow of another data processing method provided by an embodiment of the present invention;
[0031] Figure 4 It is a schematic diagram of an implementation flow of another data processing method provided by an embodiment of the present invention;
[0032] Figure 5 It is a structural diagram of a document object model provided by an embodiment of the present invention;
[0033] Figure 6 It is a schematic diagram of an implementation flow of another data processing method provided by an embodiment of the present invention;
[0034] Figure 7 is a schematic diagram of a data processing flow provided by an embodiment of the present invention;
[0035] Figure 8 It is a schematic diagram of a process of honeypot feature insertion provided by an embodiment of the present invention;
[0036] Fig. 9 is a schematic diagram of a data processing device provided by an embodiment of the present invention;
[0037] Fig.10 It is a schematic diagram of a network device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Honeypot is a virtual system, which is equivalent to an intelligence collection system. It simulates the real business system of an enterprise and is used as an invasion bait to lure hackers to attack. After the attacker invades, the tools and information used by the hacker are collected through monitoring and analysis, thereby strengthening the defense system.
[0040] At present, most honeypots are deployed and opened on Docker (container) or virtual machines to induce attackers to access these fake applications or systems, which can delay the attackers. When the attack feature is specifically the identity tracing code, the attackers can also be traced by capturing the attacker's fingerprint. The fingerprint can be virtual network identity information such as social accounts or device information of the attacking device. At present, the main means of honeypot tracing is to insert honeypot features (i.e. identity tracing code) into open honeypot applications, inducing attackers who have logged into third-party applications to access the application, and then the fingerprints are captured by the honeypot features and sent to the defender, which leads to the attackers being traced back to their personal identities by security experts.
[0041] However, currently attackers basically use anti-honeypot feature plug-ins, which can quickly identify honeypots and their honeypot features, warn attackers, and even intercept honeypot features, rendering the honeypot ineffective.
[0042] In view of the shortcomings of the above-mentioned related technologies, an embodiment of the present invention provides a data processing method, which can make an attacker who has installed an anti-honeypot feature plug-in mistakenly believe that the real business system is a honeypot. In order to illustrate the technical solution of the present invention, a specific embodiment is used for description below.
[0043] Figure 1 It is a schematic diagram of a traffic trend provided by an embodiment of the present invention, wherein the network device can be a virtual device installed on the host where the business system is located, such as a firewall in the form of a virtual machine; the network device can also be a hardware server, such as a gateway or a proxy server. The role of the network device is to forward the access request sent by the attacker or the real user to the business system, and to forward the response packet sent by the business system to the attacker or the real user. In this application, it is necessary to ensure that the request and response traffic of the protected business system passes through the network device as much as possible, and any dialogue between anyone and the business system is established on the network device. The network device protects the business system by preventing the attacker from directly contacting the business system. The relationship between the network device and the business system can be one-to-one or one-to-many. The user can configure the protection strategy for the protected business system in the network device to minimize the impact on normal users and other normal businesses. For example, protection strategies such as anti-structured query language (SQL, Structured Query Language) injection and prohibiting access to the set uniform resource location system (URL, Uniform Resource Locator).
[0044] Figure 2 1 is a schematic diagram of an implementation flow of a data processing method provided by an embodiment of the present invention, wherein the execution subject of the data processing method is the network device in the above embodiment. Figure 2, the data processing methods include:
[0045] S201, intercepting a first response packet; the first response packet represents a response packet sent by the business system according to the first access request.
[0046] Here, the first response packet is a response packet sent by the business system according to the first access request. The first access request may be a malicious access request sent by an attacker or a normal access request sent by a real user.
[0047] The network device can receive the first access request and forward the first access request to the business system (whether the first access request is forwarded by the network device is not limited in this application), and the business system generates a first response packet based on the first access request and sends the first response packet to the sender of the first access request.
[0048] In the embodiment of the present invention, no matter the recipient of the first response packet is a normal user or an attacker, the network device will intercept the first response packet sent by the service system.
[0049] S202: insert a honeypot feature into the first response packet to obtain a second response packet.
[0050] Here, the first response packet sent by the business system does not contain the honeypot feature, and the network device inserts the honeypot feature into the first response packet. In one embodiment, the honeypot feature includes: an attacker identity tracing code, which can also be called a honeypot tracing code.
[0051] In actual applications, honeypot features include: TCP / IP protocol stack and network features. Network features include the number of connections, network traffic, data packet content, TCP / IP value, and network delay. An attacker can find out that the operating system being attacked is not the identified operating system through fingerprint recognition of the protocol stack, and thus believe that a honeypot exists. An attacker can also determine whether a honeypot exists by network delay.
[0052] refer to Figure 3 In one embodiment, before inserting the honeypot feature into the first response packet, the method further includes:
[0053] S301, obtaining configuration parameters selected by a user.
[0054] S302: Generate the honeypot feature based on the configuration parameters.
[0055] Here, the configuration parameters can be configured for the parameters related to the honeypot traceability code, such as the cross-domain request frequency (such as the request frequency sent in one minute), the request site (such as Baidu Tieba, Sina Weibo and other third-party application sites, etc.), the traceability code and code obfuscation methods of different honeypot manufacturers, etc. Of course, the configuration parameters can also be configured for the parameters related to other honeypot features besides the honeypot traceability code.
[0056] Users can set the cross-domain access frequency parameter to a larger value, which increases the possibility that the honeypot feature will be detected as a honeypot. Users can also adjust the configuration parameters every once in a while, so that the parameters related to the honeypot feature change dynamically over time, thereby preventing attackers from deleting the honeypot feature through simple scripts. The reason why attackers are prevented from deleting the honeypot feature through simple scripts is that after the attacker deletes the honeypot feature, he can continue to launch an attack. In order to prevent attackers from launching attacks, the honeypot feature can be changed dynamically, making it difficult for attackers to delete the honeypot feature in a simple way, and thus dare not launch an attack, further achieving better protection for the real business system.
[0057] The embodiment of the present invention can provide some configuration parameters for the user to select, and finally generate the honeypot feature according to the configuration parameters selected by the user. Alternatively, a combination of some configuration parameters is pre-set, and when receiving the instruction to generate the honeypot feature, the honeypot feature is automatically generated according to the combination of the pre-set configuration parameters.
[0058] In one embodiment, the relevant parameters of the honeypot feature change dynamically over time (the change instruction can be automatically triggered at a fixed time, or manually triggered by the user). The meaning of the relevant parameters is some parameters required when generating the honeypot feature and / or the insertion position of the honeypot feature. For example: cross-domain request frequency, request site, traceability source code of different honeypot manufacturers, code obfuscation method and / or insertion location point. By dynamically changing the honeypot features, it is prevented that attackers can obtain the honeypot features through simple analysis, which can resist the analysis of attackers and prevent attackers from deleting the honeypot features through simple scripts, thereby further achieving better protection for the real business system.
[0059] Taking the honeypot traceability code as an example, the dynamic change related technical means are described. In practical applications, the honeypot traceability code can be obfuscated to generate new honeypot features. Code obfuscation, also known as flower instructions, is the behavior of converting the code of a computer program into a form that is functionally equivalent but difficult to read and understand. The embodiment of the present invention can perform code obfuscation from three aspects: layout, data, and control.
[0060] Layout obfuscation: Identifier obfuscation can be performed, including constant names, variable names, and function names. Junk code can be inserted into the honeypot traceability source code. The code size can also be reduced and the reading difficulty increased by deleting indents and / or line breaks.
[0061] Data obfuscation: including encoding obfuscation of numbers, strings, arrays, and Booleans, including hexadecimal encoding, Unicode encoding, Base64 encoding obfuscation, split string, and encrypted string.
[0062] Controlled obfuscation: By flattening the original code's prior flow into a loop flow, the code becomes more difficult to read and analyze.
[0063] By constantly changing the complexity of the honeypot traceability code, attackers are unable to delete the honeypot traceability code by writing simple scripts on the client, making the attacker's anti-honeypot feature plug-in unable to work, inducing attackers to identify the real business system as a honeypot. Since it is difficult to remove the honeypot traceability code through simple means, attackers dare not launch attacks rashly for fear that the defender will obtain their identity information.
[0064] refer to Figure 4 In one embodiment, inserting the honeypot feature into the first response packet to obtain the second response packet includes:
[0065] S401: Parse the first response packet to obtain a document object model of the first response packet.
[0066] Here, the deep packet inspection (DPI) technology can be used to parse the first response packet. Deep packet inspection is a special network technology. Generally, network devices only check the Ethernet header and IP header without analyzing the content in TCP / UDP. This is called shallow packet inspection. The corresponding deep packet inspection will check the content in TCP / UDP, so it is called deep packet inspection.
[0067] The application content in the first response packet is obtained through deep data packet inspection, and the document object model (DOM) including element nodes and attribute nodes is obtained.
[0068] DOM is a form of presentation of Hyper Text Markup Language (HTML) or Extensible Markup Language (XML) structure. By modifying DOM through programming, the purpose of modifying HTML / XML can be achieved. JavaScript provides a complete set of methods to obtain, traverse and operate DOM.
[0069] S402, determining a location point for inserting the honeypot feature into the document object model.
[0070] DOM uses a tree structure. Each part of the tree structure is called a node, including element nodes and attribute nodes. The document object model is used to operate these nodes.
[0071] refer to Figure 5 , Figure 5 : is a schematic diagram of the structure of a document object model provided by an embodiment of the present invention. Figure 5 The document object model shown is tree-like, including element nodes meta and title in the head and element nodes a, img, div, etc. in the body. The element nodes also include attribute nodes, for example, the div element node includes attribute nodes id and class.
[0072] The location point here refers to the node in the document object model. As long as the code can be executed normally after the honeypot feature is inserted, it is a location point where the honeypot feature can be inserted.
[0073] S403: Insert the honeypot feature at the location point to obtain the second response packet.
[0074] It should be understood that it is only necessary to insert the honeypot feature at one location, such as The honeypot feature is inserted in the middle of the element node, and then the document object model is encapsulated to obtain the second response packet.
[0075] refer to Figure 6 In one embodiment, the step of determining a location point for inserting the honeypot feature into the document object model comprises:
[0076] S601: Determine at least two location points in the document object model.
[0077] S602: Determine a location point for inserting the honeypot feature from the at least two location points.
[0078] A plurality of locations where the honeypot feature can be inserted can be determined in the document object model, and a location point can be selected randomly to insert the honeypot feature.
[0079] In practical applications, the location points where the honeypot features are inserted can be referenced and kept consistent with the location points where the real honeypot is inserted, simulating the habits of the real honeypot and inducing attackers to identify the real business system as a honeypot.
[0080] In one embodiment, when determining the location point for inserting the honeypot feature in the document object model, the method includes:
[0081] When a change instruction is received, the location point where the honeypot feature is inserted is changed.
[0082] Here, the change instruction can be automatically triggered at a fixed time, or manually triggered by the user. By changing the location point where the honeypot feature is inserted from time to time, it can prevent attackers from easily identifying the location of the honeypot feature in the response packet and preventing attackers from deleting the honeypot feature, thereby achieving continuous oppressive deception defense against attackers.
[0083] In one embodiment, before intercepting the first response packet, the method further includes:
[0084] The business system to be protected configured by the user is obtained so as to insert the honeypot feature into the response packet of the business system later.
[0085] In the embodiment of the present invention, the relationship between the network device and the business system can be one-to-one or one-to-many. The business system to be protected is configured in the network device. For the business system being protected, the network device forwards the response packet sent by the business system to the attacker or the real user. For the response packet of the business system, the network device inserts the honeypot feature into the response packet.
[0086] S203, sending the second response packet to a first peer device; the first peer device represents the sender of the first access request.
[0087] After receiving the second response packet, the second response packet is sent to the sender of the first access request. Since the second response packet contains the honeypot feature, if the sender of the first access request is an attacker and an anti-honeypot feature plug-in is deployed, the anti-honeypot feature plug-in will think that the second response packet is sent by the honeypot, causing the attacker to mistakenly believe that the real business system is a honeypot, thereby causing the attacker to abandon subsequent attacks. If the sender of the first access request is a normal user, the normal user will not use the anti-honeypot feature plug-in dedicated to the attacker to access the business system, and thus will not be affected.
[0088] The embodiment of the present invention intercepts the first response packet sent by the business system according to the first access request, inserts the honeypot feature into the first response packet, obtains the second response packet, and sends the second response packet to the sender of the first access request. If the sender of the first access request is an attacker who has deployed an anti-honeypot feature plug-in, the anti-honeypot feature plug-in will identify the honeypot feature in the second response packet, so that the attacker believes that the second response packet is sent by the honeypot, and mistakenly believes that the real business system is a honeypot, so that the attacker abandons the attack, thereby protecting the business system.
[0089] refer to Figure 7 , Figure 7 Schematic diagram of a data processing flow provided by an embodiment of the present invention. The data processing flow includes steps P1 to P8:
[0090] Step P1: Deploy network devices at the traffic level. The deployment method can be a gateway or firewall. Try to ensure that the request and response traffic of the protected business system passes through the network device and the session is established on the network device.
[0091] Step P2: Configure the protection strategy for the protected business system, select the business system that needs to be protected on the network device and enable application protection in a targeted manner to ensure that the original passive application protection capability of the network device operates normally and minimize the impact on normal users and other normal businesses.
[0092] Step P3: Intercept the access response packet of the protected system.
[0093] Step P4: Parse the response packet to obtain a document object model.
[0094] Step P5: Find an element node or an attribute node where the code can be inserted.
[0095] Determine whether manual intervention is required. If not, proceed to P6; if manual intervention is required, proceed to P7.
[0096] Step P6: The network device automatically inserts the honeypot traceability code randomly at the executable location of the code.
[0097] P6 mainly implements automatic insertion. After the network device parses the response packet, it can automatically insert the honeypot traceability plug-in code into the response packet and change the insertion point from time to time. For example, if the firewall finds multiple nodes, it can select one to be inserted. The identity traceability code in the form of JS code is inserted in the middle of the element node, and the data packet is encapsulated and returned to the requester, using JSONP cross-domain request to simulate the honeypot traceability identity behavior. After a random period of time, the code insertion point automatically changes.
[0098] Step P7: Configure the honeypot traceability code and its parameters.
[0099] Network devices can provide some optional parameters for manual configuration, such as cross-domain request frequency (such as the request frequency of sending in one minute), request site (such as Baidu Tieba, Sina Weibo and other third-party application sites, etc.), traceability source codes of different honeypot manufacturers, code obfuscation methods, etc. The network device completes the code insertion and re-encapsulates the data packet and returns it to the requester according to the manually configured honeypot traceability source code parameters.
[0100] Step P8: The network device re-encapsulates the data packet with the inserted code and returns it to the client.
[0101] After the network device completes the code insertion, it re-encapsulates the data packet and returns it to the requester.
[0102] In the embodiment of the present invention, since the firewall inserts the honeypot traceability code into the response packet, the attacker's anti-honeypot feature plug-in will identify the honeypot feature in the response packet, thereby believing that the response packet is sent by the honeypot and mistakenly believing that the real business system is the honeypot, causing the attacker to abandon subsequent attacks and protect the business system.
[0103] refer to Figure 8 , Figure 8 1 is a schematic diagram of a process of inserting a honeypot feature provided by an embodiment of the present invention. The honeypot feature insertion process includes:
[0104] In the first step, the attacker initiates access to business system A.
[0105] In the second step, the firewall receives the access request and forwards the access request to business system A.
[0106] In the third step, business system A returns the business system response to the firewall.
[0107] Step 4: The firewall inserts the honeypot signature into the response packet ( Figure 8 Take the honeypot traceability code, also known as the identity traceability code, as an example).
[0108] In the fifth step, the firewall returns the response packet with the honeypot traceability code inserted to the attacker.
[0109] In the sixth step, the attacker accesses the third-party site through the response packet into which the honeypot traceability code is inserted.
[0110] In the seventh step, the attacker's anti-honeypot plug-in issues an alarm or blocks the attack.
[0111] Step 8: The attacker thinks that business system A is a honeypot, or disables the anti-honeypot plug-in before accessing it.
[0112] In the embodiment of the present invention, since the firewall inserts the honeypot traceability code into the response packet, the attacker's anti-honeypot feature plug-in will identify the honeypot feature in the response packet, thereby believing that the response packet is sent by the honeypot and mistakenly believing that the real business system is the honeypot, causing the attacker to abandon subsequent attacks and protect the business system.
[0113] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0114] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0115] It should be noted that the technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.
[0116] In addition, in the embodiments of the present invention, “first”, “second”, etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0117] refer to Fig. 9 , Fig. 9 is a schematic diagram of a data processing device provided by an embodiment of the present invention, such as Fig. 9 As shown, the device includes an intercepting module, an inserting module and a sending module.
[0118] An interception module, used to intercept a first response packet; the first response packet represents a response packet sent by the business system according to the first access request;
[0119] An insertion module, used for inserting a honeypot feature into the first response packet to obtain a second response packet;
[0120] The sending module is used to send the second response packet to a first opposite-end device; the first opposite-end device represents the sender of the first access request.
[0121] In the above embodiment, the relevant parameters of the honeypot feature change dynamically over time.
[0122] In the above embodiment, the inserting module inserts the honeypot feature into the first response packet to obtain the second response packet, including:
[0123] Parsing the first response packet to obtain a document object model of the first response packet;
[0124] Determining a location point for inserting the honeypot feature in the document object model;
[0125] The honeypot feature is inserted at the location point to obtain the second response packet.
[0126] In the above embodiment, the insertion module determines the location point for inserting the honeypot feature in the document object model, including:
[0127] determining at least two locations in the document object model;
[0128] A location point for inserting the honeypot feature is determined from the at least two location points.
[0129] In the above embodiment, the process further includes:
[0130] A first acquisition module, used to acquire configuration parameters selected by a user;
[0131] A generating module is used to generate the honeypot features based on the configuration parameters.
[0132] In the above embodiment, the device further includes:
[0133] The second acquisition module is used to acquire the business system to be protected configured by the user, so as to insert the honeypot feature into the response packet of the business system later.
[0134] In the above embodiment, the honeypot features include: attacker identity tracing code.
[0135] In actual application, the interception module, insertion module and sending module can be implemented by a processor in the network device, such as a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a programmable gate array (FPGA).
[0136] It should be noted that: when the device provided in the above embodiment performs data processing, only the division of the above modules is used as an example. In actual applications, the above processing can be assigned to different modules as needed, that is, the internal structure of the device is divided into different modules to complete all or part of the processing described above. In addition, the device provided in the above embodiment and the data processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0137] The above-mentioned data processing device can be in the form of an image file. After the image file is executed, it can be run in the form of a container or a virtual machine to implement the data processing method described in this application. Of course, it is not limited to the image file form. As long as some software forms that can implement the data processing method described in this application are within the protection scope of this application, for example, it can also be a software module implemented in the hypervisor (virtual machine monitor) in the cloud computing platform.
[0138] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a network device. Fig.10 Schematic diagram of the hardware structure of the network device in the embodiment of the present application. Fig.10 As shown, the network equipment includes:
[0139] Communication interface, which can exchange information with other devices such as network equipment;
[0140] The processor is connected to the communication interface to realize information exchange with other devices, and is used to execute the method provided by one or more technical solutions on the network device side when running the computer program. The computer program is stored in the memory.
[0141] Of course, in actual applications, the various components in the network device are coupled together through the bus system. It is understandable that the bus system is used to realize the connection and communication between these components. In addition to the data bus, the bus system also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 In the specification, various buses are labeled as bus systems.
[0142] The memory in the embodiment of the present application is used to store various types of data to support the operation of the network device. Examples of such data include: any computer program used to operate on the network device.
[0143] The network device may be a hardware gateway (such as a hardware firewall), or a server deployed with a "software module capable of running the data processing method of the present application" (such as a software firewall).
[0144] It can be understood that the memory can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0145] The cloud computing platform is a business form that uses computing virtualization, network virtualization, and storage virtualization technologies to organize multiple independent server physical hardware resources into pooled resources. It is a software-defined resource structure based on the development of virtualization technology, which can provide resource capabilities in the form of virtual machines and containers. By eliminating the fixed relationship between hardware and operating systems, relying on network connectivity to unify resource scheduling, and then providing the required virtual resources and services, it is a new IT and software delivery model with the characteristics of flexibility, elasticity, distribution, multi-tenancy, and on-demand.
[0146] The current cloud computing platform supports several service models:
[0147] SaaS (Software as a Service): Cloud computing platform users do not need to purchase software, but instead rent software deployed on the cloud computing platform. Users do not need to maintain the software, and the software service provider will fully manage and maintain the software;
[0148] PaaS (Platform as a Service): Cloud computing platform users (usually software developers in this case) can build new applications or extend existing applications on the architecture provided by the cloud computing platform without having to purchase development, quality control or production servers;
[0149] IaaS (Infrastructure as a Service): Cloud computing platforms provide data centers, infrastructure hardware and software resources through the Internet. Cloud computing platforms under the IaaS model can provide servers, operating systems, disk storage, databases and / or information resources.
[0150] The method disclosed in the above embodiment of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the program in the memory and completes the steps of the above method in combination with its hardware.
[0151] Optionally, when the processor executes the program, the corresponding process implemented by the network device in each method of the embodiments of the present application is implemented, which will not be repeated here for the sake of brevity.
[0152] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory storing a computer program, and the computer program can be executed by a processor of a network device to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0153] In the several embodiments provided in the present application, it should be understood that the disclosed devices, network devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0154] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0155] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0156] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0157] An embodiment of the present invention also includes a cloud computing platform, which includes a data processing software module, and the data processing software module is used to execute the steps of the above-mentioned data processing method.
[0158] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0159] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0160] In addition, in the examples of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0161] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data processing method, applied to a network device; characterized in that: The method comprises: intercepting a first response packet; the first response packet represents a response packet sent by the business system according to the first access request; the first access request is a malicious access request sent by an attacker or a normal access request sent by a real user; Inserting a honeypot feature into the first response packet to obtain a second response packet, wherein the relevant parameters of the honeypot feature change dynamically over time; wherein the honeypot feature includes an attacker identity tracing code; The second response packet is sent to a first peer device; the first peer device represents the sender of the first access request.
2. The method according to claim 1, characterized in that The inserting the honeypot feature into the first response packet to obtain the second response packet includes: Parsing the first response packet to obtain a document object model of the first response packet; Determining a location point for inserting the honeypot feature in the document object model; The honeypot feature is inserted at the location point to obtain the second response packet.
3. The method according to claim 1, characterized in that Before inserting the honeypot feature into the first response packet, the method further includes: Get the configuration parameters selected by the user; The honeypot signature is generated based on the configuration parameters.
4. The method according to any one of claims 1 to 3, characterized in that Before intercepting the first response packet, it also includes: The business system to be protected configured by the user is obtained so as to insert the honeypot feature into the response packet of the business system later.
5. A data processing device, characterized in that: include: An interception module, used for intercepting a first response packet; The first response packet represents a response packet sent by the business system according to the first access request; The first access request is a malicious access request sent by an attacker or a normal access request sent by a real user; An insertion module, used for inserting a honeypot feature into the first response packet to obtain a second response packet, wherein the relevant parameters of the honeypot feature change dynamically over time; wherein the honeypot feature includes an attacker identity tracing code; The sending module is used to send the second response packet to a first opposite-end device; the first opposite-end device represents the sender of the first access request.
6. A network device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the data processing method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the data processing method according to any one of claims 1 to 4.
8. A cloud computing platform, characterized in that: It comprises a data processing software module for implementing a network device, wherein the data processing software module is used to implement the steps of the data processing method according to any one of claims 1 to 4.
