ML-based static malware analysis web app (no registration).
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
sudo apt-get install -y libmagic1python manage.py makemigrations
python manage.py migrateCreate dataset.csv with columns: path,label (label 0=benign, 1=malicious), then:
python manage.py train_model --csv dataset.csvThis will create:
artifacts/model.joblibartifacts/feature_schema.json
python manage.py runserver 0.0.0.0:8000Open: http://SERVER_IP:8000/
- Files are never executed.
- This MVP uses generic static features (entropy, strings, URL/IP counts, byte histogram).
- Add file-type plugins (PE/PDF/Office) later for better accuracy.