A security protection system for internet of things malware

By using a side-channel acquisition module and architecture-independent software semantic control flow graph fusion with cross-modal features, combined with lightweight edge detection and cloud-based deep learning, the cross-architecture reusability and adversarial sample forgery issues in IoT malware detection are solved, achieving low-power, high-precision malware detection and forged node identification.

CN123179397APending Publication Date: 2026-11-27WUHAN HONGHU SHENGSHENG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611250427.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing IoT malware detection technologies are difficult to reuse when detecting across central processing unit architectures, their accuracy drops when facing advanced adversarial examples, and IoT terminal devices suffer from excessive computational load and rapid power consumption, as well as the risk of detection models being compromised.

Method used

A side-channel acquisition module is used to acquire power consumption fluctuations and electromagnetic radiation signals. Combined with architecture-independent software semantic control flow graphs and cross-modal feature fusion, lightweight edge detection and cloud-based deep learning are used to collaborate. Hardware physical fingerprint verification of node credibility is introduced to achieve cross-architecture detection and anti-poisoning capabilities.

Benefits of technology

It improves the ability to detect malware, solves the problems of cross-architecture detection difficulties and adversarial sample forgery, and achieves low power consumption, real-time and high accuracy detection, while identifying forged nodes without leaking edge node privacy data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179397A_ABST
    Figure CN123179397A_ABST
Patent Text Reader

Abstract

The application discloses a kind of security protection systems of Internet of Things malware, the present application relates to Internet of Things security technical field, system includes side channel acquisition module, firmware semantic extraction module, cross-modal feature alignment fusion module and detection discrimination module, obtain the software semantic control flow graph of architecture-independent by disassembling firmware, and the power consumption and electromagnetic radiation signal generated when equipment executes firmware instruction are collected, the time axis binding relationship of basic block and side channel signal fragment is established using dynamic time warping algorithm, cross-modal feature is obtained by cross attention network fusion for malware determination, system combines hardware physical fingerprint consistency verification to remove fake nodes in collaborative learning, and unknown malware family is identified by edge lightweight detection and cloud zero-sample detection in cooperation, solve the problem that cross-architecture detection is difficult, software features are easily forged, edge resources are limited and collaborative learning is susceptible to complaints.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things (IoT) security technology, specifically to a security protection system for IoT malware. Background Technology

[0002] With the popularization of 5G and the Internet of Things, the number of IoT terminal devices such as medical devices, smart home terminals, and industrial sensors is growing rapidly. Along with this, various malicious software poses a continuous threat to IoT terminal devices. IoT terminal devices typically have inherent characteristics such as diverse central processing unit instruction set architectures, small memory capacity, reliance on battery power, and limited computing resources. This makes it difficult to directly transfer malware detection solutions designed for personal computers or servers to IoT terminal devices.

[0003] Currently, the main technical approaches for detecting IoT malware include: detection methods based on static features, which identify malware by extracting static features of the software layer such as opcode sequences, control flow graphs, and application programming interface call signatures from the firmware to be detected; detection methods based on dynamic behavior monitoring, which identify malware by collecting dynamic behavior data such as system call sequences and network traffic characteristics during device operation; and lightweight edge-side detection methods based on deep learning and distributed detection methods based on edge-cloud collaborative architecture.

[0004] A similar prior art solution is an edge-cloud collaborative IoT malware deep learning detection system. This solution deploys a lightweight deep learning model on IoT edge devices to collect and perform preliminary inference judgments on software layer features such as system call sequences and application programming interface call frequencies generated during device operation in real time. The edge devices upload the features of samples initially detected as suspicious to the cloud server. The cloud server runs a more complex deep learning model to perform secondary detection on the uploaded features and sends the detection results and updated model parameters to each edge node. Each edge node updates its local detection model parameters based on the cloud feedback, forming an edge-cloud collaborative incremental learning closed loop. Participating nodes are defaulted to being honest and trustworthy nodes in this process.

