Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 11 12 [13] 14 15 16

Author Topic: BT Home Hub 3.0 - Type B  (Read 205196 times)

SecTSys

  • Member
  • **
  • Posts: 84
  • I only work with HTCPCP
    • Putney Computers Facebook page
Re: BT Home Hub 3.0 - Type B
« Reply #180 on: January 29, 2013, 06:38:54 PM »

Awsome - oh and btw - they still haven't updated the firmware on the router!!!
Logged
Visit the Live Gaming Website STSLG Website
Visit my YouTube gaming channel at STS Live Gaming

btsimonh

  • Member
  • **
  • Posts: 20
Re: BT Home Hub 3.0 - Type B
« Reply #181 on: January 29, 2013, 09:27:59 PM »

one other thing that alludes me at the moment is the user & password for the CLI.  The CLI *MAY* allow us to re-sign the rootfs....

s
Logged

btsimonh

  • Member
  • **
  • Posts: 20
Re: BT Home Hub 3.0 - Type B
« Reply #182 on: February 02, 2013, 06:34:47 PM »

I'm pretty close to understanding what we could do to enable write to the jffs2...  Anyone up for checking my dis-assembly and methods?  Testing it is high risk :)
Logged

zcutlip

  • Member
  • **
  • Posts: 33
Re: BT Home Hub 3.0 - Type B
« Reply #183 on: February 02, 2013, 07:12:57 PM »

I'm pretty close to understanding what we could do to enable write to the jffs2...  Anyone up for checking my dis-assembly and methods?  Testing it is high risk :)

I'm hoping to pitch in if I have some time over the weekend.  You're moving much faster than I have been lately. 

Once we can write to the JFFS2 we'll be able to do a number of things, such as enable ssh, and instrument some of the programs on there which will further aid analysis.

Have you noticed that if you plug in a USB drive it gets mounted?  Great way to get a debugger or other utilities on there without touching the root file system.

Recently, and for the foreseeable future, I'll be keeping personal and work projects a bit more segregated.  This basically means I won't have as many spare cycles as I used to. :(  Hopefully I'll continue to be helpful though.

I also have some ideas for snagging the user & password for the CLI. I was working on that quite a bit before Christmas but haven't circled back lately.

Zach

Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: BT Home Hub 3.0 - Type B
« Reply #184 on: February 02, 2013, 09:09:36 PM »

Having initiated this thread with some images of the PCB, way back in November 2011, I have subsequently had very little to contribute . . .

Needless to say I follow all progress and discussion, avidly. When time permits, I will perform tests and checks to confirm potential results. I suspect that there are a number of more experienced persons working on this device, over at PsiDOC. Cross-pollination is good!  ;)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

zcutlip

  • Member
  • **
  • Posts: 33
Re: BT Home Hub 3.0 - Type B
« Reply #185 on: February 02, 2013, 10:01:52 PM »

I suspect that there are a number of more experienced persons working on this device, over at PsiDOC. Cross-pollination is good!  ;)

Some of us are on both. ;-)
Logged

btsimonh

  • Member
  • **
  • Posts: 20
Progress and Warning
« Reply #186 on: February 09, 2013, 05:11:39 PM »

I have successfully changed the 'Digital Check' flag....
cli is modified to take any username and password, then
'upgrade set flag n' (n 0-4?) sets it.
'upgrade get flag' gets it.

equipcmd is modified to take out 'CmdEnableCheck', and this has
'equipcmd disbootfrom' which displays main or 'salve', and
'equipcmd setbootfrom SLAVESS' which changes it to slave image.
When the set command is run in gdb, it reads the 16k of flash which contains the boot flag at offset 0x3000 - this is how i confirmed it actually changed.


Once I had confirmed it had actually changed, and re-checked the CFE code where a value of '2' produces a print of 'SIGN NONE CHECK', a I was supremely confident...

