IoT terminal security protection system based on Hook technology

Through the monitoring module based on Hook technology and the access control list management of blockchain technology, combined with the unified management of the trusted cloud service module, the problem of insufficient security protection of IoT terminals in the face of complex network security threats is solved, and efficient The security response and access control significantly improve the overall security of IoT terminals.

CN118611991BActive Publication Date: 2024-10-11BEIJING HAOCHANG TIANDING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411078834.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-11
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Existing IoT terminals are difficult to provide adequate, proactive and fine-grained security protection when faced with complex and ever-changing network security threats. They also lack effective access control and permission management, making it difficult to respond to internal and external security threats.

Method used

Adopting an IoT terminal security protection system based on Hook technology, it monitors system calls and kernel functions in real time through the monitoring module, intercepts unauthorized operations and potential threats, and combines blockchain technology to achieve decentralized access control list management, and through trusted The cloud service module performs unified security policy and software update management.

Benefits of technology

Significantly improves the security of IoT terminals, can quickly respond to emerging threats, ensures system stability and security, achieves consistency and non-repudiation of access control lists, reduces risks caused by software vulnerabilities, and improves system reliability. Adaptability and overall safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118611991B_ABST
    Figure CN118611991B_ABST
Patent Text Reader

Abstract

The invention discloses an Internet of Things terminal security protection system based on Hook technology, and relates to the field of Internet of Things security technology. The invention comprises a monitoring module, a list management module and a trusted cloud service module; the monitoring module is used for monitoring and controlling the system call and kernel function of the Internet of Things terminal through the Hook technology, so as to realize the control of the system communication channel and the interception of dangerous instructions; the system call is intercepted by the Hook technology; the invention significantly improves the security of the system by deploying the monitoring module based on the Hook technology on the Internet of Things terminal; the module can monitor the system call and kernel function in real time, intercept unauthorized operations and potential dangerous instructions, so as to effectively prevent security threats such as system privilege escalation and illegal access, and the analysis of system behavior patterns and the identification of abnormal behaviors, combined with the automated security early warning and response mechanism, enhances the system's rapid response capability to emerging security threats.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things security technology, and in particular to an Internet of Things terminal security protection system based on Hook technology. Background Art

[0002] With the rapid development of IoT technology, hundreds of millions of devices are interconnected through the network, realizing intelligent management and control. However, the widespread use of IoT devices has also brought many security challenges. These devices are usually resource-constrained and lack sufficient security protection measures, making them easy targets for network attacks. Traditional security solutions are often difficult to adapt to the diversity and resource limitations of IoT devices, resulting in frequent security vulnerabilities and attacks. The wide distribution of IoT devices and large network exposure make their security management and data protection more complicated.

[0003] Existing IoT security technologies mainly focus on security protection at the network and application levels, but there is relatively little security control at the operating system kernel level. Some solutions rely on regularly updating feature libraries to identify and defend against known threats, but this approach is insufficient to respond to emerging and unknown attack patterns. In addition, the decentralized nature of IoT devices requires security solutions to be highly scalable and flexible. Existing security measures often lack effective access control and permission management, making it difficult to cope with internal and external security threats. Therefore, there is an urgent need for a more proactive and forward-looking security protection technology to improve the overall security of IoT terminals.

[0004] In order to solve the above defects, a technical solution is now provided. Summary of the invention

[0005] The purpose of the present invention is to solve the problem that existing Internet of Things terminals are difficult to provide sufficient, active and fine-grained security protection when facing complex and changeable network security threats, and to propose an Internet of Things terminal security protection system based on Hook technology.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] The IoT terminal security protection system based on Hook technology includes:

[0008] The monitoring module is used to monitor and control the system calls and kernel functions of the IoT terminal through Hook technology, to control the system communication channel and intercept dangerous instructions. The specific steps are as follows:

[0009] Use Hook technology to intercept system calls and monitor the access and operation of system resources;

[0010] Monitor the execution of kernel functions through Hook technology to ensure that system operations comply with predetermined security policies and prevent unauthorized kernel-level operations;

