Crypto Vault Pi

Disclaimer

Any actions and or activities related to the material contained within this Website is solely your responsibility. The misuse of the information in this website can result in criminal charges brought against the persons in question. Cyber Security Associates Limited, will not be held responsible for any criminal charges brought against any individuals misusing the information in these projects to break the law.

Please ensure you are using the latest SD Card image which is available here.

 

Teacher Overview

Raspbian is a Debian-based computer operating system for the Raspberry Pi computer. There are several versions of Raspbian including: Raspbian Stretch and Raspbian Jessie. Raspbian was created by Mike Thompson and Peter Green as an independent project, with an initial build completed in June 2012. Since 2015, Raspbian has been officially provided by the Raspberry Pi Foundation as its primary operating system for the family of Raspberry Pi single-board computers and is highly optimized for the Raspberry Pi line's low-performance ARM CPUs. 

LUKS is the standard for Linux hard disk encryption. By providing a standard on-disk-format, it does not only facilitate compatibility among distributions, but also provides secure management of multiple user passwords. In contrast to existing solution, LUKS stores all setup necessary setup information in the partition header, enabling the user to transport or migrate his data seamlessly. 

In this Project, we are going to create a file container, you can think of it as a vault, and we encrypt whatever is put inside. As long as the vault is unlocked, files can be added to or deleted from it just like any regular filesystem, but once we lock it, no one will be able to peek inside or guess what's in the vault. We'll be using a tool called cryptsetup that will help us create and manage the encrypted containers. 

Cryptsetup is the command line tool to interface with dm-crypt for creating, accessing and managing encrypted devices. The tool was later expanded to support different encryption types that rely on the Linux kernel device-mapper and the cryptographic modules. This technique will give you an encrypted vault mounted under a directory. You can then add files to it as you wish, and once locked, you can copy it and open it up on Windows. 

Suggested Year Group

The suggested age group is 16+, due to the nature of this project and the skills it is developing.

Learning Outcomes

  • Teach the basics Crypto Vaults; 

  • Explain how to create your own Crypto Vault; 

  • Teach how to use Crypto Vaults and encrypt your own files.  

 

Hardware Required

Component Number (Peli Case)

Slot 4 & 5

Slot 5

Slot 9

Slot 3

Slot 3

Slot 5

Slot 1

Component Number (Box Case)

Slot 1

Slot 10

Slot 2

Slot 11

Slot 11

Slot 12

Slot 13

Component Name

Raspberry Pi + Case

Raspbian SD Card

TFT Screen

HDMI Cable

Wireless Keyboard

Wireless Mouse

Power Supply

 

Video Guide