[0005] The aforementioned existing technical solutions have the following technical drawbacks: First, the software layer feature extraction of this solution is usually strongly coupled with a specific central processing unit instruction set architecture. When the detection object switches between different instruction set architectures, the detection model is difficult to reuse, resulting in high engineering deployment costs and weak generalization ability. Second, this solution relies entirely on static code features or dynamic behavior logs at the software layer. Attackers can use code obfuscation, polymorphism, and generative adversarial networks to specifically forge normal software behavior patterns, causing the accuracy of the detection model to drop significantly when facing advanced adversarial examples. Furthermore, it has almost no detection capability against deep, covert attacks on the firmware layer. Third, due to the limited memory and computing power of IoT terminal devices, and the large number of parameters in high-precision AI detection models, directly deploying such models at the edge will lead to excessive computational load and rapid power consumption. If centralized detection is adopted in the cloud, the upload of raw data will introduce high latency and privacy leakage risks. Fourth, the scheme assumes that all edge nodes participating in collaborative learning are honest nodes. Once an edge node is maliciously controlled and uploads forged gradient or feature data, due to the lack of verification methods for the authenticity of the node in the cloud, the poisoned data will be directly incorporated into the global model update process, causing a decrease in the accuracy of the global detection model or even the implantation of a detection backdoor. In addition, those skilled in the art generally believe that side-channel power consumption and electromagnetic radiation analysis technology is only suitable for dedicated security scenarios such as cryptographic chip key extraction, and it is difficult to apply it on a large scale and at low cost to the detection of daily malicious software behavior of resource-constrained IoT terminals. This understanding of the technology has long limited the fusion application of side-channel physical features and software layer semantic features. To this end, we propose a security protection system for IoT malicious software, which breaks through the above-mentioned cognitive limitations through a low-cost sampling scheme of 10 kHz to 1 MHz and a lightweight edge architecture design. Summary of the Invention

[0006] The purpose of this invention is to provide a security protection system for Internet of Things (IoT) malware.

[0007] The security protection system for IoT malware provided by this invention includes a side-channel acquisition module, a firmware semantic extraction module, a cross-modal feature alignment and fusion module, and a detection and discrimination module. The side-channel acquisition module is installed on the IoT terminal device and is used to collect power consumption fluctuation signals and electromagnetic radiation signals generated during the execution of firmware instructions by the IoT terminal device to obtain side-channel timing signals. The firmware semantic extraction module is used to disassemble the firmware to be detected on the IoT terminal device, uniformly mapping binary instructions from different instruction set architectures to an architecture-independent intermediate representation, and constructing a software semantic control flow graph based on this intermediate representation. This software semantic control flow graph includes nodes representing basic code blocks and nodes representing control relationships between basic blocks. The edge of the current transfer relationship, the cross-modal feature alignment and fusion module is used to determine the optimal alignment path between the software basic block execution time series and the side channel time series signal at the corresponding sampling point based on the local distance metric of the two. This results in the time axis binding relationship between each basic block node in the software semantic control flow graph and the corresponding side channel signal sub-segment. The features of the software semantic control flow graph nodes and the features of the corresponding side channel signal sub-segments are then input into the cross-attention fusion network for cross-modal feature fusion to obtain the cross-modal joint feature vector. The detection and discrimination module is used to obtain the confidence score of the firmware to be detected as malware based on the cross-modal joint feature vector. When the confidence score exceeds a preset threshold, the firmware to be detected is determined to be malware.

[0008] In a preferred embodiment, the system further includes a physical fingerprint storage unit and a node consistency verification unit, which are used to identify and eliminate maliciously controlled forged nodes by using the consistency measure of the inherent hardware side channel physical fingerprint of the edge node as the endorsement basis for the credibility of the node reported data during the edge collaborative incremental learning process, without having to access the original privacy data of the edge node.

[0009] In another preferred embodiment, the system further includes an edge-end anomaly deviation detection unit and a cloud-distributed external detection unit. The edge-end deploys a lightweight detector that performs only preliminary anomaly screening, while the cloud deploys a detection model based on graph neural networks and contrastive learning to perform precise detection and identification of unknown malware families. The two achieve synergistic complementarity of computing power and accuracy through the transmission of latent space feature vectors.

[0010] Compared with the prior art, the beneficial effects of the present invention by adopting the above technical solution are as follows:

[0011] 1. This invention solves the problems of difficult detection across central processing unit architectures and easy for adversarial examples to forge software behavior by extracting architecture-independent software semantic control flow graphs and performing cross-modal joint detection with hardware side-channel physical features. Since attackers can only obfuscate and deform at the software code level and find it difficult to forge the physical side-channel features generated when hardware executes instructions, the system's ability to detect code obfuscated and polymorphic malware is improved.

[0012] 2. This invention achieves a balance between detection accuracy, real-time performance, and energy consumption by using an asymmetric architecture design that combines lightweight edge-side anomaly deviation detection with complex cloud-based models, while meeting the constraints of low memory and low power consumption in IoT terminal devices.

[0013] 3. This invention introduces hardware physical fingerprints as a trusted endorsement mechanism for node-reported data during edge-cloud collaboration, enabling accurate identification and removal of forged nodes without accessing the privacy data of edge nodes. This enhances the inherent robustness of the collaborative learning framework. By deploying a detection model based on graph neural networks and contrastive learning in the cloud, it achieves effective identification of unknown malware families outside the distribution network and the closed-loop distribution of defense rules. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of the overall three-layer collaborative detection process of the system in this embodiment of the invention;

[0015] Figure 2 This is a schematic diagram of the core sub-process of cross-modal feature fusion in an embodiment of the present invention;

[0016] Figure 3 This is a schematic diagram of the edge-cloud collaborative anti-poisoning learning closed-loop process in an embodiment of the present invention. Detailed Implementation

[0017] The following is in conjunction with the appendix Figure 1-3 The specific embodiments of the present invention will be further described below. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.

[0018] System overall architecture:

[0019] The security protection system for IoT malware provided by this invention adopts a three-layer collaborative architecture consisting of an IoT terminal device layer, an edge computing node layer, and a cloud server layer. The IoT terminal device layer is the firmware operating environment to be detected, and it is equipped with hardware acquisition components such as a bypass current sampling resistor, a non-contact miniature magnetic field probe, and an analog-to-digital converter. The edge computing node layer is communicatively connected to one or more IoT terminal devices, and it is equipped with a side-channel waveform preprocessing unit, some processing functions in the cross-modal feature alignment and fusion module, and an edge-end abnormal deviation detection unit. The cloud server layer is communicatively connected to each edge computing node, and it is equipped with a cross-architecture intermediate representation semantic graph construction function, a fusion network in the cross-modal feature alignment and fusion module, a cloud-distributed external detection unit, a node consistency verification unit, and a global model incremental update unit.

[0020] During system operation, edge computing nodes continuously collect side-channel timing signals from corresponding IoT terminal devices and perform preliminary detection. Only when a suspicious anomaly is detected will the necessary latent space feature vectors be reported to the cloud server. The cloud server then performs precise detection by combining the software semantic control flow graph and sends the detection results, defense rules, and updated model parameters to each edge computing node, forming a closed-loop detection mechanism that integrates edge and cloud.

[0021] Hardware-side channel data acquisition and preprocessing:

[0022] The side-channel acquisition module uses the power management chip and analog-to-digital converter integrated into the IoT terminal device, combined with the bypass current sampling resistor and non-contact miniature magnetic field probe installed on the device, to collect power consumption fluctuation data and electromagnetic radiation signals in real time during the execution of firmware instructions at a sampling rate of 10 kHz to 1 MHz. This forms a timing side-channel signal sequence. After filtering, denoising and normalization, the collected raw signals are used to obtain standardized side-channel timing signals for subsequent cross-modal alignment. Since the transient current and electromagnetic radiation caused by the device when executing different instructions have distinguishable peak and trough characteristics, there is a time correspondence between this characteristic sequence and the actual execution process of the firmware instructions, providing a physical basis for subsequent cross-modal alignment.

[0023] In an alternative implementation, a software-defined wireless device can be used to collect radio frequency signals from the target IoT terminal device without contact. The radio frequency radiation signal or clock jitter signal generated when the device executes malicious code can be used as the source of hardware side channel characteristics to replace or supplement the power consumption sampling scheme. This alternative method is particularly suitable for deployment scenarios where it is not possible to directly contact the device circuitry for current sampling.

[0024] Software semantic graph extraction:

