n01d-forge 1.0.0

Secure Cross-Platform Image Burner with AES-256 Encryption - Write ISOs to USB drives with optional encryption
# n01d-forge

<p align="center">
  <img src="assets/n01d-forge-icon.svg" width="128" height="128" alt="n01d-forge Logo">
</p>

<p align="center">
  <strong>๐Ÿ”ฅ Secure Cross-Platform Image Burner with Encryption</strong><br>
  <em>Flash โ€ข Encrypt โ€ข Verify โ€ข Secure</em>
</p>

<p align="center">
  <a href="#features">Features</a> โ€ข
  <a href="#security">Security</a> โ€ข
  <a href="#download">Download</a> โ€ข
  <a href="#usage">Usage</a> โ€ข
  <a href="#building">Building</a>
</p>

<p align="center">
  <img src="https://img.shields.io/badge/version-1.0.0-00d4aa?style=flat-square" alt="Version">
  <img src="https://img.shields.io/badge/platforms-Linux%20%7C%20Windows%20%7C%20macOS-blue?style=flat-square" alt="Platforms">
  <img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="License">
  <img src="https://img.shields.io/badge/encryption-LUKS%20%7C%20VeraCrypt-red?style=flat-square" alt="Encryption">
</p>

---

## What is n01d-forge?

**n01d-forge** is a secure, cross-platform image burning tool similar to Balena Etcher, but with advanced security features including full-disk encryption, secure erase, and hash verification. Perfect for creating bootable USB drives with security in mind.

---

## Features

### ๐Ÿ”ฅ Image Flashing
- **Multiple Formats** - ISO, IMG, RAW, DMG, BIN
- **High Performance** - 4MB buffer for fast writes
- **Progress Tracking** - Real-time speed, ETA, and bytes written
- **Auto-Detection** - Automatically detect USB and removable drives

### ๐Ÿ” Encryption Support
- **LUKS/LUKS2** - Linux Unified Key Setup (Linux native)
- **VeraCrypt** - Cross-platform encryption container
- **Multiple Ciphers** - AES-256-XTS, Serpent, Twofish
- **Strong Key Derivation** - Argon2id with configurable iterations

### ๐Ÿ›ก๏ธ Security Features
- **Secure Erase** - Zero fill, random data, DoD 5220.22-M, Gutmann (35-pass)
- **Hash Verification** - SHA-256, SHA-512, MD5 before and after write
- **Wipe on Error** - Automatically wipe encryption headers on failure
- **Safe Drive Selection** - System drives are protected

### โš™๏ธ Bootloader Options
- **UEFI** - Modern UEFI boot support
- **Legacy BIOS** - Traditional MBR boot support
- **Hybrid** - Both UEFI and Legacy for maximum compatibility

### ๐ŸŽจ User Interface
- **Modern Dark UI** - Cyberpunk-inspired theme matching n01d-machine
- **Step-by-Step Wizard** - Easy 3-step process
- **Confirmation Dialogs** - Prevent accidental data loss
- **Real-time Progress** - Visual progress with speed and ETA

---

## Security

### ๐Ÿ” Encryption Types

| Type | Platform | Description |
|------|----------|-------------|
| **LUKS2** | Linux | Latest LUKS standard with Argon2id |
| **LUKS** | Linux | Legacy LUKS for older systems |
| **VeraCrypt** | All | Cross-platform, plausible deniability |

### ๐Ÿ”‘ Encryption Ciphers

| Cipher | Key Size | Description |
|--------|----------|-------------|
| **AES-256-XTS** | 512-bit | Industry standard, hardware accelerated |
| **Serpent-XTS** | 512-bit | Conservative design, very secure |
| **Twofish-XTS** | 512-bit | Fast, no known weaknesses |

### ๐Ÿงน Secure Erase Methods

| Method | Passes | Description |
|--------|--------|-------------|
| **Zero Fill** | 1 | Fast, fills with zeros |
| **Random** | 1 | Cryptographically random data |
| **DoD 5220.22-M** | 3 | U.S. Department of Defense standard |
| **Gutmann** | 35 | Maximum security for older drives |

### โœ“ Verification

- **Pre-write Hash** - Calculate SHA-256 of source image
- **Post-write Verify** - Read back and compare hash
- **Mismatch Alert** - Clear warning if verification fails

