Skip to content

Diyari-Kurdi/ZeroTrace

Repository files navigation

📛 ZeroTrace

ZeroTrace is a cross-platform, Ahead-of-Time (AOT) compiled secure file deletion tool for Windows, Linux, and macOS. It safely overwrites and deletes files, folders, and partitions using multiple custom patterns to help prevent data recovery.

ZeroTrace Banner

📄 About

ZeroTrace is designed to securely erase sensitive data from your storage devices. It uses multiple overwriting techniques, including zero fill, random data, byte shaking, and more, to make file recovery extremely difficult. The tool provides a user-friendly console interface with progress feedback and supports both file/folder and partition-level deletion.
ZeroTrace is built with .NET 9 and supports AOT compilation for fast startup and reduced runtime dependencies.

📚 Table of Contents

✨ Features

  • User-Defined Overwrite Passes: Choose how many times data should be overwritten.
  • Multiple Overwrite Passes: Overwrites data using multiple passes with different secure patterns.
  • Custom Patterns: Includes zero fill, random data, reverse, and byte shaking methods.
  • Partition Wiping: Fills free space on partitions to remove traces of deleted files.
  • Cross-Platform: Runs on Windows, Linux, and macOS*.
  • Ahead-of-Time (AOT) Compilation: Fast startup and minimal runtime dependencies.
  • Open Source: Licensed under MIT.

⚠️ Warning

SSD Limitations

While ZeroTrace securely overwrites data on traditional hard drives (HDDs), it cannot guarantee complete erasure on SSDs or flash-based storage. Due to wear leveling, over-provisioning, and internal caching, data may persist in areas not accessible to software. For highly sensitive data on SSDs, consider using manufacturer-provided secure erase tools or physical destruction.

⚠️ Use with caution. Data deleted with ZeroTrace cannot be recovered. Always double-check selected paths before confirming.


🚀 Getting Started

📦 Download Prebuilt Releases

Visit the GitHub Releases page and download the latest release for your platform.

  • 🪟 Windows: Download the .exe file and double-click to run.
  • 🐧 Linux: Download the binary, then run:
chmod +x ZeroTrace-linux-x64
./ZeroTrace-linux-x64

🔧 Build from Source

git clone https://github.com/Diyari-Kurdi/ZeroTrace.git
cd ZeroTrace

Ensure you have .NET 9 SDK installed.

dotnet build -c Release

Run the Application

dotnet run --project ZeroTrace

📖 Usage

  1. Select Target Type: Choose to securely delete files/folders or wipe a partition.
  2. Add Targets: Select or enter paths for files, folders, or partitions.
  3. Set Overwrite Passes: You can now manually enter the number of overwrite passes (default is 7). More passes = slower but safer.
  4. Confirm Deletion: Review selected targets and confirm the operation.
  5. Monitor Progress: Monitor the progress as ZeroTrace securely erases your data.

📸 Screenshot

image

📹 Demo Video

Watch ZeroTrace in action:

ZeroTrace.mp4

📃 License

ZeroTrace is licensed under the MIT License.


💖 Support This Project

If you find ZeroTrace useful and want to support continued development, consider donating:

Coin Address QR Code
Bitcoin 1A1pm2DNMFtsBHzKea64HCogLKMpScagZu BTC QR
Monero 897p7tTp8BRGUY92XYvUcCABmWfMpSQqa2APFK28wwHsC6b3RaUVPQ1EYyJ66jqLhxWdBLe9FvcHoAEn7K2PYhrAS7SJKGw XMR QR

Thank you for your support! ❤️