PitchHut logo
A USB drive with advanced encryption.
Pitch

Phantomdrive offers an innovative solution for secure data storage with a hidden second partition. Utilizing AES-256 encryption and a stealth mechanism, this open-source USB drive keeps sensitive data protected and discreet. The programmable interface allows for easy customization, making it suitable for developers and tech enthusiasts.

Description

Phantomdrive is an open-source encrypted USB drive designed with a unique stealth feature that conceals its second partition. This innovative security mechanism allows users to protect sensitive information seamlessly. To unlock the drive, simply create a file named unlock.txt containing your password in the format password:addpasswordhere. This password is then utilized to derive a secure AES-256 key for encryption and decryption processes, ensuring your data is safeguarded effectively.

Key Features

  • Utilizes CH569W SoC, which integrates USB3 support, SDIO capabilities, and an AES hardware block for enhanced security management.
  • Employs a stealth mechanism that automatically unmounts itself, remounts the remaining disk, and executes encryption and decryption in place, maintaining a reliable user experience.
  • Programmable directly via USB using the wch-ch56x-isp library, allowing for straightforward development and customization.

Project Structure

The project’s directory structure is organized as follows:

|-- ee             # Hardware files
|-- Makefile
|-- readme.md      # Documentation file
|-- test           # Tests for cryptographic components
|-- ref            # Reference documentation
|-- src            # Firmware source code
|-- tests          # Verification scripts
|-- wch-ch56x-bsp  # Board support package
`-- wch-ch56x-isp  # Programming software

Quick Start

To get started with Phantomdrive:

git submodule update --init --recursive --checkout --force
cd wch-ch56x-isp
make # Build the ISP tool

Unlocking the Drive

Unlocking the drive is straightforward:

sudo echo "password:YourPasswordHere13245" > /mnt/unlock.txt

Debugging & Flashing

For debugging, various configurations can be set, including enabling UART and USB debugging:

make UART=1 # Enable UART
debugging
make UART=1 DEBUG_USB=1 # Enable USB Debugging

In order to flash the project, follow these steps:

make
# Remove flash drive
# While holding the boot button, plug in
./wch-ch56x-isp/wch-ch56x-isp -d=off # Disable debug mode
make flash

Phantomdrive integrates advanced security features with practicality, making it an ideal solution for users looking to secure their data efficiently and effectively.

0 comments

No comments yet.

Sign in to be the first to comment.