[0011] Monitor the network communications of IoT terminals, detect and intercept abnormal inbound and outbound data flows, prevent malicious data transmission, identify and intercept instructions that endanger system security, including system privilege escalation and illegal access, to ensure system stability and security;

[0012] Analyze system behavior patterns and identify abnormal behavior;

[0013] According to the preset security policies, corresponding security measures are automatically executed. When abnormal behavior or potential threats are found, security warnings are immediately generated to notify system administrators or automatically trigger corresponding security protection measures.

[0014] Record detailed logs of all monitoring activities and security events, dynamically update security policies and optimize monitoring rules based on monitoring results and security events;

[0015] Pass monitoring results and security warning information to the list management module and the trusted cloud service module to achieve cross-module security collaboration;

[0016] The list management module is used to implement decentralized access control list management using blockchain technology, ensure the consistency and non-repudiation of the access control list, and prevent the access control list from being maliciously tampered with;

[0017] The trusted cloud service module is used to achieve unified management of access control list maintenance and software updates using blockchain, cloud, intelligent AI and edge computing.

[0018] Furthermore, the specific process of monitoring the execution of the kernel function by the Hook technology in the monitoring module is as follows:

[0019] Analyze the kernel function call graph and identify key kernel functions as Hook points;

[0020] Write custom Hook functions for each selected Hook point. These functions will be called before and after the original kernel function is executed. Inject the Hook function into the kernel space and replace or append it to the original kernel function by modifying the kernel source code or using special injection techniques.

[0021] Implement access control logic in the Hook function, check whether the context of executing the kernel function complies with the security policy, use the Hook function to monitor the execution process of the kernel function, and record key information such as caller identity, parameters, execution time, etc.

[0022] Perform security policy checks in the Hook function, including verifying whether the caller has the authority to execute the kernel function or whether the parameters meet expectations. When an unauthorized kernel function call is detected, the call is intercepted through the Hook function to prevent its execution or execute the response measures defined in the security policy.

[0023] Record all kernel function calls and security check results, generate security logs for post-audit and analysis, define exception response mechanisms, and trigger alarms or automatically execute predefined security response measures when abnormalities or unauthorized operations are detected.

[0024] Furthermore, the specific operation steps for determining the key kernel function as the Hook point in the monitoring module are as follows:

[0025] Specifically, a comprehensive analysis is conducted by determining the optimal factors of the kernel function. The optimal parameters include:

[0026] Call frequency;

[0027] Permission level: Set the permission level to five, set different permission points for each permission level, and use the permission points as the standard for measuring permission levels;

[0028] System call entry: The kernel function that is the system call entry point is quantified by the system value. When the kernel function is the function of the system call entry point, the system value is 1, otherwise, the system value is 0.

[0029] Module dependency: The module dependency is assigned a score of 1-10 and recorded as the module dependency score, which is used as a standard to measure module dependency;

[0030] Then normalize the obtained call frequency, authority score, system value and module score and enter them into the following formula: To get the evaluation value PPZ, where dp, qf, xd and my are the call frequency, authority score, system tuning value and module score respectively. They are the preset weight coefficients of call frequency, authority score, system value and module score;

[0031] The evaluation value PPZ obtained by different kernel functions is compared with the preset evaluation threshold. When the evaluation value PPZ is greater than the preset evaluation threshold, the kernel function is judged to be a key kernel function.

[0032] Furthermore, the specific operation steps of the list management module to implement decentralized access control list management using blockchain technology are as follows:

[0033] Set up the blockchain network and initialize smart contracts to manage the uploading and updating of access control lists;

[0034] Generate a pair of keys for each terminal device in the system and add the public key to the blockchain network;

[0035] Submit the initial access control list information to the blockchain network in the form of a transaction to ensure that the initial state of the access control list information is securely recorded;

[0036] Receive security warning information from the monitoring module, analyze the warning content, and set different levels of security events, using levels 1 to 5;

