The Hack Across America series concludes after 6 weeks and the first order of business at the new place in the San Francisco bay area is to build an inexpensive home server to host virtual machines. Then Shannon has a Windows power tools two-fer and Jason joins us for some Android application development — can you way wardriving app?

Download HD Download MP4 Download XviD Download WMV

Hack Across America concludes in the SF Bay

First and foremost I apologize for the audio. I’m working on getting something resembling a set together and I’m still making due with my field equipment (read: shotgun mic). The 12′ ceilings aren’t helping. I promise to have it cleaned up by next episode when I get the rest of the Hak5 gear shipped out.

Speaking of next week, quick programming note: We’ll be at E3 with Jenn Cutter. That means follow us on twitter for the latest.

Another reason to keep up on the social nets is for the upcoming SF Bay Hak5 meetup. Venue and other details TBD.

Trivia

First appearing in MS-DOS 6, this command line program was a staple of Windows systems until being replaced by RD with the Windows NT line.

Enter for your chance to win a super sweet new Hak5 sticker pack set by submitting your answer at hak5.org/trivia

United States Air Force
A Special thanks to the sponsor of today’s episode, The United States Air Force.

Android App Development: WiFi War Driving

This week Jason joins us for a little wardriving on Android. Check out the source code or download the project.

package org.Hak5.WifiScanner;

import java.util.List;

import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiManager;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class WiFiScanner extends Activity {
	
    TextView textView;
    WifiManager wifi;
	BroadcastReceiver receiver;

	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.main);
        
        textView = (TextView) this.findViewById(R.id.wifitext);
        
        wifi = (WifiManager) this.getSystemService(WIFI_SERVICE);
        
        if (receiver == null)
			receiver = new WiFiScanReceiver(this);

		registerReceiver(receiver, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION));
		
        populate();
	 
    }
	
	private void populate() {
		String text = "";
		List access_points = wifi.getScanResults();
		for(int i = 0 ; i < access_points.size() ; i++){
			ScanResult ap = access_points.get(i);
			text += "#SSID: " + ap.SSID + "/Security: " + ap.capabilities + "/Frequency: " + ap.frequency + "/DB: " + ap.level +"\n\n";
		}
		textView.setText(text);
		Log.d("Wifi Display", text);
		wifi.startScan();
	}
    
	
	class WiFiScanReceiver extends BroadcastReceiver {
		
		WiFiScanner wifiScanner;
		
		public WiFiScanReceiver(WiFiScanner wifiDemo) {
		super();
		this.wifiScanner = wifiDemo;
		}
		
		@Override
		public void onReceive(Context c, Intent intent) {
			wifiScanner.populate();
		}
	}
	
}

Snubs Report: A Windows Power Tool Two-fer

Do you ever feel paranoid of someone casually 'fixing' your computer with a handy flashdrive, thinking they are actually tossing on a keylogger? There is a useful tool called USB Write Protector for just that. It's a small windows utility that turns on or off USB write protection. USB Write Protector will secure you computer against would-be physical USB attacks like that of the USB Switchblade / USB Rubber Ducky by making USB thumb drives non-writable.

And second, have you ever run into the problem on Windows where you can't delete a file because it's being used by another program or person? Now we have Unlocker, a portable app that unlocks files so you can delete them.

USB Write Protector can be downloaded from here. By using USB Write Protector, you can protect your Windows computer from harmful rays from the USB Switchblade of death! Easily run the program from a .rar file, and just run the exe. You can also use this as a portable app. Double click, and choose USB Write Protection on or off. If you cant read Dutch, change this to English or whatever your language is. When ON, no files or data can be written onto a USB thumb drive.

Unlocker can be downloaded from here. Problems occur while attempting to delete a file such as:
*Cannot delete file: Access is denied.
*The file is in use by another program or user.
*Make sure the disk is not full or write-protected and that the file is not currently in use, etc.

Trying to find the problem is a pain! So we have Unlocker. It's a free downloadable tool for Windows and it comes for installation or as a portable version. Just install and you're set. Now, try to delete a file and if you get a popup, right click on the file and choose Unlocker. Lockers will appear in a list. Choose unlock all and the file becomes available for use. If file is not locked, you still have the option to delete, rename, or move the file straight from unlocker.

You like? Tell me! Email!

And a big thanks to Go To Assist Express for sponsoring this week's Snubs Report.

GoToAssist Express
Anyone expecting a long wait for your technical expertise is in for a BIG surprise. With Go To Assist Express brought to you by Citrix, you can provide immediate support by easily viewing and controlling your customers’ computers online! Provide instant remote one-to-one support to clients located ANYWHERE in the world. Handle more requests in less time. Assist up to 8 customers at once. Support both Mac and PC users! Try Go To Assist Express FREE for 30 days! For this special offer, you must visit GoToAssist.com/Hak5 for a FREE trial.

A Cheap Home Virtual Machine Server

The first order of business after moving to the SF Bay has been to build a cheap wall-mounted virtual machine server for the home.

Ok, I'll be honest I had a spare CPU and made the mistake of going to Fry's with a few bucks. But it's totally justifyable as I've needed a place to house a plethora of virtual machines for all sorts of mischevious testing.

Of course I cheaped out when it came to buying a case. Who needs a case? Wall mounted to a piece of black acrylic is so much cooler. Trust me, your spouce will love it.

This rig is running the latest version of Ubuntu and my favorite virtualization technology - VirtualBox.

What makes this project really special is the use of a Virtualbox web front end. There's a really nifty project over at code.google.com/p/vboxweb called VirtualBox Web Console -- and it does just that.

