crack thomson speedtouch wpa keys with your android phone

Posted June 7th, 2010 by cool

Python on android

You can use your android for domotics that's a lot of fun and impressive. But here is another way to impress your friends with your phone. There's a scripting environment available for the Android and that makes it possible to run python, which in turn makes it possible to run the python version of stkeys.

stkeys

stkeys is a little tool demonstrating a weakness in the thomson speedtouch wifi router default wpa key. The default wep/wpa key is generated by an algorithm which is based on the serial number and so is the default SSID. The algorithm was cracked a long time ago and is a nice demonstration of what you shouldn't rely on for security. This is a very dangerous situation as wrongfully thinking you are safe is even worse then running an open network.

Read more about this on gnucitizen.org

I remembered someone posted a python version of this tool in the comments on that article, this script runs on android without modification. I modified it a bit for convenience so it scans for networks and uses a GUI for easy usage.

Android scripting environment

To do this you need the android scripting environment, which you can install from here

Or scan this barcode with your android:

After you've installed the scripting environment start it in apps, (it's called ase)
Press menu, then view, then Interpreters, then menu again, then add and in this menu you can select the python interpreter.

When the interpreter is installed you can run python scripts (great!) you can even edit and write them on the phone with the build in editor.

The Script

Download the modified python script here

Connect the phone to your pc with the usb cable, and save the script on your sd card in the directory /ase/scripts

Next time you run the ase on your phone the script is available.

execute it.

select the speedtouch SSID (if there is any)

watch it running

within minutes you get 1 or 2 possible ssid keys. If you get 2 you just have to try them both.

Select the key and use the button to paste it to the android clipboard.

Disclaimer

This is obviously something you should only try on routers you own yourself or where you have permission to do this. The process is undetectable as long as you don't connect to the router. In most circumstances it's obviously illegal to decrypt network traffic without permission. Use this to convince people of changing the WEP/WPA key in routers where it's factory default, generated keys are not safe.

A great tool

This Scripting environment on the android is really cool, I did most of the (very rough) modifications I did on this script on the phone itself in just a few minutes.

Looking for more cool Linux stuff? blogrol is here


i done everything . when i

Anonymous 47 weeks 19 hours 56 min 35 sec ago

i done everything . when i open the ase and the script it founds the speedtouch i want to crack (cyta9799..) i select it and then nothing. it just says possible keys for ssid ending:.. any help?

Getting a error ___Main__.PY error any ideas?

Anonymous 1 year 1 week 2 days 14 hours ago

Basically I did everything but I am getting the error.

htc hero

Anonymous 1 year 21 weeks 4 days 16 hours ago

not working on htc hero android 2.1
Sl4A r2 "force close"

error

Anonymous 1 year 23 weeks 2 days 19 hours ago

i seem to get this error..

reloc_library[1164]: 4840 cannot locate '__aeabi_dcmpun'...
CANNOT LINK EXECUTABLE

any suggestions?

error

Anonymous 1 year 23 weeks 3 days 13 hours ago

hi ive done everything said above but i get this error.

reloc_library[1174]: 2569 cannot locate '__aeabi_dcmpun'...
CANNOT LINK EXECUTABLE

any suggestions? thanks

Python script

Anonymous 1 year 25 weeks 2 days 16 hours ago

I've tried this on a few wep secured routers, and nothing but "Day" shows up, no key at all, any settings I might need to change?