dot11decrypt icon indicating copy to clipboard operation
dot11decrypt copied to clipboard

doesn't work on kali 1.0.9a

Open greyhound3 opened this issue 10 years ago • 11 comments

Hi Matias, i've compiled from a git clone, compiling worked fine (i've compiled libtins with -DLIBTINS_ENABLE_CXX11=1). However dot11decrypt can be started but not packets get forwarded to tap0 (wpa handshakes are captured by airodump-ng on mon0). If I turn on wifi (on my smartphone) dot11decrypt exits, I'm trying to decrypt my wpa2-ccip network. There are ready made kali images to download in a VM https://www.offensive-security.com/kali-linux-vmware-arm-image-download/ , could you please look into it?

greyhound3 avatar Dec 02 '14 15:12 greyhound3

Just confirmed this. I had a working setup on Ubuntu 14.04 64bit, tried doing the same steps on raspbian for the raspberry pi 2, but they don't have libtins on the repo so I had to compile from source. No complaints when compiling, but if you run it, it crashes when capturing handshakes (always when a new client joins the network). This also happens in Kali and there is also no package for libtins in the Kali repos. Since libtins is the only difference in the setup, I'm assuming that's what's crashing it. libtins from source is at version 3.1, and the ubuntu package is version 1.1-1, which may be the issue here. Kali users should be able to grab the libtins1 and libtins-dev (both v1.1-1) .deb files that work in Ubuntu (http://packages.ubuntu.com/trusty/libtins-dev and http://packages.ubuntu.com/trusty/libtins1) and try installing those through dpkg -i and see if it works.

Jack64 avatar Apr 25 '15 07:04 Jack64

Going to test on kali and mint with the version that Jack64 had working from repo. Using Mint repos for test, if test performs well, am going to dpkg-src it up

stryngs avatar Apr 25 '15 14:04 stryngs

Confirmed the issue in Kali 1.1.0; is a fix planned? I was able to successfully build libtins and dot11decrypt from git clones without any warnings or errors.

kleboeuf avatar May 10 '15 18:05 kleboeuf

Which architecture is having troubles? Is it only ARM or does this happen on x86 or x64 too?

mfontanini avatar May 10 '15 18:05 mfontanini

Thanks for your reply,

I'm running a Kali Linux virtual machine in VMware, the host OS is Windows 7, in case you were wondering.

On Sun, May 10, 2015 at 2:26 PM, Matias Fontanini [email protected] wrote:

Which architecture is having troubles? Is it only ARM or does this happen on x86 or x64 too?

— Reply to this email directly or view it on GitHub https://github.com/mfontanini/dot11decrypt/issues/4#issuecomment-100678759 .

kleboeuf avatar May 10 '15 18:05 kleboeuf

Is it a x64 Kali Linux?

mfontanini avatar May 10 '15 18:05 mfontanini

Yes

On Sun, May 10, 2015 at 2:29 PM, Matias Fontanini [email protected] wrote:

Is it a x64 Kali Linux?

— Reply to this email directly or view it on GitHub https://github.com/mfontanini/dot11decrypt/issues/4#issuecomment-100679199 .

kleboeuf avatar May 10 '15 18:05 kleboeuf

Okay so I've just tried running libtins tests on kali and the WPA2 decryption test crashes, so I'm able to reproduce this pretty easily. Will keep you updated.

mfontanini avatar May 10 '15 20:05 mfontanini

Although this sounds strange, this seems to be a compiler bug. If you use g++-4.6 instead of 4.7.2, it seems to work. You can do this by adding the -DCMAKE_CXX_COMPILER=g++-4.6 parameter when executing cmake.

I'll keep looking into this and see if I can find any workaround that also works on g++ 4.7.2.

mfontanini avatar May 10 '15 20:05 mfontanini

Kleboeuf, you can try using the .deb files for libtins provided here https://github.com/stryngs/airpwn-ng/tree/master/DEBs . I managed to make dot11decrypt work on the raspberry pi 2 using the armhf versions and stryngs has made it work in kali 32 bit .

Jack64 avatar May 10 '15 20:05 Jack64

I recompiled libtins with mfontanini's instructions and I'm up and running. Thank you for your help!

kleboeuf avatar May 10 '15 21:05 kleboeuf