This independent cybersecurity portfolio project demonstrates how Python can validate file-hash formats and compare fictional hashes against a local threat-intelligence watchlist.
The project performs offline analysis only. It does not upload files, contact external malware services, or claim that an unknown hash is safe.
- Python
- Malware triage fundamentals
- MD5, SHA-1, and SHA-256 identification
- Hash-format validation
- Local IOC/watchlist matching
- JSON parsing
- Security automation
- Analyst reporting
malware_hash_checker.py— Main Python scriptsample_hashes.txt— Fictional/sample hashes for analysisthreat_watchlist.json— Local demonstration watchlisthash_analysis_report.txt— Example generated reportrequirements.txt— Dependency notes
The script:
- Reads candidate file hashes.
- Identifies MD5, SHA-1, or SHA-256 formatting.
- Rejects malformed values for review.
- Compares valid hashes with a local fictional watchlist.
- Generates an analyst-friendly report.
python3 malware_hash_checker.pyFile hashes are commonly used as indicators during malware triage and incident investigations. Analysts can compare hashes with trusted intelligence sources to identify known files or indicators.
A hash that does not match a watchlist should be treated as unknown, not automatically safe.
This is an independent cybersecurity portfolio project for educational and professional demonstration. The local watchlist is fictional and the project does not perform live threat-intelligence lookups.
- Approved reputation API integration
- SHA-512 support
- CSV/JSON report export
- Case tags and analyst notes
- Deduplication
- Integration with IOC-management workflows