Method and system for judging lost equipment based on multi-stage load delivery

Through the multi-stage payload delivery method, the operating information of the target device is obtained layer by layer, and the vulnerability rate is evaluated. This solves the problems of high detection false alarm rate and reliance on manual participation in existing network security technology, and achieves high accuracy and concealment of vulnerability. Equipment identification.

CN118784522APending Publication Date: 2024-10-15GUANGZHOU UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410791487.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing network security technology has problems such as high false alarm rate when detecting compromised devices, complex reliance on traffic baselines, the need to install monitoring tools for terminal behavior detection, log analysis relying on manual participation and the inability to achieve full automation, resulting in insufficient detection efficiency and accuracy.

Method used

A method based on multi-stage load delivery is adopted to obtain relevant information of the target equipment, evaluate the collapse rate, and judge the equipment based on the collapse rate. When the collapse rate is within the preset interval, multi-stage load delivery is performed, operating information is obtained layer by layer, and the collapse rate is updated to improve the discrimination accuracy.

Benefits of technology

There is no need to deploy a detection program on the target device in advance, which improves the discrimination ability and concealment, reduces the cost of information collection, and enhances the accuracy and automation of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784522A_ABST
    Figure CN118784522A_ABST
Patent Text Reader

Abstract

The invention provides a method for judging a lost device based on multi-stage load delivery, which belongs to the field of network security, and comprises the following steps: obtaining related information of a target device; performing evaluation based on the related information to obtain a loss rate; performing failure judgment on the target equipment based on the failure rate; the judgment results are divided into three types, namely a failure device, a suspicious device and a safe device; and when the judgment result is suspicious recognition, sequentially obtaining the operation information of the target equipment from the shallow layer to the deep layer, and updating the failure rate to perform failure judgment again. According to the method, the effective load is delivered to the target equipment in multiple stages, and the equipment and system information of the equipment at different levels is collected to judge whether the target equipment is lost or not, so that the defect that the information of the target equipment is difficult to acquire is overcome, and the reliability of the target equipment is improved. And the accuracy of failure judgment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security, and in particular to a method for identifying a compromised device based on multi-stage load delivery. Background Art

[0002] In cyberspace, all kinds of information systems need to provide services to specific legitimate devices, so for attackers, these legitimate devices have high attack value. After these legitimate devices are controlled by attackers and become compromised devices, attackers can attack other devices in the system or even servers to obtain specific assets. And because the attack behavior is initiated by legitimate devices, such attacks are highly concealed and extremely harmful to servers and systems.

[0003] To protect asset security, the system needs to promptly identify whether a device is a compromised device. The identification results are used to promptly repair compromised devices, prevent subsequent attacks, and generate threat intelligence. Currently, mainstream network security products identify whether a device is compromised from two perspectives: network traffic analysis technology detects devices that exceed the baseline by monitoring network data traffic; terminal behavior detection technology detects abnormal devices by analyzing abnormal behavior of devices; and security log analysis technology detects abnormal devices by analyzing system logs and application logs of terminal devices.

[0004] However, the above detection methods still have defects: traffic analysis technology is more dependent on the definition of traffic baselines. When the system business traffic complexity is high or there are many changes, it is difficult to give an accurate and effective traffic baseline. At this time, the false alarm rate of detection will be significantly higher; terminal behavior detection technology obtains the operation information of the device and needs to install monitoring tools on the device, which has great limitations; security log analysis technology needs to obtain the log information of the device, which is difficult to implement on the device and the analysis results are more dependent on the participation of technical personnel, and it is impossible to achieve fully automated analysis tool judgment. Therefore, it is necessary to provide a technical solution to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to provide a method for distinguishing a lost device based on multi-stage payload delivery, so as to improve the defect that it is difficult to obtain information in the existing lost device detection technology, and to improve the distinguishing ability while having higher concealment.

[0006] The present invention provides a method for identifying a lost device based on multi-stage payload delivery, comprising:

[0007] Get relevant information about the target device;

[0008] Evaluate based on relevant information to obtain the failure rate;

[0009] The target device is judged as a victim based on the victim rate: when the victim rate is in the preset victim range, the target device is judged as a victim device; when the victim rate is in the preset suspicious range, the target device is judged as a suspicious device; when the victim rate is in the preset safe range, the target device is judged as a safe device;

[0010] When the result of the loss judgment is a suspicious device, the payload is delivered to the target device in multiple stages from shallow to deep layers. The payload obtains the operating information of the target device from shallow to deep layers, and the loss rate is updated based on the operating information and the loss judgment is performed.

