Machine learning-based malware detection on macOS
Machine learning-based malware detection on macOS
The increasing adoption of macOS devices leads to a rise in malware targeting the platform, while the current research state of macOS malware detection remains limited compared to Windows. This study aims to enhance macOS malware detection using supervised machine learning techniques. Unlike previous studies, this study integrates multiple feature selection methods, applies nested cross-validation, and introduces a novel RGB image conversion of structured features combined with CycleGAN-generated data for Convolutional Neural Network (CNN) training. The CyberScienceLab macOS malware dataset is used, where comprehensive data preprocessing, feature selection, and balancing through SMOTE are applied to train five supervised machine learning models: Support Vector Machine (SVM), Decision Tree, Naïve Bayes, Random Forest and Logistic Regression. Each model undergoes nested cross-validation and hyperparameter tuning to ensure robust evaluation. For CNN training, RGB images are generated by transforming structural static feature vectors. CycleGAN is employed to generate synthetic image data to address the small dataset size. The results show that all supervised learning models outperform previous studies using the same dataset, with SVM achieving the highest accuracy of 98.88% and CNN achieving 96.21%. These findings highlight that a well-designed machine learning workflow with structured data can outperform CNN-based models in this context, although deep learning remains a competitive approach. Future work focuses on expanding the dataset with more recent malware samples and exploring alternative generative methods to further improve performance.
Deep Learning, Machine Learning, macOS, Malware Detection
294-305
Springer Science and Business Media B.V.
Low, Adrian Guo Xiang
222b2373-8114-4f18-af28-b941a96a6cec
Aniello, Leonardo
9846e2e4-1303-4b8b-9092-5d8e9bb514c3
24 November 2025
Low, Adrian Guo Xiang
222b2373-8114-4f18-af28-b941a96a6cec
Aniello, Leonardo
9846e2e4-1303-4b8b-9092-5d8e9bb514c3
Low, Adrian Guo Xiang and Aniello, Leonardo
(2025)
Machine learning-based malware detection on macOS.
Akavia, Adi, Dolev, Shlomi, Lysyanskaya, Anna and Puzis, Rami
(eds.)
In Cyber Security, Cryptology, and Machine Learning - 9th International Symposium, CSCML 2025, Proceedings.
vol. 16244 LNCS,
Springer Science and Business Media B.V.
.
(doi:10.1007/978-3-032-10759-6_19).
Record type:
Conference or Workshop Item
(Paper)
Abstract
The increasing adoption of macOS devices leads to a rise in malware targeting the platform, while the current research state of macOS malware detection remains limited compared to Windows. This study aims to enhance macOS malware detection using supervised machine learning techniques. Unlike previous studies, this study integrates multiple feature selection methods, applies nested cross-validation, and introduces a novel RGB image conversion of structured features combined with CycleGAN-generated data for Convolutional Neural Network (CNN) training. The CyberScienceLab macOS malware dataset is used, where comprehensive data preprocessing, feature selection, and balancing through SMOTE are applied to train five supervised machine learning models: Support Vector Machine (SVM), Decision Tree, Naïve Bayes, Random Forest and Logistic Regression. Each model undergoes nested cross-validation and hyperparameter tuning to ensure robust evaluation. For CNN training, RGB images are generated by transforming structural static feature vectors. CycleGAN is employed to generate synthetic image data to address the small dataset size. The results show that all supervised learning models outperform previous studies using the same dataset, with SVM achieving the highest accuracy of 98.88% and CNN achieving 96.21%. These findings highlight that a well-designed machine learning workflow with structured data can outperform CNN-based models in this context, although deep learning remains a competitive approach. Future work focuses on expanding the dataset with more recent malware samples and exploring alternative generative methods to further improve performance.
This record has no associated files available for download.
More information
Published date: 24 November 2025
Additional Information:
Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Venue - Dates:
9th International Symposium on Cyber Security, Cryptology, and Machine Learning, CSCML 2025, , Be'er Sheva, Israel, 2025-12-04 - 2025-12-05
Keywords:
Deep Learning, Machine Learning, macOS, Malware Detection
Identifiers
Local EPrints ID: 512955
URI: https://eprints.soton.ac.uk/id/eprint/512955
ISSN: 0302-9743
PURE UUID: cea11e19-4d0f-41e5-9d0c-0045c01a75cc
Catalogue record
Date deposited: 28 Jul 2026 16:50
Last modified: 13 Sep 2026 15:49
Export record
Altmetrics
Contributors
Author:
Adrian Guo Xiang Low
Author:
Leonardo Aniello
Editor:
Adi Akavia
Editor:
Shlomi Dolev
Editor:
Anna Lysyanskaya
Editor:
Rami Puzis
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics