A method and device for collecting attack data forensics for IoT devices

By clustering IoT devices and generating forensic strategies, and using a distributed task execution system to obtain digital evidence, the problem of complexity of IoT device forensics is solved and efficiency and management convenience are improved.

CN118646600BActive Publication Date: 2024-10-22WUDING SECURITY TECH (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411109407.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-22
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

Due to the large number and diverse types of IoT devices, the forensic work is complex, and traditional methods are difficult to effectively cope with the demand for attack data forensics, especially under resource constraints and different communication protocols.

Method used

By obtaining device information of IoT devices for clustering processing, evidence collection strategies and tasks are generated, and the distributed task execution system is used to select collection nodes to obtain digital evidence and store them in the file system.

Benefits of technology

It improves the forensic efficiency of IoT devices and the work efficiency of collection nodes, facilitates the unified management of forensic tasks and digital evidence, and avoids the huge workload of manually setting strategies and excessive decentralization of tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646600B_ABST
    Figure CN118646600B_ABST
Patent Text Reader

Abstract

The present invention proposes a data forensics method and device for Internet of Things devices, including obtaining device information of the Internet of Things devices to be collected, clustering the Internet of Things devices according to the device information of the Internet of Things devices to obtain one or more Internet of Things device clusters, generating a forensics strategy for each of the Internet of Things device clusters, generating one or more tasks to be collected according to the generated forensics strategy, and sending them to a distributed task execution system, the distributed task execution system including one or more collection nodes, the distributed task execution system selecting a collection node to execute the tasks to be collected according to the received one or more tasks to be collected, obtaining digital evidence of the Internet of Things device being attacked, and storing it in a file system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data forensics for Internet of Things devices, and in particular to an attack data forensics method and device for Internet of Things devices. Background Art

[0002] The rapid development of the Internet of Things (IoT) has brought unprecedented convenience, but it has also brought new security challenges. Due to the large number and diverse types of IoT devices, once they are attacked, forensics becomes extremely complicated. IoT devices have become new targets for cyber attacks due to their large number, wide distribution and diverse types. Common attacks include malware infection, denial of service attacks (DoS / DDoS), man-in-the-middle attacks, etc. These attacks may cause data leakage, service interruption or device damage, so effective forensics methods are needed to track the source and behavior of the attack. The data collected and transmitted by IoT devices may contain sensitive information, such as personal identity information, health data or commercial secrets. Therefore, protecting the integrity and privacy of this data is an important aspect of IoT forensics. IoT devices usually have resource constraints, such as limited computing power, storage space and battery life. In addition, the communication protocols and interfaces between devices are also different, which brings additional challenges to forensics.

[0003] Traditional forensic methods often cannot effectively meet the forensic needs of IoT devices. Therefore, it is particularly important to develop a data forensics method specifically for IoT devices. Summary of the invention

[0004] The main purpose of the present invention is to propose an attack data forensics method and device for IoT devices, aiming to solve the problem of how to improve the efficiency of attack data forensics of IoT devices.

[0005] A data forensics method for Internet of Things devices, characterized by comprising the following steps:

[0006] S1, obtaining device information of the IoT device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the IoT device;

[0007] S2, clustering the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters;

[0008] S3, generating a forensic strategy for each of the IoT device clusters, wherein the forensic strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection;

[0009] S4, generating one or more tasks to be collected based on the generated evidence collection strategy, and sending them to a distributed task execution system, wherein the distributed task execution system includes one or more collection nodes;

[0010] S5, the distributed task execution system selects a collection node to execute the task to be collected according to the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in the file system.

[0011] There are multiple IoT devices to be collected for evidence, and the hardware characteristics include one or more of the CPU model, memory size, and storage capacity of the IoT devices.

[0012] The software features include one or more of the operating system type and version of the IoT device and installed applications.

[0013] The S2 performs clustering processing on the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters, specifically including:

[0014] S21, obtaining a clustering attribute input by a user, where the clustering attribute is one of the device attributes;

[0015] S22: Clustering the IoT devices based on the clustering attributes to obtain one or more IoT device clusters, wherein each of the IoT device clusters has the same or similar clustering attributes.

[0016] The S3 generates a forensic strategy for each of the IoT device clusters. The forensic strategy includes a time range, file list, collection depth, and collection frequency for data collection, specifically including:

[0017] S31, determining whether there is user input, if so, obtaining the time range, file list, collection depth and collection frequency input by the user, and generating a forensics strategy;

[0018] S32, if it does not exist, generates a storage policy according to the default value.

[0019] S4 generates one or more tasks to be collected based on the generated evidence collection strategy, and sends them to a distributed task execution system, which includes one or more collection nodes, specifically including:

[0020] S41, generating a task to be collected for evidence for each cluster of the IoT device, and setting the task attribute of the task to be collected for evidence to the cluster attribute of the cluster;

[0021] S42, sending one or more tasks to be collected evidence with task attributes to the distributed task execution system.

[0022] The distributed task execution system in S5 selects a collection node to execute the task to be collected based on the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in the file system, which specifically includes:

[0023] S51, the distributed task execution system obtains the task attribute of each task to be collected based on the received one or more tasks to be collected;

[0024] S52, matching corresponding collection nodes according to task attributes, specifically including:

[0025] S521, extracting the task allocation history records of each collection node, wherein the task allocation history records include the association relationship between the evidence collection task, the task attributes and the collection nodes;

[0026] S522, counting the number of task attributes of the forensic task completed by each acquisition node and the task attributes of the most recently completed forensic task;

[0027] S523, according to the task attributes of the task to be collected, select the collection node that has completed the most collection tasks with the task attributes of the task to be collected as the matching collection node, or select the collection node with the same task attributes as the most recently completed collection task as the matching collection node.

[0028] S53: Obtain digital evidence of the IoT device being attacked and store it in a file system.

[0029] The present invention also proposes a data forensics device for Internet of Things devices, characterized in that it includes: an acquisition module, used to acquire device information of the Internet of Things device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the Internet of Things device; a clustering module, used to cluster the Internet of Things devices according to the device information of the Internet of Things devices to obtain one or more Internet of Things device clusters; a strategy generation module, used to generate a forensics strategy for each of the Internet of Things device clusters, wherein the forensics strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection; a task delivery strategy module, used to generate one or more tasks to be collected according to the generated forensics strategy, and deliver them to a distributed task execution system;

[0030] A distributed task execution system, the distributed task execution system includes one or more collection nodes; the distributed task execution system selects a collection node to execute the task to be collected based on the execution frequency of the IoT devices in the IoT device cluster and the collection nodes in historical tasks, obtains digital evidence of the IoT device being attacked, and stores it in a file system.

[0031] The present invention also proposes a data forensics device for Internet of Things devices, including a processor and a memory, wherein the memory stores computer program code, and is characterized in that when the computer program code is executed by the processor, the steps of a data forensics method for Internet of Things devices are implemented.

[0032] The present invention also proposes a computer-readable storage medium having computer program code stored thereon, characterized in that when the computer program code is executed, steps of a data forensics method for Internet of Things devices are implemented.

[0033] The beneficial effects of the present invention include: (1) clustering is performed based on the device information of the IoT devices, and a forensic strategy is generated for each IoT device cluster, so that IoT devices with the same or similar clustering attributes can use the same set of forensic strategies in batches, avoiding the huge workload of manually setting forensic strategies for each IoT device, and improving the forensic efficiency of IoT devices; (2) the distributed task execution system matches the corresponding collection nodes according to the task attributes, and forensic tasks with the same or similar clustering attributes can be concentrated on the same collection node for execution, thereby improving the work efficiency of the collection nodes and the concentration of forensic tasks, and facilitating the unified management of forensic tasks and digital evidence. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0035] The present invention proposes a data forensics method for IoT devices, which is characterized by comprising the following steps:

