Skip to content

XinMalwareScanner is a smart, ML-powered malware detection tool for Windows. It classifies files as Safe, Infected, or Unknown — and gets smarter over time through a feedback loop.

License

Notifications You must be signed in to change notification settings

X1nQing/XinMalwareScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🛡️ XinMalwareScanner

License Platform Python

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.


🎯 Project Aim

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.


🎯 Project Objectives

  1. To create a machine learning model that, in place of conventional signature-based techniques, can identify file-based malware.

  2. To create a system that uses file behavior and characteristics to evaluate and classify malware.

  3. To optimize the model for improved accuracy, aiming to achieve:

    • 🎯 Precision: ≥ 85%
    • 🎯 F1-Score: ≥ 85%
    • 🎯 ROC-AUC Score: > 85%
    • 🎯 Overall Detection Accuracy: > 80%

🧠 Overview

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.


⚙️ Key Features

  • 🗂️ 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.


🛠️ Technologies Used

  • Python 3
  • scikit-learn
  • TensorFlow & Keras
  • pandas, NumPy
  • matplotlib / seaborn (for visualizations)
  • joblib (model persistence)
  • ParrotOS (for experimentation and testing)

📊 Evaluation

[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

🚀 How to Run

Prerequisites

Setup

  1. Clone the repository:
git clone https://github.com/X1nQing/XinMalwareScanner.git
cd Code_Final
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the Scanner:
python main.py

📦 Libraries Python Required:

Already defined in requirements.txt:

tensorflow
keras
ttkbootstrap
pandas
numpy
psutil
matplotlib
seaborn
pefile
Pillow
scikit-learn

🎥 Demo Video

Youtube


⚠️ Disclaimer

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.


📬 Contact

Created by X1nQing

About

XinMalwareScanner is a smart, ML-powered malware detection tool for Windows. It classifies files as Safe, Infected, or Unknown — and gets smarter over time through a feedback loop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors