IoTReplay: Troubleshooting COTS IoT Devices with Record and Replay
Kaiming Fang, Guanhua Yan · 2020
Internet-of-Things (IoT) devices have been expanding at a blistering pace in recent years. Many of these devices have not been thoroughly tested for their security and dependability prior to shipment. These COTS (Commercial-Off-The-Shelf) IoT devices pose severe security threats to not only their users but also critical infrastructures, as evidenced by the infamous Mirai botnet attack. This work explores how to use the record and replay technique to troubleshoot COTS devices. To this end, we have developed an edge-assisted system called IoTReplay, which identifies contextual events in an IoT system that may affect the operations of the target IoT device. These contextual events are recorded when the IoT device is operating in the real world and then replayed in a test environment. We evaluate the performance of IoTReplay for troubleshooting four different types of COTS IoT devices. Our experiments demonstrate that IoTReplay is able to replay execution sequences of these devices with high fidelity while causing negligible interference with the operations of these IoT devices in the real world.