| The continuous development of botnets has caused a variety of IoT gateway devices that use different management methods to be infected.This article analyzes the "Mirai" botnet and its variants that have the greatest impact at present,and studies their infection paths.Specifically,it proposes an IoT Hub based management method that can prevent botnet infections,and implements an open source prototype for verification.First of all,this article analyzes the "Mirai" botnet and its variants that have the greatest im-pact on the network at present,and mainly analyzes the compositional structure of the open source edition,the infection paths for the open source edition and its variants,and proposes a countermea-sure that is a management method based on the IoT Hub.Next,this article discusses the manage-ment method based on the IoT Hub,and analyzes how to perform device access,device identity authentication,device-side message reporting,control-side command delivery,device-side com-mand execution and result feedback,data encryption,and IoT Hub hot swap and other content.Then,this article discusses the implementation of the open source gateway prototype based on the IoT Hub management method,and mainly describes the implementations of Loongson-LEDE(Linux Embedded Development Environment for Loongson),IoT-Daemon(Daemon prototype for IoT Hub management method),and IoT-Web(Web console prototype for IoT Hub management method).Finally,this article describes the anti-botnet infection experiment on this open source gateway prototype. |