Skip to main content

VirusTotal-based malware scanning CLI

Reason this release was yanked:

Yanked due to requiring the user to manually enter the API key.

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.2.tar.gz (10.4 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.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: malware_sentinel-2.0.2.tar.gz
  • Upload date:
  • Size: 10.4 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.2.tar.gz
Algorithm Hash digest
SHA256 c5b47b9f086309ac2c2b43395905051bdba0305d2a9fe1f18d6bdd723465d849
MD5 719be6d76a95286522f26f0291d57a9d
BLAKE2b-256 9e308ae1e2ac1b70dec4b9503c631ad4b672a97cf383e4f056edc5a1bea4a15c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for malware_sentinel-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d57d6907305672ba561fab05f7948d10b8c39caf0501aed4055c4b5ce642e393
MD5 ac31c131cb7b88ef61a673b5bbff61e8
BLAKE2b-256 0eac153a0e36faa1f44726e83545cb0dbdd451668b4eabf3113ae6047bce0085

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