Inspiration

Modern operating systems make deleting files instantaneous, but true secure deletion—especially on modern Solid State Drives (SSDs) with wear-leveling, TRIM commands, and journaling filesystems—is notoriously complex and hidden behind clunky, developer-oriented tools. We wanted to bridge the gap between absolute data privacy and effortless UX. Inspired by the universal familiarity of the desktop Recycle Bin and macOS Trash, we set out to build belowZero: a frictionless, high-performance micro-utility designed to make cryptographically and physically secure file purging as simple as a drag-and-drop.

What it does

belowZero is a lightweight Windows 11 micro-utility that provides a persistent, always-on-top desktop drop-bin widget. Users can drag and drop any file or folder directly onto the bin icon for secure shredding.

  • Desktop Drop-Bin Widget (SSDShredder.UI): A sleek, borderless, transparent desktop drop zone built with Avalonia UI (.NET 9) that handles file ingestion and displays a real-time state machine (idle $\rightarrow$ inspecting $\rightarrow$ confirmation $\rightarrow$ processing $\rightarrow$ completed).
  • Seamless Shell Integration (SSDShredder.ShellExtension): Integrates natively into Windows File Explorer via an IExplorerCommand context-menu verb (belowZero.Shred) and a local COM IDropTarget (SSDShredder.DesktopBroker) so you can shred files right from the right-click menu or desktop shortcuts using the /bzo CLI entry point.
  • Enterprise-Grade Backend (SSDShredder.Core & Worker): Communicates securely via per-user named pipes to trigger low-level secure deletion, kernel-level TRIM execution, and BitLocker VHDX mitigation.

How we built it

We split the project into three specialized engineering tracks:

  1. Engineer 1 (SSDShredder.Core): Engineered the low-level data sanitization, block-level overwrite routines, and TRIM/VHDX handling logic.
  2. Engineer 2 (SSDShredder.Worker): Built the hardened background Windows service and IPC server responsible for handling shredding jobs securely.
  3. Engineer 3 (SSDShredder.UI & SSDShredder.ShellExtension): Developed the cross-platform Avalonia UI drop-bin widget (allowing local development and testing on macOS) along with the native C++ Win32 COM components, activation router, and a robust 25-test xUnit suite.

We implemented a custom Activation Router utilizing per-user named pipes (with SHA-256 username hashing to ensure cross-platform path compliance) so that multiple UI invocation paths (desktop shortcuts, CLI commands, and Explorer context menus) smoothly route to a single running instance.

Challenges we ran into

  • Cross-Platform UI Development on macOS: Developing a Windows 11 drop-bin widget while working on a Mac could have been a major bottleneck. By leveraging Avalonia UI (.NET 9), we were able to natively build, style, and test the drop-bin window logic and xUnit test suite locally on macOS before handing off the unified binaries to our Windows teammates.
  • Unix Domain Socket Path Limits: On macOS, named pipes map to Unix domain sockets under TMPDIR, which enforces a strict ~104-character path limit. Long account display names caused socket creation to fail. We solved this by implementing a 10-character SHA-256 truncation of the username for pipe naming, ensuring rock-solid single-instance forwarding.
  • Process Activation Handoffs: Ensuring that rapid sequential file drops or terminal /bzo CLI invocations didn't spawn multiple competing UI windows required building an atomic single-instance message envelope protocol with acknowledgment timeouts.

Accomplishments that we're proud of

  • True Multi-Environment Synergy: Successfully coordinating a cross-platform development loop where UI components were tested locally on macOS while native C++ Win32 shell extensions (IExplorerCommand, IDropTarget) were cleanly built for Windows 11.
  • Zero-Latency UX: Achieving sub-second process handoffs via named pipes where secondary command-line launches instantly forward their payload to the primary watcher window and exit gracefully.
  • Comprehensive Test Coverage: Writing a rigorous xUnit test suite covering everything from JSON wire-envelope serialization and pipe routing deduplication to state-machine transitions.

What we learned

Building a utility that touches both high-level UI frameworks and low-level OS shell integration taught us the immense value of strict architectural boundaries. Defining clear IPC contracts and wire protocols early on allowed three engineers to work in parallel on independent tracks (Core, Worker, and UI/Shell) with zero merge conflicts and seamless integration.

What's next for belowZero

  • Integrating hardware-accelerated shredding verification metrics.
  • Expanding the native Windows App SDK packaging pipeline (MSIX sparse packaging

Built With

Share this project:

Updates

Submission history