Testing And Hardening IoT Devices Against the Mirai Botnet