Skip to main content

VirusTotal-based malware scanning CLI

Reason this release was yanked:

Processing the hash failed, need to fix it.

Project description

Malware Sentinel

Keep Malicious Media Away! 🛡️

Malware Sentinel is an advanced Python-based scanner that allows you to check files, hashes, IP addresses, and domains against VirusTotal. It provides detailed analysis results including last analysis stats, reputation, DNS records, WHOIS info, and more.


Features

  • Scan files by path and automatically compute MD5 hash.
  • Scan hashes directly for known malware signatures.
  • Scan IP addresses to check reputation, network info, and threats.
  • Scan domains with detailed domain info and popularity ranks.
  • Automatic redirect to VirusTotal pages for malicious items.

Prerequisites

  • Python 3.8+ installed
  • A VirusTotal API key (get one from VirusTotal)
  • ClamAV (for local file scanning):
    sudo apt install clamav
    

Installation

From Source

  1. Clone this repository:(linux/macOS)
git clone https://github.com/cyb2rS2c/Malware-Sentinel.git
cd Malware-Sentinel/

Clone this repository:(windows)

curl -o Malware-Sentinel-main.zip https://github.com/cyb2rS2c/Malware-Sentinel/archive/refs/heads/main.zip
Expand-Archive -Force  .\Malware-Sentinel-main.zip
cd Malware-Sentinel-main/Malware-Sentinel-main

Dependencies

  1. Install dependencies:

Linux (Terminal)

python3 -m venv myvenv
source myvenv/bin/activate
pip install -r requirements.txt

Windows (Powershell)

python3 -m venv myvenv
myvenv\Scripts\activate.bat
pip install -r requirements.txt

With Pip

pip install malware-sentinel

Note

First-time setup The program will prompt you for your VirusTotal API key. It will save it in data/api_key.pkl for future use.

  1. Run the program
python malware-sentinel.py

Usage

  1. Enter your VirusTotal API key when prompted.(compulsory)
  2. Run the program and follow the prompts.
  3. Choose whether to scan a file, hash, IP, or domain.
  4. View detailed analysis results in your terminal.
  5. Malicious items will prompt a VirusTotal webpage for further inspection.

Screenshots

image image

📝 Author

cyb2rS2c - GitHub Profile

Malware Sentinel – Keeping Malicious Media Away!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

malware_sentinel-2.0.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

malware_sentinel-2.0.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file malware_sentinel-2.0.3.tar.gz.

File metadata

  • Download URL: malware_sentinel-2.0.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for malware_sentinel-2.0.3.tar.gz
Algorithm Hash digest
SHA256 f3415cb50d64cbd272fe691a4253f3fdf93af0e31672d791e277697717d4b7e5
MD5 a332afaf10ed26d87723ae09fd2f11d6
BLAKE2b-256 72d53e6801aacc27a1bf6b7d9cee38263d48b1c35576e5f0faeba69d88056eae

See more details on using hashes here.

File details

Details for the file malware_sentinel-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for malware_sentinel-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 898296182ed71477c8867b0546585c99d90957c21cda7cdf0b8d6b022c3bc90c
MD5 b27f6837940d2f6468020e8cd29118ff
BLAKE2b-256 644715e31e36eac290eb5afd648ceefd951bfebbca8cc9b318e6197933dc4962

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page