[0025] The firmware semantic extraction module uses a disassembly analysis framework to disassemble the firmware of IoT terminal devices under test. It maps binary instructions from different instruction set architectures such as ARM, MIPS, and PowerPC into a unified architecture-independent intermediate representation. This intermediate representation is independent of the specific hardware instruction set architecture, eliminating the impact of differences in instruction encoding methods between different architectures on the detection model. Based on this intermediate representation, a software semantic control flow graph is constructed according to basic code block division, denoted as... ,in This represents a set of basic block nodes, where each node corresponds to a basic code block after the firmware is disassembled. The set of control flow transfer edges between basic blocks is represented. Each edge indicates a jump or call relationship between two basic blocks. Since the semantic control flow graph of this software is constructed based on an architecture-independent intermediate representation, a comparable semantic control flow graph structure can be obtained for firmware samples with different instruction set architectures. This overcomes the limitation of traditional binary signature detection methods based on specific architectures, which are difficult to reuse across architectures.

[0026] Cross-modal feature alignment and fusion algorithm:

[0027] The firmware sample to be tested is actually executed on the IoT terminal device, and the side channel timing signal within the corresponding time window is collected synchronously, denoted as the sequence. ,in Indicates the first The side-channel signal amplitude at each sampling time. Indicates the total number of sampling points;

[0028] The cross-modal feature alignment and fusion module employs a dynamic time warping algorithm to calculate the alignment path between the execution time series of the software's basic blocks and the side-channel waveform sequences, thereby obtaining the basic block nodes. The time axis binding relationship between the side channel signal subsequence intervals is specifically achieved by solving the following cumulative distance matrix:

[0029] ;

[0030] In the formula, Indicates the software execution sequence number The sampling point and the side channel signal sequence of the nth sampling point The cumulative normalized distance between each sampling point This represents the local distance metric between two sequences at corresponding sampling points, calculated using Euclidean distance. The execution timing characteristics of the basic software blocks are represented in the first... The values ​​of each sampling point Indicates the side channel signal sequence at the 1st By solving the above recursive relationship point by point, the value of each sampling point can be obtained to achieve the optimal alignment path for the cumulative regularization distance, thereby determining the time axis binding relationship between each basic block node and the corresponding side channel signal sub-segment.

[0031] After obtaining the timeline binding relationship, each software basic block node is concatenated with its corresponding side channel signal sub-segment to construct a cross-modal joint feature input pair. Subsequently, the software semantic control flow graph node features and the corresponding side channel signal sub-segment features are respectively input into the cross-attention fusion network to calculate the cross-modal attention weights, thereby achieving deep semantic mutual verification fusion of the two modal features. The fusion process is implemented through the following cross-attention formula:

[0032] ;

[0033] In the formula, This represents the query matrix obtained by linear transformation of the node features in the software semantic graph. This represents the key matrix obtained by linear transformation of the features of side-channel signal sub-segments. This represents the value matrix obtained by linear transformation of the features of the side-channel signal sub-segments. The dimension of the key vector is used to scale and normalize the dot product result. The fused cross-modal joint feature vector is input into the classification and discrimination network, and the confidence score of the firmware sample as malware is output. If the confidence score exceeds the preset threshold, the sample is determined to be malware and the family tracing analysis process is triggered.

[0034] Since AI-driven polymorphic malware can only obfuscate and transform at the software code level, it is difficult to forge the power consumption and electromagnetic radiation physical characteristics generated when it executes specific instructions on physical hardware. Therefore, this cross-modal joint detection architecture can provide mutual verification evidence for software layer detection results from the physical level, thereby improving the system's immunity to advanced code obfuscation and adversarial sample deception.

[0035] Anti-poisoning edge-cloud collaborative incremental learning mechanism with physical fingerprint endorsement:

[0036] In the initial deployment phase at each edge node, the system pre-collects and stores the side-channel signal feature templates generated by the device when executing a set of preset baseline command sequences. These templates serve as the device's inherent hardware physical fingerprint and are denoted as the baseline physical fingerprint. This physical fingerprint is related to the inherent physical characteristics of the device's hardware circuitry, making it difficult to forge or tamper with by software-level attack methods.

[0037] While performing routine malware detection tasks, edge nodes periodically repeat a preset baseline instruction sequence and collect the side-channel signal characteristics corresponding to the current moment, which are recorded as real-time fingerprints. When edge nodes report the gradient update of their local detection model or the anomaly latent space feature vector to the cloud, they also attach the current real-time physical fingerprint. For each reporting node, the cloud server calculates the consistency metric score between the real-time physical fingerprint reported by the node and the baseline physical fingerprint reserved by that node. The consistency metric is calculated using the following cosine similarity formula:

[0038] ;

[0039] In the formula, Indicates the first The physical fingerprint consistency score of each node. Indicates the first The real-time physical fingerprint feature vector reported by each node this time Indicates the first Each node pre-stores a baseline physical fingerprint feature vector, with symbols... The Euclidean norm of a vector is used to set a consistency score threshold in the cloud. If node If the consistency score is lower than the threshold, it is determined that the node may have been deeply infected or its hardware operating environment has been hijacked and tampered with. The gradient update amount reported by the node in this instance is marked as untrusted data and removed, and it will not participate in the subsequent global model aggregation. For the gradient update amount reported by the trusted nodes that have passed the consistency verification, the global detection model parameters are updated according to the weighted aggregation method. The aggregation weight is dynamically adjusted according to the consistency score. Nodes with higher consistency scores are given greater weight in the aggregation process. The cloud distributes the updated global model parameters to each edge node. The edge nodes update their local lightweight detection models accordingly, complete a round of collaborative incremental learning loop, and enter the next round of periodic detection and reporting process.

[0040] This mechanism introduces the device's inherent hardware physical fingerprint as a guarantee of node trustworthiness. It can identify and eliminate maliciously controlled forged nodes without touching the original privacy data of edge nodes, thus solving the poisoning attack risk that is common in edge-cloud collaboration or federated learning frameworks.

[0041] In an alternative implementation, a twin neural network can be used to encode the features of the baseline physical fingerprint and the real-time physical fingerprint respectively, and the distance metric function obtained by training can be used to determine whether the two belong to the normal fluctuation range of the same device. This alternative method can better adapt to the natural drift of physical fingerprints caused by factors such as hardware aging and changes in ambient temperature, and improve the robustness of node credibility determination.

[0042] Asymmetric lightweight distributed external detection for resource-constrained IoT devices

[0043] A lightweight detector with a parameter count in the hundreds of kilobytes range is deployed at the edge nodes using a one-dimensional convolutional neural network. This detector uses a window of side-channel timing signals acquired in real time. As input, where This represents the sliding window length. The detector extracts temporal convolutional features layer by layer from the input signal window and outputs the latent space feature vector corresponding to that window. Based on the distance between the latent space feature vector and the pre-stored distribution center of normal behavior features, the abnormal deviation score is calculated using the following formula:

[0044] ;

[0045] In the formula, This indicates the score for the abnormal deviation of the current signal window. This represents the latent space feature vector output by the detector. The distribution center vector representing the latent space features of the device under normal operating conditions is obtained through pre-statistical analysis of historical data under conditions of no malware interference during the initial deployment of the device, with an abnormal deviation threshold set. If the score does not exceed the threshold, the software behavior corresponding to the current window is determined to be normal, and the edge node continues to detect the next sliding window. If the score exceeds the threshold, the current window is determined to have a suspicious anomaly, and the edge node reports the latent space feature vector corresponding to the window along with the necessary software semantic summary information to the cloud, triggering the cloud deep detection process.

[0046] After receiving the suspicious latent space feature vectors reported by the edge nodes, the cloud server combines them with the aforementioned software semantic control flow graph to construct a graph neural network input. Graph convolution operations are then used to aggregate and update the node features of the software semantic control flow graph, resulting in a graph-level embedding representation. The cloud-based contrastive learning approach is used to train the graph neural network model. By narrowing the distance between the embedding representations of similar malware families and widening the distance between the embedding representations of different families and normal samples, the model gains the ability to generalize and identify samples from unknown families. The contrastive learning loss function is defined as follows:

[0047] ;

[0048] In the formula, Indicates the contrast learning loss. This represents the graph-level embedding representation of the current sample. This represents the embedding of a positive sample that belongs to the same malware family as the current sample. Indicates the first in the training batch Embedded representation of each candidate sample This indicates the total number of candidate samples within the batch. The cosine similarity function represents the similarity between two vectors. This represents the temperature coefficient, used to adjust the smoothness of the similarity distribution;

