BackTrack Official FAQ

This is a copy of the official FAQ from the Backtrack ( Remote-exploit ) site.

Q). Which card should I use with the wireless tools??

A). It is very difficult to give any one precise card to use, as it depends upon what you want to do with that card! As a guide, most of the wireless tools in the ASC will run using a Prism 2 or 2.5 chipset card. This is a good "all round" card, for both sniffing (rfmon mode) & injection. Prism 2/2.5 cards will be 802.11b.

If you need an 802.11g card, then the best choices would be either a PrismGT or an Atheros chipset card. Both chipsets will support sniffing & injection.


Q). Which card uses which driver??

There seems to be continuous confusion amongst newbies with this, so:

Use the link at the top of this page to try & find your cards chipset.

Prism chipset cards use wlanng or hostap drivers.

PrismGT cards use prism54 driver.

Atheros cards use madwifi driver.

Orinoco cards use orinoco_cs driver.

Cisco chipset cards use airo_cs driver. (many new Cisco cards now have Atheros chipsets though, so check)


Q). Why these errors when I try to use this program "XYZ"??

Here's some very common problems again, from newbies in the forum:

Certain programs use specific chipsets/cards.

Void11 works with Prism based cards, not Atheros, orinoco, or whatever else!

If you don't have a Prism card, you cannot use the switch-to-xxxx commands, to use either hostap or wlanng drivers! Yes, this is why you get errors/nothing seems to happen when you try this without a Prism card!


Q). How do I put my card into monitor mode??

A). The method to put a card into monitor mode depends on the cards chipset. If you are not sure of the chipset of your card, take a look at the list maintained at: http://www.linux-wlan.org/docs/wlan_adapters.html.gz

Below are the commands used for each chipset:

Orinoco Cards

root@pc# iwpriv eth0 monitor 2 1 <------sets monitor mode

root@pc# orinoco_hopper eth0 <------start orinoco channel hopping

root@pc# iwpriv eth0 monitor 0 1 <------turns off monitor mode

=======================================

Prism cards, using HostAP drivers:

root@pc# iwconfig wlano mode monitor

root@pc# iwconfig wlan0 channel XX <--------insert your channel here

root@pc# ifconfig wlan0 up

=======================================

Prism cards, using wlanng drivers:

Note: Auditor has an auto script for wlanng - just do monitor.wlan wlan0 XX <-------insert channel here

Or if you want the manual method:

root@pc# wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

root@pc# wlanctl-ng wlan0 lnxreq_wlansniff enable=true channel=XX prismheader=false wlanheader=false stripfcs=true keepwepflags=true

root@pc# ifconfig wlan0 up

=======================================

PrismGT cards, using Prism54 drivers (or any wireless tools compatible cards):

root@pc# iwconfig eth0 mode monitor

root@pc# iwconfig eth0 channel XX <--------insert your channel here

root@pc# ifconfig eth0 up

=======================================

Atheros cards, using MadWiFi drivers:

(If using the Aircrack Suite, their documentation states that Atheros based cards ought to be put into pure "b" mode first:

root@pc# iwpriv ath0 mode 2 <-------------this command puts card into pure "B" only mode

root@pc# iwconfig ath0 mode monitor channel XX <--------insert your channel here

root@pc# ifconfig ath0 up

=======================================

Q). What are the Atheros iwprivs?

A). The following are the iwprivs you will use most often:

802.11 modes

root@pc# iwpriv ath0 mode 0 <---- Sets card to A/B/G auto detect

root@pc# iwpriv ath0 mode 1 <---- Sets card to A mode

root@pc# iwpriv ath0 mode 2 <---- Sets card to B mode

root@pc# iwpriv ath0 mode 3 <---- Sets card to G mode

Authentication modes

root@pc# iwpriv ath0 authmode 1 <---- open authentication

root@pc# iwpriv ath0 authmode 2 <---- shared key authentication

root@pc# iwpriv ath0 authmode 3 <---- 802.1x authentication


Q). How can I choose to use either HostAP or wlan-ng drivers with my Prism card??

A). The ASC has a handy script available to switch drivers. Simply type:

switch-to-hostap

Or

switch-to-wlanng

Then, eject & re-insert your card.


Q). How can I install Auditor to my hard drive??

A). There is an automated installation routine available on the ASC cd-rom:

Select: "K" menu <-----"System" <-----"Auditor HD Installer" This will launch the installer.

Then, the "configure installation" option must be selected. It is probably best to select the "debian" style install. This is where you can choose a username & password, the root user password & the pc's host-name.

Next, the hard drive must be partitioned, so just select the "partition hard drive"option. It is best to select at least 2Gb of space to format as reiserfs & at least 1GB psace to format as Linux Swap.

Once the drive has been suitably partitioned, the "start Installation" option can be selected. From here, the installation is fully automatic and all you have to do is wait for it to complete, then re-boot into your new hard drive Auditor Security Collection installation!


Q). I already have Windows / another OS installed! - can I install Auditor without losing all my existing OS & data??

A). You sure can! You simply need to use a "non-destructive" partitioning tool", so that you don't disturb your existing data.

There are many "non-destructive" partitioning tools available that can create new & re-size existing partitions without destroying the existing data on the hard drives.

Because the most common questions about this "existing OS" problem seems to come from Windows users that have a sole copy of Windows installed and are using the entire hard drive as one "C:" drive, I have outlined below the steps to take for preparing your hard drive ready for installing Auditor along-side an existing installation of Windows, using the Windows tool "Partition Magic":

This assumes that you have already prepared a Partition Magic "Boot Floppy" and have now booted your machine into Partition magic using that disk:

First, select your main (or single) partition (probably labeled as the "C:" drive). From the drop down menu select "Options" <-----"ReSize Partition". Now the size of the partition may be decreased by simply typing in the size by which you wish to decrease the partition, into the "Size after" box. Click "Apply".

Next, back at the main screen, select the drop down menu "Options"<-----"Create"

Partition magic should automatically offer to use all of the available free space, but we need to keep back at *least* 1GB of this space, for making a Swap partition. So, decrease this amount by at least 1Gb (for the Swap space). Select the type of filesystem to be used for this partition - reiserfs or etx3. Now click "Apply" to make this new partiton. Finally, repeat these steps to create a final partition, using the remaining free space, but this time selecting "Linux Swap" as the filesystem type. Apply all changes & reboot.

Now, when you boot up using the ASC cd-rom, you can run the installer & it should automatically select the partitions you just made. Just make sure that it shows the correct partition by simply looking at the filesystem type & partition size, to make sure it's the reiserfs one, then go ahead with the install.

After installing Auditor Security Collection, reboot the pc. This time, when you boot up, you will be taken to the "Grub" bootloader screen, where you can select which OS to boot into - Auditor (debian based) or whatever other OS you already had installed. Simple!!

0 comments:

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international voip calls