[0036] S1, obtaining device information of the IoT device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the IoT device;

[0037] S2, clustering the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters;

[0038] S3, generating a forensic strategy for each of the IoT device clusters, wherein the forensic strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection;

[0039] S4, generating one or more tasks to be collected based on the generated evidence collection strategy, and sending them to a distributed task execution system, wherein the distributed task execution system includes one or more collection nodes;

[0040] S5, the distributed task execution system selects a collection node to execute the task to be collected according to the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in the file system.

[0041] There are multiple IoT devices to be collected for evidence, and the hardware characteristics include one or more of the CPU model, memory size, and storage capacity of the IoT devices.

[0042] The software features include one or more of the operating system type and version of the IoT device and installed applications.

[0043] The S2 performs clustering processing on the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters, specifically including:

[0044] S21, obtaining a clustering attribute input by a user, where the clustering attribute is one of the device attributes;

[0045] The user may be a system administrator, a task manager, or a network security expert;

[0046] Users can select clustering attributes by text input or by clicking corresponding buttons on the user interface;

[0047] S22: Clustering the IoT devices based on the clustering attributes to obtain one or more IoT device clusters, wherein each of the IoT device clusters has the same or similar clustering attributes.

[0048] The S3 generates a forensic strategy for each of the IoT device clusters. The forensic strategy includes a time range, file list, collection depth, and collection frequency for data collection, specifically including:

