Model Deteksi Malware Pada Sistem Operasi Windows Menggunakan Teknik Machine Learning

Authors

  • Farhan Naufal Satya Chery Universitas Potensi Utama
  • Lili Tanti Universitas Potensi Utama
  • Bob Subhan Riza Universitas Potensi Utama

Keywords:

Deteksi Malware, Machine Learning, Random Forest, SMOTE, Correlation Matrix, Sistem Operasi Windows.

Abstract

Malware merupakan ancaman utama dalam dunia keamanan siber, khususnya pada sistem operasi Windows yang banyak digunakan. Penelitian ini bertujuan untuk membangun model deteksi malware berbasis machine learning dengan menggunakan algoritma Random Forest. Dataset yang digunakan adalah Optimized Malware Dataset, yang dianalisis melalui beberapa tahap preprocessing, termasuk penanganan missing value menggunakan imputasi mean, penanganan outlier dengan kombinasi teknik removal dan capping, serta normalisasi data menggunakan StandardScaler. Seleksi fitur dilakukan dengan Correlation Matrix untuk mengidentifikasi atribut yang paling relevan terhadap kelas target. Ketidakseimbangan kelas pada data ditangani menggunakan metode SMOTE (Synthetic Minority Over-sampling Technique), dan pembagian data dilakukan dengan train-test split. Model dilatih menggunakan Random Forest yang telah dioptimasi, kemudian dievaluasi melalui classification report, confusion matrix, serta 5-fold cross-validation. Hasil evaluasi menunjukkan bahwa model memiliki performa yang baik dalam mendeteksi dan mengklasifikasikan malware, ditunjukkan dengan nilai accuracy, precision, dan f1-score yang tinggi. Penelitian ini menunjukkan bahwa kombinasi teknik preprocessing dan algoritma Random Forest dapat menghasilkan sistem deteksi malware yang efektif dan adaptif, serta dapat dijadikan acuan dalam pengembangan sistem keamanan siber di masa depan

References

Al Maqousi, A., & Alauthman, M. (2025). RoboGuard: Enhancing robotic system security with ensemble learning. International Arab Journal of Information Technology, 20(6), 965–976.

Anderson, H. S., & Roth, P. (2018). EMBER: An open dataset for training static PE malware machine learning models. arXiv preprint arXiv:1804.04637.

Arifin, M. A. S. (2024). Deteksi aktivitas malware pada Internet of Things menggunakan algoritma decision tree dan random forest. KLIK - Kumpulan Jurnal Ilmu Komputer, 11(2), 3070–3080.

Aziz, T. A. (2025). Klasifikasi malware Android dengan menggunakan metode XGBoost algoritma. Repositor: Jurnal Ilmiah, 25(3).

Chen, Y., et al. (2023). Android malware detection with unbiased confidence guarantees. arXiv:2312.11559.

Thapa, D., Yadav, H. N. R., & Dhakal, M. (2025). Malware detection using the concept of random forest algorithm. Journal of Science & Technology, 10(5), 38–49.

Agu, E. O., & Ebelogu, C. U. (2023). Malware mitigation through detection using support vector machine and random forest algorithm. International Journal of Advances in Scientific Research and Engineering, 9(7), 18–24.

El Attaoui, A., El Hami, N., & Koulou, Y. (2023). Android malware detection using the random forest algorithm. Indonesian Journal of Electrical Engineering and Computer Science, 36(3), 1876–1883.

Gibert, D., Mateu, C., Planes, J., & Vicens, R. (2020). The rise of machine learning for detection and classification of malware: Research developments, trends, and challenges. Journal of Network and Computer Applications, 153, 102526.

Giffin, M., & Zhang, L. (2007). A survey on malware detection and classification. Journal of Computer Science and Technology, 22(3), 323–335.

Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep learning. MIT Press.

Ibrahim, A. M., & Sallow, A. B. (2023). Feature selection for Android malware detection with random forest on smartphones. Revista de Ingeniería e Innovación Aplicada.

Manokaran, J., & Vairavel, G. (2023). GIWRF-SMOTE: Gini impurity-based weighted random forest with SMOTE for effective malware attack and anomaly detection in IoT-Edge. Smart Science, 11(2), 276–292.

Jumaah, M., Yassin, A., Abduljabbar, Z. A., Jawad, M., Nyangaresi, V. O., & Ali, A. H. (2025). Amalgamating ensemble machine learning soft voting classifier, SMOTE, and Pearson’s correlation coefficient for enhanced malware detection. Engineering, Technology & Applied Science Research, 15(3), 22746–22752.

Kikelomo, A. A., Asafe, N. N., & Oludayo, I. O. (2023). Malware detection system using mathematics of random forest classifier. International Journal of Advances in Scientific Research and Engineering, 9(3), 45–53.