[0011] The beneficial effect of the method for identifying a compromised device provided by the present invention is that there is no need to deploy a terminal detection program on the target device in advance, and the concealment is relatively high.

[0012] Optionally, when evaluating the relevant information, a standardized analysis result is obtained by outputting a standardized method to obtain a failure rate.

[0013] The beneficial effect of the method for identifying a compromised device provided by the present invention is that the evaluation result is converted into an intuitive and quantifiable number in a standardized output manner, which facilitates the subsequent classification of the device compromise identification result.

[0014] Optionally, when the payload obtains the operation information of the target device in order from shallow layers to deep layers, the hierarchical structure of the target device is, in order from shallow layers to deep layers, a Web layer, an application layer, and a kernel layer.

[0015] The beneficial effect of a method for identifying a compromised device provided by the present invention is that the acquisition of operating information of the target device is carried out in multiple stages, and by collecting information of different levels and characteristics at multiple levels such as the Web layer, application layer and kernel layer, the compromise rate of the target device is gradually increased, the information collection cost is reduced, and the accuracy of identification is improved.

[0016] Optionally, the target device's operating information at the Web layer includes access request logs and file upload activities; the target device's operating information at the application layer includes a list of running processes, network connections, application logs, file system activities, and user activities; the target device's operating information at the kernel layer includes kernel modules and drivers, system calls, and kernel logs.

[0017] The beneficial effect of the method for identifying a lost device provided by the present invention is that information is acquired sequentially from shallow to deep layers, and deep information is acquired directionally based on the information acquired at the shallow layer, thereby reducing the cost of information collection and improving the accuracy of lost device identification.

[0018] Optionally, when obtaining the operating information of the target device in sequence from shallow to deep layers, it includes: the load delivery module delivers the corresponding load to the target device in multiple stages from shallow to deep layers, the load is executed at the corresponding level of the target device, and the operating information of the corresponding level of the target device is obtained and transmitted back.

[0019] The beneficial effect of the method for identifying a lost device provided by the present invention is that the payload collects target device information of different levels and granularities from the Web layer, application layer, and kernel layer.

[0020] Optionally, when the corresponding payload is executed at the corresponding level of the target device, it includes:

[0021] When the corresponding payload is executed on the Web layer of the target device, the target device's operation information on the Web layer is obtained, including abnormal access patterns, potential malicious requests, and malicious files.

[0022] When the corresponding payload is executed at the application layer of the target device, the target device's operating information at the application layer is obtained, including: abnormal running processes, abnormal external communications, potential malicious activities, and abnormal user behaviors;

[0023] When the corresponding payload is executed in the kernel layer of the target device, the operation information of the target device in the kernel layer is obtained, including: abnormal system behavior and system anomalies.

[0024] Optionally, in the process of acquiring the operating information of the target device from shallow to deep layers and updating the failure rate, if the judgment result is a suspicious device and the operating information is the operating information of the deepest kernel layer, the acquisition of the operating information of the target device is terminated.

[0025] A system for identifying lost equipment based on multi-stage payload delivery, comprising:

[0026] A signal processing module, used to obtain relevant information of the target device;

[0027] An evaluation module, used to evaluate relevant information to obtain a failure rate;

[0028] The decision module determines the target device for a given trap based on the trap rate. The determination results include: if the trap rate is in a preset trap interval, the target device is a trapped device; if the trap rate is in a preset suspicious interval, the target device is a suspicious device; if the trap rate is in a preset safe interval, the target device is a safe device;

[0029] The decision module also includes a payload delivery module: when the judgment result is a suspicious device, the payload delivery module delivers the payload to the target device in multiple stages. The payload obtains the operating information of the target device from shallow to deep layers, updates the failure rate based on the operating information, and performs failure judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a flow chart of the method for identifying compromised devices;

[0031] Figure 2 This is the flowchart of the compromised device identification system. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. 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. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meanings understood by people with general skills in the field to which the present invention belongs.

[0033] refer to Figure 1 The embodiment of the present invention provides a method for determining a lost device based on multi-stage payload delivery, comprising the following steps:

[0034] S1. Obtain relevant information of the target device;

[0035] S2. Evaluate based on relevant information to obtain the failure rate;

[0036] S3. Determine the target device based on the failure rate.