[0049] For novel samples that are determined by graph neural networks and contrastive learning models to be significantly different from all known malware families and normal sample distributions, the cloud classifies them as suspected unknown malware families and generates corresponding feature fingerprints and preliminary defense rules. The cloud then distributes the newly generated defense rules and updated detection model parameters to all edge nodes. The edge nodes update the discrimination boundaries of their local one-dimensional convolutional neural network detectors accordingly, thus completing the defense loop against novel unknown malware.

[0050] Specific application examples:

[0051] Taking an IoT smart camera terminal using an ARM instruction set architecture as an example, this terminal is equipped with the edge computing node function of the security protection system provided by this invention. In the initial deployment phase, the system collects the side-channel signals generated when the terminal executes a preset baseline instruction sequence and stores them as a baseline physical fingerprint. During daily operation, the edge node continuously collects the power consumption and electromagnetic radiation side-channel signals generated when the terminal executes firmware instructions, and uses a one-dimensional convolutional neural network detector to calculate the anomaly deviation score. When the detection score exceeds a preset threshold after a firmware update, the edge node reports the corresponding latent space feature vector and real-time physical fingerprint to the cloud server. By combining the software semantic control flow graph obtained from the firmware disassembly, cross-modal joint features are obtained through dynamic time warping algorithm and cross-attention fusion network. Then, graph neural network and contrastive learning model determine that the firmware sample is significantly different from known malware families and normal sample distribution, thereby identifying an unknown malware family. Corresponding defense rules are generated and sent to each edge node, including the terminal. At the same time, the cloud performs consistency measurement between the real-time physical fingerprint reported by the terminal and the benchmark physical fingerprint. If the consistency score is higher than the preset threshold, the terminal is determined to be a trusted node, and its detection data is included in the weighted aggregation update of the global model.

[0052] Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present invention. Therefore, any modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope defined by the claims of the present invention.

Claims

1. A security protection system for Internet of Things (IoT) malware, characterized in that, include: A side-channel acquisition module is installed in the IoT terminal device to collect power consumption fluctuation signals and electromagnetic radiation signals generated during the execution of firmware instructions by the IoT terminal device, and obtain side-channel timing signals. The firmware semantic extraction module is used to disassemble the firmware to be tested of the IoT terminal device, map binary instructions of different instruction set architectures into architecture-independent intermediate representations, and construct a software semantic control flow graph based on the intermediate representations. The software semantic control flow graph includes nodes representing basic code blocks and edges representing control flow transfer relationships between basic blocks. The cross-modal feature alignment and fusion module is used to determine the optimal alignment path between the software basic block execution time series and the side channel time series signal at the corresponding sampling point based on the local distance metric at the corresponding sampling point, thereby obtaining the time axis binding relationship between each basic block node in the software semantic control flow graph and the corresponding side channel signal sub-segment. It is also used to input the features of the software semantic control flow graph node and the features of the corresponding side channel signal sub-segment into the cross-attention fusion network for cross-modal feature fusion to obtain a cross-modal joint feature vector. The detection and discrimination module is used to obtain a confidence score of the firmware to be detected as malicious software based on the cross-modal joint feature vector, and to determine that the firmware to be detected is malicious software when the confidence score exceeds a preset confidence threshold.

2. The security protection system for IoT malware according to claim 1, characterized in that: The cross-modal feature alignment and fusion module employs a dynamic time warping algorithm. Based on the local distance metric between the software basic block execution time series and the side channel time series signal at the corresponding sampling point, it recursively calculates the cumulative warping distance between the two sequences and determines the optimal alignment path based on the cumulative warping distance.

3. The security protection system for IoT malware according to claim 1, characterized in that: The cross-attention fusion network obtains a query matrix by linearly transforming the features of the software semantic control flow graph nodes, and obtains a key matrix and a value matrix by linearly transforming the features of the corresponding side channel signal sub-segments. Based on the attention weights obtained by normalizing the product of the query matrix and the key matrix, the value matrix is ​​weighted and summed to obtain the cross-modal joint feature vector.