Kunku, K., Zaman, A. N., & Roy, K. (2023). Ransomware detection and classification using machine learning. arXiv:2311.16143.

Lee, H., et al. (2025). MAD-ANET: Malware detection using attention-based deep learning + SMOTE. Computers & Security. Elsevier.

Li, M., et al. (2023). Investigating feature and model importance in Android malware detection. arXiv:2301.12778.

Lubis, H. T., Roslina, R., & Tanti, L. (2025). Anomaly detection in computer networks using isolation forest in data mining. Jurnal Teknik Informatika, 18(1), 77–86.

Matin, I. M. M., Agustin, M., Sugiarto, B., & Asri, A. (2023). Deteksi malware menggunakan machine learning dengan metode ensemble. Prosiding Seminar Nasional Sains dan Teknologi, 13(1).

Reddy, M. H., & Gayathri, A. (2025). Predicting the efficient malware detection: Random forest algorithm accuracy compared with linear regression algorithm. AIP Conference Proceedings, 3270.

Poltek Harber. (2024). Performance improvement of random forest algorithm for malware detection on imbalanced dataset using random under-sampling. Jurnal Informatika, 7(1).

Raff, E., Barker, J., Sylvester, J., Brandon, R., Catanzaro, B., & Nicholas, C. K. (2020). Malware detection by eating a whole EXE. Proceedings of the AAAI Conference on Artificial Intelligence.

Rafrastaraa, F. A., Pramunendar, R. A., Prabowo, D. P., & Sudibyo, U. (2023). Optimasi algoritma random forest menggunakan principal component analysis untuk deteksi malware. Jurnal Teknologi dan Sistem Informasi Bisnis, 5(2), 123–130.

Rkhouya, S., & Chougdali, K. (2024). Malware detection using a machine-learning based approach. International Journal of Computer Science and Network Security, 24(5), 15–22.

Shirley, S. C. P., et al. (2025). A unified machine learning approach for real-time intrusion, malware, and URL detection using random forest and advanced algorithms. Journal of Information Systems Engineering and Management, 10(37s).

Sampoerna University. (2025). Optimizing malware detection and prevention on proxy servers through RF + RFE. International Journal of Computer Engineering and Data Science, 9(2), 47–55.

Saxe, J., & Berlin, J. (2015). Deep neural network-based malware detection with Google’s TensorFlow. Proceedings of the 2015 Workshop on Machine Learning for Cyber Security.

Shiravi, H., Shiravi, A., & Ghorbani, A. A. (2012). A survey of network traffic analysis and intrusion detection systems. International Journal of Computer Applications, 44(9), 16–21.

Springer. (2023). Framework for detection of malware using random forest classifier. In Lecture Notes in Electrical Engineering (Vol. 1073, pp. 725–738). Springer.

Statista. (2023). Market share held by PC operating systems worldwide.

Stoneburner, G., Goguen, J., & Feringa, A. (2008). Malicious code and malware. In Handbook of Information Security: Threats, Vulnerabilities, and Countermeasures.

Subuhanto, D., & Tanti, L. (2024). Model deteksi anomali jaringan komputer menggunakan teknik machine learning. In Prosiding Seminar Nasional Multi Disiplin Ilmu (SENADIMU) (Vol. 1, No. 1).

Syamsul Arifin, M. A. (2024). Deteksi aktivitas malware pada Internet of Things menggunakan algoritma decision tree dan random forest. KLIK - Kumpulan Jurnal Ilmu Komputer, 11(2), 3070–3080.

Tanti, L., et al. (2024). Detection and classification model for respiratory diseases using machine learning techniques. In 2024 6th International Conference on Cybernetics and Intelligent System (ICORIS). IEEE.

Tran, T. D., & Vo, H. Q. (2023). Enhancing malware detection by integrating machine learning via CNN/RNN vs RF/KNN/XGB. arXiv:2311.04372.

Wang, Y., et al. (2023). A feature set of small size for the PDF malware detection. arXiv:2308.04704.

Yao, D., & Guo, L. (2017). Feature selection and extraction techniques for malware detection. Computer Networks and Communications, 210–221.

Zhang, H., Lu, C., & Wang, X. (2020). Adversarial machine learning for malware detection: Challenges and opportunities. International Journal of Information Security, 19(4), 503–516.

Zhang, X., Wei, Z., & Zeng, J. (2019). A deep learning approach for malware detection based on file feature analysis. In Proceedings of the 2019 International Conference on Computer Communication and Network Security.

Zhou, Y., Yang, X., & Guo, L. (2018). Dynamic feature extraction for malware detection using machine learning techniques. Journal of Computer Security, 26(5), 735–762.

Downloads

Published

2025-10-30

Issue

Section

Articles