BackTrack

From Tmplab

Revision as of 17:54, 27 October 2008 by Phil (Talk | contribs)
Jump to: navigation, search

BackTrack is a very useful security distribution for various hacks (pentests, rev eng, audit, ...).

Installing

Best way to install is to have it on a USB key and boot from it.

Here are a few problems I encountered with BackTrack 3 and their accompanying solutions.

TOR

TOR is included in BT3 but lacks some components, ie tsocks. Here is how to fix it:

1. First compile tsocks

wget 'http://downloads.sourceforge.net/tsocks/tsocks-1.8beta5.tar.gz?modtime=1035331200&big_mirror=0'
tar zxvf tsocks-1.8beta5.tar.gz
cd tsocks-1.8
./configure 
make
make install
cd ..
hash -r

2. Fix some links

ln -s /lib/libtsocks.so /usr/lib/libtsocks.so

3. Check your setup by connecting to a server where you have access and check if the origin is coming from a non-known IP

netstat -anp | grep <YOUR_IP>

Preservation & Persistance

When you do some system changes, you may want to have them always loaded by default during the next BT3 boot, so before rebooting you need to type this command:

dir2lzm "/mnt/live/memory/changes/" "/mnt/sda1/BT3/modules/changes.lzm"
Personal tools