[0037] Using risk assessment models, we compare monitored behaviors with known threat intelligence databases to assess potential risks and determine whether access control lists need to be adjusted.

[0038] Based on security warnings and real-time monitoring data, access control lists are updated through smart contracts, permission settings are adjusted dynamically, and the consensus mechanism of blockchain is used to verify access control list change requests to ensure the legitimacy and consistency of the changes.

[0039] Write the changed access control list information into the blockchain, update the access rights of all relevant terminal devices, and notify all affected terminal devices to ensure that the terminal devices receive the latest access rights information;

[0040] Record the change history of all access control lists, provide audit logs, achieve traceability of operations, and handle any conflicts that arise during the access control list update process based on the conflict resolution mechanism;

[0041] When a security incident is detected, respond and automatically adjust the access control list through smart contracts to limit or prohibit suspicious operations. Regularly review the effectiveness and adaptability of the access control list and update it according to the development and security needs of the system.

[0042] Further, the list management module determines whether the access control list needs to be adjusted, and the specific steps are as follows:

[0043] Set different levels of security time by using levels 1 to 5, where 5 represents the highest security risk, and then use the risk assessment model to compare the monitored behavior with the known threat intelligence database to assess potential risks;

[0044] Determine the specific parameters that trigger security warnings, including the frequency of abnormal behavior and the number of unauthorized access attempts, and formulate corresponding rules to determine when to adjust the access control list. Specifically, when the highest level of security warnings are received for more than the preset number of consecutive times, the access control list will be adjusted;

[0045] Then set a threshold for each warning parameter. When the threshold is exceeded, the access control list needs to be reviewed and adjusted accordingly.

[0046] Use machine learning algorithms to analyze historical security time and access control list adjustment cases, and automatically adjust warning thresholds to achieve real-time monitoring and dynamic adjustment of thresholds.

[0047] Furthermore, the specific operation steps of the trusted cloud service module to achieve unified management of access control list maintenance and software updates are as follows:

[0048] Build a cloud service platform with availability and elastic scalability for hosting access control lists and software update management;

[0049] Integrate blockchain technology with cloud service platforms to ensure decentralized management and immutability of access control lists;

[0050] Integrated intelligent AI analysis tools to analyze data provided by the monitoring module, identify and predict security threats;

[0051] Deploy computing resources at the edge of the network to process and respond to security incidents on edge devices and reduce latency;

[0052] Centrally manage access control lists through cloud services to ensure consistency in access rights and operations for all terminal devices;

[0053] Implement an automated distribution mechanism for access control lists to ensure that all terminal devices receive the latest access rights information in a timely manner;

[0054] Manage software version information to ensure that all terminal devices are running verified and approved software versions;

[0055] Use AI analysis tools to conduct in-depth analysis of security events, identify potential security threats, and automatically adjust access control lists and software update policies based on the analysis results;

[0056] Evaluate and optimize security policies at preset frequencies to match them with the latest security threats and business needs;

[0057] Use access control lists and software to update data synchronization and backup mechanisms to ensure data consistency and reliability;

[0058] Provides a user interface and API to allow administrators and end devices to interact with the cloud service platform and obtain and manage access control lists and software updates;

[0059] Implement security audits and compliance checks to ensure that the operations of the cloud service platform meet security standards.

[0060] Furthermore, the specific operation steps of the trusted cloud service module to evaluate and optimize the preset frequency settings in the security policy according to the preset frequency are as follows:

[0061] The preset frequency is adjusted based on multiple factors;

[0062] Assess the business's reliance on system security and its criticality, and determine the impact of business requirements on the frequency of security policy assessments;

[0063] Analyze the system’s size, component diversity, and interaction complexity;

[0064] Monitor the latest security threat intelligence and assess the speed at which threats change and their impact on existing security policies;

[0065] Analyze the frequency and pattern of historical security incidents to obtain the periodicity and suddenness of security threats;

[0066] Assess the organization’s security team resources and capabilities;

[0067] Quantify security risks using risk assessment models and determine assessment frequency based on risk levels;

