Military-Grade Automated Data Destruction Solution
"Your data vanishes like it never existed - precisely when you need it to"
Secure Auto-Wipe Tool is an NSA-grade automated data destruction system that combines military-grade cryptography with physical media sanitization. Designed for sensitive operations, this tool automatically and irreversibly destroys all data on USB drives after a preset time interval (6/12/24 hours) using a dual-layer security approach:
- AES-256-GCM Encryption - All files are encrypted at rest
- DoD 5220.22-M Compliant Wiping - 7-pass secure deletion protocol
- Tamper-Proof Countdown Timer - HMAC-protected destruction schedule
- Python 3.8+
- Linux/macOS/Windows (Tested on Ubuntu 22.04/Win11/macOS Ventura)
# 1. Clone repository
git clone https://github.com/coddard/Secure-Auto-Wipe-Tool.git
cd Secure-Auto-Wipe-Tool
# 2. Install dependencies
pip install pycryptodomex
# 3. Verify installation
python Secure-Auto-Wipe-Tool.py --help
```markdown
# Secure-Auto-Wipe-Tool πβ³β‘
**Military-Grade Automated Data Destruction Solution**
*"Your data vanishes like it never existed - precisely when you need it to"*


## π Overview
Secure-Auto-Wipe-Tool is an NSA-grade automated data destruction system that combines military-grade cryptography with physical media sanitization. Designed for sensitive operations, this tool automatically and irreversibly destroys all data on USB drives after a preset time interval (6/12/24 hours) using a dual-layer security approach:
1. **AES-256-GCM Encryption** - All files are encrypted at rest
2. **DoD 5220.22-M Compliant Wiping** - 7-pass secure deletion protocol
3. **Tamper-Proof Countdown Timer** - HMAC-protected destruction schedule
## π Installation
### Requirements
- Python 3.8+
- Linux/macOS/Windows (Tested on Ubuntu 22.04/Win11/macOS Ventura)
```bash
# 1. Clone repository
git clone https://github.com/coddard/Secure-Auto-Wipe-Tool.git
cd Secure-Auto-Wipe-Tool
# 2. Install dependencies
pip install pycryptodomex
# 3. Verify installation
python Secure-Auto-Wipe-Tool.py --help# Initialize with 24-hour destruction timer
python Secure-Auto-Wipe-Tool.py.py /path/to/usb -t 24 --init- You'll be prompted for a secure passphrase
- All files will be encrypted in-place
- Destruction timer starts immediately
# Background execution (Linux/macOS)
nohup python Secure-Auto-Wipe-Tool.py /path/to/usb &
# Windows (Run in separate cmd window)
start /B python Secure-Auto-Wipe-Tool.py D:\USBThe Secure Auto-Wipe Tool GUI provides a user-friendly interface for the military-grade secure USB data destruction system. This implementation maintains all the security features of the original command-line tool while adding an intuitive graphical interface.
- Professional Dark Theme: Modern security-focused interface with dark colors
- Multi-Page Layout: Organized workflow with dedicated pages for each function
- Responsive Design: Adapts to different screen sizes
- System Tray Integration: Runs in background with tray icon for monitoring
- Military-Grade Encryption: AES-256 encryption for sensitive data
- 7-Pass Secure Deletion: NSA-approved file wiping algorithm
- Password Protection: Strong passphrase requirement for initialization
- Automatic Destruction: Data wiped after specified time period
- Emergency Wipe: Immediate data destruction option
-
USB Initialization:
- Set wipe timer (6/12/24 hours)
- Password-protected setup
- Drive selection with browse dialog
-
USB Monitoring:
- Real-time status display
- Countdown timer showing time until wipe
- Background monitoring capability
-
Progress Tracking:
- Real-time progress bars
- Status messages for all operations
- Time remaining display
- Multiple Confirmations: Warning dialogs for destructive operations
- Password Validation: Minimum 8-character requirement
- Password Confirmation: Must enter passphrase twice
- Operation Cancellation: Ability to stop ongoing processes
- Error Handling: Clear error messages for all failure scenarios
- Logging: Detailed operation logging to file
- Platform Support: Works on Windows, macOS, and Linux
- Taskbar Integration: Proper application identification in taskbar
- Background Operation: Continues monitoring when minimized
- Threaded Operations: Background processing keeps UI responsive
- Fallback Crypto: Pure Python crypto implementation if libraries missing
- Automatic Updates: Time calculation and display
- Command Line Support: Original CLI functionality preserved
- Python 3.6+
- PyQt5 (
pip install pyqt5) - Recommended: pycryptodome (
pip install pycryptodome) for enhanced security
Clean, professional interface with security-focused color scheme
- Passwords are never stored or logged
- All sensitive operations require confirmation
- Actual crypto implementation depends on installed libraries
- Fallback crypto should not be used in production environments
This GUI implementation provides a comprehensive, user-friendly interface for the secure auto-wipe functionality while maintaining all the security features of the original command-line tool.
- Key Derivation
PBKDF2-HMAC-SHA512(210,000 iterations) creates encryption key - File Encryption
All files encrypted with AES-256-GCM (16-byte nonce, 16-byte tag) - Timer Setup
HMAC-Secured timestamp stored in hidden sector
graph TD
A[Check Timer] --> B{Time Expired?}
B -->|Yes| C[7-Pass Wipe]
B -->|No| D[Sleep 1 Hour]
C --> E[Self-Destruct]
D --> A
- Crypto-Shredding - Overwrite encrypted files 7x with random data
- Metadata Purge - Wipe directory entries and FAT tables
- Self-Destruction - Remove all tool traces from USB
| Feature | Specification |
|---|---|
| Encryption Standard | AES-256-GCM (NIST FIPS 197) |
| Key Derivation | PBKDF2-HMAC-SHA512 (210k iterations) |
| Wiping Standard | DoD 5220.22-M (7 passes) |
| Tamper Protection | BLAKE2b HMAC with Time-Key Binding |
| Memory Security | Zeroization of sensitive buffers |
| Anti-Forensic | Journaling FS protection |
Q: Does this work on SSDs?
A: While effective, physical media characteristics may affect completeness. Use with hardware-encrypted drives for maximum security.
Q: Can I change the timer?
A: Timer is immutable after initialization to prevent tampering.
Q: What if I lose the passphrase?
A: Data is irrecoverable - designed for secure destruction, not backup.
Q: Can I pause the timer?
A: Removal pauses timing - countdown resumes when reconnected.
THIS TOOL PERMANENTLY DESTROYS DATA
Test with disposable media before live deployment. Developers assume no liability for data loss.
- Open Issue for feature requests/bug reports
- Fork repository and create PR
MIT License - See LICENSE for details
# Test with 1-minute destruction cycle (Demo mode)
python Secure-Auto-Wipe-Tool.py /test/usb -t 0.016 --init
# Wait 60 seconds and verify wipe- NIST SP 800-88 Rev.1 Media Sanitization Guidelines
- PyCryptodome Team for crypto primitives
- NSA Commercial Solutions for Classified Program

