Malware borrows generously from code used by other botnets such as Mirai, Qbot and Zbot.
Source: Threadpost