XinMalwareScanner is a machine learning–based malware detection system designed specifically for Windows environments.
The goal is to reduce human intervention by leveraging intelligent classification and automated feedback mechanisms.
To create a machine learning-based malware detection system that prioritizes file-based malware identification and classification in order to increase detection accuracy and decrease the need for human intervention.
-
To create a machine learning model that, in place of conventional signature-based techniques, can identify file-based malware.
-
To create a system that uses file behavior and characteristics to evaluate and classify malware.
-
To optimize the model for improved accuracy, aiming to achieve:
- 🎯 Precision: ≥ 85%
- 🎯 F1-Score: ≥ 85%
- 🎯 ROC-AUC Score: > 85%
- 🎯 Overall Detection Accuracy: > 80%
XinMalwareScanner uses a multi-model ensemble approach to detect malicious files based on static features.
The system integrates automatic feature extraction, model evaluation, and continuous learning from false positives and negatives — making it resilient and adaptable to evolving malware.
-
🗂️ Scan Files or Folders — Analyze files in bulk or individually for potential threats.
-
📄 Generate Scan Reports — Get clear classification: Safe, Infected, or Unknown.
-
🚨 User Feedback System — Report incorrect classifications to improve model performance.
-
🌙 Dark Mode Support — Easy on the eyes for extended use.
-
📦 Model Upload & Reset — Load new or reset existing machine learning models as needed.
-
🔁 Automatic Feedback Loop — Learns from user input to adapt and become smarter over time.
- Python 3
- scikit-learn
- TensorFlow & Keras
- pandas, NumPy
- matplotlib / seaborn (for visualizations)
- joblib (model persistence)
- ParrotOS (for experimentation and testing)
[Classification Report]
precision recall f1-score support
0 0.99 0.98 0.98 3557
1 0.96 0.98 0.97 1569
accuracy 0.98 5126
macro avg 0.97 0.98 0.98 5126
weighted avg 0.98 0.98 0.98 5126
- Clone the repository:
git clone https://github.com/X1nQing/XinMalwareScanner.git
cd Code_Final
- Install dependencies:
pip install -r requirements.txt
- Run the Scanner:
python main.py
Already defined in requirements.txt:
tensorflow
keras
ttkbootstrap
pandas
numpy
psutil
matplotlib
seaborn
pefile
Pillow
scikit-learn
This tool is developed strictly for academic and research purposes. It should not be used in production environments or as a replacement for enterprise-grade antivirus software. Always scan suspicious files using trusted tools before running them.
Created by X1nQing