4. The security protection system for IoT malware according to claim 1, characterized in that, Also includes: A physical fingerprint storage unit is used to store the side channel signal feature template generated by the IoT terminal device when executing a preset benchmark instruction sequence in the early stage of deployment, as the benchmark physical fingerprint of the IoT terminal device. The node consistency verification unit, located on the cloud server and communicatively connected to the detection and discrimination module, is used to receive the real-time physical fingerprints collected by the edge nodes during the periodic execution of the preset benchmark instruction sequence during the detection process, as well as the model gradient update amount reported by the edge nodes. It calculates the consistency metric score between the real-time physical fingerprints and the benchmark physical fingerprints, and when the consistency metric score is lower than the preset consistency threshold, it marks the model gradient update amount reported by the edge node as untrusted data and removes it, so that it does not participate in the parameter aggregation of the subsequent global detection model.

5. A security protection system for IoT malware according to claim 1, characterized in that: The consistency metric score is obtained by calculating the cosine similarity between the real-time physical fingerprint and the benchmark physical fingerprint. The node consistency verification unit is also used to perform weighted aggregation of the model gradient update amount reported by the edge nodes that have passed the consistency verification, and to give the edge nodes with higher consistency metric scores a larger aggregation weight.

6. The security protection system for IoT malware according to claim 1, characterized in that, Also includes: An edge-end anomaly deviation detection unit is set at the edge computing node. It is used to perform convolution feature extraction on the acquired side channel timing signal window to obtain a latent space feature vector. Based on the Euclidean distance between the latent space feature vector and the pre-stored normal behavior feature distribution center, the anomaly deviation score is obtained. The cloud-based out-of-distribution detection unit is used to receive the latent space feature vector reported by the edge computing node when the abnormal deviation score exceeds the preset abnormal threshold, construct a graph neural network input by combining the software semantic control flow graph, obtain a graph-level embedding representation through graph convolution operation, and determine whether the firmware to be detected belongs to an out-of-distribution sample outside the known malware family distribution based on the graph-level embedding representation.

7. A security protection system for IoT malware according to claim 6, characterized in that: The edge-end abnormal deviation detection unit uses a one-dimensional convolutional neural network to extract temporal convolutional features layer by layer from the side-channel temporal signal window to obtain the latent space feature vector. The normal behavior feature distribution center is obtained by statistical analysis of historical side-channel temporal signals collected by the IoT terminal device in the early stage of deployment under conditions without malicious software interference.

8. A security protection system for IoT malware according to claim 6, characterized in that: The cloud-based off-site detection unit trains the graph neural network using a contrastive learning approach. By narrowing the distance between graph-level embedding representations of samples belonging to the same malware family and widening the distance between graph-level embedding representations of samples belonging to different malware families and normal samples, the graph neural network gains the ability to identify samples from unknown malware families. The cloud-based off-site detection unit is also used to generate corresponding defense rules when the firmware to be detected is determined to be an off-site sample, and to distribute the defense rules to the edge computing node for the edge-end abnormal deviation detection unit to update the discrimination boundary.

9. A security protection system for IoT malware according to claim 1, characterized in that: The side-channel acquisition module acquires the power consumption fluctuation signal through the power management chip and analog-to-digital converter integrated in the IoT terminal device, and acquires the electromagnetic radiation signal through the bypass current sampling resistor and non-contact miniature magnetic field probe installed in the IoT terminal device, with an acquisition sampling rate of 10 kHz to 1 MHz.

10. A security protection method for IoT malware, characterized in that, include: The side channel timing signal is obtained by collecting power consumption fluctuation signals and electromagnetic radiation signals generated during the execution of firmware instructions by IoT terminal devices. The firmware to be tested of the IoT terminal device is disassembled, and binary instructions of different instruction set architectures are uniformly mapped to architecture-independent intermediate representations. A software semantic control flow graph is constructed based on the intermediate representations. The software semantic control flow graph includes nodes representing basic code blocks and edges representing control flow transfer relationships between basic blocks. Based on the local distance metric between the execution time sequence of the software basic block and the side channel timing signal at the corresponding sampling point, the optimal alignment path between the two is determined, and the time axis binding relationship between each basic block node and the corresponding side channel signal sub-segment in the software semantic control flow graph is obtained. The software semantic control flow graph node features and the corresponding side channel signal sub-segment features are input into a cross-attention fusion network for cross-modal feature fusion to obtain a cross-modal joint feature vector; The confidence score of the firmware to be detected as malware is obtained based on the cross-modal joint feature vector, and the firmware to be detected is determined to be malware when the confidence score exceeds a preset confidence threshold.