Friday, May 27, 2011

Fixing WEP Cracking in Backtrack 4 R2

This is a work in progress without a definitive solution currently. Any input would be greatly appreciated in the comments.


Basic Info:
Model: ASUS 1215N
Chipset: AR-9285
Current Drivers: ath9k
Confirmed Injection? Yes, though there doesn't seem to be a definitive tutorial on it yet.

Let's see... Maybe one of these options will work. According to backtrack-linux.org I found this tutorial: http://forum.aircrack-ng.org/index.php?topic=5755.0

It led me to this download file: http://www.janoweb.net/drivers-patch.html#axzz1NEZjJj1j (I downloaded the maverick driver, but I did have issues loading this web page with the default Firefox installation from Backtrack - it liked to freeze up on me and crash Firefox)

Then I unzipped the file I downloaded to /root/downloads/

root@bt:~# cd downloads/
root@bt:~/downloads# tar -xf compat-wireless-aircrack-lucid-maverick.patched/
root@bt:~/downloads# cd compat-wireles-aircrack-lucid-maveric.patched/
root@bt:~/downloads/compat-wireless-aircrack-lucid-maverick.patched/# sudo make

(wait a long time while I write this blog post)

# sudo make install
# sudo make unload
# sudo modprobe rtl8187


After this, in theory, everything is supposed to work. However, running ifconfig now shows that no wlan0 exists. ifconfig wlan0 up says no such interface. Running /etc/init.d/networking restart followed by the ifconfig wlan0 up yields the same results. After this, it was midnight and I had to work the next day so I shut down and went to bed. I haven't tested it since. If anyone happens to read this and have a solution, your input would be greatly appreciated in the comments.

Steps to try next:

# sudo rmmod r8187 rtl8187 mac80211
# sudo mkdir /usr/src/drivers
# cd /usr/src/drivers
# sudo wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip
# sudo unzip rtl8187_linux_26.1010.zip
# cd rtl8187_linux_26.1010.0622.2006/
# sudo wget http://patches.aircrack-ng.org/rtl8187_2.6.35-monitor_only.patch
# sudo tar xzf drv.tar.gz
# sudo tar xzf stack.tar.gz
# sudo patch -Np1 -i rtl8187_2.6.35-monitor_only.patch
# sudo make
# sudo make install
# sudo make unload #THIS MIGHT NOT BE NECESSARY
# sudo modprobe rt2800usb


...It looks like I may not have read everything before trying different options. It seems like the Asus 1215N uses the ath9k driver, which may require the following (via backtrack-linux):


# rmmod ath9k
# modprobe ath9k
# /etc/init.d/networking start


Something I found seems to suggest that I should install the compat-wireless drivers to get everything to work.  To do that, I need to follow the directions on the aircrack-ng wiki. This looks promising.

1 comments:

Black Bread 2010 DVDRip XviD-VoMiT
FileSonic:
http://www.filesonic.com/file/1079727614/vmt-pnegro-xvid.avi

Wupload:
http://www.wupload.com/file/3106833/vmt-pnegro-xvid.avi

FileServe:
http://www.fileserve.com/file/huqnDq8/vmt-pnegro-xvid.avi

eXTReMe Tracker