Back to Projects

FileHashAnalyzer

🔐 Professional file hash analyzer with MD5, SHA1, SHA256, SHA512 generation and real-time VirusTotal threat intelligence. Features modern GUI, threaded analysis, and exportable reports. Built with Python and PyQt6.

2026cybersecurityfile-hashfile-integrityhash-analyzermalware-analysispyqt6pythonsecurity-toolsvirus-total
0
Stars
0
Forks
0
Watchers
0
Open Issues

README.md

# 🔐 File Hash Analyzer Pro

**Advanced File Hash Analysis Tool with VirusTotal Integration | 2026 Edition**

[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS-lightgrey)](https://github.com/JuttSahib1999/FileHashAnalyzer)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/JuttSahib1999/FileHashAnalyzer/graphs/commit-activity)

## 📋 Table of Contents
- [Overview](#-overview)
- [Features](#-features)
- [Installation](#-installation)
- [Usage](#-usage)
- [Screenshots](#-screenshots)
- [API Integration](#-api-integration)
- [Security](#-security)
- [Contributing](#-contributing)
- [License](#-license)

## 🚀 Overview

**File Hash Analyzer Pro** is a professional, user-friendly GUI tool for analyzing file integrity and security. It calculates multiple cryptographic hashes (MD5, SHA1, SHA256, SHA512) and checks them against the VirusTotal database to determine if a file is malicious or clean.

### Why This Tool?
- 🔒 **Security First**: Verify file integrity before execution
- 🚀 **Lightning Fast**: Optimized for large files
- 🎯 **Accurate**: Uses multiple hash algorithms for verification
- 🌐 **Cloud-Powered**: VirusTotal integration for real-time threat intelligence
- 💻 **Cross-Platform**: Works on Windows, Linux, and macOS

## ✨ Features

### Core Capabilities
- ✅ **Multi-Hash Generation**: MD5, SHA1, SHA256, SHA512
- ✅ **VirusTotal Integration**: Real-time threat detection
- ✅ **Modern GUI**: Clean, dark-themed interface
- ✅ **Large File Support**: Handles files > 10GB
- ✅ **Progress Tracking**: Real-time progress indicators
- ✅ **Export Reports**: JSON format for audit trails
- ✅ **API Key Management**: Secure local storage
- ✅ **Cross-Platform**: Windows, Linux, macOS

### Advanced Features
- 🔄 **Threaded Analysis**: No UI freezing
- 📊 **Detailed Statistics**: Detection ratios and engine breakdowns
- 🎨 **Modern UI**: Professional dark theme
- 🔐 **Secure**: No data stored in the cloud
- ⚡ **Optimized**: Efficient chunk-based processing
- 🛡️ **Security Alerts**: Clear malicious/clean verdicts

## 📦 Installation

### Prerequisites
- Python 3.8 or higher
- pip (Python package manager)

### Quick Install
```bash
# Clone the repository
git clone https://github.com/JuttSahib1999/FileHashAnalyzer.git
cd FileHashAnalyzer

# Install dependencies
pip install -r requirements.txt

# Run the application
python file_hash_analyzer_gui.py

```

### One-Line Installation (Linux/macOS)

```bash
git clone https://github.com/JuttSahib1999/FileHashAnalyzer.git && cd FileHashAnalyzer && pip install -r requirements.txt && python file_hash_analyzer_gui.py

```

## 🎯 Usage

### Getting Started

1. Get a VirusTotal API Key
2. Visit [VirusTotal](https://www.virustotal.com/)
3. Create a free account
4. Navigate to your profile → API Key
5. Copy your API key

### Launch the Application

```bash
python file_hash_analyzer_gui.py

```

### Analyze a File

1. Click "Browse" to select a file
2. (Optional) Enter your VirusTotal API key
3. Click "Start Analysis"
4. View comprehensive results

## 📸 Screenshots

* **Main Interface**: [View Screenshot](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/screenshots/main_interface.png)
* **Analysis Results - Clean File**: [View Screenshot](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/screenshots/clean_file.png)
* **Analysis Results - Malicious File**: [View Screenshot](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/screenshots/malicious_file.png)
* **Export Report**: [View Screenshot](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/screenshots/export_report.png)

## 🔌 API Integration

### VirusTotal API

The tool uses VirusTotal API v3 for threat intelligence:

* **Endpoint**: `https://www.virustotal.com/api/v3/files/{hash}`
* **Rate Limits**: 4 requests/minute (free tier)
* **Response**: Comprehensive analysis results
* **Error Handling**: Graceful handling of rate limits

### API Key Storage

* Keys stored locally in `~/.file_analyzer_config.json`
* Encrypted locally (no external transmission)
* Optional: Use environment variable `VIRUSTOTAL_API_KEY`

## 🔒 Security

### Best Practices

* ✅ Never share your API key publicly
* ✅ Use environment variables for CI/CD
* ✅ Verify files before execution
* ✅ Keep the tool updated
* ✅ Review VirusTotal results critically

### Security Features

* 🔐 Local API key storage
* 🔒 No file uploads to VirusTotal (hash-only)
* 🛡️ Secure password field for API key
* ⚠️ Clear security warnings for malicious files

## 🤝 Contributing

Contributions are welcome! Please read [CONTRIBUTING.md](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/CONTRIBUTING.md) for details.

### Ways to Contribute

* Report bugs
* Suggest features
* Submit pull requests
* Improve documentation
* Share with others

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/JuttSahib1999/FileHashAnalyzer/blob/main/LICENSE) file for details.

## 🙏 Support

### Contact

* **Author**: Abdul Muqeet Tabraiz
* **GitHub**: [JuttSahib1999](https://github.com/JuttSahib1999)
* **LinkedIn**: [AbdulMuqeetTabraiz](https://www.linkedin.com/in/abdul-muqeet-tabraiz/)

### Star the Repository

If you find this tool useful, please consider giving it a ⭐ on GitHub!

---

**Made with ❤️ by Abdul Muqeet Tabraiz**

Stay safe, stay secure! 🔐