This is the script to convert malware .bytes file from Kaggle Microsoft Malware Classification Challenge to image. I refer this script from a forum in Kaggle several months ago but for unknown reason the link to the forum is not working anymore.
Some of the images look interesting- After converting the malware file to image, I noticed that each class of the malware have unique pattern. So, it is possible to implement image classification on the images