Malware Analysis and Detection Using Machine Learning: Malware Family Classification and Phishing URL Detection with a Streamlit-FastAPI Interface
Malware files and phishing links are two common routes through which attackers compromise devices, accounts, and organisational systems. Signature-based tools are effective when a known indicator is available, but their coverage depends on previously identified patterns. This paper describes a combined machine-learning system for malware-family classification and phishing-URL screening. The malware component processes files represented in the .bytes format of the Microsoft Malware Classification Challenge dataset. It converts parsed byte values into a normalized 256-element frequency vector and uses a LightGBM multiclass classifier to predict one of nine malware families. The URL component represents URL strings using character-level term frequency-inverse document frequency (TF-IDF) features and applies Logistic Regression to distinguish URLs labelled safe from those labelled phishing. A FastAPI service exposes inference endpoints, while a Streamlit dashboard provides file and URL input, prediction summaries, risk labels, and batch reporting. The two pipelines remain separate at the model and feature-extraction stages but share the application layer. The supplied project material describes the system design and intended functional workflow; it does not contain a formal test protocol or quantitative benchmark results. Accordingly, no accuracy or detection-performance claim is made here. The manuscript also identifies dataset and implementation details that must be documented before an independent evaluation can be reproduced.
Authors
- Vishwajit Mhetre
- Gaurav Londhe
- Ajwad Momin
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24644807
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- preprint