[0049] S31, determining whether there is user input, if so, obtaining the time range, file list, collection depth and collection frequency input by the user, and generating a forensics strategy;

[0050] The time range includes the start time and the end time, the acquisition depth includes the folder level of the acquired files, and the acquisition frequency includes the time frequency or the time of scheduled acquisition;

[0051] S32, if it does not exist, a storage policy is generated according to a default value. The default value may be a time range of the last day, a file list of all files, a collection depth of the root folder level, and a collection frequency of once a day.

[0052] S4 generates one or more tasks to be collected based on the generated evidence collection strategy, and sends them to a distributed task execution system, which includes one or more collection nodes, specifically including:

[0053] S41, generating a task to be collected for evidence for each cluster of the IoT device, and setting the task attribute of the task to be collected for evidence to the cluster attribute of the cluster;

[0054] S42, sending one or more tasks to be collected evidence with task attributes to the distributed task execution system.

[0055] The distributed task execution system in S5 selects a collection node to execute the task to be collected based on the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in the file system, which specifically includes:

[0056] The digital evidence of the attack may include: Log files: Operation logs generated by IoT devices record the activities and system events of the device, which can show unauthorized access or abnormal behavior. Network traffic data: Communication data packets in the network can be intercepted and analyzed to determine whether there are suspicious traffic patterns or attack behaviors. System configuration and status information: The status and configuration information of the device, such as firmware version, open ports, running services, etc., can provide clues to the attack. Malware samples: If the IoT device is infected with malware, the malware samples can be used as direct evidence of the attack. Intrusion traces: Files, modified settings or other traces left by the attacker in the system can be used as evidence of the intrusion. Abnormal behavior patterns: Patterns exhibited by the device that are inconsistent with normal behavior, such as abnormal increases in data transmission, may also be signs of an attack. Physical evidence: In some cases, physical evidence related to the IoT device may also need to be considered, such as damaged hardware.

[0057] S51, the distributed task execution system obtains the task attribute of each task to be collected based on the received one or more tasks to be collected;

[0058] S52, matching corresponding collection nodes according to task attributes, specifically including:

[0059] S521, extracting the task allocation history records of each collection node, wherein the task allocation history records include the association relationship between the completed evidence collection tasks, task attributes and collection nodes;

[0060] S522, counting the number of times each acquisition node has completed the task attribute of the forensic task and the task attribute of the most recently completed forensic task;

[0061] S523, according to the task attributes of the task to be collected, select the collection node that has completed the most collection tasks with the task attributes of the task to be collected, or select the collection node with the same task attributes as the most recently completed collection task as the matching collection node.

[0062] S53: Obtain digital evidence of the IoT device being attacked and store it in a file system.

[0063] In this way, tasks with the same task attributes can be concentrated on the same collection node for execution, avoiding excessive decentralization of forensic tasks, improving the work efficiency of collection nodes and the centralization of forensic tasks, and facilitating unified management of forensic tasks and digital evidence by system administrators.

[0064] The present invention also proposes a data forensics device for Internet of Things devices, characterized in that it includes: an acquisition module, used to acquire device information of the Internet of Things device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the Internet of Things device; a clustering module, used to cluster the Internet of Things devices according to the device information of the Internet of Things devices to obtain one or more Internet of Things device clusters; a strategy generation module, used to generate a forensics strategy for each of the Internet of Things device clusters, wherein the forensics strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection; a task delivery strategy module, used to generate one or more tasks to be collected according to the generated forensics strategy, and deliver them to a distributed task execution system;

[0065] A distributed task execution system, the distributed task execution system includes one or more collection nodes; the distributed task execution system selects a collection node to execute the task to be collected based on the execution frequency of the IoT devices in the IoT device cluster and the collection nodes in historical tasks, obtains digital evidence of the IoT device being attacked, and stores it in a file system.

[0066] The present invention also proposes a data forensics device for Internet of Things devices, including a processor and a memory, wherein the memory stores computer program code, and is characterized in that when the computer program code is executed by the processor, the steps of a data forensics method for Internet of Things devices are implemented.