[0037] In fact, when performing step S1, the security device detects a suspicious event and sends an alarm message to the compromise identification system, which analyzes the alarm message and obtains relevant information of the suspicious device, including the device model, network location, etc.

[0038] In fact, when performing step S2, the target device related information obtained by parsing is evaluated in a variety of ways, and the failure rate is obtained by output standardization:

[0039] Rule-based approach:

[0040] Based on signature rules, patterns in logs and interaction records are matched against signature libraries based on known malicious activities;

[0041] Behavior analysis rules, define rules to detect abnormal behavior;

[0042] Machine Learning Methods:

[0043] Supervised learning, training classifiers to identify normal and abnormal behaviors;

[0044] Unsupervised learning, using clustering algorithms and anomaly detection algorithms to identify abnormal behavior and potential attacks;

[0045] Time Series Anomaly Detection:

[0046] Use time series analysis to detect unusual patterns in log and activity data;

[0047] Association rule mining:

[0048] Use algorithms such as Apriori and FP-Growth to mine association rules in log data;

[0049] When analyzing the collected information to evaluate the possibility of device failure, the output is standardized so that the analysis result falls within the interval [0, 1] to obtain the device failure rate.

[0050] In fact, when performing step S3, there is also a sub-step S3.1:

[0051] When the failure rate is greater than or equal to the first threshold, the failure rate is in the failure interval; when the failure rate is less than the first threshold and greater than or equal to the second threshold, the failure rate is in the suspicious interval; when the failure rate is less than the second threshold, the failure rate is in the safe interval;

[0052] When the trap rate is in the preset trap interval, the target device is judged as a trapped device, the service to the target device is stopped, the trap judgment is stopped, the target device is notified by broadcast that it has been trapped and the relevant information of the trapped device is output; when the trap rate is in the preset suspicious interval, the target device is judged as a suspicious device and the service to the target device is maintained; when the trap rate is in the preset safe interval, the target device is judged as a safe device, the trap judgment is stopped, and the target device is notified by broadcast that it is safe;

[0053] Among them, the first threshold is set to 0.8, and the second threshold is set to 0.5. The first threshold and the second threshold can be appropriately adjusted according to specific needs and scenarios: when the requirements for the judgment results are high, the first and second thresholds can be appropriately lowered to improve the judgment requirements; when it is necessary to reduce the impact on the operation of security equipment, the first and second thresholds can be appropriately increased to reduce the impact of the compromised judgment on the compromised equipment.

[0054] In fact, reference Figure 2 , when performing step S3, there is also sub-step S3.2:

[0055] When the target device is identified as a suspicious device, the payload delivery module delivers the payload to the target device in multiple stages from shallow to deep layers. The payload obtains and transmits back the operating information of the target device in sequence from shallow to deep layers, updates the failure rate based on the operating information, and re-identifies the failure.

[0056] In fact, when the payload obtains the running information of the target device from shallow to deep layers, the hierarchical structure of the target device is the Web layer, application layer and kernel layer from shallow to deep layers.

[0057] In fact, the target device's running information at the Web layer includes access request logs and file upload activities; the target device's running information at the application layer includes process lists, network connections, application logs, file system activities, and user activities; the target device's running information at the kernel layer includes kernel modules and drivers, system calls, and kernel logs.

[0058] In fact, when performing step S3.2, there is also sub-step S3.2.1:

[0059] The payload delivery module delivers the corresponding payload to the target device through different channels from shallow to deep layers;

[0060] Specifically, the channels for payload delivery include but are not limited to Web services, SMB, RDP, AFP, AirDrop, NFS, SFTP, FTP and WebDAV. Depending on the target device, the corresponding channel is selected to deliver the payload.

[0061] In fact, when performing step S3.2, there is also a sub-step S3.2.2:

[0062] The corresponding load is executed at the corresponding level of the target device, and the operation information of the corresponding level of the target device is obtained and returned. Sub-step S2 is performed again based on the returned operation information:

[0063] When the corresponding payload is executed on the Web layer of the target device, the target device's operation information on the Web layer is obtained, including abnormal access patterns, potential malicious requests, and malicious files.

[0064] When the corresponding payload is executed at the application layer of the target device, the target device's operating information at the application layer is obtained, including: abnormal running processes, abnormal external communications, potential malicious activities, and abnormal user behaviors;

[0065] When the corresponding payload is executed in the kernel layer of the target device, the operation information of the target device in the kernel layer is obtained, including: abnormal system behavior and system anomalies.

