Code Monkey home page Code Monkey logo

tinywiper's Introduction

TinyWiper - a portable SD card wiper

Image of TinyWiper

The TinyWiper is a small, battery powered device which securely deletes your SD cards by overwriting the whole card with randomly generated data.

Note: this is an successor project to the SDCardWiper Project, which is based on a Raspberry Pi Zero and readily available parts.

Just formating your SD card does not delete its contents, it just makes them invisible within the filebrowser of your operating system. Forensic software can often easily reconstruct data on deleted or formated SD cards.

If you want to make sure that your data can not be reconstructed, this device will securely erase your SD cards.

Hardware

  • Teensy 4.0 as MCU
  • Custom PCB
  • 128x64 I2C OLED Display
  • Full Size SD Card Slot
  • 400 mAh Lipo Battery ~ 2h battery life
  • Mirco USB for fimware update & battery charging
  • Hardware on/off switch
  • 3D printed case

Image of TinyWiper

Software

  • True random number generator used to initialize PRNG
  • automatically detect SD card, start wiping automatically after timeout
  • every Nth 512byte Block, generate a new random buffer (for speedup purposes currently every 10th block)
  • keep track of successfully written blocks, try to re-write failed blocks at the end
  • format card after wiping
  • shows successrate at the end of the process

DIY Version

Part of the reason there is a custom PCB for the TinyWiper was, that at the time of development only the Teensy4.0 was available which had it's high speed SDIO pins at a very DIY inconvenient place.
Recently the Teensy4.1 was released which conveniently has a micro SD card slot. Therefore I decided to make a compatible firmware for the T4.1 for people who want to build a quick DIY version of the TinyWiper. You can find this firmware in the t41port branch.

Setup

If you don't want to build the firmware yourself you can find precompiled binaries under the releases tab.

To flash the binaries you need the the Teensy Loader Application.

Caution: the button on the Teensy is a reset button, be careful not to press it accidentally while wiping an SD Card. You could also make a little protective cover for the button.

LED pattern meaning
t41idle Idle - insert SD card
t41idle wiping - 10% done
t41idle wiping - 80% done
t41idle wiping finished - remove sd card

Q&A

Q: Why not use a secure erase software on a computer like the security options within macs disk manager?
A: While it is totaly viable to use secure erase software options for this task, the TinyWiper has 3 major advantages:

  • TinyWiper is highly portable. You can carry it in your pocket in the field and use it standalone without having to use a computer.
  • Securely wiping SD cards is time consuming. It easily blocks the sd card slot on your computer for several hours. Overwriting a 64GB SD card can take between 1-2 hours, 400GB multiple hours.
  • Software that runs on your computer can much easier be infiltrated by a virus or an attacker. The TinyWiper is an unteathered device, which makes it impossible to hack without physical access to it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.