Optimal Control of Malware Propagation in IoT Networks

Mousa Tayseer Jafar, Lu-Xing Yang, Gang Li, Xiaofan YangarXiv 2024 · OpenReview

Abstract

The rapid proliferation of Internet of Things (IoT) devices has led to a surge in cyber-attacks, highlighting the urgent need for robust security measures. When malware compromises an IoT network, a "patching gap" exists—the time required to develop and deploy a formal security patch. This paper addresses this gap by formulating an optimal control strategy using a novel node-based epidemiological model: Susceptible, Infected-High, Infected-Low, Recover-First, and Recover-Complete ($SI_H I_L R_F R_C$). By introducing an "immediate response" state ($R_F$), we analyze the impact of malware and demonstrate a strategy that significantly reduces propagation and minimizes infected devices in smart home environments.

Introduction

The Internet of Things (IoT) landscape is expanding exponentially, yet security often remains a secondary priority. A critical vulnerability in current defense strategies is the time delay between the discovery of a malware strain (such as Mirai) and the deployment of a functional patch. During this "patching gap," malware can spread unchecked.

Furthermore, traditional epidemiological models often assume node homogeneity. In reality, IoT devices exhibit varying spreading capabilities based on their connectivity and hardware. This paper introduces a model that accounts for node heterogeneity and provides a "stop-gap" mechanism to neutralize compromised devices before a permanent patch is available.

Comparison of the proposed $SI_H I_L R_F R_C$ model with existing epidemiological frameworks, highlighting the inclusion of immediate response and infection classification.

The $SI_H I_L R_F R_C$ Model

The proposed model categorizes IoT devices into five distinct states to better reflect real-world infection dynamics and response capabilities:

  1. Susceptible ($S$): Healthy devices vulnerable to infection.
  2. Infected High ($I_H$): Compromised devices with high spreading capability due to network position or resources.
  3. Infected Low ($I_L$): Compromised devices with lower spreading capability.
  4. Recover First ($R_F$): An "immediate response" state where devices are placed in a restricted environment (e.g., blocking broadcast/multicast traffic) to slow propagation.
  5. Recover Complete ($R_C$): Fully patched and secured devices.
State transition diagram for the $SI_H I_L R_F R_C$ model, illustrating the flow from susceptible to infected and the two-stage recovery process.

The transition to the $R_F$ state represents a critical innovation. By treating recovery as a two-stage process, network administrators can take immediate action—such as rate-limiting or traffic isolation—to buy time for formal patch development.

Optimal Control Strategy

To manage these transitions effectively, we apply Optimal Control Theory using Pontryagin’s Minimization Principle. The objective is to minimize a cost function that balances two competing goals:

  • Reducing the total number of infected devices ($I_H$ and $I_L$).
  • Minimizing the operational and economic costs associated with implementing restricted environments and developing patches.

The system is solved using the forward-backward sweep method, allowing for a dynamic response that targets high-spread nodes ($I_H$) for immediate isolation, yielding a higher return on security investment than a uniform approach.

Experimental Results

The model was validated using a custom Smart Home Dataset comprising 60 simulated IoT devices across functional zones (living room, kitchen, etc.). This setup reflects the irregular topologies typical of residential environments.

Key findings include:

  • Infection Reduction: The immediate response strategy reduced the infection rate by 21.66%. In specific scenarios, high-spread infections dropped from 76.66% to 55% of the network.
  • Efficiency: The optimal control strategy consistently outperformed Randomized Generating Control Strategies (RGCS), achieving lower overall costs (J-value).
  • Clustering Effect: Visual analysis of node states confirms that the $R_F$ state effectively "clusters" the infection, preventing it from saturating the entire network.

Conclusion

The $SI_H I_L R_F R_C$ model provides a robust framework for managing IoT malware outbreaks during the critical window before patches are available. By distinguishing between device spreading capabilities and implementing a two-stage recovery process, the proposed optimal control strategy offers a cost-effective and efficient means of securing smart home networks. Future work will explore the scalability of this model to Industrial IoT (IIoT) and the integration of game-theoretic approaches to account for adaptive attackers.

Summary updated

BibTeX
@misc{jafar2024optimal,
  author = {Mousa Tayseer Jafar and Lu-Xing Yang and Gang Li and Xiaofan Yang},
  title = {{Optimal Control of Malware Propagation in IoT Networks}},
  year = {2024},
  eprint = {2401.11076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.11076},
}
Figure