[0068] Establish a feedback mechanism for security policy implementation and adjust the evaluation frequency based on the feedback results;

[0069] Use automated tools and monitoring systems to assist the assessment process;

[0070] Conduct a cost-benefit analysis to balance the frequency and cost of security policy evaluations;

[0071] Establish a dynamic adjustment mechanism to automatically adjust the evaluation frequency according to system operation status and changes in the external environment, and test and verify the evaluation frequency to ensure its effectiveness and applicability.

[0072] Compared with the prior art, the present invention has the following beneficial effects:

[0073] (1) The present invention significantly improves the security of the system by deploying a monitoring module based on Hook technology on the IoT terminal. The module can monitor system calls and kernel functions in real time, intercept unauthorized operations and potentially dangerous instructions, and effectively prevent security threats such as system privilege escalation and illegal access. The analysis of system behavior patterns and the identification of abnormal behaviors, combined with an automated security early warning and response mechanism, enhance the system's ability to respond quickly to emerging security threats.

[0074] (2) The present invention utilizes the list management module of blockchain technology to achieve decentralized access control list (ACL) management, ensuring the consistency and non-repudiation of ACL and preventing the risk of ACL being maliciously tampered with. The use of smart contracts provides a safe and reliable platform for dynamic adjustment and permission setting of ACL. Through the analysis of historical security events and ACL adjustment cases by machine learning algorithms, automatic adjustment and real-time monitoring of warning thresholds are achieved, further improving the intelligent management level of the system.

[0075] (3) In the present invention, the trusted cloud service module adopts cloud, intelligent AI and edge computing technologies to uniformly manage the maintenance and software updates of ACL. By centrally managing software version information and implementing an automated distribution mechanism, it ensures that all terminal devices run verified and approved software versions, reducing the security risks caused by software vulnerabilities. At the same time, the preset frequency of security policy evaluation and optimization ensures that the security policy keeps pace with the latest security threats and business needs, thereby improving the adaptability and overall security of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings;

[0077] Figure 1 This is the overall system block diagram of the present invention. DETAILED DESCRIPTION

[0078] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0079] It should be understood that the terms "include" and "comprising" used in the specification and claims of the present disclosure 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 collections thereof.

[0080] It should also be understood that the terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. As used in this disclosure and claims, the singular forms of "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in this disclosure and claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0081] like Figure 1 As shown, the IoT terminal security protection system based on Hook technology includes a monitoring module, a list management module and a trusted cloud service module;

[0082] The monitoring module is used to monitor and control the system calls and kernel functions of the IoT terminal through Hook technology, so as to control the system communication channels and intercept dangerous instructions;

[0083] Hook technology is used to intercept system calls and monitor the access and operation of system resources, such as file operations, network communications, process management, etc. The system call monitoring logic is as follows: , where A represents the system call alert, which is the alert triggered when an unauthorized or suspicious system call is monitored; n represents the total number of system calls in the monitoring set M; represents the ith system call; M represents the monitoring set, i.e., the set of all system calls being monitored; L represents the allowed system call set, i.e., the set of system calls that are defined as safe and allowed to be executed; the specific meaning is: system call alert A will have at least one system call S in the monitoring set M. i is monitored, and this system call S i It is triggered when it is not in the allowed system call set L. If any unauthorized system call is found, an alarm will be generated;

[0084] Hook technology is used to monitor the execution of kernel functions to ensure that system operations comply with predetermined security policies and prevent unauthorized kernel-level operations. The specific process is as follows:

[0085] Analyze the kernel function call graph, identify key kernel functions as Hook points, and conduct a comprehensive analysis by determining the optimal factors of the kernel function. The optimal parameters include:

[0086] Call frequency: Kernel functions that are called frequently may have a greater impact on system performance and security; Permission level: Kernel functions that require a higher permission level to access may involve sensitive operations. The permission level is set to five, and each permission level corresponds to a different permission score, and this permission score is used as a standard to measure the permission level; System call entry: Kernel functions that serve as system call entry points, because they are the bridge for interaction between user space and kernel space, and are quantified by the system value. When the kernel function is a function of the system call entry point, the system value is 1, otherwise, the system value is 0; Module dependency: Functions that other kernel modules or system services depend on, whose changes may affect the stability of the system; Module dependency is given a score of 1-10 and recorded as a module dependency score, and this module dependency score is used as a standard to measure module dependency;

