This document provides the template and justification for requesting nameback's inclusion in the Kali Linux official repositories.
Package Name: nameback Version: 0.4.1 License: MIT Homepage: https://github.com/h4x0r/nameback Source Repository: https://github.com/h4x0r/nameback.git Maintainer: Albert Hui albert@example.com Category: Forensics / DFIR Tools
Intelligent file renaming tool for digital forensics and incident response workflows, particularly useful for organizing recovered files from PhotoRec/TestDisk.
nameback is a specialized file renaming utility that extracts embedded metadata from files to generate meaningful, descriptive filenames. It supports a wide range of file types including images, videos, PDFs, documents, and more, making it an essential tool for DFIR workflows.
- Smart Metadata Extraction - EXIF, PDF metadata, document properties
- Multi-Language OCR - Supports 160+ languages including CJK (Chinese, Japanese, Korean)
- Multi-Frame Video Analysis - Extracts multiple frames for better OCR accuracy
- HEIC/HEIF Support - Native support for Apple's image formats
- Series Detection - Automatically maintains file numbering in sequences
- Safe Operation - Dry-run mode, no overwrites, blocks root execution
- Dual Interface - Both CLI and GUI available
- Language: Rust
- Dependencies:
libimage-exiftool-perl(required)tesseract-ocr(for OCR functionality)tesseract-ocr-chi-tra(Traditional Chinese)tesseract-ocr-chi-sim(Simplified Chinese)ffmpeg(for video frame extraction)imagemagick(for HEIC/HEIF support)
- Binary Size: ~15MB (CLI + GUI combined)
- Architecture: amd64 (can be built for arm64 if needed)
nameback is specifically designed to complement Kali's existing data recovery tools:
# Typical DFIR workflow
sudo photorec /dev/sdb1 # Recover files (generates IMG_0001.jpg, f000001.pdf, etc.)
nameback /path/to/recovered --dry-run # Preview intelligent renames
nameback /path/to/recovered # Apply renames based on metadataValue: PhotoRec recovers files with generic names like IMG_0001.jpg, f000001.pdf. nameback transforms these into meaningful names like 2024-03-15_Evidence_Photo.jpg, Financial_Report_Q4_2024.pdf, making evidence organization and timeline analysis significantly easier.
Extract and organize files by their actual creation dates from EXIF metadata:
nameback --include-timestamp ~/evidence/photos
# Renames: IMG_5847.jpg → 2024-03-15_10-23-45_Crime_Scene.jpgValue: Critical for establishing timelines in forensic investigations. EXIF timestamps are more reliable than filesystem metadata which can be modified.
Process screenshots from compromised systems to extract text for search and indexing:
nameback ~/case-files/screenshots --verbose
# Uses Tesseract OCR to extract text and rename files
# screenshot_001.png → Login_Panel_Admin_Access.pngValue: Incident responders often deal with hundreds of screenshots. OCR-based renaming makes them instantly searchable and identifiable.
Support for international investigations with CJK language OCR:
nameback ~/evidence/chinese-docs
# Extracts Chinese characters from screenshots and documents
# screenshot_20241015.png → 輸入_姓名.pngValue: Essential for investigations involving international actors or non-English evidence.
Process large volumes of media files from seized devices:
nameback /mnt/seized-phone/DCIM --include-location
# Organizes photos with GPS data: IMG_3847.heic → 2024-06-10_37.7749N_122.4194W_Sunset.heicValue: GPS coordinates embedded in filenames help establish location intelligence without opening each file.
- DFIR Focus - nameback is specifically designed for forensics workflows
- Complements Existing Tools - Works perfectly with PhotoRec, TestDisk, Autopsy
- Incident Response - Screenshot OCR and timeline analysis are IR staples
- International Investigations - Multi-language OCR support (CJK languages)
- Safe by Design - Blocks root execution, dry-run mode prevents accidental data loss
- testdisk/photorec - Post-recovery file organization
- autopsy - Pre-processing for case file imports
- bulk_extractor - Metadata extraction complement
- exiftool - Extends functionality with intelligent renaming
- Digital forensics professionals
- Incident responders
- Law enforcement cybercrime units
- Penetration testers (report organization)
- Security researchers
A production-ready .deb package is available:
wget https://github.com/h4x0r/nameback/releases/latest/download/nameback_0.4.1-1_amd64.deb
sudo dpkg -i nameback_0.4.1-1_amd64.deb
sudo apt-get install -f # Install dependenciesgit clone https://github.com/h4x0r/nameback.git
cd nameback
cargo build --release --workspace
# Binaries in target/release:
# - nameback (CLI)
# - nameback-gui (GUI)Complete Debian packaging is available in the debian/ directory:
debian/control- Package metadata and dependenciesdebian/rules- Build instructionsdebian/changelog- Version historydebian/copyright- License informationdebian/nameback.desktop- GUI desktop entry
The package is designed to be lintian-clean:
lintian --no-tag-display-limit nameback_0.4.1-1_amd64.deb
# Expected: No errors, minimal warnings (if any)- No Root Execution - Explicitly blocks running as root to prevent accidental system file modification
- Read-Only by Default - Dry-run mode allows preview before any changes
- No Network Access - Entirely offline tool, no telemetry or phoning home
- Rust Memory Safety - Written in Rust for memory safety guarantees
- Dependency Security - Uses well-vetted dependencies (exiftool, tesseract, ffmpeg)
Comprehensive test suite included:
cargo test --workspace
# 97 tests covering:
# - Metadata extraction
# - Filename generation
# - OCR processing
# - Series detection
# - Safety checks- README.md - Quick start and features
- GUIDE.md - Complete user guide
- naming-heuristics.md - Technical deep dive into intelligent naming
- Active Development - Regular updates and feature additions
- Responsive Maintainer - Issues and PRs addressed promptly
- Security Updates - Rust's dependency update system (Renovate bot enabled)
- Long-term Support - Commitment to maintain for Kali inclusion
- Debian Native - Package follows Debian Policy Manual
- Reproducible Builds - Builds are reproducible across systems
- CI/CD Integration - GitHub Actions automatically builds .deb packages on releases
- Version Tracking - Semantic versioning followed strictly
URL: https://bugs.kali.org/ Component: kali-dev Type: Request For Package (RFP) Title: RFP: nameback - Intelligent file renaming for DFIR workflows
Package: nameback
Version: 0.4.1
Section: forensics
Priority: optional
Architecture: amd64
Description:
Intelligent file renaming tool based on metadata extraction, specifically
designed for digital forensics and incident response (DFIR) workflows.
Key features:
* Complements PhotoRec/TestDisk by giving recovered files meaningful names
* Multi-language OCR (160+ languages including CJK)
* EXIF metadata extraction for timeline analysis
* Multi-frame video analysis for better OCR accuracy
* Safe operation with dry-run mode and root execution blocking
* Both CLI and GUI interfaces
Forensics use cases:
* Organizing files recovered from data recovery operations
* Evidence timeline reconstruction from EXIF timestamps
* Screenshot OCR for incident response documentation
* Multi-language evidence processing
* Seized device media organization with GPS data
Homepage: https://github.com/h4x0r/nameback
Source: https://github.com/h4x0r/nameback.git
License: MIT
Maintainer: Albert Hui <albert@example.com>
Pre-built .deb package available:
https://github.com/h4x0r/nameback/releases/latest/download/nameback_0.4.1-1_amd64.deb
Debian packaging files available in debian/ directory of source repository.
- Source Repository: https://github.com/h4x0r/nameback
- Release Downloads: https://github.com/h4x0r/nameback/releases
- Issue Tracker: https://github.com/h4x0r/nameback/issues
- Documentation: https://github.com/h4x0r/nameback/tree/main/docs
Maintainer: Albert Hui Email: albert@example.com GitHub: @h4x0r Response Time: Typically within 24-48 hours for critical issues
- Submit RFP to Kali Bug Tracker: https://bugs.kali.org/
- Monitor bug tracker for Kali team feedback
- Respond promptly to any packaging or technical questions
- If accepted, package will be added to kali-rolling repository
- Announce to forensics community once available in Kali
- Package is ready for immediate integration
- No special build requirements beyond standard Rust toolchain
- Dependencies are already in Kali repositories
- Desktop integration tested on XFCE (Kali's default)
- No conflicts with existing packages
- Can provide additional documentation or changes as needed
Thank you for considering nameback for inclusion in Kali Linux!