Skip to main content

VirusTotal-based malware scanning CLI

Reason this release was yanked:

Authorization issues. API was not read correctly

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.1.tar.gz (10.1 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.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: malware_sentinel-2.0.1.tar.gz
  • Upload date:
  • Size: 10.1 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.1.tar.gz
Algorithm Hash digest
SHA256 f4e94d1a73290078995283809a6d333440a17550b3a1388c9440a8d06d13b428
MD5 c3943e2f25dbbfec3f50dc0dbf70600b
BLAKE2b-256 e5f7f2c1b77dd0962e814d19c9e604abdc128586a515d0f5806ce82e6aa89a79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for malware_sentinel-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2afa00ec5c4c808baf9a30e0010e95f44571cff15227cf046f1df2797d7d4199
MD5 f0b3eada632ecc6e87fedff288b77f76
BLAKE2b-256 e6c17725b0e17140434325334207a6e78154779d1de110ee7c9d50a8775a3f32

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