[0087] Then normalize the obtained call frequency, authority score, system value and module score and enter them into the following formula: To get the evaluation value PPZ, where dp, qf, xd and my are the call frequency, authority score, system tuning value and module score respectively. The preset weight coefficients are respectively the call frequency, authority score, system value and module score, and the values ​​are set between 1.18-1.28, 0.97-0.99, 0.91-0.96 and 1.05-1.09 respectively; the evaluation value PPZ obtained by different kernel functions is compared with the preset evaluation threshold, and when the evaluation value PPZ is greater than the preset evaluation threshold, the kernel function is judged to be a key kernel function;

[0088] Write custom Hook functions for each selected Hook point. These functions will be called before and after the original kernel function is executed. Inject the Hook function into the kernel space and replace or append it to the original kernel function by modifying the kernel source code or using special injection techniques.

[0089] Implement access control logic in the Hook function, check whether the context of executing the kernel function complies with the security policy, use the Hook function to monitor the execution process of the kernel function, and record key information such as caller identity, parameters, execution time, etc.

[0090] Perform security policy checks in the Hook function, including verifying whether the caller has the authority to execute the kernel function or whether the parameters meet expectations. When an unauthorized kernel function call is detected, the call is intercepted through the Hook function to prevent its execution or execute the response measures defined in the security policy.

[0091] Record all kernel function calls and security check results, generate security logs for post-audit and analysis, define exception response mechanisms, and trigger alarms or automatically execute predefined security response measures when abnormalities or unauthorized operations are detected;

[0092] Monitor the network communications of IoT terminals, detect and intercept suspicious inbound and outbound data flows, prevent malicious data transmission, identify and intercept instructions that endanger system security, including system privilege escalation and illegal access, to ensure system stability and security;

[0093] Analyze system behavior patterns and identify abnormal behaviors, such as frequent system calls and abnormal network connections, to provide a basis for further security analysis;

[0094] According to the preset security policies, corresponding security measures are automatically executed, such as blocking malicious connections, restricting suspicious operations, etc. Once suspicious behavior or potential threats are found, security warnings are immediately generated to notify system administrators or automatically trigger other security protection measures;

[0095] Record detailed logs of all monitoring activities and security events, provide data support for security audits and post-event analysis, dynamically update security policies based on monitoring results and security events, optimize monitoring rules, and improve the system's defense capabilities;

[0096] The monitoring results and security warning information are passed to the list management module and the trusted cloud service module to achieve cross-module security collaboration.

[0097] The list management module is used to implement decentralized access control list management using blockchain technology, ensuring the consistency and non-repudiation of ACL and preventing ACL from being maliciously tampered with. ACL is the abbreviation of Access Control List.

[0098] Set up the blockchain network and initialize the smart contract to manage the chain and update of ACL. Define the access control policy and permission model according to security requirements and business rules. Generate a key pair (public key and private key) for each terminal device in the system and add the public key to the blockchain network. Submit the initial access control list information to the blockchain network in the form of a transaction to ensure that the initial state of the ACL is securely recorded. Receive security warning information from the monitoring module, analyze the warning content, and determine whether the ACL needs to be adjusted. The specific steps are as follows:

[0099] Set different levels of security time by using levels 1 to 5, where 5 represents the highest security risk. Then use the risk assessment model to compare the monitored behavior with the known threat intelligence database to assess potential risks. Determine the specific parameters that trigger security alerts, including the frequency of abnormal behavior and the number of unauthorized access attempts, and formulate corresponding rules to decide when to adjust the ACL. Specifically, when the highest level of security alerts are received for more than the preset number of consecutive times, adjust the ACL. The preset number can be set to 2, 3, or 5 times. Set a threshold for each warning parameter. When the threshold is exceeded, the ACL needs to be reviewed and adjusted accordingly. Use machine learning algorithms to analyze historical security time and ACL adjustment cases, and automatically adjust the warning threshold to achieve real-time monitoring and dynamically adjust the threshold to adapt to the ever-changing network environment and threat situation.