[0066] In the process of obtaining the operating information of the target device from shallow to deep layers and updating the trap rate, when the judgment result is a suspicious device and the operating information is the operating information of the deepest kernel layer, the trap judgment is terminated, the acquisition of the operating information of the target device is terminated, the service for the suspicious target device is maintained and step S3.2 is restarted regularly.

[0067] The present invention provides a system for identifying a compromised device, comprising:

[0068] A signal processing module, used to obtain relevant information of the target device;

[0069] An evaluation module, used for evaluating the relevant information to obtain a failure rate;

[0070] A decision module, based on the trap rate, performs a trap determination on the target device, wherein the determination result includes: if the trap rate is within a preset trap interval, the target device is a trapped device; if the trap rate is within a preset suspicious interval, the target device is a suspicious device; if the trap rate is within a preset safe interval, the target device is a safe device;

[0071] The decision module also includes a load delivery module: when the judgment result is a suspicious device, the load delivery module delivers the load to the target device in multiple stages from shallow to deep layers, and the load obtains the operation information of the target device from shallow to deep layers. The operation information is used by the decision module to update the failure rate and perform failure judgment.

[0072] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.

Claims

1. A method for identifying lost devices based on multi-stage payload delivery, characterized in that: include: Get relevant information of the target device; Performing an evaluation based on the relevant information to obtain a failure rate; The target device is judged as a victim based on the victim rate: when the victim rate is in a preset victim interval, the target device is judged as a victim device; when the victim rate is in a preset suspicious interval, the target device is judged as a suspicious device; when the victim rate is in a preset safe interval, the target device is judged as a safe device; Among them, when the result of the loss judgment is a suspicious device, the load delivery module delivers the load to the target device in multiple stages from shallow to deep layers, and the load obtains the operation information of the target device from shallow to deep layers, updates the loss rate based on the operation information, and performs the loss judgment.

2. The identification method according to claim 1, characterized in that: When evaluating the relevant information, the failure rate is obtained by output standardization.

3. The identification method according to claim 1, characterized in that: When the load sequentially obtains the operation information of the target device from the shallow layer to the deep layer, the hierarchical structure of the target device sequentially includes the Web layer, the application layer and the kernel layer from the shallow layer to the deep layer.

4. The identification method according to claim 3, characterized in that: include: The operation information of the target device in the Web layer includes access request logs and file upload activities; The running information of the target device at the application layer includes a running process list, network connections, application logs, file system activities and user activities; the running information of the target device at the kernel layer includes kernel modules and drivers, system calls and kernel logs.

5. The identification method according to claim 3, characterized in that: When the operation information of the target device is obtained in sequence from shallow to deep layers, it includes: the load delivery module delivers the corresponding load to the target device in multiple stages from shallow to deep layers, the load is executed at the corresponding level of the target device, and the operation information of the corresponding level of the target device is obtained and returned.

6. The identification method according to claim 5, characterized in that: The corresponding load, when executed at the corresponding level of the target device, includes: When the corresponding load is executed at the Web layer of the target device, the operation information of the target device at the Web layer is obtained, including: abnormal access patterns, potential malicious requests and malicious files; When the corresponding load is executed at the application layer of the target device, the operation information of the target device at the application layer is obtained, including: abnormal operation process, abnormal external communication, potential malicious activities and abnormal user behavior; When the corresponding load is executed in the kernel layer of the target device, the operation information of the target device in the kernel layer is obtained, including: abnormal system behavior and system anomaly.

7. The identification method according to claim 6, characterized in that: In the process of sequentially acquiring the operation information of the target device from shallow to deep layers and updating the failure rate, when the judgment result is a suspicious device and the operation information is the operation information of the deepest kernel layer, the acquisition of the operation information of the target device is terminated.

8. A system for identifying lost equipment based on multi-stage payload delivery, characterized in that: include: A signal processing module, used to obtain relevant information of the target device; An evaluation module, used for evaluating the relevant information to obtain a failure rate; A decision module, based on the trap rate, performs a trap determination on the target device, wherein the determination result includes: if the trap rate is within a preset trap interval, the target device is a trapped device; if the trap rate is within a preset suspicious interval, the target device is a suspicious device; if the trap rate is within a preset safe interval, the target device is a safe device; The decision module also includes a load delivery module: when the judgment result is a suspicious device, the load delivery module delivers the load to the target device in multiple stages, and the load obtains the operation information of the target device from the shallow layer to the deep layer. The decision module updates the failure rate based on the operation information and performs failure judgment.