Rooting your Televerge/BandLuxe K530S

Written 2017-12-10

Tags:BandLuxe Televerge Root SSH 

Televerge

A seemingly defunct local telecom vendor, Televerge, sells cellular M2M connectivity solutions. They also dump their used prototype hardware at the thrift store. It turns out the OEM router at the center of their product is a BandLuxe K530S.

WebUI Access

I only need to turn this device into a router, so a hard reset brings it back to a state where username and password of admin can access the webui.

BandLuxe K530S

lulz

Download the configuration backup

Under system/backup you can download a configuration backup, and extract it to find it is a tarball of a bunch of files/etc.

BandLuxe K530S

Insert a backdoor

A simple second username mapped to uid 0 works great.

/etc/passwd:

root:x:0:0:root:/root:/bin/ash
rsaxvc:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/home/ftp:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
admin:x:0:0:root:/root:/bin/false
BR_dealer:x:0:0:root:/root:/bin/false
BRAdmin:x:0:0:root:/root:/bin/false
samba:*:1000:65534:samba:/var:/bin/false

/etc/shadow:

root:$1$PveCOSC/$3JESDrW4bFIKY1VcoXNFp1:0:0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
nobody:*:0:0:99999:7:::
admin:$1$CultXpWn$2/2qWocxogoTSXo8EzQYd1:15225:0:99999:7:::
BR_dealer:$1$m/pCtXTy$KBVjQicxMKgvky/Wv3tVO.:15225:0:99999:7:::
BRAdmin:$1$Mgp5H9O2$55Ra.DHoqHAm7FGM1qe3D.:15844:0:99999:7:::
rsaxvc:$1$BACKDOORPASSWORDHERE.:15844:0:99999:7:::

Assembly is the reverse of disassembly

Just tar up the files, and upload them, wait for the router to reboot, and:
rsaxvc@x220:~/code/bandluxe/etc$ ssh 192.168.1.1
rsaxvc@192.168.1.1's password: 


BusyBox v1.19.4 (2014-12-09 16:04:25 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

 --------------------------------------
  K530 
 --------------------------------------
root@K530:~#