[0100] Based on security warnings and real-time monitoring data, ACL is updated through smart contracts, permission settings are adjusted dynamically, and the consensus mechanism of blockchain is used to verify ACL change requests to ensure the legitimacy and consistency of the changes; the changed ACL information is written into the blockchain, the access rights of all relevant terminal devices are updated, and all affected terminal devices are notified to ensure that they receive the latest access rights information; the change history of all ACLs is recorded, a complete audit log is provided to achieve traceability of operations, and a conflict resolution mechanism is designed and implemented to handle any conflicts that may arise during the ACL update process;

[0101] When a security incident is detected, respond quickly and automatically adjust the ACL through smart contracts to limit or prohibit suspicious operations. Regularly review the effectiveness and adaptability of the ACL and make necessary updates based on system development and security requirements. Work with the trusted cloud service module to ensure that ACL updates are synchronized with software updates and policy issuance.

[0102] The trusted cloud service module is used to achieve unified management of ACL maintenance and software updates using blockchain, cloud, intelligent AI and edge computing;

[0103] Build a secure cloud service platform to ensure high availability and elastic expansion capabilities for hosting ACL and software update management, integrate blockchain technology with the cloud service platform to ensure decentralized management and immutability of ACL; integrate intelligent AI analysis tools to analyze data provided by the monitoring module, identify and predict security threats, and deploy computing resources at the edge of the network to process and respond to security incidents of edge devices to reduce latency; centrally manage ACL through cloud services to ensure consistency of access rights and operations of all terminal devices, implement an automated distribution mechanism for ACL, and ensure that all terminal devices receive the latest access rights information in a timely manner;

[0104] Manage software version information to ensure that all terminal devices are running verified and approved software versions, define and implement software update policies to ensure the timeliness and security of software updates; use AI analysis tools to conduct in-depth analysis of security events provided by the monitoring module to identify potential security threats, and automatically adjust ACL and software update policies based on AI analysis results to achieve automated security policy adjustment;

[0105] Evaluate and optimize security policies at a preset frequency to ensure that they match the latest security threats and business needs. The preset frequency is adjusted based on multiple factors, specifically:

[0106] Assess the degree of business dependence and criticality on system security, and determine the impact of business needs on the frequency of security policy evaluation; consider the scale of the system, component diversity, and interaction complexity. The higher the complexity, the more frequent security policy evaluations may be required; monitor the latest security threat intelligence, and evaluate the speed of threat changes and the impact on existing security policies; analyze the frequency and patterns of historical security incidents, and understand the periodicity and suddenness of security threats; evaluate the organization's security team resources and capabilities, and determine a feasible evaluation frequency; use risk assessment models to quantify security risks, and determine the evaluation frequency based on risk levels; establish a feedback mechanism for security policy implementation, and adjust the evaluation frequency based on feedback results; use automated tools and monitoring systems to assist the evaluation process and improve evaluation efficiency; conduct cost-benefit analysis, balance the frequency and cost of security policy evaluation, set up a dynamic adjustment mechanism, automatically adjust the evaluation frequency based on system operation and external environment changes, and test and verify the evaluation frequency to ensure its effectiveness and applicability.

[0107] Ensure data consistency and reliability by implementing synchronization and backup mechanisms for ACL and software update data; provide user interfaces and APIs to allow administrators and terminal devices to interact with the cloud service platform, obtain and manage ACL and software updates, and implement security audits and compliance checks to ensure that the operations of the cloud service platform meet security standards.

