Author Topic: reverse engineering modem firmware  (Read 4384 times)

0 Members and 1 Guest are viewing this topic.

Offline AnarchyAngel

  • Peasant
  • *
  • Posts: 50
  • Cookies: 1
  • mmmm beer
    • View Profile
reverse engineering modem firmware
« on: January 16, 2014, 06:03:18 pm »
So im trying to modify the firmware of a ddr2200 modem and add a few programs like netcat and so on.


image used - http://home.centurytel.net/ihd/ciscoddr2200/Cisco%20DDR-2200%203.40.5E%20DHCP%20Firmware%20for%20IPTV%20&%20HSI%20over%20ADSL2+%20Bonding.bin


I used binwalk and brfwmod to split the bin into rootfs.bin, kernl.bin, and tag.bin
i then used lzma_unsquash to decompress rootfs.bin and edit the file system, then I zipped it back up but i have no idea how to pack it with the kernl and tag bins to something the modem can use. ideas?
« Last Edit: January 16, 2014, 06:05:00 pm by AnarchyAngel »
https://dc414.org - MKE area DEFCON group

Offline p1c4rus

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
Re: reverse engineering modem firmware
« Reply #1 on: August 03, 2014, 11:46:51 pm »
Hi.

You need infect kern.bin file (parse opcodes and find empty or modifiable blocks and point to jump your code  etc...). If you like build new rom you need code for compile this. I don't remember well but if you firmware use hash for detect changes in kernel.

The Moon is a malware with infection firmwares purposes.

Regards.