FIOS-G1100 icon indicating copy to clipboard operation
FIOS-G1100 copied to clipboard

Get a NAND dump

Open ozwaldorf opened this issue 8 years ago • 14 comments

Need to dump the NAND and pull the firmware

ozwaldorf avatar May 24 '17 16:05 ozwaldorf

You should be able to do that using dd on the block device once you get a root shell.

jameshilliard avatar May 24 '17 21:05 jameshilliard

My bus pirate is delivered today, I might just dump from the chip directly

ozwaldorf avatar May 24 '17 21:05 ozwaldorf

@The5heepDev Any luck on the Bus Pirate?

Brandonv101 avatar Aug 22 '17 00:08 Brandonv101

@Brandonv101 no, haven't gotten a chance to look at it. Also, do you know which chip specifically is the NAND chip?

ozwaldorf avatar Aug 28 '17 17:08 ozwaldorf

@The5heepDev Not really. I need to see some internal pictures first to tell. I just got my 5th gateway as my old one just gave up after I tried to get a NAND dump via SSH. I think that the HAN port might be a UART but I can't confirm.

Brandonv101 avatar Aug 29 '17 00:08 Brandonv101

@Brandonv101 I tried looking into the HAN port as a UART, didn't have much luck - I wasn't very thorough, though. The cpu is definitely trying to open up 4 UART interfaces tho

ozwaldorf avatar Aug 30 '17 04:08 ozwaldorf

@The5heepDev If I had another G1100 I could open it up and see. Although where these UART interfaces lead I have no idea. If we can only get access to the UART then we will probably have some luck.

Brandonv101 avatar Aug 30 '17 15:08 Brandonv101

There is an internal UART but it isn't really useful for anything other than viewing boot logs without a signed RSA token(which can probably only be created by greenwave and is device specific) attacked via USB or activation via the tr-69 backdoor(which is kinda pointless since you would have ssh access at that point anyways).

jameshilliard avatar Aug 30 '17 15:08 jameshilliard

@jameshilliard I think I am going to try SSH again and see if I can get it working. Not sure if this matters or not but can I run GenieACS in a VM instead of on an actual machine because for some reason when I run it in a VM (VMWare Fusion) the router only pulls the TR-069 programming once and disconnects.

Brandonv101 avatar Aug 30 '17 17:08 Brandonv101

There might be a nat issue - are you using host bridge or passthrough?

ozwaldorf avatar Aug 30 '17 19:08 ozwaldorf

I am using a passthrough to allow the VM to get access to the ethernet port but on a different IP.

Brandonv101 avatar Aug 30 '17 23:08 Brandonv101

@The5heepDev Is there a pre-made genieACS VM that I can get? That will help me speed up the process of getting a NAND dump.

Brandonv101 avatar Feb 23 '18 21:02 Brandonv101

@Brandonv101 not sure, I know there is a docker you can use though https://hub.docker.com/r/thebinary/genieacs/

ozwaldorf avatar Apr 02 '18 16:04 ozwaldorf

@The5heepDev Thanks I will take a look.

Brandonv101 avatar Apr 02 '18 19:04 Brandonv101