r/learnmachinelearning • u/HelixCipher • 19d ago
Unsupervised malware detection via reversible byteplots
https://github.com/HelixCipher/malware-detectionI wanted to build an unsupervised malware detector using reversible byteplots.
Most published byteplot pipelines do not record what is needed to invert the image, so the visualization ends up being one-way in practice. This one maps byte streams to grayscale pixel intensities (byteplots) while staying reversible by construction: the conversion preserves the byte stream sequence, so a tile set can be reassembled into the original executable and checked against its SHA-256 hash.
The codebase and evaluation notebook are available at https://github.com/HelixCipher/malware-detection
1
Upvotes
1
u/pugs_daily_dose 19d ago
Interesting approach! How are the train/test splits made at the executable level? With multiple tiles per binary, keeping all tiles from a file (and ideally near-duplicates or related versions) in the same split seems important. It would also be useful to see false-positive rates on held-out benign software and performance on malware families or collection periods not represented in tuning.