since this is so easy to patch im upset that backtrack 3 isnt patched already
Here is how I got injection working on my belkin 050d:705c 7050 ZyDas zd1211b usb dongle with the Latest Ubuntu Hardy Heron
modprobe -r zd1211rw
modprobe -r ieee80211
modprobe -r ieee80211_crypt_tkip
modprobe -r ieee80211_crypt_wep.ko
modprobe -r ieee80211_crypt_ccmp.ko
modprobe -r ieee80211_crypt
modprobe -r ieee80211softmac
Grab my patched drivers:
wget hxxp://ubuntu-debs.googlecode.com/files/patched.tar.gz
tar zxvf patched.tar.gz
cd patched
Copy contents to ieee80211 folder overwriting existing drivers, make sure you backup these 2 folders!:
cp -R ieee80211 /lib/modules/2.6.24-17-generic/kernel/net/
Copy contents to zd1211rw folder overwriting existing drivers
cp -R zd1211rw /lib/modules/2.6.24-17-generic/kernel/drivers/net/wireless/
You can either modprobe zd1211rw or reboot to load the new drivers.
For ubuntu all I did to patch the existing drivers was compile the existing kernel like this:
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev linux-source
cd /usr/src
sudo tar xvjf linux-source-2.6.24.tar.bz2
sudo ln -s linux-source-2.6.24 linux
cd linux
Download patches to /usr/src/linux/
Download this patch hxxp://trac.aircrack-ng.org/browser/trunk/patches/ieee80211_inject.patch?rev=873&format=raw
wget hxxp://wxw.latinsud.com/pub/zd1211rw/zd1211rw_inject_2.6.24.4.patch
sudo patch -Np1 --verbose -i ieee80211_inject.patch
sudo patch -Np1 --verbose -i zd1211rw_inject_2.6.24.4.patch
sudo cp /boot/config-`uname -r` .config && make oldconfig
sudo make menuconfig
Entered through all options
And finally built the kernel .deb
sudo make-kpkg --initrd --revision=386 kernel_image kernel_headers modules_image
At the end of the compile I got an error regarding the patched drivers, and gave up at first but seen that it created a kernel debian package in /usr/src/linux so I simply installed the new kernel and headers:
cd .. && dpkg -i linux*.deb
once installed, rebooted and fired up aircrack and attempted association, chop chop and arp replay attacks and both worked fine, I tried the fragmentation attack but I never got that to succeed with other cards either, so all in all, I can crack any wep access point , with full association and injection with my ubuntu system.
-defcon
since this is so easy to patch im upset that backtrack 3 isnt patched already
Well thats the whole idea of idea of bt3's status being "BETA". So they can find and fix bugs etc.
And why post a f%^&% tutorial on here using ubuntu lol !!! OMG sorry mods for being a little rude![]()
I have a local backtrack two install on my miniITX pc and was wondering if anyone could tell me if i could use this method for my own USrobotics card with the zd1211b chip set?
Thanks,
Dave.
No this tutorial is for ubuntu lol here's how its done in bt3. If I can remember didn't injection work in bt2 on these cards ??? If not update the kernel and then apply the corresponding patch.
Download the kernel source from the the wiki and extract to /usr/src. CD into the source folder and then
Find Networking ----> and make sure the following is set...Code:make menuconfig
also check that:Code:<M> Generic IEEE802.11 Networking Stack <M> Software MAC add-on to the IEEE 802.11 netowrking stack
is also set.Code:Device Drivers / Network device support / Wireless LAN (non-hamradio) ----> <M> ZyDAS ZD1211/ZD1211B USB-wireless support
Next get the patch
Code:wget http://patches.aircrack-ng.org/old/zd1211rw_inject_2.6.22.patch wget http://patches.aircrack-ng.org/ieee80211_inject.patch
Now install the patch and rebuild your modules...
And copy the new modules to the /lib/modules tree to be used.Code:patch -Np1 --verbose -i zd1211rw_inject_2.6.22.patch patch -Np1 --verbose -i ieee80211_inject.patch
And rebuild your modules.
Reboot and you should be set to go.Code:make modules && make modules_install
PS.
I haven't tested thisTry it and if it works for you post back.
Please post ubuntu tutorials on the ubuntu forums. This is the backtrack forum. Anyway ubuntu sucks so I have a biased opinion.Moving to general IT
Thank you dr_green.
Do you have MSN so that I could ask you some questions?
PM me if you want me to add you,
Dave,
Thats NP Pureline.
I don't mean to be rude but could you ask your questions here please so if others are having the same issues as yourself they can refer to this post.
Yep I second that lolOriginally Posted by pureh@te
Cheers
Ok then
Well i'm at backtrack 3 now. I followed your instructions but my card still doesn't seem to want to inject :P