LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-26-2009, 06:51 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Rep: Reputation: 47
can I hack into a roku box?


I just bought a used roku box off of ebay. It's a box that hooks up to your TV and streams movies from Netflix or Amazon through a wired or wireless connection to your router. I googled around and see that it runs Linux. Now, I'm wondering how much this can be tweaked or hacked. I want to see what's under the hood. I did an nmap from my Ubuntu pc and it said this:

Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-26 19:49 EST
Interesting ports on np-20f8cx007386 (192.168.1.44):
Not shown: 995 closed ports
PORT STATE SERVICE
8080/tcp open http-proxy
8083/tcp open unknown
8084/tcp open unknown
8085/tcp open unknown
8086/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds

******************************************

So some ports are open. Can I get into it from a networked pc? Maybe ssh or ftp?
 
Old 11-26-2009, 10:51 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Google is your friend:

 
1 members found this post helpful.
Old 11-27-2009, 05:32 AM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
lots of links there-thanks! I tried doing the telnet after a nmap force and telnet doesn't work now. Maybe Roku made their player more secure during one of it's updates?
 
Old 11-27-2009, 11:02 AM   #4
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
I opened it up (just 3 screws and some plastic tabs)-it has 1 GB of synchonous DRAM...it looks like everything is soldered, though, and not easily upgradeable. I want to add more memory so it can cache.

EDIT:

Actually, I read it has a lot less RAM. This is what it gives from a TTL to RS232 serial adapter:

--------------------------------------------------------------------
-- Griffin Primary Bootloader v0.1-1091d (17:15:35, Mar 20 2008)
-- Andre McCurdy, NXP Semiconductors
--------------------------------------------------------------------
Device: PNX8935 M1
Secure boot: enabled, keysel: 13, vid: 6 (expecting 6)
Flash config: 7 (omni: 8bit NAND), timing: 0x04
CPU clock: 320 MHz
DRAM: DDR400 (CL3), 2 x 2 64MByte 8bit devices: 256 MBytes
DRAM: 197 MHz, Bandwidth (MB/s): Rd 94.4, Wr 76.9, Cp 37.7
NAND: Samsung, small-page, 64 MByte (4096 x 16k blocks)
aboot exec time: 184581 uSec


U-Boot 1.2.0 (NAND or Rescue image - so no hardware configuration) (May 29 2008 - 18:13:11)

CPU is PNX8935 M1, CPU speed 320 MHz
Secure boot: enabled
Flash type is Nand
DRAM: 256 MB
## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
Flash: 0 kB
NAND: Remapping Bad Blocks: 3728
64 MiB
Env: default
Splash: done
u-boot startup time so far: 1077 msec

Image 0: Version 4
Image 1: Version 3
Application image detected
.................................................................................................... ..............................................................s
Partition 1: Verify uimage: Success
Application image detected
## Booting image at 8f406748 ...
Image Name: Linux Kernel Image
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 1423637 Bytes = 1.4 MB
Load Address: 80001000
Entry Point: 802ed000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

Last edited by linuxhippy; 11-27-2009 at 01:57 PM.
 
Old 12-08-2009, 04:00 PM   #5
smittex
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: Disabled
Very interesting.

I have been playing around with the idea of reverse engineering the Roku for a while. I have a spare that I ordered a month ago that I will be taking a bat at. For all accounts and purposes, you can load your own Linux on it, but this defeats most of what I'm trying to do: investigate Microsoft's DRM and Roku's framework for its channels.

Firstly, as we might know, we cannot stream Netflix videos to a Linux box without some windows virtualization. Since the Roku uses Linux, there has to be some kind of proprietary DRM that works with MS/Netflix. If this can be extracted, we can make a plugin for Firefox (or what have you) to watch Netflix's streams.

Second, besides the Roku being a nice small embedded device, if I can merely add a channel to it, I would be ecstatic. I would like to develop a channel to stream music, pictures, & videos from my server. All my current tries getting a UPnP/AV client working on the Nintendo Wii has failed, so I'm looking at the Roku to fill the gap.

By the way, what pins did you connect for the console?
 
Old 12-08-2009, 05:29 PM   #6
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu
Posts: 1,185

Original Poster
Rep: Reputation: 47
I didn't hook it up to a console-just read that somebody put a TTL to RS232 serial adapter on it...I don't have one of these. I'm not sure of the exact link where I read that now but I think I just followed the link above and followed more links off that page.

EDIT:

Googled around and found it here:

http://www.linuxhints.info/index.php...Netflix_Player

What I was hoping to do was expand the cached RAM by putting an SD card or some other flash memory device so that I could fast forward and rewind movies faster. I opened it up and couldn't find anything easily upgradeable but did read that there is a USB port in there...you would need to solder things, though.

Last edited by linuxhippy; 12-08-2009 at 05:38 PM.
 
Old 12-09-2009, 12:06 PM   #7
smittex
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: Disabled
For all accounts and purposes, you can upgrade the memory by desoldering the ram chip and soldering in a new, higher capacity, pin-identical chip, but it will not help you much as the cache is set by the firmware, which I haven't seen any decompiling of AND which has it's own security to block out non-official updates. Also, merely increasing the cache wouldn't allow for faster fast-forward nor rewind--that is limited by the software. The hurdles right now is reversing the firmware and/or reversing the security mechanisms already in place.

Thanks for the link. If I find some time this winter, I'll be tracking my progress on http://exploiting-protocols.com.

-b
 
Old 02-22-2010, 05:03 PM   #8
intipsicated
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Better option

Acer Aspire Revo AR3610-U9022 from new-egg is $329. Comes with an HDMI out, Wifi, gigabit wired ethernet, 2GB of ram, Windows 7, 160GB HDD (upgradable to 500GB) and a wireless keyboard and mouse. (probably able to use the same IR input to accept a universal remote)

While this may be a bit pricey for a network media player, there is a somewhat scaled down model for $200.

The $200 option is much like it's big sis. The differences? The $200 model offers a stingy 1GB of soldered on ram and comes with linux installed.

I'm thinking about putting one on each TV in my house and ripping all of my dvd's to my network storage, as well as streaming my netflix account.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: So what's the easiest box to hack - Vista, Ubuntu or OS X? LXer Syndicated Linux News 0 03-19-2008 09:30 PM
Challenge issued........hack my box!!! vswr31 Linux - Security 2 10-12-2004 08:52 PM
need help help please with fedora .. Is my box being hack? golpemortal Linux - Software 7 07-25-2004 12:39 PM
How to build a Linux Security / Hack Box Pistol Linux - Newbie 4 10-31-2003 01:36 PM
My Suse box is acting strange, hack or just traffic? skarlet Linux - Security 3 01-17-2002 03:34 PM


All times are GMT -5. The time now is 11:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration