Bunker LabsResearch facility

  • 11 divisions
  • 55 experiments
  • 8 working
  • 0 validated
  • 0 archived

BL-01-05 Working experiment · Division 01, Digital Intelligence

File Carver

  • Stage 3 Experimental implementation
  • Version 0.2
  • Validated Not yet

Files hide inside other files: pictures inside documents, archives stuck onto the end of programs, audio inside containers. Drop any file and this page finds the ones it recognises by their signatures, checks each against its format (CRCs, headers, end markers) and lets you save any of them. The file never leaves your device.

Control panel

Drop a file here

Any size: it is read in slices on your device. Nothing is uploaded.

Ready when you are.

Finds Not run

The scan looks for the opening bytes (signatures) of ZIP and the files built on it (Office documents, JAR, APK, EPUB), PNG, JPEG, GIF, BMP, PDF, gzip, 7-Zip, RAR 4 and 5, MP3 and other MPEG audio, WAV, AVI and WebP (RIFF), Ogg, MP4, MOV, HEIF and AVIF, ELF and Windows PE programs, and SQLite databases. Each hit is then checked: Checked means everything the format lets us test passed (PNG chunk CRCs, ZIP headers and directory, JPEG markers from start to end, gzip inflated with its CRC, …). Damaged or cut means the start is right but the end is missing or a later check failed. Header only means the format gives no end to follow. Hits that fail their checks are not listed. The file itself is usually find 1.

Byte map Not run

Phase 2 of this project. Every find stops at its format’s own end (a JPEG’s end marker, a PNG’s IEND, a ZIP’s end record, a program’s last section), so the byte map can show what the finds account for and what nothing does: data before, between or after them, and the known hiding places inside a ZIP (space no entry points to, its comment), a Windows program (gaps between sections), a BMP (between its header and its pixels, or after them), a PNG (private chunks viewers skip) and an MP4 (“free” boxes). Each region gets its entropy (8 bits per byte looks random: compressed or encrypted), its share of printable and zero bytes, a best guess and its first bytes. Runs of a single byte value and stray line endings are marked harmless. A clean map does not prove nothing is hidden: data can also sit inside fields a format allows, which later phases look at.

Check Not run

The Check builds a test file in this browser: 17 small files of different kinds (several made by the browser’s own image and gzip encoders, the rest written byte by byte, and a PNG stored inside the ZIP), placed at known offsets with random filler between them. It scans that file in 4 KB slices, so files cross slice boundaries, and passes only if every planted file is found at its exact offset and size, its carved bytes are identical to what was planted, the PNG is reported inside the ZIP, and nothing else is found.

How it stays safe

  • The file is read in slices of 8 MB inside a Web Worker, never loaded whole, so files far larger than memory can be scanned. The page stays responsive.
  • Stop ends a scan at once (the Worker is shut down); finds made so far are kept. A scan that stops reporting for 30 seconds is ended.
  • Each check has a limit: at most 512 MB is followed for one find, gzip streams are inflated to at most 32 MB, and the list stops at 5,000 finds.
  • Nothing is uploaded or stored. Saving a find cuts its bytes out of the file in this browser and hands them to your downloads. Nothing found is ever run or opened.