[0108] 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. IoT terminal security protection system based on Hook technology, It is characterized in that include: The monitoring module is used to monitor and control the system calls and kernel functions of the IoT terminal through Hook technology, to control the system communication channel and intercept dangerous instructions. The specific steps are as follows: Use Hook technology to intercept system calls and monitor the access and operation of system resources; Hook technology is used to monitor the execution of kernel functions to ensure that system operations comply with predetermined security policies and prevent unauthorized kernel-level operations. The specific process is as follows: Analyze the kernel function call graph and determine the key kernel functions as Hook points. The specific steps are as follows: Specifically, a comprehensive analysis is conducted by determining the optimal factors of the kernel function. The optimal parameters include: Call frequency; Permission level: Set the permission level to five, set different permission points for each permission level, and use the permission points as the standard for measuring permission levels; System call entry: The kernel function that is the system call entry point is quantified by the system value. When the kernel function is the function of the system call entry point, the system value is 1, otherwise, the system value is 0. Module dependency: The module dependency is assigned a score of 1-10 and recorded as the module dependency score, which is used as a standard to measure module dependency; Then normalize the obtained call frequency, authority score, system value and module score and enter them into the following formula: To get the evaluation value PPZ, where dp, qf, xd and my are the call frequency, authority score, system tuning value and module score respectively. They are the preset weight coefficients of call frequency, authority score, system value and module score; The evaluation value PPZ obtained by different kernel functions is compared with the preset evaluation threshold. When the evaluation value PPZ is greater than the preset evaluation threshold, the kernel function is judged to be a key kernel function; Write custom Hook functions for each selected Hook point. These functions will be called before and after the original kernel function is executed. Inject the Hook function into the kernel space and replace or append it to the original kernel function by modifying the kernel source code or using injection technology. Implement access control logic in the Hook function, check whether the context of executing the kernel function complies with the security policy, use the Hook function to monitor the execution process of the kernel function, and record key information, including the caller identity, parameters, and execution time; Perform security policy checks in the Hook function, including verifying whether the caller has the authority to execute the kernel function or whether the parameters meet expectations. When an unauthorized kernel function call is detected, the call is intercepted through the Hook function to prevent its execution or execute the response measures defined in the security policy. Record all kernel function calls and security check results, generate security logs for post-audit and analysis, define exception response mechanisms, and trigger alarms or automatically execute predefined security response measures when abnormalities or unauthorized operations are detected; Monitor the network communications of IoT terminals, detect and intercept abnormal inbound and outbound data flows, prevent malicious data transmission, identify and intercept instructions that endanger system security, including system privilege escalation and illegal access, and ensure system stability and security; Analyze system behavior patterns and identify abnormal behavior; According to the preset security policies, corresponding security measures are automatically executed. When abnormal behavior or potential threats are found, security warnings are immediately generated to notify system administrators or automatically trigger corresponding security protection measures. Record detailed logs of all monitoring activities and security events, dynamically update security policies and optimize monitoring rules based on monitoring results and security events; Pass monitoring results and security warning information to the list management module and the trusted cloud service module to achieve cross-module security collaboration; The list management module is used to implement decentralized access control list management using blockchain technology, ensure the consistency and non-repudiation of the access control list, and prevent the access control list from being maliciously tampered with; The trusted cloud service module is used to achieve unified management of access control list maintenance and software updates using blockchain, cloud, intelligent AI and edge computing.

2. According to claim 1, the IoT terminal security protection system based on Hook technology, It is characterized in that The specific operation steps of the list management module to achieve decentralized access control list management using blockchain technology are as follows: Set up the blockchain network and initialize smart contracts to manage the uploading and updating of access control lists; Generate a pair of keys for each terminal device in the system and add the public key to the blockchain network; Submit the initial access control list information to the blockchain network in the form of a transaction to ensure that the initial state of the access control list information is securely recorded; Receive security warning information from the monitoring module, analyze the warning content, and set different levels of security events, using levels 1 to 5; Using risk assessment models, we compare monitored behaviors with known threat intelligence databases to assess potential risks and determine whether access control lists need to be adjusted. Based on security warnings and real-time monitoring data, access control lists are updated through smart contracts, permission settings are adjusted dynamically, and the consensus mechanism of blockchain is used to verify access control list change requests to ensure the legitimacy and consistency of the changes. Write the changed access control list information into the blockchain, update the access rights of all relevant terminal devices, and notify all affected terminal devices to ensure that the terminal devices receive the latest access rights information; Record the change history of all access control lists, provide audit logs, and handle any conflicts that arise during the access control list update process based on the conflict resolution mechanism; When a security incident is detected, respond and automatically adjust the access control list through smart contracts to limit or prohibit abnormal operations. Regularly review the effectiveness and adaptability of the access control list and update it according to the development and security needs of the system.