Simply using the VirtualBox API, Python, jQuery and flash (for the RDP client) it is able to provide a pretty slick web front-end to your virtual machines. Simply put, if you can get access to your home web server you can have access to all of your machines.

I'll be the first to admit that it's a little rough arond the edges, but I think this project holds a lot of promise. I'll continue using it and let you know how I really feel in the weeks to come.

What do you think? Found a better solution? Using VMware or another virtualization technology? Figure the wall-mounted server would be leeter with some laser beams? Email feedback@hak5.org.

Domain.com

I like Domain.com’s Deluxe web hosting plan that’s only $8.75/mo. One click install of all the popular open source programs like WordPress, Joomla, and Drupal, and more! Unlimited traffic

Free website builder with unlimited pages, Easy and affordable to get your sites online with Domain.com. Domain.com offers blistering fast DNS and hosting infrastructure, the lowest prices on the web AND the highest quality. Thanks to Hak5 fans, Domain.com is one of the fastest growing domain and hosting companies in the world. Got a great idea? It all starts with a great domain. Domain.com! Don’t forget to use coupon code HAK5 at checkout to get 15% off your order.

If you want to know the latest on Hak5 be sure to follow us on Twitter or Facebook.

Also, now is also a great time to grab some swag from the HakShop - including the new airport friendly WiFi Pineapple with free world-wide shipping.

And finally if you'd like to suggest a topic for a future show feel free to hit up feedback@hak5.org

Leave a Reply

Your email address will not be published. Required fields are marked *

*

25 Comments

  • scott baker 4 years ago

    It would be less over head if you could use ubuntu server. I assume virutal box requires the GUI though.

    Great show!
    -Scott

  • Snubs,
    I love unlocker and have been using it for a few months now and keep it on my flash drive for when I do desktop support. It’s so simple and straightforward. Just right click on the item that you can’t delete and choose unlocker and you are given all the information on what program is affecting it and gives you the options to kill the process, unlock, or unlock all.

    Thanks,
    –Mitchel

  • Choekstr 4 years ago

    I would be curious to see why Darrin likes Virtualbox more than VMWare? I have heard, and thus asking, that VMWare beats every other virtualization software WRT performance with the exception of Parallels for OSX and especially efficient and optimal is the ESX version of VMWare.

    I would love to hear the thoughts, both good and bad and biased if so, of why VirtualBox is preferred in the hack house.

    Great episode and keep up the great content guys. I love that we are back to coding examples and setup of cool tools and software!

    Regards,
    Choekstr

    • No doubt..ESXi beats the pants off of VirtualBox.

      i’d rather run VirtualPC than VirtualBox, lol.

    • One advantage of VirtualBox is simply that it is open source. It can therefore be installed with only a few clicks in most modern Linux distros. For example Ubuntu which was being used on this machine. Maybe there was some other reason though, because they ended up installing the non-open source version.

  • shannon …. been using that file unlocker for years … very handy and cool tool :)

  • What are the server specs? want to do something like that at home for a lab.

    Great show guys been seen you since the beginning.

    • C. Garison 4 years ago

      I also would like to see the specs on the server as I need to build a similar box for a project my wife and I are doing and I happen to have an extra E6400 processor and a 500 GB hard drive and a handful of sticks of RAM.

  • M. Beavers 4 years ago

    I gotta go the way there with the VMWare…. I even got it up and running 10.6.3 OS X that I copied prior to having to sell my Macbook Pro. But am willing to try anything, so I think I’ll fire up a Virtualbox machine and see how it fares. Keep up the GREAT shows!!!

    Thanks,

    Beave

  • Starfleet 4 years ago

    Ubuntu Server 10.04 could have been used for higher performance and less overheads, you could then have used Virtual Box and set up the virtual machines using the VBoxManage and VBoxHeadless commands.

    Also, why didn’t you buy a cheap case for your server? Seems a bit dangerous, considering there might not be sufficient grounding either.

  • I’m a huge ESX/ESXi fan, haven’t seen anything come close. If VMotion is enabled, than it’s unstoppable.

  • Hey Ubuntu rules and Linux mint is based on it. (Debian > Ubuntu > Linux-Mint)

    Mint is a Distribution of Ubuntu,
    Ubuntu is a Distribution of Debian, etc.

  • I dig the kvm with ovirt. headless, gui-less server.

  • This website has been reported as unsafe
    ccollomb.free.fr

    We recommend that you do not continue to this website.
    Go to my home page instead

    This website has been reported to Microsoft for containing threats to your computer that might reveal personal or financial information.

    ps yes Shannon I like a lot ;)

  • Dr.maq 4 years ago

    hey snobs I see that you guys use GoToAssist Express a lot but have you every tried team viewer( http://www.teamviewer.com/index.aspx )

  • Here is a compiled APK file of the Android WiFi Scanner, in case anyone wants to try it out. Fun little utility, thanks for explaining these concepts of Android development!

  • Why not use Xen? 100% free, and still Linux based.

    If you want a good management console, though, go with Citrix XenServer. Same exact technology, same price (free,) and it works oh-so-efficiently. The management console, XenCenter, is pretty decent, and I’ve been running it for about a year and a half now in a corporate environment as well as my home network. Beats VirtualBox any day!

  • Hello Everyone,

    I am trying to get a virtual server going but seem to be stuck. Everything is working but the second login that vboxweb console doesnt seem to work. I get a black screen like it wants to work but then i get Disconnect reason: E: TCP: SECURITY_ERROR Error #2048. This is a very important project for me and have been trying to figure this out for four days now. I have restarted three times all with the same results. Please will someone help me!

  • Magnificent beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog web site? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear concept