Securing sensitive data with Veracrypt

What is VeraCrypt?

In relation to protecting sensitive information, the name VeraCrypt is well-known in the field of disk encryption. Coming from the now-defunct TrueCrypt, VeraCrypt is a completely free and open-source tool, providing a sophisticated encryption system that can shield stored data from even the most experienced hackers.

The brainchild of the demise of the TrueCrypt project, VeraCrypt’s objective is to revolutionise the landscape of privacy, and at its core lies the capability to drive powerful encryption of operating systems, encapsulating entire full-screen applications. It can do so through either encryption of the hard drive hosting them or, and making encrypted virtual disks look like regular disk drives and reside on the hosting computer, like regular files.

With AES, Serpent and Twofish encryption methods that are its signature trademarks, VeraCrypt’s encrypted files, and documents can be unraveled only by using the correct password or key, no otherwise. In case anything else is used the encryption is smashed. Coming hotfooting into the world where cyberattacks and breaches are all too common, VeraCrypt’s relevance to the table has never been higher and it’s now the go-to technique for people and companies who want to lock down their sensitive data.  With respect to data protection, VeraCrypt has positioned itself as one of the top encryption software tools out there, and for good reason. Its file-based encryption feature, in particular, allows users to lock down individual files and folders, which is a standout feature in its capabilities.

The creation of hidden volumes, basically a completely separate encrypted area, is also something that sets VeraCrypt apart from other encryption tools. Coming up against this scenario, where you may have to hand over the password, is almost impossible. Because if the password isn’t provided, the fake front of standard data that’s out in the open won’t give anything away.

The addition of advanced algorithms such as AES, Serpent and Twofish in VeraCrypt was definitely the death knell for its predecessor, TrueCrypt, and in combination with its algorithms will virtually guarantee that your data won’t be accessed by anyone who doesn’t have the password. Its got built-in barriers for hackers too, using something called key derivation functions that makes them unable to quickly hack into your encrypted volume.

Coming from the angle of cross-platform compatibility, VeraCrypt is available on Windows, macOS and Linux, putting it right at people’s fingertips. Well-known examples of the application of these features can be found in private and professional settings, such as when a financial advisor wants to lock away client data.

Tutorial

Objective: Create a secure container on a Windows machine to store sensitive data.

I – Download the software

Visit the following website and download a fresh copy of VeraCrypt according to your system

https://veracrypt.io/en/Downloads.html

II – Go through the software installation process

Accept the license terms and click “Next”

Select “Install” and click “Next”

Select the location where you want to install the VeraCrypt program files and clik “Install”

The following popup should appear when the installation is complete

Click “Finish”

Click “Yes” if you want to read the beginner’s tutorial or “No” then “Finish”

III – Create a secure container

Run the application. A shortcut should be available on your desktop. If not, Type in “Veracrypt” in the search bar and click “veracrypt” as shown below

You will then see the following homepage on screen. Click “Create Volume”

Select “Create an encrypted file container” then click “Next”

Select “Standard VeraCrypt volume” then click “Next”

Click on “Select File” to choose where you want to create the encrypted container.
Select the folder, give a name to the container then click “save”.
I have decided to place the secure container named “container” in the documents folder.

Check the pathway of the secure container then click “Next”

Select the encryption and hash algorithm, then click “Next”

Choose the size of the secure container you want to create and click “Next”.

Choose a password that will allow you to decrypt the data stored in the secure container. Then click “Next”

You have to move your mouse as randomly as possible. The longer you move it, the better. This increases the cryptographic strength of the encryption keys. Then click “Format” to create the volume.

The following message will appear when the volume is successfully created. Click “Ok”.

Then click “Exit”

You should now see the created file in your documents folder or at the location previously specified.

You now have to mount your container. Pick a drive letter and click “select file”.

Select the container previously created and click “open”.

Click “mount”, enter the password previously created for the secure container then confirm with “OK”.

The container is now mounted. To access its content, you will have to double-click on the drive letter(A:, B:, C:, etc….) The content of the container should appear in a new window.

You should see the below window. The drive is empty since we haven’t added any file into it.

Let’s add some content to the drive. I will create a folder named od3sec and add a file into the drive. Everything you place into the drive will be encrypted.

When done, you can go back to the VeraCrypt software and click “Unmount”. This will automatically encrypt the content of your secure container.

Go back to windows explorer. You will notice that the drive is no longer there. Therefore, our files are not accessible because they have been encrypted.

To access the files stored in the drive, you will have to remount your container. Open the VeraCrypt software, select a drive letter, select your container then click “Mount”.

Enter your password and confirm with “OK”.

The drive is now accessible and the files are decrypted.

Thank you for reading this tutorial. I hope it helps you to better secure your data.

Related articles

How to speed test your internet connection in the Linux command line?

In this tutorial you will learn how to speed test your internet connection in the Linux command line.

Real-time file integrity monitoring with Wazuh

This tutorial will teach you how to implement real-time file integrity monitoring with Wazuh SIEM.

Setting up a ticketing system with Docker and Peppermint

This tutorial will teach you how to set up a ticketing system with Docker and Peppermint.

Installing Sysmon on a Windows machine and integrating Sysmon events into Wazuh

What is Windows Sysmon? In the case of monitoring Windows...