Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2014, 15:09
suddenLy suddenLy is offline
Friend
 
Join Date: Jan 2005
Posts: 60
Rept. Given: 2
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 7 Times in 7 Posts
suddenLy Reputation: 3
How to reverse set top box of TV

Dear ppl,

How can I reverse set top box of IPTV?
I don't know how to start this kinds of reversing.
My questions are...

1) how to reverse the ROM or memory of set top box?
is there any universal method to download the firmware?
(and maybe including upload the modified firmware)

2) how to capture the packet of IPTV with my PC?
I don't know how to configure the network.
Reply With Quote
  #2  
Old 11-26-2014, 22:17
Syoma Syoma is offline
reverse engineer
 
Join Date: May 2009
Posts: 338
Rept. Given: 35
Rept. Rcvd 77 Times in 50 Posts
Thanks Given: 15
Thanks Rcvd at 78 Times in 51 Posts
Syoma Reputation: 77
1) No universal method. Identify firmware and hardware components first. Then decide which method applicable to grab fw.
2) Configure PC as proxy and grab traffic using wireshark, for example.
Reply With Quote
  #3  
Old 11-27-2014, 00:48
Storm Shadow's Avatar
Storm Shadow Storm Shadow is offline
Family
 
Join Date: Jun 2014
Posts: 281
Rept. Given: 186
Rept. Rcvd 191 Times in 78 Posts
Thanks Given: 138
Thanks Rcvd at 245 Times in 97 Posts
Storm Shadow Reputation: 100-199 Storm Shadow Reputation: 100-199
in my experience most Topbox have option for RS232 serial cable.Never seen one with it.
Uselly Putty the best software to grab / upload FW via RS232.Think off the port as a recovery (flash port)


Im pretty sure there have been made some custom fw for IPTV, (running on dreambox top-box etc)
__________________
The devil whispered in my ear, "you're not strong enough to withstand the storm."

Today I whispered in the devils ear, "I am the storm."
Reply With Quote
  #4  
Old 11-29-2014, 16:05
new_profile new_profile is offline
VIP
 
Join Date: Aug 2002
Posts: 148
Rept. Given: 27
Rept. Rcvd 7 Times in 7 Posts
Thanks Given: 43
Thanks Rcvd at 42 Times in 19 Posts
new_profile Reputation: 7
1/ Reversing the firmware of STB could be easy or difficult depending whether or not it is encrypted or not. It will depend too on the CAS Provider requirements (nds, irdeto, ...).
2/ In order to capture packets, find a hub or a switch with a mirrored port capability and set your PC on that port; then give Wireshark a try : it's powerful tool: you can decrypt all kind of traffic: dhcp (bootp), udp, ...

Cheers
Reply With Quote
  #5  
Old 12-11-2014, 22:37
sh3dow sh3dow is offline
Family
 
Join Date: Oct 2014
Posts: 158
Rept. Given: 113
Rept. Rcvd 79 Times in 24 Posts
Thanks Given: 458
Thanks Rcvd at 202 Times in 75 Posts
sh3dow Reputation: 79
hi
for Identify, analyzing and extracting firmware images use binwalk
tut for binwalk from author blog http://www.devttys0.com/blog/ [ best blog in firmware reversing]

link will help you
http://www.zlotkus.com/2013/09/reverse-engineering-telergy-t501-iptv-set-top-box/
-----------------------------------------
-binwalk result will be like this-
-----------------------------------------
PHP Code:
DECIMAL      HEX        DESCRIPTION
-------------------------------------------------------------------------------------------------------
131584      0x20200      romfs filesystemversion 1 size210864 bytesnamed YAMON_XLOAD.
393728      0x60200      romfs filesystemversion 1 size8042720 bytesnamed MIPSLINUX_XLOAD.
393891      0x602A3      LZMA compressed dataproperties0xA9dictionary size33882112 bytesuncompressed size8042532 bytes
8782336      0x860200     romfs filesystem
version 1 size8042720 bytesnamed MIPSLINUX_XLOAD.
8782499      0x8602A3     LZMA compressed dataproperties0xA9dictionary size33882112 bytesuncompressed size8042532 bytes
17170944     0x1060200     romfs filesystem
version 1 size2276400 bytesnamed imaterial.
18373849     0x1185CD9     Windows CE RTOS
18373851     0x1185CDB     Windows CE RTOS
18375770     0x118645A     Windows CE RTOS
18375772     0x118645C     Windows CE RTOS
19246092     0x125AC0C     gzip compressed data
from UnixDD-WRT dateThu Jan 1 01:00:00 1970
19250569     0x125BD89     gzip compressed data
from UnixDD-WRT dateThu Jan 1 01:00:00 1970
19250940     0x125BEFC     gzip compressed data
from UnixDD-WRT dateThu Jan 1 01:00:00 1970
19447294     0x128BDFE     gzip compressed data
from UnixDD-WRT dateThu Jan 1 01:00:00 1970
19792384     0x12E0200     romfs filesystem
version 1 size144144 bytesnamed xmaterial.
20054528     0x1320200     CramFS filesystemlittle endian size 39141376 version #2 sorted_dirs CRC 0x4bd0995b, edition 0, 44794 blocks, 2005 files
41886683     0x27F23DB     gzip compressed dataASCIIextra fieldhas commentcommentlast modifiedThu Jul 24 16:42:19 2008
53363176     0x32E41E8     TROC filesystem
852941726 file entries
57071804     0x366D8BC     JFFS2 filesystem data big endian
JFFS node length339134 

Last edited by sh3dow; 12-11-2014 at 23:20.
Reply With Quote
The Following User Gave Reputation+1 to sh3dow For This Useful Post:
Youtoo (12-13-2014)
The Following 2 Users Say Thank You to sh3dow For This Useful Post:
johnpitt (06-02-2015), LordGarfio (04-12-2016)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse CRC ... debugasm General Discussion 6 01-25-2020 13:06
Audio API Reverse obfuscator General Discussion 3 11-26-2014 18:53


All times are GMT +8. The time now is 04:32.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )