Are Trees Really Green? A Detection Approach of IoT Malware Attacks