<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hak5 - Technolust since 2005 &#187; SSH</title>
	<atom:link href="http://Hak5.org/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://Hak5.org</link>
	<description>Trust Your Technolust</description>
	<lastBuildDate>Thu, 17 May 2012 20:49:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Hak 1113 &#8211; Persistent SSH tunnels for Windows and Linux, Local vs Remote forwards and more</title>
		<link>http://Hak5.org/episodes/hak5-1113</link>
		<comments>http://Hak5.org/episodes/hak5-1113#comments</comments>
		<pubDate>Thu, 17 May 2012 20:49:56 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[apache over ssh]]></category>
		<category><![CDATA[autossh]]></category>
		<category><![CDATA[clientalivemaxcount]]></category>
		<category><![CDATA[keepalive]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[key pair]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[local forward]]></category>
		<category><![CDATA[myentunnel]]></category>
		<category><![CDATA[persistent ssh]]></category>
		<category><![CDATA[persistent tunnel]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[public key crypto]]></category>
		<category><![CDATA[public key cryptography]]></category>
		<category><![CDATA[remote forward]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh key pair]]></category>
		<category><![CDATA[tunne]]></category>
		<category><![CDATA[vnc over ssh]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4793</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLD226EA9BF23748D1&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=transparent" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1113"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1113&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
This time on the show, Local and Remote forwarding with SSH, Persistent connections in Linux with AutoSSH, Windows tunnels that don't quit with a GUI front-end for Plink and a whole lot of technolust. All that and more, this time on Hak5!
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1113/hak5--1113--persistent-ssh-tunnels-for-windows-and-linux--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1113/hak5--1113--persistent-ssh-tunnels-for-windows-and-linux--large.h264.mp4">Download MP4</a><br />
<span id="more-4793"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLD226EA9BF23748D1&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
<p><b>SSH Remote Forwarding: Relay local apache server through tunnel</b></p>
<blockquote><pre>
# install apache server
darren@dk10$ sudo apt-get install apache2
# browse to http://localhost
# Relay port 8080 on remote host to 80 on local host
darren@dk10$ ssh -R 8080:localhost:80 aardwolf@relay.wifipineapple.com
# browse to http://relay.wifipineapple.com:8080
</pre>
</blockquote>
<p><b>SSH Local Forward: Relay remote VNC server through tunnel</b></p>
<blockquote><pre>
# install vnc client
darren@dk10$ sudo apt-get install vncviewer
# vnc to server without SSH (bad idea)
darren@dk10$ vncviewer rrs5204q6n.hak5.org:1
# setup SSH local forward
darren@dk10$ ssh -L 5901:localhost:5901 aardwolf@rrs5204q6n.hak5.org
# vnc to server through ssh tunnel
darren@dk10$ vncviewer localhost:1
</pre>
</blockquote>
<p><b>Maintaining Persistent SSH tunnels in Linux</b></p>
<p>AutoSSH is a simple and effective utility for monitoring and maintaining persistent SSH connections, restarting the session as necessary. It can be downloaded from  <a href="http://www.harding.motd.ca/autossh/" target="_blank">http://www.harding.motd.ca/autossh/</a> and is available for most *nix platforms. On Ubuntu:</p>
<blockquote><pre>
# Install autossh
darren@dk10$ sudo apt-get install -y autossh
# The autossh -M option specifies which port to monitor the connection from
# The -N option is a regular openssh parameter which is passed from autossh to ssh, specifying that there is no remote command to execute.
# The & tells the shell, bash in our example, to run the command in the background.
darren@dk10$ autossh -M 20000 -N aardwolf@relay.wifipineapple.com &
# To find the process ID where autossh is running
darren@dk10$ pidof autossh
# And finally to stop autossh
darren@dk10$ kill `pidof autossh`
</pre>
</blockquote>
<p><b>Maintaining Persistent SSH tunnels in Linux</b></p>
<ul>
<li>First of all we need to cover Plink. Short for Putty Link, the plink utility is the command-line equivalent to Putty on Windows. We'll be using this today along with another to in order to keep an SSH tunnel persistent.
<li>Here's an example of a plink SSH tunnel. We start by launching pageant and entering our passphrase. Now that our private key is in memory we can use plink to start an SSH tunnel from the command line.
<li>So open up CMD, navigate to where your plink utility is. For me that's by running "cd putty"
<li>Now run plink.exe -- you'll be greeted by a whole list of options for this command line utility.
<li>To start a simple Dynamic SOCKS proxy I'll enter:
<li>plink -D 8080 snubsie@peanut.hak5.org -agent
<li>The -D says make it a Dynamic SOCKS proxy on my local port 8080 and the -agent says to use pageant for the private key file.
<li>And there we go, a command to start our SOCKS proxy for all our tunneling enjoyment. Of course if the SSH connection is dropped we'll be all sad pants -- especially if we're using the tunnel to watch the BBC or something.
<li>And while autossh *is* available for Windows, sort of, it isn't exactly the easiest to setup. AutoSSH, the Linux program, can be run in Windows using Cygwin -- a Linux environment for Windows. If that suits your fancy, have at it. There's a decent <a href="http://www.matthanger.net/2008/04/creating-persistent-ssh-tunnels-in.html" target="_blank">tutorial for setting that up</a>.
<li>That said I'm more interested in using native Windows programs. Thankfully a similar setup to autossh can be achieved using plink with the help of a little utility called MyEnTunnel.
<li>Short for My Encrypted Tunnel, MyEnTunnel is a windows utility that lives in the system tray, or can be run as an NT service in the background, that quietly watches Plink sessions and restarts them as necessary.
<li>MyEnTunnel is available from http://nemesis2.qx.net/pages/MyEnTunnel as freeware.
</ul>

]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1113/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hak5 1112 &#8211; Relay two firewalled devices through a persistent SSH proxy</title>
		<link>http://Hak5.org/episodes/hak5-1112</link>
		<comments>http://Hak5.org/episodes/hak5-1112#comments</comments>
		<pubDate>Thu, 10 May 2012 09:12:58 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[autossh]]></category>
		<category><![CDATA[clientalivemaxcount]]></category>
		<category><![CDATA[keepalive]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[key pair]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nat]]></category>
		<category><![CDATA[nat traversal]]></category>
		<category><![CDATA[network address translation]]></category>
		<category><![CDATA[persistent ssh]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[public key crypto]]></category>
		<category><![CDATA[public key cryptography]]></category>
		<category><![CDATA[relay proxy]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh key pair]]></category>
		<category><![CDATA[Wifi Pineapple]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4785</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLAC30AB8C5D17FCB5&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=transparent" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1112"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1112&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
Traversing NAT firewalls couldn't be easier with a well crafted SSH proxy. This week Darren and Shannon break down reverse shells and persistence using a WiFi Pineapple and some autossh-fu. Plus, SSHFS GUIs for Linux, ClientAliveMaxCounts, Putty keys without Pageant and more!
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1112/hak5--1112--how-to-use-relay-proxies-with-ssh--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1112/hak5--1112--how-to-use-relay-proxies-with-ssh--large.h264.mp4">Download MP4</a><br />
<span id="more-4785"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLAC30AB8C5D17FCB5&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
<p>In this episode Darren and Shannon break down reverse shells via proxy. The network scenario is that of two devices on disparate networks who's firewalls won't allow inbound connections. Typically this is a NAT router that you haven't access to. Assuming both devices can create outbound connections, which is commonly the case, we'll configure an SSH server to act as a relay for our reverse shell.</p>
<p>In this scenario three hosts are involved. First is our <a href="http://www.hakshop.com" target="_blank">WiFi Pineapple</a>, which is the device we'll be getting the reverse shell from -- meaning we'll be able to login to a terminal on this machine. In our example it is connected to the Internet by way of a 3G/4G modem which our carrier firewalls. Using <a href="http://www.harding.motd.ca/autossh/">AutoSSH</a> -- a tool to maintain a persistent SSH connection -- we establish a connection back to our second host, relay.hak5.org. In turn our third host, my laptop (hostname: dk10) connects to relay.hak5.org as well.</p>
<blockquote><pre>
## browse to 172.16.42.1/ssh.php (WiFi Pineapple) and Generate Key
##SSH Into WiFi Pineapple
## Establish connection to relay adding key fingerprint to known_hosts on pineapple
root@pineapple# ssh user@relay.wifipineapple.com
## Refresh ssh.php showing known_hosts. Copy RSA key string from "rsa" to "root@pineapple"
## From new session on relay, paste RSA key into authorized_keys file
user@relay$ echo "<rsa_key>" >> ~/.ssh/authorized_keys
## Logout of the relay
user@relay$ exit
## Demonstrate how without the -i option ssh on the pineapple will still prompt for password
root@pineapple# ssh user@relay.wifipineapple.com #this will prompt for passwd
## Demo how to properly SSH into a host with a dropbear RSA key
root@pineapple# ssh user@relay.wifipineapple.com -i /etc/dropbear/id_rsa
user@relay$
## Configure SSHD to allow TCP Forwarding **Necessary for Server Admin Only**
## Become root
user@relay$ sudo -i
## Add settings to sshd config file
root@papaya# echo "AllowTcpForwarding yes" >> /etc/ssh/sshd_config
root@papaya# echo "GatewayPorts yes" >> /etc/ssh/sshd_config
## Restart SSH Daemon
root@papaya# /etc/init.d/ssh restart
## Logout of root
root@papaya# exit
## Logout of relay completely
user@relay$ exit
## Update SSH Connection Command from 172.16.42.1/ssh.php to reflect username and host
## Enable SSH on boot and SSH keepalive, then click Connect
## From localhost (your laptop) SSH into the newly configured WiFi Pineapple via the relay
## Demonstrate technique one: SSH from SSH (not as sexy)
darren@dk10$ ssh user@relay.wifipineapple.com
user@relay$ ssh root@localhost -p 4255
## Logout of both pineapple and relay
root@pineapple# exit
user@relay$ exit
## Demonstrate technique two: Single SSH session
darren@dk10$ ssh root@relay.wifipineapple.com -p 4255
</pre>
</blockquote>
<p><b>SSH and SOCKS5 Proxy Follow-up</b></p>
<p>MetalX1000 writes regarding SSHFS from the command line in Linux</p>
<blockquote><p>OK, I love that you showed how to do it this way. But,﻿ for the Shannon's of the world who need a GUI, you can always just open Nautilus and in the location bar type ""sftp://user@server"" and then make a short cut to that in the left side bar of Nautilus.</p></blockquote>
<p>Thanks for the tip MetalX1000. We demonstrated on the show one more technique. From Gnome2's "Places" menu click Connect to Server and select SSH.</p>
<p>Spectrakid writes regarding setting up an SSH Server on Linux and "apt-get install ssh"</p>
<blockquote><p>I﻿ thought you needed the ""openssh-server"" package to set up a ssh server in Debian based systems........ssh is a metapackage that simply depends on openssh-server & openssh-client</p></blockquote>
<p>There are about as many ways to skin a cat in Linux as there are dependency issues ;-)</p>
<p>wirerat1 writes regarding keeping connections alive</p>
<blockquote><p>ClientAliveCountMax 0 does not﻿ do what he thinks it does.</p></blockquote>
<p>True, it doesn't do what it claims to do. </p>
<p>From the MAN Page:</p>
<blockquote><p>ClientAliveCountMax sets the number of client alive messages (see below) which may be sent without sshd receiving any messages back from the client. If this threshold is reached while client alive messages are being sent, sshd will disconnect the client, terminating the session.  It is important to note that the use of client alive messages is very different from TCPKeepAlive (below). The client alive messages are sent through the encrypted channel and therefore will not be spoofable.  The TCP keepalive option enabled by TCPKeepAlive is spoofable.         The client alive mechanism is valuable when the client or server depend on knowing when a connection has become inactive.<br />
The default value is 3.  If ClientAliveInterval (see below) is set to 15, and ClientAliveCountMax is left at the default, unresponsive ssh clients will be disconnected after approximately 45 seconds.
</p></blockquote>
<p>Meaning a ClientAliveCountMax 0 should continue sending Keep Alive messages over the SSH connection for every ClientAliveInterval forever, but in practice, it doesn't. I've started using 99999 as my value of choice, however I'm sure there's a better way.</p>
<p>Steven writes regarding Pageant and Putty</p>
<blockquote><p>In Putty you don't need the pageant program to use the private key. Select your profile and hit load so that you can edit the profile. On the right go to SSH -> Auth. There you will find ""Private file for authentication"", hit browse and select your private key. Go back to Session. Select your profile and hit save. Next time you open a connection putty will automatically use the key. Note: The key will not be stored in memory so you'll need to enter the passphrase each time you connect to the server.</p></blockquote>

]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1112/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hak5 1111 &#8211; Roll your own Secure Cloud Storage with SSHFS &#8211; Secure Shell File System</title>
		<link>http://Hak5.org/episodes/hak5-1111</link>
		<comments>http://Hak5.org/episodes/hak5-1111#comments</comments>
		<pubDate>Wed, 02 May 2012 11:12:59 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[file system user space]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[key pair]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount remote file system]]></category>
		<category><![CDATA[mount remote filesystem]]></category>
		<category><![CDATA[mount remote fs]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[public key crypto]]></category>
		<category><![CDATA[public key cryptography]]></category>
		<category><![CDATA[remote file system]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh key pair]]></category>
		<category><![CDATA[sshfs]]></category>
		<category><![CDATA[user space]]></category>
		<category><![CDATA[userland]]></category>
		<category><![CDATA[virtual file system]]></category>
		<category><![CDATA[virtual filesystem]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4770</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLAA2FA407036DED52&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=transparent" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1111"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1111&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
Continuing with SOCKS5, SSH, Public Key Pairs and fingerprints, Darren and Shannon use SSH to create a secure remotely mounted network filesystem with implementations in both Windows and Linux.
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1111/hak5--1111--how-to-setup-sshfs--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1111/hak5--1111--how-to-setup-sshfs--large.h264.mp4">Download MP4</a><br />
<span id="more-4770"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PLAA2FA407036DED52&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
Using the SSHFS utility we're able to mount a remote filesystem. Since we already have a secure tunnel to our server over SSH, which we've been thus far using as a SOCKS5 proxy, we're now able to store files securely online with the same mechanism. Using FUSE, or File System in User Space, we're able to achieve this without the need to load kernel modules -- a process which would require superuser privileges.</p>
<p><b>SSHFS on Linux</b></p>
<p>As Darren demonstrates in Linux the setup is quite simple. Begin by installing SSHFS. From ubuntu that's "<i>sudo apt-get install sshfs</i>". Once installed your user will need to be added to the fuse group, so issue "<i>sudo gpasswd -a $USER fuse</i>". The $USER is an environment variable which will be replaced with your username on execution. Issue "<I>whoami</i>" if you're not sure of your username.</p>
<p>Once SSHFS has been installed and your user added to the fuse group you're nearly ready to mount the remote file system. Begin by making a directory. This directly will act as the mount point for the remote file system. Issue "<I>sudo mkdir ~/sshfs</i>" to make an sshfs directory in your user's home.</p>
<p>Finally we're ready to mount the remote file system. If you've been following along thus far and have setup authentication key pairs for your SSH server the following should be pretty seamless. Issue "<i>sshfs -o idmap=user username@host: ~/sshfs</i>". Replace username and host as appropriate. The colon (:) after the host specifies the location on the remote server to mount. For example, if permissions allowed, /var/www/ could be mounted. Leaving the location as colon (:) defaults to the user's home directory. Now navigate to ~/sshfs on your local system and behold the remote file system!</p>
<p><b>SSHFS on Windows</b></p>
<p>As Shannon demonstrates, <a href="http://www.expandrive.com/" target="_blank">ExpanDrive</a> offers SSHFS for Windows. In addition ExpanDrive will mount virtual drives from Amazon S3 and even FTP. The software is $40 with a 30-day trial. It supports SSH public keys directly or with pageant.</p>
<p>Youtube Description (No HTML):</p>
<p>Continuing with SOCKS5, SSH, Public Key Pairs and fingerprints, Darren and Shannon use SSH to create a secure remotely mounted network filesystem with implementations in both Windows and Linux.</p>
<p>Using the SSHFS utility we're able to mount a remote filesystem. Since we already have a secure tunnel to our server over SSH, which we've been thus far using as a SOCKS5 proxy, we're now able to store files securely online with the same mechanism. Using FUSE, or File System in User Space, we're able to achieve this without the need to load kernel modules -- a process which would require superuser privileges.</p>
<p>If you're into Hak5 you'll love our new show by hosts Darren Kitchen and Shannon Morse. Check out http://www.revision3.com/haktip</p>
<p>Whether you're a beginner or a pro, http://www.revision3.com/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.</p>
<p>And let's not forget to mention that you can follow us on http://www.twitter.com/hak5 and http://www.facebook.com/technolust, http://revision3.com/hak5/follow to the show and get all your Hak5 goodies, including the infamous wifi-pineapple over at http://hakshop.com . If you have any questions or suggestions please feel free to contact us at feedback@hak5.org.
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1111/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Hak5 1110 &#8211; SSH Public Key Fingerprints, Windows SSH Servers and Linux Key Pair Exchange</title>
		<link>http://Hak5.org/episodes/hak5-1110</link>
		<comments>http://Hak5.org/episodes/hak5-1110#comments</comments>
		<pubDate>Thu, 26 Apr 2012 22:09:10 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[asymmetric key cryptography]]></category>
		<category><![CDATA[authorized_keys]]></category>
		<category><![CDATA[authorized_keys2]]></category>
		<category><![CDATA[fingerprint]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[key based authentication]]></category>
		<category><![CDATA[key fingerprint]]></category>
		<category><![CDATA[key pair]]></category>
		<category><![CDATA[known_hosts]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[pageant]]></category>
		<category><![CDATA[pgp]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[protocol layer]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[public key crypto]]></category>
		<category><![CDATA[public key cryptography]]></category>
		<category><![CDATA[putty key]]></category>
		<category><![CDATA[puttygen]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh key pair]]></category>
		<category><![CDATA[ssh protocol]]></category>
		<category><![CDATA[sshd_config]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4760</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL89CFD14144F45625&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=transparent" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1110"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1110&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
Continuing with Proxies, SOCKS5 and SSH, Darren and Shannon cover SSH Public Key Fingerprints, then build a free Windows SSH Server and configure Key Pairs for a Linux client.
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1110/hak5--1110--how-to-do-the-win-ssh-dance--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1110/hak5--1110--how-to-do-the-win-ssh-dance--large.h264.mp4">Download MP4</a><br />
<span id="more-4760"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL89CFD14144F45625&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
<p><b>SSH Public Key Fingerprints and known_hosts</b></p>
<p>Typical SSH Servers user 128-bit MD5 hashes as <a href="http://en.wikipedia.org/wiki/Public_key_fingerprint" target="_blank">Public Key Fingerprints</a>. These are used to verify the authenticity of a server. These key fingerprints are short sequences of bytes used to authenticate a much longer public key. Like we discussed last week regarding key pairs for user authentication, SSH servers have key pairs for server authentication. </p>
<p>On a Linux OpenSSH server for example these key pairs will be found in /etc/ssh/*key*. The public keys will be world readable while the private keys can only be read by a superuser. </p>
<p>On a Linux client for example the key fingerprints of remembered servers are stored in ~/.ssh/known_hosts. Since SSH version 4 the username and hostnames associated with these servers are hashed.</p>
<p>To remotely verify the key fingerprint of an SSH server</p>
<blockquote><pre>
ssh-keyscan -t rsa,dsa REMOTEHOSTNAME > /tmp/ssh_host_rsa_dsa_key.pub
ssh-keygen -l -f /tmp/ssh_host_rsa_dsa_key.pub
</pre>
</blockquote>
<p>Alternatively, on the remote server the key fingerprints can be found by:</p>
<blockquote><pre>
cd /etc/ssh
ls *key*
cat ssh_host_key # this is the private key
# permission will be denied if not superuser
cat ssh_host_key.pub # this is the public key
ssh-keygen -lf ssh_host_rsa_key.pub
# field 1 = bit length of key
# field 2 = fingerprint of key
# field 3 = name of key
</pre>
</blockquote>
<p><b>Setting up a Windows SSH Server with Bitvise (+ A few other software recommendations)</b></p>
<p>Setting up the SSH Server Windows Using BitVise WinSSHd</p>
<ul>
<li>Download BitVise</p>
<li>Creating a server on laptop or pc at home...
<li>Auto config router (UPnP) - BAD!! No Universal Plug-n-Play
<li>Open Port to Any Computer
<li>Uncheck 'Allow Any Logon', Click add.
<li>Enter Username - Run 'whoami' from CMD to find out your username.
<li>Want to add account for a friend? Do a virtual account.</ul>
<p><b>SSH Servers for Windows</b></p>
<p>FreeSSHd - http://www.freesshd.com/</p>
<ul>
<li>Nice but lacks advanced security controls. The server starts<br />
sessions with security in the context of the service itself, meaning<br />
since it needs to be run as administrator or system those are the<br />
privileges available to the users.</p>
<li>Not open source so it can't be vetted, improved upon by the community
<li>Hasn't been updated since 2009
<li>Difficult to get working on Windows 7
<li>Free and easy to setup</ul>
<p>Bitvise WinSSHD - http://www.bitvise.com/winsshd</p>
<ul>
<li>Free for non-commercial / personal use</p>
<li>License costs $100, unlocks Active Directory feature for enterprises
<li>Easy to install and update, nice GUI
<li>Supports Active Directory, Kerberos or it's own user database
<li>Works fine in Windows 7
<li>Supports AES 128 and 256 bit encryption
<li>Not open source so it can't be vetted, improved upon by the community
<li>Can be configured to use Power Shell instead of CMD as the default<br />
shell for users</p>
<li>Supports OpenSSH public key files
<li>Configure account and group permissions per IP and DNS
<li>Automation API, logging</ul>
<p>OpenSSH for Windows - SSHWindows.sf.net</p>
<ul>
<li>Free, open source implementation of OpenSSH with Cygwin</p>
<li>Hasn't been updated since 2004
<li>Enough said</ul>
<p>Copssh - https://www.itefix.no/i2/copssh</p>
<ul>
<li>Package of portable OpenSSH for Cygwin</p>
<li>GUI for administartion</ul>
<p>KpyM SSH Server - http://www.kpym.com/2/kpym/index.htm</p>
<ul>
<li>Free, open source</p>
<li>Uses Windows identification (Windows user accounts)
<li>Automated install and setup
<li>Nag screen. Single license is $35</ul>
<p><b>Setting up Key Pair Authentication in Linux with OpenSSH</b></p>
<p>On the remote host:</p>
<blockquote><pre>
mkdir .ssh
chmod 700 .ssh
cd .ssh
</pre>
</blockquote>
<p>On the local host:</p>
<blockquote><pre>
ssh-keygen -t rsa
scp ~/.ssh/id_rsa.pub user@host:.ssh/authorized_keys2
</pre>
</blockquote>
<p>Back on the remote host:</p>
<blockquote><pre>
ls -la authorized_keys2
chmod 600 authorized_keys2
exit
</pre>
</blockquote>
<p>On the local host:</p>
<blockquote><pre>
ssh user@host
</pre>
</blockquote>
<p><b>Bonus: Transfer SSH public keys from one machine to another</b></p>
<p>Now that we've done it the long way, let's take a moment to appreciate a convenient shortcut -- ssh-copy-id.</p>
<pre>
<blockquote>
ssh-keygen; ssh-copy-id user@host; ssh user@host
</pre>
</blockquote>

]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1110/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Hak5 1109 &#8211;  Proxies, Linux SSH Servers, Windows Clients &amp; Public Keys</title>
		<link>http://Hak5.org/episodes/hak5-1109</link>
		<comments>http://Hak5.org/episodes/hak5-1109#comments</comments>
		<pubDate>Sat, 21 Apr 2012 20:29:00 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[asymmetric key cryptography]]></category>
		<category><![CDATA[authorized_keys]]></category>
		<category><![CDATA[authorized_keys2]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[key authentication]]></category>
		<category><![CDATA[key based authentication]]></category>
		<category><![CDATA[key pair]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[pageant]]></category>
		<category><![CDATA[pgp]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[protocol layer]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[public key crypto]]></category>
		<category><![CDATA[public key cryptography]]></category>
		<category><![CDATA[putty key]]></category>
		<category><![CDATA[puttygen]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh key pair]]></category>
		<category><![CDATA[ssh protocol]]></category>
		<category><![CDATA[sshd_config]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4745</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL75E623B81DFC9AFB&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=transparent" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1109"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1109&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
Building on top of last week's episode on Proxies, SOCKS5 and SSH we're covering Authentication via Public Key Cryptography, setting up an SSH server in Linux and properly configuring a client in Windows.
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1109/hak5--1109--public-keys-proxies-ssh-servers--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1109/hak5--1109--public-keys-proxies-ssh-servers--large.h264.mp4">Download MP4</a><br />
<span id="more-4745"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL75E623B81DFC9AFB&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
<b>Breaking down SSH-2 Protocol Layers</b></p>
<p>Before getting into public key crypto we should first take a moment to gather a basic understanding of the SSH-2 protocol layers. In a nutshell the three layers of SSH-2 are:</p>
<p>The first is the Transport Layer. This layer is responsible for handling key exchanges, the servers authenticity (server authentication), compression, encryption and re-keying (typically after 1 GB of traffic or 1 Hour have elapsed). We'll get into more detail on this next week when we focus on key fingerprints.</p>
<p>Second is the User Authentication Layer, which handles client authentication, or authentication of the user trying to log-in. This process is client driven, meaning that the connecting client chooses which method they would like to authenticate with. Accepted methods vary by server but typically these include: </p>
<ul>
<li>Password Authentication - we used this last week by interactively typing in our password at the prompt when logging in</p>
<li>Public Key - this is the method we'll be using today and going forward
<li>Keyboard Interactive - a process that can be used for one-time-passwords.
<li>GSSAPI (Generic Security Services Application Programming Interface) - this is actually a library used by commercial vendors, usually to implement single-sign-on services in enterprises and integrating with existing security services such as NTLM or Kerberos.
</ul>
<p>Finally there is the Connection Layer. This layer defines the channels, or asymmetric communications supported by SSH, including:</p>
<ul>
<li>Shell Channel for Shells, SFTP, SCP</li>
<li>Direct-TCP/IP Channel for Client-to-Server forwards
<li>Forwarded-TCP/IP Channel for Server-to-Client forwards
</ul>
<p><b>Understanding Public Key Cryptography</b></p>
<p>Authentication via Asymmetric Key Cryptography (aka Public Key Crypto) is the method for generating a key pair -- both public and private (aka secret) -- and publishing one or the other in order to initiate secure communication. In our example we'll be protecting our private key on the client while publishing the public key on the SSH server. With this setup anything encrypted with the public key can be decrypted with our own private key. The oversimplification of this is that the key pairs are linked mathmatically allowing for encryption with the public key and decryption with the private key. The idea is that it's impractical to figure out the private key based on only knowledge of the public key. This is the basis for SSL, PGP, GPG, Bitcoin and many other protocols.</p>
<p>SSH-2 supports at least two methods for Public Key authentication</p>
<ul>
<li>RSA Key Pairs, which are named after creators Rivest, Shamir and Adleman and published in 1978 is an algorithm based on the difficulty of factoring large integers. Again the oversimplification is that the public key is based on the product of two large primes (along with an aux value) and the private key is derived from prime factors used to create the public key.</p>
<li>DSA Key Pairs, or Digital Signature Algorithm, have been a Federal Information Processing Standard since 1993. Originally pantented by former NSA employee David Kravitz this technology is now freely available for anyone to use worldwide.
</ul>
<p><b>Setting up a Linux OpenSSH Server</b><br />
On a Debian based Linux machine setting up ssh can be as simple as issuing "sudo apt-get install ssh". In this segment Darren goes over some of the configuration lines you would find useful to modify in /etc/ssh/sshd_config.</p>
<blockquote><pre>
AllowTcpForwarding yes
GatewayPorts       yes
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile      %h/.ssh/authorized_keys
AllowUsers bob alice
PermitRootLogin no
Protocol 2
Port 222
LoginGraceTime 1m
ListenAddress
ClientAliveInterval 60
ClientAliveCountMax 0
</pre>
</blockquote>
<p>Be sure to restart the SSH deamon after editing the configuration. stop ssh;start ssh;service ssh restart;/etc/init.d/ssh restart #one of these should do it! :)</p>
<p><b>SSH Key Authentication On Windows with Putty for a Linux Server</b></p>
<p>This'll create key pair- an authorization to log on to server for authentication. Begin by downloading the Putty KeyGen tool. Click Generate and move mouse to generate key pair, and save both. Now open the server via Putty. </p>
<p>On the server go ahead and create a user if you haven't already done so. Typically this is achieved using the "adduser username" then "passwd username" commands.</p>
<p>Now, while logged in as your user, make a directory called .ssh in the your home. For example "mkdir ~/.ssh"</p>
<p>You'll want to change the mode to 700 so that only you have access to it. In the world of Unix there are 3 levels of permissions for files and directories. The Owner, Groups and World (everyone). The first 10 characters are the file's attributes. The first character represents what type of file it is. If it's a dash (-) it's a regular file. A (d) represents a directory, and there are a few others for special stuff like symbolic links. The next 9 characters specify the Read (r), Write (w) and Execute (x) permissions for the file's Owner, Groups and World (everyone). Change the mode of the directory with "chmod 700 .ssh/" The "chmod" command stands for Change Mode and allows you to easily modify a file or directory's permissions. Chmod will accept an octal representation of the modes. We're not going to get into them all but in this case 700 changes the file to be Readable, Writeable and Executable by the file's Owner, and nothing else for any Groups and the World.</p>
<p>Next change to the newly created directory with "cd .ssh" and create a file called authorized_keys2 with the public key on one line saved in file. Add ""ssh-rsa "" to the beginning.</p>
<p>Finally you'll want to again change the mode of the file so that only you can read and write to it. In this case the command would be "chmod 600 authorized_key2".</p>
<p>Now back on the Windows machine ppen pageant.exe and select 'add key'. Add the private key created in the initial setup. Pageant works as a passphrase keeper. With Pageant in memory and your private key loaded go ahead and test your connection. Just as before login with putty being sure to include "username@" before the hostname in the connection dialog.</p>
<p>You should now login without a password needed! Hooray!
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1109/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Hak5 1108 &#8211; Hak5 Special: Proxies &#8211; Part 1</title>
		<link>http://Hak5.org/episodes/hak5-1108</link>
		<comments>http://Hak5.org/episodes/hak5-1108#comments</comments>
		<pubDate>Wed, 11 Apr 2012 20:07:11 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 11]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Hak.5]]></category>
		<category><![CDATA[proxies]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[socks]]></category>
		<category><![CDATA[socks4]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[tunneling]]></category>
		<category><![CDATA[whiteboard]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4717</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL45C12B2F6283756A&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1108"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1108&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
This time on Hak5: We begin a special series on proxies. Caching, filtering, security or anonymity -- whatever your reasons may be Darren and I are exploring the in's and out's of this great technology from the ground up. All that and more, this time on Hak5!
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1108/hak5--1108--all-about-proxies--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1108/hak5--1108--all-about-proxies--large.h264.mp4">Download MP4</a><br />
<span id="more-4717"></span> </p>
<div align="center"><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL45C12B2F6283756A&#038;hl=en_US&#038;hd=1&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0&#038;wmode=Opaque" frameborder="0" allowfullscreen></iframe></div>
<b>What is a Proxy</b></p>
<p>Basically a proxy is a technology that enables one to bounce their Internet traffic off, or tunnel Internet traffic through, a third party server. Typically this is a linux box running a daemon, but there are plenty of types of proxies, as well as reasons to use 'em. So why do we have proxies? Well, this won't cover everything, but here's a few examples:</p>
<p><b>Why would you want to proxy?</b></p>
<p><b>Security</b> - keep your web traffic encrypted<br />
For me it's all about security. Most proxies employ encryption, encapsulating each packet into a private tunnel so that would be eavesdroppers can't peer in on your surfing. I don't care if it's open wifi at the airport or a wired hotel LAN -- if it isn't my network I don't trust it.</p>
<p><b>Filtering</b></p>
<p>I hate it when network operators do this, and I'm sure you've encountered it. It turns out there's porn on the Internet. That, um, isn't what I've encountered -- I'm talking about when sysops use Proxies to filter content. Whether it's a DNS blacklist or content keywords, proxies can be used to shut down browsing to sites the operator deems inapproporiate. Whether that's porn or blogs criticizing a draconian government.</p>
<p><b>Bypassing Censorship</b></p>
<p>Likewise proxies are a great weapon against censorship. During the 2011 Egyptian Revolution, and following the January 25th protest, access to Twitter and Facebook from within the country were blocked. </p>
<p><b>Caching</b></p>
<p>Speed up web browsing with a caching proxy like Squid which is implemented in a lot of the more advanced open source routers we like, including Smoothwall and Untangle. The idea being that it holds copies of a web page or other resource in its cache, so if Darren visits Zombo.com in the morning then I go there in the afternoon I grab a local copy, thus saving bandwidth and speeding up the network.</p>
<p><b>Eavesdropping</b></p>
<p>Like a WiFi Honeypot or a Man-in-the-middle attack, a proxy can facilitate eavesdropping by routing traffic from a client, or victim in this case, through an eavesdropper's server. This enables the kind of packet sniffing mischeif you might imagine -- password snooping, URL snarfing, stealing of cookies and session hijacking, even altering content in transit. You know, the same kind of stuff your ISP could do - but doesn't... Or do they? Nah.... But SRSLY.</p>
<p><b>Private Networks</b></p>
<p>Traveling abroad and need access to resources on your office network? There's a proxy for that. Basically bridging two or more networks a proxy can enable access to stuff like printers, internal web servers, even private peer to peer networks or Darknets. Who doesn't like a little privacy with their file sharing?</p>
<p><b>Anonymity</b></p>
<p>Network Proxies can provide some level of anonymity by making it difficult to trace internet activity. The most notable examples include The Onion Router and I2P or the Invisible Internet Project. We're working up a special episode on these, but suffice it to say if you're a fan of freedom and privacy these are for you. Just, be aware that they aren't fool proof. In design these networks don't account for a global passive adversary, you know - like the NSA.</p>
<p>There are more proxy types and implementations than you can shake a stick at, but we’ll cover a few of the more popular ones and get into the practice soon.</p>
<p><b>Types of Proxies</b></p>
<p><b>Forwarding Proxies</b>: Typically speaking a forwarding proxy is a private service setup for one or more users that forwards or relays Internet traffic. An example would be a SOCKS proxy setup on a Virtual Private Server that you maintain and only you have access to. Use of this proxy requires authentication and once connected some or all of your Internet traffic is routed through this host.</p>
<p><b>Open Proxies:</b> which is similar to a forwarding proxy, except that authentication isn’t required. These open proxies or anonymous proxies are generally available to anyone on the Internet. Most HTTP or web based proxies don’t require a whole lot of skill or network configuration to use. For example visiting the open proxy darkbrowsing.com allows a user to pull up pages like twitter and facebook without actually going to those domains. As far as a network operator is concerned the user is only visiting the proxy, and the subsequent web pages are requested on the proxies behalf.</p>
<p><b>Reverse Proxies</b>: one that facilitates connections between two networks, often making it possible to access an internal resources which is otherwise inaccessible from the Internet. A good example of this would be a WiFi Pineapple in the wild connecting back to my VPS in the cloud allowing me to proxy through the VPS and into my pineapple. We’ll get into this in practice soon.</p>
<p>The nice thing about your reverse proxy setup is that it’s able to overcome NAT.</p>
<p><b>NAT</b>, or </b>Network Address Translation</b>, is a gateway (typically your home router) which assigns private IP addresses to each connected client, then allows all of those clients to access the Internet through a single public IP address. Since each machine on a NAT’ed network doesn’t actually have it’s own public IP address it makes it more difficult to run a server, like SSH. Typically port forwarding is necessary to allow incoming connections to get routed to the right machine inside the network. But outgoing traffic doesn’t have this limitation. Thus the reverse proxy is able to establish its connection without any special network configuration, a lovely technique we know as "<b>NAT Traversal</b>".</p>
<p><b>SOCKS Proxy</b>: Our favorite implementation</p>
<p>SOCKS stands for SOCKet Secure and it’s an Internet protocol that allows you to route your network traffic through a proxy server.</p>
<ul>
<li>Originally developed by David Koblas, a sysadmin at MIPS in ‘92
<li>Later extended to version 4 by Ying-Da Lee at NEC
<li>And finally version 5 was approved by the Internet Engineering Task Force in ‘96
<li>Can be used with Secure SHell - a network protocol for secure communication to remote shells
<li>Operates at a lower level than HTTP proxying
<li>Able to be used for any TCP or UDP connection
<li>Two mainstream types of SOCKS proxies, SOCKS4 and 5
<li>SOCKS5 allows for use of IPv6, UDP and DNS lookups so it is preferred
</ul>
<p><b>Basic Client Setup in Linux</b></p>
<blockquote><pre>ssh -D 8080 user@host</pre>
</blockquote>
<p>The <i>-D</i> option, from the man pages</p>
<blockquote>
<pre>-D [bind_address:]port</pre>
<p>Specifies a local <i>dynamic</i> application-level port forwarding.  This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a connection is made to this port, the connection is forwarded over the secure channel</b>, and the application protocol is then used to determine where to connect to from the remote machine
</p></blockquote>
<p>.</p>
<p>Keep in mind this option requires superuser privileges so you may need to use sudo or similar root execution utility.</p>
<p><b>Warning</b>: The basic client setup illustrated here uses password based authentication, which goes against security best practices. The next episode in this series will address this setup. Use of password based authentication is not advised.</p>
<p><b>Basic Client Setup in Windows</b></p>
<p>Begin by downloading <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">putty</a>, the gold standard in SSH on Windows.</p>
<p>Open putty, enter your host information, then expand SSH > Tunnels. Enter a port between 1025 and 65535, check Dynamic and enter localhost or 127.0.0.1 as the IP address. Click Add, then Open. An SSH session will open, typically prompting for username and password. Note: We will expand on this shortly with key based authentication.</p>
<p>If you're into Hak5 you'll love our new show by hosts Darren Kitchen and Shannon Morse. Check out <a href="http://www.revision3.com/haktip">HakTip</a>!</p>
<p>Whether you're a beginner or a pro, <a href="http://www.revision3.com/haktip">HakTip</a> 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</p>
<p>And let's not forget to mention that you can follow us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> and <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>, <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> to the show and get all your Hak5 goodies, including the infamous <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> over at <a href="http://hakshop.com/" target="_blank">HakShop.com</a>. If you have any questions or suggestions please feel free to contact us at <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
<p>Youtube Description (No HTML):</p>
<p>This time on Hak5: We begin a special series on proxies. Caching, filtering, security or anonymity -- whatever your reasons may be Darren and I are exploring the in's and out's of this great technology from the ground up. All that and more, this time on Hak5!</p>
<p>If you're into Hak5 you'll love our new show by hosts Darren Kitchen and Shannon Morse. Check out http://www.revision3.com/haktip</p>
<p>Whether you're a beginner or a pro, http://www.revision3.com/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</p>
<p>And let's not forget to mention that you can follow us on http://www.twitter.com/hak5 and http://www.facebook.com/technolust, http://revision3.com/hak5/subscribe to the show and get all your Hak5 goodies, including the infamous http://hakshop.com/collections/frontpage/products/wifi-pineapple over at http://hakshop.com . If you have any questions or suggestions please feel free to contact us at feedback@hak5.org.
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1108/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Hak5 1014 &#8211; Ad Block and SSH Tunnel with Privoxy, Pogoplug Mobile, Process Forking and Grub2</title>
		<link>http://Hak5.org/episodes/hak5-1014</link>
		<comments>http://Hak5.org/episodes/hak5-1014#comments</comments>
		<pubDate>Wed, 23 Nov 2011 20:16:17 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 10]]></category>
		<category><![CDATA[Dual Core]]></category>
		<category><![CDATA[dualcoremusic]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[int0x80]]></category>
		<category><![CDATA[pogoplug]]></category>
		<category><![CDATA[privoxy]]></category>
		<category><![CDATA[process fork]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tor]]></category>
		<category><![CDATA[tunnel]]></category>

		<guid isPermaLink="false">http://Hak5.org/?p=4302</guid>
		<description><![CDATA[<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL155CE7674F81066F&#38;hl=en_US&#38;hd=1&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" frameborder="0" allowfullscreen></iframe>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1014"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fhak5-1014&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This time on the show, Python + Privoxy = no more banner ads the your router level! Eighty of Dual Core reports. Plus, a cloud syncing NAS without the hassles of building and maintaining a BSD box or messing with Rsync to EC2! Not that you couldn&#8217;t, just, this one&#8217;s dead simple. </p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1014/hak5--1014--proxigogo--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/1014/hak5--1014--proxigogo--large.h264.mp4">Download MP4</a></p>
<p><span id="more-4302"></span></p>
<div align="center">
<iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/videoseries?list=PL155CE7674F81066F&amp;hl=en_US&amp;hd=1&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;autohide=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" frameborder="0" allowfullscreen></iframe>
</div>
<p><b>Int0x80&#8242;s Privoxy Segment</b></p>
<ul>
<li><a href="http://github.com/int0x80" target="_blank">int0x80 on Github</a></li>
<li><a href="http://www.privoxy.org/" target="_blank">Privoxy</a></li>
<li><a href="http://dualcoremusic.com/nerdcore/" target="_blank">DualCoreMusic.com</a></li>
<li><a href="https://twitter.com/dualcoremusic" target="_blank">@dualcoremusic</a></li>
</ul>
<p><b>Pogoplug Mobile Review</b></p>
<p>&#8220;There has been a huge move from local data collection to storing stuff in a cloud or network share. The Pogoplug Mobile was recently released and has the power of both. It&#8217;s a perfect little tool for people who want to be able to access files from anywhere and upload files on the go- hence the name. To get this guy started, you just plug him into your router and stick some sort of external drive into it whether it be SD card, an external hard drive, or a flashdrive, and you just leave him there sitting on your computer desk.<br />
After that, (and after you&#8217;ve activated your Pogoplug Mobile and created a new account) you can access and store files on the &#8216;black box&#8217; from your phone, tablet, or PC.</p>
<p>The Pogoplug guys have even created really streamlined apps for your iPhone, iPad, and Android device. These apps are mostly just for streaming files, so there aren&#8217;t a lot of advanced capabilities like on your PC.<br />
Now, back to the Pogoplug Mobile. The device is about $80, and has USB 2.0 and an SD card slot so you have infinite storage expansion. Since it is  2.0, the fastest files can be transferred is at 30MB/s, and it has a Gigabit ethernet connection.</p>
<p>From your computer &#8211; go to my.pogoplug.com and login to see files that have been uploaded to the pogoplug cloud or to pogoplug mobile device (my SD card is 16gigs). With your device activation, you also get 5 free gigs of cloud storage.<br />
The online interface is really easy to use and understand, with files sorted by type at the top or device on the side.</p>
<p>When you first start it up, it&#8217;ll take a while to sync all of your files from the device to your PC, and we do have a very fast connection here at the studio. I did find that my phone seemed to sync the files a lot faster than when I checked the myPogoPlug page on my PC. I also discovered after messing around with it, that if you play an mp3 from the phone or the PC browser interface, it&#8217;ll continue to play in the background while you do other things, including browsing other files on PogoPlug.</p>
<p>From the app on your mobile device, you can automatically upload photos and videos, but for iPhone users you have to turn on location services for this.<br />
Overall, I found that the Pogoplug is not only really easy to setup and use, but also perfect for anyone who is on the go all the time and wants access to their files ASAP (with maybe a little time for buffering).</p>
<p>I did want to mention that apparently there are some hacks for the PogoPlug Mobile, specifically this model (pogo-v4-a1-01) like getting Archlinux on it and possibly Ubuntu. If you know about these, or just want to give your take on the Pogoplug Mobile, you can email me at feedback@hak5.org or leave a comment below.&#8221;</p>
<p>If you&#8217;re into Hak5 you&#8217;ll love our new show by hosts Darren Kitchen and Shannon Morse. Check out <a href="http://www.revision3.com/haktip">HakTip</a>!</p>
<p>Whether you&#8217;re a beginner or a pro, <a href="http://www.revision3.com/haktip">HakTip</a> 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</p>
<p>And let&#8217;s not forget to mention that you can follow us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> and <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>, <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> to the show and get all your Hak5 goodies, including the infamous <a href="http://hakshop.com/collections/frontpage/products/wifi-pineapple" target="_blank">WiFi Pineapple</a> over at <a href="http://hakshop.com/" target="_blank">HakShop.com</a>. If you have any questions or suggestions please feel free to contact us at <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/hak5-1014/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/1014/hak5--1014--proxigogo--hd720p30.h264.mp4" length="530192163" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/1014/hak5--1014--proxigogo--large.h264.mp4" length="290125280" type="video/mp4" />
		</item>
		<item>
		<title>HakTip &#8211; Multiple Screen Sessions</title>
		<link>http://Hak5.org/it/multiple-screen-sessions</link>
		<comments>http://Hak5.org/it/multiple-screen-sessions#comments</comments>
		<pubDate>Mon, 28 Feb 2011 20:41:48 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[HakTip]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=2880</guid>
		<description><![CDATA[
			
				
			
		
What’s more wicked than a screen session? Two screen sessions! As we’ve talked about recently the unix command Screen is a great way to maintain bash sessions from multiple SSH clients without losing your work.



My ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fit%2Fmultiple-screen-sessions"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fit%2Fmultiple-screen-sessions&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>What’s more wicked than a screen session? Two screen sessions! As we’ve talked about recently the unix command Screen is a great way to maintain bash sessions from multiple SSH clients without losing your work.</p>
<div style="clear:both;"></div>
<p><span id="more-2880"></span><br />
<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/sN9BGmfAk9c?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1396" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/sN9BGmfAk9c?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=1396" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>My favorite shortcut after invoking the “screen” command is CTRL+a followed by “S”, which splits the screen horizontally in two. Use CTRL+a then Tab to switch between the views. Debian users get the added sexyness of vertical split by hitting CTRL+a then Pipe.</p>
<p>What little gems are rocking your world? Hit us up, we’ll share ‘em with the world. <a href="mailto:tips@hak5.org">tips@hak5.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/it/multiple-screen-sessions/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hak5 901 – Multiplexing screens, Nexpose at RSA, Packet Sniffers and File Automation</title>
		<link>http://Hak5.org/episodes/episode-901</link>
		<comments>http://Hak5.org/episodes/episode-901#comments</comments>
		<pubDate>Fri, 25 Feb 2011 01:18:51 +0000</pubDate>
		<dc:creator>Darren Kitchen</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 9]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[belvedere]]></category>
		<category><![CDATA[chris kirsch]]></category>
		<category><![CDATA[citrix]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[crack the code challenge]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[domain.com]]></category>
		<category><![CDATA[draw]]></category>
		<category><![CDATA[file management]]></category>
		<category><![CDATA[geohot]]></category>
		<category><![CDATA[george hotz]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gotoassist]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[hacker challenge]]></category>
		<category><![CDATA[hacker headlines]]></category>
		<category><![CDATA[haktip]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[kintect]]></category>
		<category><![CDATA[legal defense]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mrdoob]]></category>
		<category><![CDATA[natty narwhal]]></category>
		<category><![CDATA[nexpose]]></category>
		<category><![CDATA[ngrep]]></category>
		<category><![CDATA[packet capture]]></category>
		<category><![CDATA[packet sniffer]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[Playstation]]></category>
		<category><![CDATA[rapid7]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[Snubs]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[trivia]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=2797</guid>
		<description><![CDATA[<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/sN9BGmfAk9c?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sN9BGmfAk9c?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-901"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-901&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Season 9 Premieres with the return of Shannon &#8220;Snubs&#8221; Morse and Paul &#8220;the camera guy&#8221; Tobias. We kick around the hacker headlines, get the low-down on Nexpose from Rapid7 at RSA, automate file mangement in windows, multiplex some screen sessions, capture packets from the command line and a lot more.</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--large.h264.mp4">Download MP4</a> <a class="wmv" href="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-2797"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/sN9BGmfAk9c?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sN9BGmfAk9c?version=3&#038;hl=en_US&#038;fs=1&#038;hd=1&#038;showinfo=0&#038;rel=0&#038;showsearch=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object></p>
<h2>Hacker Headlines</h2>
<p>Kinect hackers rejoice! <a href="http://www.techflash.com/seattle/2011/02/microsoft-plans-kinect-sdk.html" target="_blank">Microsoft confirms that a Kinect SDK is coming</a> for PC and Mac this spring, allowing developers to deal with the motion and voice sensor at a higher level than the informal Kinect hacks. The SDK will be free for personal use with a commercial version expected to follow.</p>
<p>Sony is <a href="http://www.wired.com/threatlevel/2011/02/sony-threatens-jailbreakers/" target="_blank">threatening to permanently disconnect jail broken PlayStation 3 consoles</a> from the PlayStation Network. Jeff Rubenstein, Sony’s Social-Media Manager wrote in his blog “To avoid this, customers must immediately cease use and remove all circumvention devices and delete all unauthorized or pirated software from their PlayStation 3 systems”</p>
<p>Donations have closed for the <a href="http://geohotgotsued.blogspot.com/2011/02/first-round-of-donations-is-closed.html" target="_blank">legal defense fund of George Hotz</a>, notable iPhone jailbreaker and PS3 hacker. Sony has tied the hacker up in San Francisco federal since January court facing unspecified damages on DMCA violations. Hotz writes on his blog “I have enough to cover my legal fees for the time being.” and “For now, the best you can do is spread the word”</p>
<p>The latest <a href="http://www.h-online.com/open/news/item/VirtualBox-4-0-4-supports-Ubuntu-11-04-alpha-guests-1193850.html" target="_blank">VirtualBox 4.0.4 update adds support for Ubuntu 11.04 alpha guests</a>. The Ubuntu Alpha, code named Natty Narwhal, introduces Unity as the default desktop session. Gnome can still be accessed as a “Ubuntu Classic Session”</p>
<p><a href="http://r03.tumblr.com/post/3199199234/urban-sql-injection-win" target="_blank">Urban SQL Injection</a> &#8212; full of win.</p>
<h2>Crack the Code Challenge</h2>
<p> Do you have what it takes to compete in the <a href="http://www.hak5.org/challenge/" target="_blank">Crack The Code Challenge?</a> Test your skills in our private lab network and bid for the title supreme leet hax0r. Winners will be featured on future episodes of Hak5!</p>
<p>Our next event will be this <b>Sunday, February 27th at 3pm Pacific</b>. Visit <a href="http://www.hak5.org/challenge/" target="_blank">Hak5.org/challenge</a> for all of the details. We’ll be live streaming at <a href="http://www.hak5.org/live/" target="_blank">hak5.org/live</a> throughout the day. We&#8217;d like to thank Citrix and <a href="http://www.gotoassist.com/hak5" target="_blank">GoToAssist Express</a> for sponsoring the Crack the Code Challenge.</p>
<h2>Rapid7&#8242;s Nexpose at RSA 2011</h2>
<p>Darren meets with Chris Kirsch of Rapid7 to find out what&#8217;s new in <a href="http://www.rapid7.com/products/nexpose-community-edition.jsp" target="_blank">Nexpose</a></p>
<h2>Trivia!</h2>
<p>Our last question was &#8220;In the Millennium Trilogy, what is the name of the hacker community?&#8221; and the answer is: &#8220;Hacker Republic&#8221;</p>
<p>Our new question is: &#8220;From March 5, 1975 to December 1986, this club of computer hoppyists would meet in the Silicon Valley Area.&#8221;</p>
<p>Participate at <a href="http://www.hak5.org/trivia" target="_blank">hak5.org/trivia</a></p>
<h2>Hak5 finally goes HTTPS</h2>
<p> Thanks to <a href="http://www.domain.com" target="_blank">Domain.com</a> our very own Hak5.org is finally sporting a shiny new SSL certificate. Darren recaps some of the nifty things you can do with one and recommends <a href="http://www.domain.com/ssl/" target="_blank">thawte SSL 123</a>. Thanks Domain.com for hosting Hak5.org and sponsoring for over a year!</p>
<h2>Automating Windows File Managment</h2>
<p>Belvedere
<p>
What it does:<br />
Automating file management and scripting on Windows: <a href="http://lifehacker.com/341950/belvedere-automates-your-self+cleaning-pc" target="_blank">Belvedere</a>.</p>
<p>Belvedere lets you organize any folders on your harddrive. You can create rules to move, copy, delete, rename, or open files based on name, extension, size, creation, date, and even more. So basically it&#8217;s a self-cleaner tool for Windows Only. There&#8217;s also a Mac cleaner called Hazel that you might want to check out if you are an Apple user.</p>
<p>It was created by Adam Pash back in &#8217;08, and you can check out the source of this tool over at <a href="https://github.com/adampash/belvedere" target="_blank">GitHub</a>. </p>
<p>It&#8217;s a .exe so just install it from the download link. You can make Belvedere startup when Windows starts, but you&#8217;ll have to add it manually.</p>
<p>How you use it:<br />
Belvedere is really easy to use, it&#8217;s just simple point and clicks. You create a folder, then name your rule from one of the choices, and build conditions with the drop down menus.</p>
<p>Belvedere gives me the ability to multitask and not worry so much about how clean my PC is.</p>
<p>Do you have another tool that works like Belve? Let me know at feedback@hak5.org.</p>
<h2>HakTip: Multiplexing Screen Sessions</h2>
<p>What’s more wicked than a screen session? Two screen sessions! As we’ve talked about recently the unix command Screen is a great way to maintain bash sessions from multiple SSH clients without losing your work. My favorite shortcut after invoking the “screen” command is CTRL+a followed by “S”, which splits the screen horizontally in two. Use CTRL+a then Tab to switch between the views. Debian users get the added sexyness of vertical split by hitting CTRL+a then Pipe.</p>
<p>What little gems are rocking your world? Hit us up, we’ll share ‘em with the world. <a href="mailto:tips@hak5.org">tips@hak5.org</a></p>
<h2>Email: Command Line Packet Sniffers</h2>
<p>Hey, I&#8217;m in dire need of a command line linux packet sniffer. My servers are 3 hours away, and none have X11 installed. I used to use sniffit a long time ago, but it looks like they&#8217;ve added a GUI to it. Just wondering if you had any ideas off the top of your head.</p>
<p>Darren recommends <a href="http://www.tcpdump.org/" target="_blank">TCPDUMP</a> and <a href="http://ngrep.sourceforge.net/" target="_blank">NGREP</a></p>
<p>Have others to share? feedback@hak5.org</p>
<h2>Sketching with the Harmony Project</h2>
<p>Sparkleface writes in to share the <a href="http://mrdoob.com/projects/harmony/" target="_blank">Harmony Project</a> &#8212; a nifty sketching program in HTML5. Check out the <a href="http://github.com/mrdoob/harmony" target="_blank">source code</a> and <a href="http://mrdoob.com/blog/post/689" target="_blank">more info</a></p>
<p>Keep up with the latest on Hak5 by following us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> or <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>. <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> and get your weekly technolust delivered automatically. Or show your support and grab some swag from the <a href="http://hak5.org/store" target="_blank">HakShop</a> &#8211; including the new airport friendly <a href="http://www.hak5.org/store/wifi-pineapple-version-2" target="_blank">WiFi Pineapple</a> and <a href="http://www.hak5.org/store/hak5-hoodie" target="_blank">hoodie</a>. Finally if you&#8217;d like to suggest a topic<br />
for ask a question feel free to hit up <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/episode-901/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--hd720p30.h264.mp4" length="494575639" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--large.h264.mp4" length="326839773" type="video/mp4" />
<enclosure url="http://videos.revision3.com/revision3/web/hak5/0901/hak5--0901--reunited--large.wmv9.wmv" length="317007892" type="video/asf" />
		</item>
		<item>
		<title>Using Screen in Linux, it helps.</title>
		<link>http://Hak5.org/geek/using-screen-in-linux-it-helps</link>
		<comments>http://Hak5.org/geek/using-screen-in-linux-it-helps#comments</comments>
		<pubDate>Thu, 23 Dec 2010 05:42:40 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[darren kitchen]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[lego]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[screen linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tcsh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=2926</guid>
		<description><![CDATA[
			
				
			
		
While sharing a heartwarming story about how a little plastic minifig, Darren shows of how to use the screen command especially during SSH sessions.



The Linux screen command while available for most *nix platforms, screen is ...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fgeek%2Fusing-screen-in-linux-it-helps"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fgeek%2Fusing-screen-in-linux-it-helps&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>While sharing a heartwarming story about how a little plastic minifig, Darren shows of how to use the screen command especially during SSH sessions.</p>
<div style="clear:both;"></div>
<p><span id="more-2926"></span><br />
<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/Vaac19G2p8A?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=83" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" width="555" height="312" src="http://www.youtube.com/v/Vaac19G2p8A?version=3&amp;hl=en_US&amp;fs=1&amp;hd=1&amp;showinfo=0&amp;rel=0&amp;showsearch=0&amp;start=83" wmode="transparent" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
<p>The Linux screen command while available for most *nix platforms, screen is an invaluable resource for anyone managing multiple SSH sessions. In this segment Darren illustrates the screen command with a story of bits and bricks.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/geek/using-screen-in-linux-it-helps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Episode 818 &#8211; Using Screen in Linux, Motion Detection Webcam Software, and QT Interface Design</title>
		<link>http://Hak5.org/episodes/episode-818</link>
		<comments>http://Hak5.org/episodes/episode-818#comments</comments>
		<pubDate>Wed, 22 Dec 2010 22:30:12 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Episodes]]></category>
		<category><![CDATA[Season 8]]></category>
		<category><![CDATA[darren kitchen]]></category>
		<category><![CDATA[interface design]]></category>
		<category><![CDATA[Jason Appelbaum]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[Motion Detecting]]></category>
		<category><![CDATA[Motion Detection]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[shannon morse]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Webcam]]></category>
		<category><![CDATA[yawcam]]></category>

		<guid isPermaLink="false">http://www.Hak5.org/?p=2546</guid>
		<description><![CDATA[<object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/Vaac19G2p8A&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Vaac19G2p8A&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-818"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2FHak5.org%2Fepisodes%2Fepisode-818&amp;source=Hak5&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This time on the show Darren shares a heartwarming story about how a little plastic minifig saved the day using the Linux screen command. Shannon demos her favorite webcam software&#8217;s motion detection features, and Jason introduces interface design using the QT SDK.</p>
<div style="clear:both;"></div>
<p><a class="mov" href="http://www.podtrac.com/pts/redirect.mp4/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--hd720p30.h264.mp4">Download HD</a> <a class="mov" href="http://www.podtrac.com/pts/redirect.mp4/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.h264.mp4">Download MP4</a> <a class="xvid" href="http://www.podtrac.com/pts/redirect.avi/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.xvid.avi">Download XviD</a> <a class="wmv" href="http://www.podtrac.com/pts/redirect.wmv/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.wmv9.wmv">Download WMV</a></p>
<p><span id="more-2546"></span></p>
<p><object width="555" height="312"><param name="movie" value="http://www.youtube.com/v/Vaac19G2p8A&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Vaac19G2p8A&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="555" height="312" wmode="transparent"></embed></object></p>
<p><strong>The Linux screen command</strong></p>
<p>Available for most *nix platforms, screen is an invaluable resource for anyone managing multiple SSH sessions. In this segment Darren illustrates the screen command with a story of bits and bricks.</p>
<p><strong>Motion Detecting Webcam Software</strong><br />
Shannon demos her favorite webcam software for Windows, yawcam.</p>
<p><a href="http://www.yawcam.com/" target="_blank">Yawcam</a> is written my Magnus Lundvall and means, quite literally, Yet Another WebCAM software. It&#8217;s free, but you can make a donation if you so choose to. Availability is for Windows only. Yawcam stands out to me because of the built in extras.</p>
<p>Features: </p>
<li>Video streaming
<li>Image snapshots
<li>Built-in webserver
<li>Motion detection
<li>Ftp-upload
<li>Text and image overlays
<li>Password protection
<li>Online announcements for communities
<li>Scheduler for online time
<li>Multi languages
<p>Download the software at yawcam.com. In the main window you can enable or disable things that are visible to others. &#8216;File&#8217; saves image files on local computer. &#8216;Ftp&#8217; uploads to an ftp server. &#8216;Http&#8217; can start a stream of webcam images. &#8216;Stream&#8217; starts to stream video images, and &#8216;motion&#8217; runs motion detection.
<p>
Under File menu, you can find all the same stuff. Images to Movie can convert images into a movie, so you can choose this to upload images into a video file that you can play in quicktime. Under View menu, you can view different tabs, etc. Stealth mode hides the windows and tray icons. In the settings menu choose your webcam or detect it. Go to settings to change language, camera, connections, etc. Connection detects your public ip and lets you know if you are set up to connect online. File Output takes a photo and saves to a local computer at given intervals. Ftp output uploads images to an ftp server at certain intervals. Http output lets you view images on a dedicated webpage. Stream lets you stream video online. Page Designer lets you edit what the page looks like. You can also edit the HTML template files if you want more functionality. In motion detection you can save images to a path, or an ftp server, and under email settings you can email an image to a selected email.</p>
<p><strong>Interface Design with the QT SDK</strong><br />
Jason Appelbaum joins us to demonstrate interface design using Nokia&#8217;s QT SDK.</p>
<p>Keep up with the latest on Hak5 by follow us on <a href="http://www.twitter.com/hak5/" target="_blank">Twitter</a> or <a href="http://www.facebook.com/technolust/" target="_blank">Facebook</a>. <a href="http://revision3.com/hak5/subscribe" target="_blank">Subscribe</a> and get your weekly technolust delivered automatically. Or show your support and grab some swag from the <a href="http://hak5.org/store" target="_blank">HakShop</a> &#8211; including the new airport friendly <a href="http://www.hak5.org/store/wifi-pineapple-version-2" target="_blank">WiFi Pineapple</a> and <a href="http://www.hak5.org/store/hak5-hoodie" target="_blank">hoodie</a>. Finally if you&#8217;d like to suggest a topic<br />
for ask a question feel free to hit up <a href="mailto:feedback@hak5.org">feedback@hak5.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://Hak5.org/episodes/episode-818/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://www.podtrac.com/pts/redirect.wmv/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.wmv9.wmv" length="212" type="video/asf" />
<enclosure url="http://www.podtrac.com/pts/redirect.avi/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.xvid.avi" length="212" type="video/avi" />
<enclosure url="http://www.podtrac.com/pts/redirect.mp4/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--large.h264.mp4" length="212" type="video/mp4" />
<enclosure url="http://www.podtrac.com/pts/redirect.mp4/videos.revision3.com/revision3/web/hak5/0818/hak5--0818--bits-and-bricks--hd720p30.h264.mp4" length="215" type="video/mp4" />
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  hak5.org/tag/ssh/feed ) in 1.25189 seconds, on May 23rd, 2012 at 10:18 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 23rd, 2012 at 11:18 pm UTC -->
