Active defense method based on preposed honey court content trap
By embedding false content and false link traps in the front-end Miting system, and implementing an IP address homology analysis strategy, the system's insufficient ability to analyze highly concealed unknown attacks and attacker behavior is solved, and the active defense capabilities and network are improved. Safety protection effect.
Patent Information
- Application Number
- CN202411205325.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-10-29
AI Technical Summary
The front-end Miting system mainly relies on passive defense mechanisms, lacks the ability to actively discover and observe highly concealed unknown attacks, cannot quickly adapt to emerging attack technologies, and has limited ability to analyze attacker behavior, and cannot effectively perform in-depth attacker behavior analysis and analysis. Strategy traceability.
Use the reverse proxy function based on front-end MiTing to dynamically modify server response content, embed false content and false link traps, design IP address homology analysis strategies, and conduct in-depth analysis of attacker behavior patterns and behavior through customized hyperlinks and monitoring mechanisms. Potential identities, and implement dynamic alarm and blocking mechanisms based on user behavior.
Significantly improves the active defense capabilities of the front-end Miting system, increases the difficulty and cost of attackers, provides more comprehensive and in-depth network security protection, can more accurately identify and track attackers, and enhances the system's interception and Defense capabilities.
Smart Images

Figure CN118869346A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and in particular to an active defense method based on a pre-placed honey court content trap. Background Art
[0002] The Front Honey Courtyard is a secure reverse proxy server. As a front proxy for the backend server cluster, it has functions such as reverse proxy, trapping monitoring, content anomaly monitoring, and traffic forwarding. The Front Honey Courtyard can configure the reverse proxy service, listen to the specified IP address and port, and forward the traffic to another specified IP address and port to achieve proxy forwarding of the traffic. In this process, the traffic will pass through the content anomaly detection of the Front Honey Courtyard, and the traffic will be detected based on static rule matching. If the traffic contains specific strings or patterns, it will violate the detection rules and trigger the alarm of the Front Honey Courtyard system. The traffic will be blocked in time, and the abnormal traffic will not be able to continue to access, avoiding its harm to the normal business system. In addition, the Front Honey Courtyard system has a built-in mixing line file. When the file is opened, it will trigger an alarm, notify the system administrator in time, and respond to the emergency, so as to achieve internal security and controllability. The Front Honey Courtyard system that implements the above functions has the following advantages:
[0003] 1. Powerful detection capabilities: The Frontend MiTing system has a huge set of rules that can defend against various common web application attacks, such as SQL injection, cross-site scripting (XSS), session hijacking, etc.
[0004] 2. Low performance overhead: The content anomaly detection overhead of the front-end Mi Ting system is relatively small and will not significantly affect the performance of the normal business system.
[0005] 3. High concurrent processing: The front-end honey garden system can handle a large number of concurrent connections, effectively manage and distribute requests, and can handle high-load network traffic.
[0006] 4. SSL / TLS support: The front-end MiTing system can handle HTTPS traffic and provide secure encrypted communication. It can terminate SSL / TLS connections and decrypt and encrypt them, forwarding requests to the back-end server, thus providing a secure communication channel.
[0007] 5. Dynamic request processing: The front-end MiTing system supports dynamically forwarding requests to back-end application servers, such as PHP, Python, Node.js, etc. It can be used in conjunction with the back-end application server to achieve flexible request processing and dynamic content generation.
[0008] 6. Flexible configuration and scalability: The configuration of the front-end honey garden system is simple and clear, easy to understand and maintain. It also supports a rich modular architecture, and its functions can be expanded by loading different modules to meet the requirements of different scenarios and needs.
[0009] Active defense is a network security strategy that includes not only traditional defense measures, but also involves actively identifying, analyzing, and combating potential threats. Compared with traditional passive defense, active defense focuses more on taking action before and during an attack, rather than just responding after an attack. Active defense generally has the following advantages:
[0010] 1. Detect threats in advance: Through continuous monitoring and intelligence collection, active defense can help organizations detect potential threats in advance.
[0011] 2. Reduce response time: Active defense helps reduce the damage caused by attacks and the recovery time by quickly identifying and responding to attacks.
[0012] 3. Increase the cost of attack: By using entrapment technology and dynamic defense, active defense can increase the difficulty and cost of attackers, making it more difficult for them to succeed.
[0013] 4. Collect attack data: Active defense measures can collect behavioral data on attackers, providing security teams with valuable information to help them better understand and combat threats.
[0014] 5. Deter potential attackers: Active defense can deter potential attackers by demonstrating strong security capabilities and proactive responses to threats.
[0015] The current defense strategy of the front honey court still has some shortcomings and limitations, including the following aspects:
[0016] 1. Passive defense: The front-end honey court mainly relies on passive defense mechanisms. The existing reverse proxy and content anomaly detection only provide forwarding and passive detection functions, and lack the ability to actively discover and observe highly concealed unknown attacks.
[0017] 2. Slow response to new attacks: Faced with emerging attack techniques and methods, the front-end honey court cannot adapt quickly. From the disclosure of attack methods to the formulation and deployment of corresponding detection rules, this time difference may cause the system to be exposed to unknown threats to a certain extent.
[0018] 3. Insufficient depth of analysis of attacker behavior: The function of the front-end honey court is mainly focused on detecting and defending attack behaviors, but the in-depth analysis capabilities of the attacker’s motivation, strategy, IP address source, etc. are limited. This limits the understanding of the attacker’s behavior pattern and the tracing of its attack strategy.
[0019] The main reasons for the above shortcomings include two aspects:
[0020] (1) The content anomaly detection of the front-end honey court relies on IP blacklists and blacklists and passive behavior observation. This method lacks the ability to actively discover and observe highly concealed unknown attacks. Since attackers may use new technologies or variants that have not been widely documented, the front-end honey court may not be able to quickly observe their suspicious behavior when facing such unforeseen threats, requiring multiple rounds of observation, and may even miss reports.
[0021] (2) The front-end honey house has limitations in analyzing attacker behavior, which means that the front-end honey house cannot effectively perform in-depth attacker behavior analysis, such as identifying and correlating whether attack activities from different IP addresses belong to the same attacker or attack organization. This lack of analytical capabilities limits the potential of the front-end honey house in understanding attacker strategies, predicting attack patterns, and improving the overall network security posture. Summary of the invention
[0022] The purpose of the present invention is to provide an active defense method based on the content trap of the front honey court, based on the reverse proxy function of the front honey court, dynamically modify the response content of the server to the client, and embed content traps with differentiated characteristics in the front-end page, such as false links and false content. These content traps not only constitute layers of obstacles for attackers, but also can effectively trap attackers and collect their behavior data. The IP address homology analysis strategy designed in the scheme, by customized push of false content to visitors, conducts in-depth analysis of the IP addresses that access the same false links, and further reveals the behavior patterns and potential identities of attackers. In addition, the scheme also includes a dynamic alarm and blocking mechanism based on user behavior. Once an abnormal trigger is detected, the system will issue an alarm in time for blocking. Through this method of actively setting baits and logical traps, this scheme significantly improves the active defense capability of the front honey court system and provides a more comprehensive and in-depth solution for network security protection.
[0023] In order to achieve the above object, the present invention provides the following technical solution: an active defense method based on a pre-placed honey court content trap, the active defense method comprising the following steps:
[0024] S1: Based on the reverse proxy function of the front-end honey court, the server's response content to the client is dynamically modified, and content traps with differentiated characteristics are embedded in the front-end page. The content traps include false content traps and false link traps;
[0025] S2: Design an IP address homology analysis strategy to push fake content to visitors in a customized manner, conduct in-depth analysis of IP addresses that access the same fake links, and further reveal the attacker's behavior patterns and potential identities.
[0026] Furthermore, in step S1, the false content trap is achieved by setting false content that is unrelated to normal user operations on the front-end page. The system accurately monitors access requests to these false contents, timely captures and records the access IP addresses, and intelligently analyzes and gradually upgrades defense measures based on the attacker's access frequency and behavior patterns; from initial warnings and logouts of individual devices to more severe logouts of all user devices and prohibition of access rights for individual or all devices, the access count threshold is flexibly set to proactively respond to and adapt to various attack behaviors.
[0027] Furthermore, in step S1, the fake link trap is achieved by embedding annotated hyperlink tags, email addresses or personal information in the website source code, which is insensitive to normal users, but attackers will notice the fake link content embedded in the source code when collecting information on the website, and the fake link is sweet to the attacker; the fake links are differentiated, and the real services behind the fake links are set as service honey spots or honey fields.
[0028] Furthermore, the service honeypot is a specially configured service page that appears normal on the surface but is actually full of false content. Once an attacker accesses the false content, the system will immediately mark the client IP that triggers them as a suspicious attacker, quickly activate the emergency response mechanism, and effectively block malicious behavior.
[0029] The honey farm is set up as a highly simulated business server, but its real purpose is to attract attackers to go deeper. Once the attackers operate on the honey farm, all their actions will be recorded in detail.
[0030] Furthermore, in step 2, the IP address homology analysis strategy includes:
[0031] Design a customized hyperlink mechanism and construct an attractive URL path. Attackers construct payloads through parameters attached to the URL or explore other sub-paths under the path. All these access behaviors are considered as access to customized hyperlinks.
[0032] Implement a monitoring mechanism to monitor each customized hyperlink in real time and perform cluster analysis on all IP addresses accessing these links.
[0033] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0034] 1. The present invention expands the false content trap for the front-end honey court system, sets up insurmountable obstacles for attackers, and significantly increases the difficulty and cost of attacks. Through the clever layout of false content, the present invention not only consumes the attacker's time, but also provides an additional security buffer for the normal business process of legitimate users, ensuring that there is sufficient response time for emergency handling when an attack occurs;
[0035] 2. The present invention expands the false link trap for the front honey court system, providing the system with an efficient attack capture method. These false links are highly attractive to attackers and can induce attackers to go deep into the preset trap. Once the attacker triggers these false links, the system can quickly identify and record the attack behavior, and can deeply analyze the attack methods, thereby continuously updating and improving the monitoring rule set of the front honey court system, enhancing the system's interception and defense capabilities, and discovering potential attackers;
[0036] 3. The present invention expands the IP address homology analysis capability for the front-end MiTing system, enabling the system to more accurately identify and track attackers. This technology can penetrate the IP transformation and proxy methods commonly used by attackers, and effectively identify the attackers or attack organizations behind them by comprehensively analyzing the attack behaviors and patterns. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] 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 will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0038] Figure 1 It is a flow chart of the active defense method based on the pre-placed honey court content trap of the present invention;
[0039] Figure 2 A flowchart for implementing the fake content trap of the present invention;
[0040] Figure 3 It is a flow chart of implementing the false link trap of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0042] Example: See Figure 1As shown, the active defense method based on the front honey court content trap described in this embodiment is intended to enhance the active defense capability of the front honey court. The method adopts innovative content trap technology and designs two new traps: false content trap and false link trap. The false content trap carefully constructs content that is irrelevant to normal users but attractive to attackers. These contents will not be accessed in the daily operations of normal users, but can effectively induce attackers to expose their behavior. In this way, the system can control and monitor potential malicious access without interfering with normal users. The false link trap is a more concealed defense method that induces attackers to click by embedding invisible links in HTML comments. Once the attacker triggers the false link, the system will automatically redirect it to a specific location, thereby achieving diversion and monitoring of the attacker. This technology can not only capture the attacker's behavior covertly, but also conduct in-depth analysis of it without alerting the attacker. In addition, the system will collect the IP addresses that access these content traps and conduct in-depth IP address homology analysis to identify and analyze the attacker's behavior patterns and determine whether the attack behavior originates from the same attacker or attack organization. Through these innovative functions, the architecture of the present invention not only improves the ability to proactively identify and defend against potential network threats, but also provides more accurate intelligence collection and analysis methods for network security protection, thereby providing organizations with more comprehensive and intelligent security protection.
[0043] The present invention is based on the reverse proxy capability of the front-end honey court, dynamically adjusts the server's response content to the client, and cleverly embeds carefully designed content traps in the front-end page to build an imperceptible entrapment network. The present invention innovates the organization of content traps, generates diversified entrapment methods through differentiated strategies, and effectively improves the confusion and capture efficiency of attackers. The present invention monitors the client's interactive behavior with specific elements in the page in real time, and intelligently formulates and executes corresponding security policies based on its response. By collecting and analyzing IP address data that access the same false link, performing IP address homology analysis, and deeply exploring and building the behavioral characteristics and portraits of attackers, it provides powerful intelligence support for security protection.
[0044] Fake content trap:
[0045] See also Figure 2As shown in the figure, the fake content trap is a method of effectively attracting and identifying potential attackers by cleverly setting fake content that is irrelevant to normal user operations on the front-end page, such as the administrator interface. In normal use, these fake contents will not be clicked by users because they are irrelevant to the normal browsing and operation process of users. However, attackers often try to access these seemingly important contents when collecting information and detecting function points. The system can capture and record the IP addresses of the accesses in a timely manner by accurately monitoring the access requests to these fake contents. Based on the access frequency and behavior patterns of the attackers, the system can intelligently analyze and gradually upgrade the defense measures. From the initial warning and logout of a single device to the more severe logout of all devices of the user and prohibition of access rights of a single or all devices, the system can flexibly set the access number threshold to actively respond to and adapt to various attack behaviors.
[0046] This setting not only provides an additional security barrier for normal website resources, but also greatly increases the possibility of attackers triggering false link traps. Once the attacker triggers a false link in the process of trying to break through these barriers, the system will be able to more effectively identify and defend against potential attackers.
[0047] Fake link trap:
[0048] See also Figure 3 As shown, the fake link embeds an annotated hyperlink tag, email address or personal information in the website source code, which is insensitive to normal users. However, when the attacker collects information on the website, he is likely to notice the fake link content embedded in the source code. Moreover, the fake link has a certain sweetness for the attacker. It can be set as an access address similar to a login page, an access address similar to other important services of the website, etc. The present invention also differentiates the fake links. The real service behind the fake link can be set as a service honey spot or honey field.
[0049] A service honeypot is a specially configured service page that appears normal on the surface but is actually full of fake content. Once an attacker accesses the fake content, the system will immediately mark the client IP that triggers them as a suspicious attacker, allowing us to quickly activate the emergency response mechanism and effectively block malicious behavior.
[0050] A honey farm is a more complex trap. It is set up as a highly simulated business server, but its real purpose is to attract attackers to go deeper. Once the attacker operates on the honey farm, all their actions will be recorded in detail. This not only provides us with valuable data for attacker behavior analysis, but also delays the attacker's damage to real assets by simulating vulnerable targets, effectively increasing the cost of the attacker's attack.
[0051] The fake link technology of the present invention is not only highly flexible and customizable, but also can significantly improve the ability to trap attackers. By customizing the address of the fake hyperlink backend server, the trapping strategy can be flexibly adjusted according to security protection requirements, thus building a strong network security defense line.
[0052] IP address homology analysis strategy:
[0053] This invention significantly improves the monitoring and analysis capabilities of network attack behaviors through innovative IP address homology active tracking technology. We designed a customized hyperlink mechanism by carefully constructing attractive URL paths, such as https: / / www.example.com / login. These paths are not only naturally attractive to attackers because they are usually associated with login forms, but also login pages are often considered to have security vulnerabilities such as unauthorized access, which attackers may try to exploit to attack. In addition, attackers may construct payloads through parameters attached to the URL, or explore other sub-paths under the path. All these access behaviors are regarded as access to customized hyperlinks.
[0054] In order to hide their identity, attackers may use IP proxy pools to frequently change IP addresses. In response to this situation, the present invention implements a monitoring mechanism to monitor each customized hyperlink in real time and perform cluster analysis on all IP addresses that access these links. This analysis can identify attackers even if they use proxy pool technology to cover up their real IP addresses. Through this technology, we can accurately locate the attacker or attack organization behind it.
[0055] In addition, the present invention also includes the careful design of hyperlink paths to construct more attractive baits. Each customized path is optimized for the attacker's psychology and behavior patterns, ensuring that all the attacker's activities under the path, whether directly accessed or through constructed payloads, can be accurately captured and analyzed. This active tracking method based on IP address homology not only improves the accuracy of monitoring, but also provides deeper insights into network security protection.
[0056] The present invention has made a series of innovative improvements to the front honey court system to address the limitations of the existing system in terms of defense. Although the traditional front honey court system has achieved basic defense means through content anomaly detection, this defense mainly relies on static rule matching and is a passive defense. It is unable to actively trap attackers for active defense. In addition, the existing front honey court system also lacks the ability to analyze and trace attackers. In order to overcome these shortcomings, the present invention proposes an active defense solution based on the front honey court content trap.
[0057] The present invention introduces a false content trap into the front-end honey court system. These false contents set obstacles in the business site, which can not only delay the attacker's attack behavior and buy precious time for emergency response, but also implement hierarchical response strategies according to the number of times the attacker triggers, gradually restrict the attacker's access, thereby effectively improving the system's active defense capability.
[0058] The present invention also adds a false link trap to the front honey garden system, and diverts the attacker to the specified destination through a flexible and customized false link address. The present invention designs two diversion scenarios: one is to divert the attacker to the service honey spot and capture the attacker using a false content trigger mechanism; the other is to divert the attacker to the honey farm server, collect and record the attacker's attack behavior, and provide data support for further analysis.
[0059] Based on the IP addresses collected by the fake link function, the present invention further applies IP address homology analysis technology. This technology can accurately monitor and analyze attack behaviors and identify the activities of the same attacker or the same attack organization, thereby enhancing the system's analysis and tracing capabilities.
[0060] By combining the use of false content traps and false link traps, the present invention not only significantly improves the defense capability of the front-end honey court system, but also enhances the system's trapping and analysis capabilities. This innovative solution not only enhances system security, but also improves the system's flexibility and adaptability, enabling it to cope with changing network threats.
[0061] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0062] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. An active defense method based on the pre-placed honey court content trap, characterized in that: The active defense method comprises the following steps: S1: Based on the reverse proxy function of the front-end honey court, the server's response content to the client is dynamically modified, and content traps with differentiated characteristics are embedded in the front-end page. The content traps include false content traps and false link traps; S2: Design an IP address homology analysis strategy to push fake content to visitors in a customized manner, conduct in-depth analysis of IP addresses that access the same fake links, and further reveal the attacker's behavior patterns and potential identities.
2. According to claim 1, an active defense method based on the pre-honey trap is characterized by: In step S1, the false content trap is to set false content that is unrelated to normal user operations on the front-end page. The system accurately monitors access requests to these false contents, timely captures and records the access IP addresses, and intelligently analyzes and gradually upgrades defense measures based on the attacker's access frequency and behavior patterns; From initial warnings and logging out of a single device to more severe logging out of all the user's devices and prohibiting access rights for a single or all devices, the access threshold can be flexibly set to proactively respond to and adapt to various attack behaviors.
3. The active defense method based on the pre-honey trap according to claim 1 is characterized by: In step S1, the false link trap is achieved by embedding annotated hyperlink tags, email addresses or personal information in the website source code, which is insensitive to normal users. However, when attackers collect information on the website, they will notice the false link content embedded in the source code, and the false link is sweet to the attackers; the false links are differentiated, and the real services behind the false links are set as service honey spots or honey fields.
4. The active defense method based on the pre-honey trap according to claim 3 is characterized by: The service honey spot is a specially configured service page that appears normal on the surface but is actually full of false content. Once an attacker accesses the false content, the system will immediately mark the client IP that triggers them as a suspicious attacker, quickly activate the emergency response mechanism, and effectively block malicious behavior. The honey farm is set up as a highly simulated business server, but its real purpose is to attract attackers to go deeper. Once the attackers operate on the honey farm, all their actions will be recorded in detail.
5. The active defense method based on the pre-honey trap according to claim 1 is characterized by: In step 2, the IP address homology analysis strategy includes: Design a customized hyperlink mechanism and construct an attractive URL path. Attackers construct payloads through parameters attached to the URL or explore other sub-paths under the path. All these access behaviors are considered as access to customized hyperlinks. Implement a monitoring mechanism to monitor each customized hyperlink in real time and perform cluster analysis on all IP addresses accessing these links.