[0067] The present invention also proposes a computer-readable storage medium having computer program code stored thereon, characterized in that when the computer program code is executed, steps of a data forensics method for Internet of Things devices are implemented.

[0068] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A data forensics method for IoT devices, characterized in that: The following steps are involved: S1, obtaining device information of the IoT device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the IoT device; S2, clustering the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters; S3, generating a forensic strategy for each of the IoT device clusters, wherein the forensic strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection; S4, generating one or more tasks to be collected based on the generated evidence collection strategy, and sending them to a distributed task execution system, wherein the distributed task execution system includes one or more collection nodes; S5, the distributed task execution system selects a collection node to execute the task to be collected according to the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in a file system.

2. The method according to claim 1, characterized in that There are multiple IoT devices to be collected for evidence, and the hardware characteristics include one or more of the CPU model, memory size, and storage capacity of the IoT devices.

3. The method according to claim 2, characterized in that The software features include one or more of the operating system type and version of the IoT device and installed applications.

4. The method according to claim 1, characterized in that The S2 performs clustering processing on the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters, specifically including: S21, obtaining a clustering attribute input by a user, where the clustering attribute is one of the device attributes; S22: Clustering the IoT devices based on the clustering attributes to obtain one or more IoT device clusters, wherein each of the IoT device clusters has the same or similar clustering attributes.

5. The method according to claim 1, characterized in that The S3 generates a forensic strategy for each of the IoT device clusters. The forensic strategy includes a time range, file list, collection depth, and collection frequency for data collection, specifically including: S31, determining whether there is user input, if so, obtaining the time range, file list, collection depth and collection frequency input by the user, and generating a forensics strategy; S32, if it does not exist, generates a storage policy according to the default value.

6. The method according to claim 1, characterized in that S4 generates one or more tasks to be collected based on the generated evidence collection strategy, and sends them to a distributed task execution system, which includes one or more collection nodes, specifically including: S41, generating a task to be collected for evidence for each cluster of the IoT device, and setting the task attribute of the task to be collected for evidence to the cluster attribute of the cluster; S42, sending one or more tasks to be collected evidence with task attributes to the distributed task execution system.

7. The method according to claim 6, characterized in that The distributed task execution system in S5 selects a collection node to execute the task to be collected based on the received one or more tasks to be collected, obtains digital evidence of the IoT device being attacked, and stores it in the file system, which specifically includes: S51, the distributed task execution system obtains the task attribute of each task to be collected based on the received one or more tasks to be collected; S52, matching corresponding collection nodes according to task attributes, specifically including: S521, extracting the task allocation history records of each collection node, wherein the task allocation history records include the association relationship between the completed evidence collection tasks, task attributes and collection nodes; S522, counting the number of times each acquisition node has completed the task attribute of the forensic task and the task attribute of the most recently completed forensic task; S523, according to the task attribute of the task to be collected, select the collection node that has completed the most collection tasks with the task attribute of the task to be collected, or select the collection node with the same task attribute as the most recently completed collection task as the matching collection node; S53: Obtain digital evidence of the IoT device being attacked and store it in a file system.

8. A data forensics device for Internet of Things devices, characterized in that: include: An acquisition module is used to acquire device information of the IoT device to be collected, wherein the device attributes in the device information include the IP address, device type, manufacturer, hardware features, and software features of the IoT device; A clustering module, used for clustering the IoT devices according to the device information of the IoT devices to obtain one or more IoT device clusters; A strategy generation module, for generating a forensic strategy for each of the IoT device clusters, wherein the forensic strategy includes a time range, a file list, a collection depth, and a collection frequency for data collection; The task delivery strategy module is used to generate one or more tasks to be delivered to the distributed task execution system according to the generated evidence collection strategy; A distributed task execution system, the distributed task execution system includes one or more collection nodes; the distributed task execution system selects a collection node to execute the task to be collected based on the execution frequency of the IoT devices in the IoT device cluster and the collection nodes in historical tasks, obtains digital evidence of the IoT device being attacked, and stores it in a file system.

9. A data forensics device for an Internet of Things device, comprising a processor and a memory, wherein the memory stores a computer program code, characterized in that: When the computer program code is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program code stored thereon, characterized in that: When the computer program code is executed, the steps of the method according to any one of claims 1 to 7 are implemented.