Building and running upc_keys.c on Mac OS X
Posted by jpluimers on 2016/01/27
Even after the SpeedTouch password algorithms were disclosed 2008, ISPs keep using weak algorithms to generate their default WPA/WPA2 passwords in their routers:
- https://www.usenix.org/system/files/conference/woot15/woot15-paper-lorente.pdf
- http://archive.hack.lu/2015/hacklu15_enovella_reversing_routers.pdf
A short while ago, blasty published code to generate the WPA2 passwords for UPC routers. Even though Ziggo now owns UPC, a lot of this UPC equipment is still in use. I guess it won’t be for long that similar code for Ziggo routers will be published too.
The code at https://haxx.in/upc_keys.c is easy to download, build and run on a Mac OS X machine even when you don’t have Xcode installed (use the “xcode-select –install” trick):
wget https://haxx.in/upc_keys.c gcc -O2 -o upc_keys upc_keys.c -lcrypto ./upc_keys UPC0053284 5 ./upc_keys UPC0053284 24
–jeroen
Leave a Reply