I tested change to '1' and reboot, and it changed back to '0' (for '1', CFE seems would say 'SIGN FIR CHK.' (first?).
I tested change to '2' and reboot, and it stayed at '2'.

Even more confident now, I set it to use the SLAVESS.  On reboot, it reported it was using main again...

Then, the fatal blow.  I remounted the rootfs rw
mount -o remount,rw /
then i copied a file into bin, and rebooted.

Now i have a lovely red light, and a web page inviting me to supply an upgrade file....

My only saving grace is that MAYBE mine will take an unsigned upgrade file :(...  I have the flash image, so I could investigate the DG source's image file creation, and see if I can make something that works...  but....


mod to cli is:
change 0x39cd to 40->00
change 0x39e5 to 40-?00

mod to equipcmd is:
change 0x190 1044->0000
change 0x1906 027e->0000

So, experiment, but don't change the FS unless you are even more sure than me!!!

We need a mips simulator running the CFE before we do this again...  I think we are going to need to change the CFE, which also means we'll need to re-write the jffs2 completely as the CFE boot part only looks for the first jffs2 reference to cfe.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: BT Home Hub 3.0 - Type B
« Reply #187 on: February 09, 2013, 06:08:00 PM »

Oh . . .  :o

So close but not close enough. Keep on with the good work, when time permits, please.  :)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

zcutlip

  • Member
  • **
  • Posts: 33
Re: Progress and Warning
« Reply #188 on: February 10, 2013, 01:25:03 AM »

Now i have a lovely red light, and a web page inviting me to supply an upgrade file....

My only saving grace is that MAYBE mine will take an unsigned upgrade file :(...  I have the flash image, so I could investigate the DG source's image file creation, and see if I can make something that works...  but....

This is very disappointing.  Same result I had first time I touched the file system.  Fortunately I still have a couple more devices that still work.  I'm hoping to have time to resume research soon.

Two things that would help immensely if any one wants to pursue them are:
(a) intercept the device's update process and snag an update file.  There are a few ways to approach this problem.  I can help with this if anyone's interested.
(b) locate a UART or JTAG header on the device's circuit board.  It seems like there isn't one, but I'd like to be wrong.

Zach


Logged

zcutlip

  • Member
  • **
  • Posts: 33
Re: BT Home Hub 3.0 - Type B
« Reply #189 on: February 10, 2013, 01:53:27 AM »

btsimonh,

Looks like you need my "Hacking is Bullshit" t-shirt I made on Zazzle:
http://www.zazzle.co.uk/hacking_is_bullshit-235070800087539298?rf=238129238465169149

(Full disclosure.  That's an affiliate like that sends me a kick back if you buy the shirt.)

Zach

Logged

Howlingwolf

  • Reg Member
  • ***
  • Posts: 107
Re: BT Home Hub 3.0 - Type B
« Reply #190 on: February 26, 2013, 03:57:28 PM »

Well...   This is embarrassing...

I finally got one of those silly circular things (round-twit) and started looking at the homehub again.


Unfortunately I, err...  Cannot get the exploit to work  :-[

Using wireshark I can see the SSDP request going out but there is no response from the homehub.

I've checked the firmware version, tried several different configurations including Zach's default (192.168.99.64) and even hooked it up to my line to check it was working properly which it certainly appears to be. I had no trouble accessing the internet using it.

So now I'm sort of stuck...  :'(

Suggestions anyone?
Logged

zcutlip

  • Member
  • **
  • Posts: 33
Re: BT Home Hub 3.0 - Type B
« Reply #191 on: February 26, 2013, 04:21:59 PM »

Suggestions anyone?

What firmware version does it report?
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: BT Home Hub 3.0 - Type B
« Reply #192 on: February 26, 2013, 04:40:45 PM »

I've been meaning so say Congratulations to zcutlip!  ;D  Amazing discoveries!
At last got hold of a spare BTHH3.0b so I will try out the 'sploit on that  :)

cheers, a

Logged

zcutlip

  • Member
  • **
  • Posts: 33
Re: BT Home Hub 3.0 - Type B
« Reply #193 on: February 26, 2013, 04:44:32 PM »

I've been meaning so say Congratulations to zcutlip!  ;D  Amazing discoveries!
At last got hold of a spare BTHH3.0b so I will try out the 'sploit on that  :)

cheers, a

Awesome.  Let us know how it goes.  Be sure to get in touch with btsimonh either here or over on psidoc.  He has an impressive amount of unpublished research on the boot loader.

Logged

Howlingwolf

  • Reg Member
  • ***
  • Posts: 107
Re: BT Home Hub 3.0 - Type B
« Reply #194 on: February 26, 2013, 04:57:06 PM »

Suggestions anyone?

What firmware version does it report?

It's reporting the following which is the same version listed in your advisory.

Code: [Select]
Hub Firmware Information

Current firmware: V100R001C01B031SP09_L_B
Last updated: Unknown

Logged
Pages: 1 ... 11 12 [13] 14 15 16
 

anything