---

## Download

### Latest Release (v1.0.0)

| Platform | Download |
|----------|----------|
| ๐Ÿง Linux (AppImage) | [n01d-forge_1.0.0_amd64.AppImage]https://github.com/bad-antics/n01d-forge/releases/latest |
| ๐Ÿง Linux (Debian) | [n01d-forge_1.0.0_amd64.deb]https://github.com/bad-antics/n01d-forge/releases/latest |
| ๐ŸชŸ Windows | [n01d-forge_1.0.0_x64-setup.exe]https://github.com/bad-antics/n01d-forge/releases/latest |
| ๐ŸŽ macOS | [n01d-forge_1.0.0_x64.dmg]https://github.com/bad-antics/n01d-forge/releases/latest |

---

## Prerequisites

### Required Tools

#### Linux
```bash
# For image writing (usually pre-installed)
sudo apt install coreutils

# For encryption (optional)
sudo apt install cryptsetup

# For secure erase (optional)
sudo apt install util-linux
```

#### Windows
- Administrator privileges required
- No additional tools needed

#### macOS
- Administrator privileges required
- No additional tools needed

---

## Usage

### Basic Image Flash

1. **Select Image** - Click "Browse" and choose your ISO/IMG file
2. **Select Drive** - Click on the target USB drive
3. **Flash** - Click "Flash Image" and confirm

### Encrypted Bootable USB

1. Select your image file
2. Select target drive
3. Enable **"Enable Encryption"** toggle
4. Choose encryption type (LUKS2 recommended for Linux)
5. Set a strong password
6. Click "Flash Image"

### Secure Erase Before Write

1. Select image and drive
2. Enable **"Secure Erase First"** toggle
3. Choose erase method:
   - **Zero Fill** - Fast, good for SSDs
   - **Random** - Better for HDDs
   - **DoD** - Government standard
   - **Gutmann** - Maximum security
4. Proceed with flash

### Verify After Write

1. Enable **"Verify After Write"** (enabled by default)
2. After writing, n01d-forge will:
   - Read back the written data
   - Calculate SHA-256 hash
   - Compare with source hash
   - Show verification result

---

## Building from Source

### Prerequisites

- Rust 1.70+
- Node.js 18+ (optional)
- Platform-specific dependencies

### Linux

```bash
# Install dependencies
sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev

# Clone repository
git clone https://github.com/bad-antics/n01d-forge.git
cd n01d-forge

# Build
cargo install tauri-cli
cargo tauri build
```

### Windows

```powershell
# Clone repository
git clone https://github.com/bad-antics/n01d-forge.git
cd n01d-forge

# Build
cargo install tauri-cli
cargo tauri build
```

### macOS

```bash
# Clone repository
git clone https://github.com/bad-antics/n01d-forge.git
cd n01d-forge

# Build
cargo install tauri-cli
cargo tauri build
```

---

## Project Structure

```
n01d-forge/
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ index.html          # Web UI
โ”œโ”€โ”€ src-tauri/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ main.rs         # Main application logic
โ”‚   โ”‚   โ”œโ”€โ”€ encryption.rs   # Encryption module
โ”‚   โ”‚   โ”œโ”€โ”€ drives.rs       # Drive detection
โ”‚   โ”‚   โ””โ”€โ”€ secure_erase.rs # Secure erase methods
โ”‚   โ”œโ”€โ”€ Cargo.toml          # Rust dependencies
โ”‚   โ””โ”€โ”€ tauri.conf.json     # Tauri configuration
โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ n01d-forge-icon.svg # Application icon
โ”œโ”€โ”€ .github/
โ”‚   โ””โ”€โ”€ workflows/
โ”‚       โ””โ”€โ”€ release.yml     # CI/CD
โ””โ”€โ”€ README.md
```

---

## Related Projects

- [n01d-machine]https://github.com/bad-antics/n01d-machine - Secure VM Manager with Sandboxing & Tor
- [nullsec]https://github.com/bad-antics/nullsec - Security research framework

---

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

---

## License

MIT License - see [LICENSE](LICENSE)

---

<p align="center">
  Made with ๐Ÿ”ฅ by <a href="https://github.com/bad-antics">NullSec Team</a>
</p>

<p align="center">
  <sub>๐Ÿ”’ Forge your security</sub>
</p>