Installing VeraCrypt in GNU/Linux
For those of you unfamiliar with it, Veracrypt is a successor to the encryption software Truecrypt. Truecrypt was suddenly abandonded by the creators, and others decided to take up the responsibility by forking the application and creating Veracrypt.
Veracrypt leaves many things untouched from the last working Truecrypt version, however they have added some new features that really bolster the level of security one can make use of. More information about Veracrypt can be found on their website at https://veracrypt.codeplex.com/
Installing Veracrypt is extremely simple, and only requires roughly five minutes of your time. Navigate your browser to the downloads page here and select â€œVeraCrypt Linux Setup 1.19â€ which is the latest version at the time of writing this.
Save the file anywhere you wish, such as your Downloads folder, and then pop open your terminal.
Next, we need to extract the setup files
- cd Downloads
- tar -xf veracrypt-1.19-setup.tar.bz2
You should see a bunch of setup files, youâ€™ll want to run the GUI setup for your Architecture.
Then press 1 and hit enter to start the installation, followed by â€œQâ€ when the terms and conditions pop up, followed by â€œYesâ€ and enter once more. You will then be prompted to enter your root/sudo password, and the installation should only take a brief moment thereafter.
Thatâ€™s it! But, since that was so easy, why donâ€™t we set ourselves up an encrypted container while we are at it?
Setting up an encrypted file storage container
How I find myself describing to people what a container is, is the computer version of a safe, but a safe that you can design to look like something else. You theoretically could make your safe APPEAR to be an .mp3 file, a .JPG, or a text document if you wanted (granted if you have a container that is 20GB in size, thatâ€™s an awefully large jpeg...)
Setting up a container can take as little as five minutes, or absolute hours depending on some of the choices you make throughout this, and the power of the machine you are using. My intel i5-4210U will process cryptographic processes like a ferrari compared to doing the same thing on a Core2Duo, for example.
Pop open your applications menu and find VeraCrypt, usually under â€œAccessoriesâ€.
Next, we want to click Volumes > Create New Volume.
From there, select that you wish to create a container, and make it standard not hidden on the next screen as well.
At this point itâ€™s time to create the file you wish to use as a container. I tend to make mine usually just gibberish names, like â€œdmbe7363â€ or something personally; but ultimately you could name it, â€œTop secret files I want to hide from the governmentâ€ if you wanted to as well.
Once thatâ€™s finished, itâ€™s time to select the Algorithm we want to use. I personally am on the viewpoint of, â€œIâ€™d rather it be as secure as possible.â€ After all, why am I going through all this trouble, just to make my container something that can be broken into...? So, for my own container I chose a cascade suite of cyphers; AES first, Twofish next and then finishing with Serpent. Iâ€™m not going to get into a huge explanation about these, but the general point to get across to you is, â€œAES is what your SSL and TLS certificates typically use, and is the industry standard military grade encryption.
Twofish is even more powerful and complex, albeit a little slower to decode, and Serpent is the grandaddy of slow but beefy encryption.â€ This suite means that IF an adversary somehow managed to break the AES encryption or find a way past it, they still have Twofish and Serpent in their way, making it extremely unlikely (as long as the rest of this setup is done properly) that anyone will EVER access this file by force.
For my Hash Algorithm, I use SHA-512 or Whirlpool typically. SHA-512 was designed by the NSA and is widely considered one of the more secure algorithms for password hashes while maintaining great speed. Now, for the paranoid minded, yes, I did say made by the NSA, however; there is no evidence of any backdoor to SHA-512.
The next couple screens are fairly self explanatory, selecting the size of the container you wish to make, and the filesystem used. Simply put, FAT is fine as a filesystem, unless you plan to put files that are larger than 4GB themselves into the container, then youâ€™ll want to select a different format (Although if you selected that option, VeraCrypt will pick one for you!)
When asked about creating a password it is absolutely crucial that your password is secure. Your password should be 20+ characters, with no words or repeated phrases or numbers.
There are various methods for creating and actually remembering passwords like that to be found on the internet. How you create your password is up to you, but remember that the strength of the encryption is absolutely irrelevant if your password is â€œpassword123â€ or something simple!
The next screen is going to ask you to move your mouse as randomly as possible within the window. Simply do so until the green bar is completely filled, and then click â€œFormatâ€.
Once thatâ€™s done, your container will be set up, and will be ready to go...sooner or later.
Once thatâ€™s finished, letâ€™s mount the container so we can drop a file into it!
First, select a slot and then click â€œSelect Fileâ€ on the main VeraCrypt screen, and then click â€œMountâ€.
Select the file we created, and enter the password.
Once that is done, your file will be mounted like a drive, in your file manager! Treat it just like a thumb drive, drag and drop or copy and paste anything you want into it! Once you are done with it, make sure you go back into VeraCrypt and dismount the container!
Congratulations! If you followed this guide properly you now have an extremely over-secured and nearly unbreakable as far as we are aware; encrypted container!Advertisement