← Lab /Security & privacy

XGBoost detects malware with 98.62% accuracy

XGBoost achieves 98.62% accuracy in classifying malware versus benign software on a benchmark dataset

Security & privacy arXiv 3 Aug 2026 Measurement Prototype evidence

Published as “Performance analysis of Machine learning algorithms for predicting malware”

Why it matters

An ANN can reach near-99% detection accuracy on a balanced malware dataset, suggesting ML-based detectors could substantially improve over traditional signature AV in controlled settings.

Summary

The authors report that an artificial neural network (ANN) achieves roughly 99% accuracy (98.6% in the evaluation table, 99.56% in the conclusion) for malware detection, outperforming Naïve Bayes (69.5%) and Logistic Regression (93.7%). They trained and tested three classifiers on a balanced 100,000-sample Kaggle dataset and evaluated them with TPR, FPR, accuracy, ROC and AUC. The evidence is limited to a single dataset and internal validation, with no external or real-world testing.

What they found 2

  1. ANN achieves the highest accuracy among the three models

    “Artificial Neural Network 0.99 0.021 98.6 %”

  2. ANN accuracy is reported as 99.56% in the conclusion

    “ANN algorithm is used for malware detection and achieves 99.56% accuracy.”

Caveats 2

  • The evaluation table reports ANN accuracy of 98.6% while the conclusion claims 99.56% accuracy, indicating an inconsistency in reported performance.
  • In any case, to completely assess the reasonableness of our methodology, a lot more research needs to be conducted. While our preliminary outcomes are promising, more work is needed to improve the technique and accuracy of our proposed model by using a deep learning method.

What’s new here 4

  • Evaluates three ML models (Naïve Bayes, Logistic Regression, ANN) on a larger, publicly sourced 100k sample dataset.
  • Applies preprocessing steps (label encoding, StandardScaler) and an ANN with two hidden layers, ReLU/Sigmoid activations, cross-entropy loss and Adam optimizer.
  • Reports ROC curves and AUC for each model, showing ANN AUC of 0.99.
  • Claims higher detection accuracy than prior works that used far fewer samples and fewer algorithms.