A tool to scan for malware on your system using YARA rules and a Flask web interface.
- Scan files and directories for known malware signatures using YARA rules.
- Web interface to start scans and view results.
- Automatically update YARA rules from public repositories.
- Python 3
- Pip
- Virtual Environment (optional but recommended)
- Clone the repository:
git clone <repository-url> cd malware_scanner
- Create and activate a virtual environment (optional but recommended):
virtualenv venv source venv/bin/activate - Install the dependencies:
pip install -r requirements.txt
Run the following script to download and integrate the latest YARA rules from public repositories:
python update_yara_rules.py
-
Start the Flask app:
python run.py
-
Open your web browser and navigate to http://127.0.0.1:5000/.
-
Start a scan and view the results.
malware_scanner/ │ ├── app/ │ ├── init.py │ ├── routes.py │ ├── static/ │ │ └── styles.css │ └── templates/ │ └── index.html │ ├── scanner/ │ ├── init.py │ ├── scan.py │ ├── signature_database/ │ │ ├── integrated_rules.yar │ │ └── malware_signatures.yar │ ├── tests/ │ ├── init.py │ ├── run.py ├── requirements.txt └── update_yara_rules.py