Understanding the Mirai Botnet