Archive for April, 2009


How to install VMWare Tools in SUSE

Installing vmtools in openSUSE is not as simple as installing it in a Windows or Ubuntu VM, but once you know what to do it’s not too bad.

To install VMWare Tools for openSUSE guest OS

Once your OS is installed, you’ll now need to install the prerequisite software on the openSUSE virtual machine.

~> yast2 –install gcc gcc-c++ kernel-source make

This installs the GNU C & C++ compilers, kernel Source packages and the make utility.

In VMWare, click the VM menu and select Install VMWare Tools.

In SUSE, open your cd drive, right click the rpm package and select Open with “Package Installer”.


Once installed you’ll need to run the vmtools config perl script.

~> /usr/bin/

Reboot your VM and you will have VMWare Tools running.


Packet Injection with an Intel PRO/Wireless 3945ABG Wireless Card on Ubuntu or BackTrack 4

I have a Intel PRO/Wireless 3945ABG Wireless Card in my laptop and I’ve never been able to do any wireless penetration testing with it due to drivers not supporting packet injection.  I’ve searched high and low on how to change drivers to get this accomplished but haven’t had much luck until recently.

I’ve pieced together enough information from various forums and blogs to finally get it working on Ubuntu, and it should be the same process for BackTrack4.

We’ll need to install following packages

sudo apt-get install build-essential libssl-dev

Download the drivers


extract the drivers

tar -xjf ipwraw-ng*

go to the extracted folder

cd ipwraw-ng

compile the source files into a binary


install the driver

sudo make install
sudo make install_ucode

blacklist the default ipwraw

echo “blacklist ipwraw” | sudo tee /etc/modprobe.d/ipwraw

Create a dependency file for the modules

sudo depmod -ae

unload driver that you do not need

sudo modprobe -r iwl3945

load the driver that you installed

sudo modprobe ipwraw

enable the network adapter

sudo ifconfig wlan0 up

When you’re done, open a terminal and type lsmod, you should see the ipwraw driver loaded.

Now packet injection should work and you can start playing with wireless penetration tools.


Windows Server 2000 Bare Metal Restore with TSM

I was unlucky enough to be involved in attempting a bare metal restore of a Server 2000 sp4 box over the weekend because of two drives failing in an array, and decided to post how I made it happen.

This works in my situation so you’ll have to tweak it for your own.  This server had a single raid 5 array and for some reason was in a single partition.  I guess it made the restore a little easier at least.

-Partition the entire array into a single partition.  Load the OS and install all updates.  It’s imperative that the SP level be the same as it previously was.

-The disk size must be at least what the used space was previously on the system.

-Install TSM version 5.4 and configure it to point to your TSM server on the port it uses.  Verify that you can connect to the TSM server.

-From a terminal, change directories to “c:\program files\tivoli\tsm\baclient”

***Important:  Ignore any requests to reboot the system until the very end of this script***

-Now we can restore the system objects.

command: ~> dsmc restore “{SYSTEM OBJECT}\windows\system32\catroot\*” c:\windows\system32\ -sub=yes -rep=all

-Restore the system drive.  (Get some coffee, this one will take a while.)

command: ~> dsmc restore c:\* -sub=yes -rep=all

-Restore the system state.

command: ~> dsmc restore systemobject

-Reboot and cross your fingers.


Free Ubuntu 9.04 Jaunty Jackalope CDs

The next ubuntu stable version is going to be released on April 23rd.  If you want to order your free CDs you can do so at the following link

New features in Jaunty.

  • Linux kernel version 2.6.28
  • A new notification system
  • Faster boot times
  • GNOME 2.26 desktop environment
  • Community desktop themes and brand new artwork
  • Evolutionary EXT4 filesystem
  • Support for many new devices (wireless, webcams, mobile phones, etc.)

How to install Fast-Track 4.0 on Ubuntu


Fast-Track is a python based open-source project aimed at helping Penetration Testers in an effort to identify, exploit, and further penetrate a network.  It’s an incredible tool to have handy in any pen-tester’s toolkit.  I’ll show you how to set it up on an Ubuntu box.

To start we’ll need to set up some of the dependencies that Fast-Track uses.  These will be ProFTP, sqlite3, and Metasploit.

Metasploit: The Penetration Tester’s Guide

To install ProFTP and sqlite3 run this command:

sudo apt-get install proftpd sqlite3 -y

Now for Metasploit you can refer to my post on installing it on Ubuntu.

Read the rest of this entry »


Uninstall Internet Explorer 8 from Windows 7


IE was first released as part of the add-on package Plus! for Windows 95 in 1995. IE is fully integrated into MS operating system. IE has been subjected to many security vulnerabilities such as spyware, adware, and computer viruses. Removing Internet Explorer does have a number of consequences. Applications that depend on libraries installed by IE will fail to function, or have unexpected behaviors. A just-leaked build of Windows 7 lets users remove Internet Explorer (IE), the first time that Microsoft has offered the option since it integrated the browser with Windows in 1997.

Build # 7048 of Windows 7, Microsoft added the ability to safely remove Internet Explorer 8 from Windows. Microsoft does not allow the dependencies to be removed through this process, but the Internet Explorer executable (iexplore.exe) is removed without harming any other Windows components.

Also, The European Union’s antitrust agency may force Microsoft to include rival browsers in Windows, according to a regulatory filing submitted last week by the U.S. software developer.

I think this option was added in reaction to the EU charges.


How to install Backtrack 4 to a hard drive from


How to install Open Office 3 in Ubuntu 8.10

We first need to remove any old versions of open office you have installed.  Go into synaptic (System -> Administration -> Synaptic Package Manager).

Search for ‘openoffice’, without the quotes.  Mark any installed openoffice packages for complete removal.


Now we can download the Linux Deb package from here.

Then with a terminal, change directories to the location of the OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz package you just downloaded.  Then run the following commands:

~# tar -vxzf OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz
~# cd OOo_inst_folder/DEBS
~# dpkg -i *.deb

Then well need to set up the desktop integration package to get all the menu icons set up.

~# cd desktop-integration
~# dpkg -i *.deb

That’s it, everything should appear in your gnome office menu.