3. According to claim 2, the IoT terminal security protection system based on Hook technology, It is characterized in that The list management module determines whether the access control list needs to be adjusted, and the specific steps are as follows: Set different levels of security time by using levels 1 to 5, where 5 represents the highest security risk, and then use the risk assessment model to compare the monitored behavior with the known threat intelligence database to assess potential risks; Determine the specific parameters that trigger security warnings, including the frequency of abnormal behavior and the number of unauthorized access attempts, and formulate corresponding rules to determine when to adjust the access control list. Specifically, when the highest level of security warnings are received for more than the preset number of consecutive times, the access control list will be adjusted; Then set a threshold for each warning parameter. When the threshold is exceeded, the access control list needs to be reviewed and adjusted accordingly. Use machine learning algorithms to analyze historical security time and access control list adjustment cases, and automatically adjust warning thresholds to achieve real-time monitoring and dynamic adjustment of thresholds.

4. According to claim 1, the IoT terminal security protection system based on Hook technology, It is characterized in that The specific operation steps of the trusted cloud service module to achieve unified management of access control list maintenance and software updates are as follows: Build a cloud service platform with availability and elastic scalability for hosting access control lists and software update management; Integrate blockchain technology with cloud service platforms to ensure decentralized management and immutability of access control lists; Integrated intelligent AI analysis tools to analyze data provided by the monitoring module, identify and predict security threats; Deploy computing resources at the edge of the network to process and respond to security incidents on edge devices and reduce latency; Centrally manage access control lists through cloud services to ensure consistency in access rights and operations for all terminal devices; Implement an automated distribution mechanism for access control lists to ensure that all terminal devices receive the latest access rights information in a timely manner; Manage software version information to ensure that all terminal devices are running verified and approved software versions; Use AI analysis tools to conduct in-depth analysis of security events, identify potential security threats, and automatically adjust access control lists and software update policies based on the analysis results; Evaluate and optimize security policies at preset frequencies to match them with the latest security threats and business needs; Use access control lists and software to update data synchronization and backup mechanisms to ensure data consistency and reliability; Provides a user interface and API to allow administrators and end devices to interact with the cloud service platform and obtain and manage access control lists and software updates; Implement security audits and compliance checks to ensure that the operations of the cloud service platform meet security standards.

5. According to claim 4, the IoT terminal security protection system based on Hook technology, It is characterized in that The specific operation steps of the trusted cloud service module to evaluate and optimize the preset frequency settings in the security policy according to the preset frequency are as follows: The preset frequency is adjusted based on multiple factors; Assess the business's reliance on system security and its criticality, and determine the impact of business requirements on the frequency of security policy assessments; Analyze the system’s size, component diversity, and interaction complexity; Monitor the latest security threat intelligence and assess the speed at which threats change and their impact on existing security policies; Analyze the frequency and pattern of historical security incidents to obtain the periodicity and suddenness of security threats; Assess the organization’s security team resources and capabilities; Quantify security risks using risk assessment models and determine assessment frequency based on risk levels; Establish a feedback mechanism for security policy implementation and adjust the evaluation frequency based on the feedback results; Use automated tools and monitoring systems to assist the assessment process; Conduct a cost-benefit analysis to balance the frequency and cost of security policy evaluations; Establish a dynamic adjustment mechanism to automatically adjust the evaluation frequency according to system operation status and changes in the external environment, and test and verify the evaluation frequency to ensure its effectiveness and applicability.