Skip to main content
QUICK REVIEW

[Paper Review] Hey, you, keep away from my device: remotely implanting a virus expeller to defeat Mirai on IoT devices

Chen Cao, Le Guan|arXiv (Cornell University)|Jun 19, 2017
Advanced Malware Detection TechniquesComputer Science11 references7 citations
TL;DR

This paper proposes a collaborative, human-in-the-loop defense mechanism to remotely expel Mirai malware from vulnerable IoT devices by leveraging controlled reboots and a 'white' Mirai-like virus expeller. The system, deployed via a manufacturer-operated server, implants a lightweight defense that blocks Mirai's access ports, maintains persistence through heartbeat checks, and re-infects devices after reboot—effectively defeating Mirai with minimal user effort and no active scanning or unauthorized device compromise beyond negotiated time windows.

ABSTRACT

Mirai is botnet which targets out-of-date Internet-of-Things (IoT) devices. The disruptive Distributed Denial of Service (DDoS) attack last year has hit major Internet companies, causing intermittent service for millions of Internet users. Since the affected devices typically do not support firmware update, it becomes challenging to expel these vulnerable devices in the wild. Both industry and academia have made great efforts in amending the situation. However, none of these efforts is simple to deploy, and at the same time effective in solving the problem. In this work, we design a collaborative defense strategy to tackle Mirai. Our key idea is to take advantage of human involvement in the least aggressive way. In particular, at a negotiated time slot, a customer is required to reboot the compromised device, then a "white" Mirai operated by the manufacturer breaks into the clean-state IoT devices immediately. The "white" Mirai expels other malicious Mirai variants, blocks vulnerable ports, and keeps a heart-beat connection with the server operated by the manufacturer. Once the heart-beat is lost, the server re-implants the "white" Mirai instantly. We have implemented a full prototype of the designed system, and the results show that our system can evade Mirai attacks effectively.

Motivation & Objective

  • To address the challenge of remediating Mirai-infected IoT devices that lack firmware update capabilities and are otherwise unreachable.
  • To overcome the limitations of passive recalls and customer service outreach, which suffer from low user cooperation and scalability.
  • To design a defense mechanism that is simple to deploy, effective in expelling Mirai, and avoids the resource exhaustion and legal risks of prior 'white' Mirai approaches.
  • To enable deterministic, repeatable remediation of compromised devices through coordinated user reboots and automated server-side re-implantation of the virus expeller.

Proposed method

  • The system uses a manufacturer-operated implanter server to remotely detect and implant a 'virus expeller' into clean-state IoT devices during a negotiated reboot window.
  • The virus expeller closes all ports commonly exploited by Mirai, such as Telnet (port 23), to prevent re-infection.
  • A heartbeat mechanism ensures the virus expeller remains active; if the heartbeat is lost (e.g., after a reboot), the server triggers a re-implantation via a scan and load process.
  • The system avoids active scanning of the entire Internet, relying instead on user cooperation to create a predictable window for implantation.
  • The virus expeller is designed to be lightweight and non-invasive, with no scanning or propagation modules, reducing resource overhead on constrained devices.
  • The solution is evaluated via a full prototype on real IoT devices, demonstrating successful implantation, port blocking, and re-implantation after reboot.

Experimental results

Research questions

  • RQ1Can a collaborative defense mechanism that involves minimal user action effectively expel Mirai from vulnerable IoT devices without active scanning or unauthorized device access?
  • RQ2How can a virus expeller be reliably re-implanted after device reboot to maintain persistent protection?
  • RQ3What is the impact of closing Mirai-exposed ports on legitimate device functionality, and how can this be mitigated?
  • RQ4Can a system that avoids brute-force scanning and self-propagation still achieve high effectiveness in real-world deployment?
  • RQ5What are the legal and ethical implications of remotely installing defensive code on consumer devices, and how can they be addressed?

Key findings

  • The prototype successfully implanted the virus expeller on real IoT devices, confirming that the system can be deployed in practice.
  • The virus expeller effectively blocked Mirai’s access by closing vulnerable ports such as Telnet (port 23), preventing re-infection.
  • After device reboot, the heartbeat mechanism detected the loss of the virus expeller, and the server successfully re-implanted it via scan and load services.
  • The system demonstrated deterministic behavior: re-implantation occurred reliably after reboot, ensuring continuous protection.
  • The solution avoided the resource overhead and legal risks of prior 'white' Mirai approaches by eliminating scanning and propagation modules.
  • The system was effective in a controlled environment, showing that coordinated user reboots enable reliable, non-invasive remediation of Mirai-infected devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.