๐ Malware Zipper
Safely package suspected malware samples with password protection. Uses industry-standard "infected" password with AES-256 encryption via 7z.
infected should be communicated to recipients out-of-band.
Key Features
Password Protection
Auto-applies industry-standard "infected" password to all compressed samples.
AES-256 Encryption
Uses 7z with AES-256 when available for maximum cryptographic security.
Cross-Platform
Works on Windows, Linux, and macOS with automatic tool detection.
5 Fallback Methods
Tries compression methods in security preference order โ always finds one that works.
Auto Cleanup
Automatically removes temporary files after packaging completes.
Batch Processing
Package multiple malware samples in a single command.
How It Works
Input Files
Accepts file paths as CLI arguments
Tool Detection
Checks for available compression tools
Compression
Attempts methods in order of preference
Encryption
Applies encoding if needed for weak methods
Output
Generates <filename>_suspicious.zip
Packaging Methods (by security priority)
Most secure โ auto-downloads on Windows if needed
Standard encryption via system zip utility
Python library-based compression with encryption
Windows PowerShell (with certutil encoding fallback)
Built-in fallback (with certutil encoding on Windows)
Usage
Python Script
# Single file
python malware_zipper.py sample.exe
# Multiple files
python malware_zipper.py sample1.exe sample2.dll sample3.bat
# Full path
python malware_zipper.py "C:\Samples\malware.exe" Windows Executable
malware_zipper.exe sample.exe
malware_zipper.exe sample1.exe sample2.dll
# Drag and drop files onto the .exe also works! Installation
Option 1 โ Windows Executable (no Python needed)
Download malware-zipper.exeOption 2 โ Python Script
git clone https://github.com/Prof-GP/Other-Useful-Tools.git
cd Other-Useful-Tools
python malware_zipper.py sample.exe
# Optional: enhanced compression
pip install pyminizip Want to contribute?
Submit issues, fork the repo, or open a pull request.