We challenge you... to respond... then we'll authenticate ya! That's right, we're getting into Challenge Response Authentication. Plus Two-Factor Authentication for SSH using the Google Authenticator, and how not to lock yourself out of your own workstation. All that and more, this time on Hak5!
Challenge Response Authentication
Example of Lame-Ass-Challenge-Response-Authentication
One-way hash
Example of proper Challenge-Response Authentication
Weaknesses in CRA
SSH 2-Factor Authentication via Google Authenticator
Ubuntu 10.04 setup based off webbynode guide.
# Install Google Authenticator PAM module $ cd ~ $ wget http://google-authenticator.googlecode.com/files/libpam-google-authenticator-1.0-source.tar.bz2 $ tar jxvf libpam-google-authenticator-1.0-source.tar.bz2 $ cd google-authenticator $ sudo make install # Edit /etc/ssh/sshd_config and change the ChallengeResponseAuthentication to yes # Edit /etc/pam.d/sshd and add # auth required pam_google_authenticator.so #*** Some guides recommend adding the above line to the /etc/pam.d/common-auth file. #*** You'll wish you hadn't if you're testing this on your desktop with gnome/kde/etc ;-) # Configure the user account $ google-authenticator # Follow the URL and scan the barcode from your phones google authenticator app # Restart sshd: $ /etc/init.d/ssh restart # Login as normal and you'll be prompted for verification code in addition to password
If you're into Hak5 you'll love our new show by hosts Darren Kitchen and Shannon Morse. Check out HakTip!
Whether you're a beginner or a pro, HakTip is essential viewing for current and aspiring hackers, computer enthusiasts, and IT professionals. With a how-to approach to all things Information Technology, HakTip breaks down the core concepts, tools, and techniques of Linux, Wireless Networks, Systems Administration, and more
And let's not forget to mention that you can follow us on Twitter and Facebook. Subscribe to the show and get all your Hak5 goodies, including the infamous WiFi Pineapple over at HakShop.com. If you have any questions or suggestions please feel free to contact us at feedback@hak5.org.
7 days ago
Employers want social media passwords, US gets a #CPO, and #TheOnion! All that and more this time on #ThreatWire! http://t.co/SrZpicvnt6
10 days ago
#Installing #Solar panels, #Google #Chrome #extensions, and more on @Hak5! http://t.co/QppYLgZpi5
10 days ago
Legalizing #Internet eavesdropping, #LivingSocial is #hacked, and more on this weeks #ThreatWire! http://t.co/xyIxzy8kes
10 days ago
@thescribe I didn't! They were disabled and enabled throughout the segment. Each one has a different icon. - @Snubs
10 days ago
@myraitnetwork thank you!
25 days ago
#PGP #Encrypt your email, back up your #Gmail Account with #Ubuntu, text #messaging your #WiFi #Pineapple On #Hak5! http://t.co/KSZeO4GEPU
