Monday, June 30, 2014

OpenSSH three factor authentication using Google Authenticator and Public Key authentication

I use Google Authenticator on all of my Google account because it's a nice, efficent way to do multi-factor authentication for the great price of free-ninety-nine. I wanted to use it on one of my servers, but I wanted to be extra secure and use not only TOTP, but password based and RSA key authentication as well. All of the documentation I could find on doing so with OpenSSH was only on doing Google Authenticator's TOTP and password based authentication.Thankfully, this is possible since OpenSSH 6.2 introduced the AuthenticationMethods argument.

Wednesday, June 11, 2014

Dual boot Kali and a TrueCrypt Encrypted Windows using Multiple Hard drives

In spite of all of bad press surrounding TrueCrypt lately, which I believe is really a warrant canary, I use TrueCrypt 7.1a's full disk encryption for my Windows installation for my desktop. I also have Kali Linux installed on a separate solid state drive for my... research.

If you have ever tried to get TrueCrypt and grub to play nicely, you probably are aware that it is an absolute pain in the ass.

I tried following this guide, but when I tried to boot my TrueCrypt encrypted Windows, I kept receiving the error that grub "can not find the right disk" and that "the kernel should be loaded first". Well, I got it to work, and for the sanity of myself and other, I will post my solution here.