Social Feed

fire219
Last reply · posted in DIRECTV General Forum
--This was originally posted over at DBSTalk, and I have decided to move it over here as well (with slight changes), due to lack of activity over at DBST. Hope you guys find this interesting. :) --

Before I get started......

Disclaimer:
First of all, I am new around here, so I may have put this in the wrong place. It may not even be welcome here on SatelliteGuys at all, due to the potentially sensitive subject at hand. I am not attempting to decrypt the transmissions/recordings from DirecTV, simply reuse this hardware. If you do choose to participate, I am not responsible if you incur the full wraith of DirecTV upon yourself.


Now let's get started. :)

A few months ago, one of our HD DVRs (HR21-700) started to act up (intermittently lock up and refuse to boot). It has been replaced by one of it's -100 brethren. However, DirecTV has not asked for this old box back (nor the access card, for that matter...), and has not incurred a non-return fee. I presume they have decided these machines are too old to continue reusing, and do not want them back. This means I have a rather capable computerized system to play with.

My end mission here is to get a new operating system on this box. I decided start my quest by dissecting the contents of the hard drive inside. Maybe it will give clues into the inner workings of this secretive box.



Reading contents of the HDD: (This happened a few months ago, so technical details may not be 100% accurate, until I gain the motivation to try this again)

After booting my computer into Ubuntu (I correctly doubted that the hard drive would be in NTFS or FAT32!), and several hours of trial, error, and profanity, I found that the hard drive has three partitions: the main XFS filesystem, a realtime (journaling) section, and swap space.

The swap space seems like it would be the easiest to pick apart, so I started there. I dumped it to a file (which I would share, but it was several hundred MB, and I seem to have lost it! :( ), and started reading. Right off the bat, I found boot logs, debug lines that confirmed that the HR2x boxes run Linux, RSA keys (no idea if it's the public or private one) and most interestingly, Java stacktraces! This gave me a lot of interesting info, but didn't help too much. Time to dive into the XFS filesystem.

After more hours of the above three stages, I finally got the XFS system mounted and readable. This is what greeted me.


(click for full screen)

Oooh, I see Linux root folders (lib and etc)!
...
Unfortunately, they don't contain much.
Screenshot%202014-08-05%2011.33.22%20thumb.png

(click for full screen)

Well, lets look at the other stuff... ooooh more java logs... can't find the actual jar files though :/
Screenshot%202014-08-05%2011.37.12%20thumb.png


(Continue exploring and not finding much. I did find the recording files, but I'm not going to cover that. I'm already likely on thin ice legally... I eventually get bored, and give up project for a few months.)
...2 months later...
Yea, lets see if I can get further this time!
...
Squashfs images! Maybe I can find something in these!
Screenshot%202014-08-05%2011.42.38%20thumb.png



The squashfs files.

These files are stored in the XFS partition, at /network/plugins.

The files are organized by three statistics: asset ID, asset version, and minimum stack version.

ID table:

7 - aac_mp4 (libraries and binaries for AAC, MP4, and "drmmanager")
13 - youtube (libs/bins for Youtube)
17 - AdInsertion (no idea, has bin "plgwrapper" and lib "libdtvport.so")
19 - itvwebkit (I assume it is for rendering of web content...)
21 - pgwsclient (some sort of administration tool(s)? contains stuff for cURL and lots of bash scripts...)
23 - hd_assets (all of the UI and sound elements)


Therefore, 7_2129_2129.squashfs is version 2129 of the libraries for AAC and MP4 files.


Also in the /network/plugins directory, is the signature files for the squashfs files.

For example, the sig file for 23_139_2100 is:

IMAGE = /var/network/plugins/23_139_2100.squashfs
SIGNATURE = 27124C37F3CE01D45674E797D752D13BAF520B1E413A226ECCCDA0F9008B4ABE4A3270CC3869AB56
SIZE = 11436032

And here is the image for the screensaver. :)

FpJ9MmX.png

to be continued.

So... what now?

Has anyone else experimented like this? If so, what have you found?

One of my current projects on this is to try to find a working serial port on the main board. So far, that has failed as well.

If someone thinks they could help, but don't have a sacrificial HD DVR, I could also send some of the files (such as squashfs images).

Thanks for reading. :)
14 Replies · 7022 views
  • Like
Reactions: Broe67
T
I would not mess with DirecTV like this if I was on the dark side of the moon, let alone post it or allow it at a forum!
  • Like
Reactions: Broe67
fire219
I would not mess with DirecTV like this if I was on the dark side of the moon, let alone post it or allow it at a forum!

They have said they do not want the box, therefore we legally own it now. They cannot touch me, unless I start trying to decrypt their transmissions from the satellites. Which I'm not going to. There are much easier (and much more legal!) ways to get TV shows.

Yes, directv hardware does very much run linux, and this is known. You might want to start out by seeing how /proc mounts and building a custom kernel with support alternate filesystems and make sure it has common binary support. You might also want to see if you can get some serial support out of one of the USB ports on the IRD, that way you can execute commands (load applications). This should get you to your next step ;-)

I never claimed that the fact that these boxes run linux was my discovery. I just found plenty of confirmation. ;)

What I have found is that the hard drive seems to mount as /var. All of the other Linux root folders must be on that (at the moment, untouchable) flash chip on the main board. That means the best chance I have on getting my own code to execute is to figure out how to reliable activate one of the various bash scripts on the hard drive during operation, and modify it to launch Dropbear and/or BusyBox. I could also replace a non-essential binary with said utilities.
J
They have said they do not want the box, therefore we legally own it now. They cannot touch me, unless I start trying to decrypt their transmissions from the satellites. Which I'm not going to. There are much easier (and much more legal!) ways to get TV shows.



I never claimed that the fact that these boxes run linux was my discovery. I just found plenty of confirmation. ;)

What I have found is that the hard drive seems to mount as /var. All of the other Linux root folders must be on that (at the moment, untouchable) flash chip on the main board. That means the best chance I have on getting my own code to execute is to figure out how to reliable activate one of the various bash scripts on the hard drive during operation, and modify it to launch Dropbear and/or BusyBox. I could also replace a non-essential binary with said utilities.

Possibly both options. I'm not sure if the binaries are signed or not, tho. I've also wondered if you dropped in your own binary, would it just show in the menu?
fire219
Possibly both options. I'm not sure if the binaries are signed or not, tho. I've also wondered if you dropped in your own binary, would it just show in the menu?
Each of the squashfs images (as described above) has a signature in the corresponding .sig file. I think that if I modify the signature to match the changed squashfs image, it may work. I just don't know how it's signed. It's an 80 character hex signature. I also don't know if there are other security measures, hiding elsewhere. That's got me scared, as one mess up could potentially brick the box, meaning game over. (Even in that case, I've have fun, and now have a spare 320GB hard drive!)

I seriously doubt that just dropping in a binary would make it magically show up in the menu. Anything is possible, I guess.
ranmic
I'll just stick with my ESXi host... :-)

Posted Via The FREE SatelliteGuys Reader App!
fire219
I'll just stick with my ESXi host... :)

Posted Via The FREE SatelliteGuys Reader App!
That's no fun! :(
*hides my list of 16 VirtualBox VMs behind my back*
  • Like
Reactions: ranmic
ranmic
LOL, its all good. Not a bad way to make a living.

Posted Via The FREE SatelliteGuys Reader App!
Scott Greczkowski
We have been contact by DIRECTV about this as there are concerns about trying to reverse engineer the DIRECTV receivers could be a DMCA violation.

To err on the side of caution, I am going to close those one now until I can get some clarification.

Thanks for your understanding.
  • Like
Reactions: ranmic
TWiT Tech Podcast Network
· posted in TWiT Tech Podcast Network
0 Replies · 2 views
osu1991
Pub Member / Supporter
Last reply · posted in TV Shows
2 Replies · 55 views
  • Like
Reactions: Howard Simmons
Howard Simmons

Another Tulsa King spin off.🙄
dishstaller
Another Tulsa King spin off.🙄
But.....if you like Tulsa King....looks like you would probably like this as well. I don't mind spin-offs as long as they don't involve a sassy niece who moves from the big city :rolleyes:
T
Last reply · posted in DISH Network Support Forum
I thought I would come here and find lots of complaints about the update to the dish anywhere mobile app, but am not seeing any. It used to look just like the desktop webpage. Now you can no longer filter by sports channels or movie channels. Plus that they made it look like a big button telephone and you see fewer channels in the screen which requires more scrolling. Yes I realize you can look at sports then select which sport you want to look at, I just liked being able to see all sporting events in the guide with all other channels being filtered out. Am I alone in the wilderness on this?
3 Replies · 56 views
  • Like
Reactions: dishstaller
Juan
Not alot of dish customers any more
Foxbat
I'm not a big fan of the new layout, especially on my Apple TV. It used to look like the old Guide layout on the Hopper 3, but they changed parts of that, too.
  • Like
Reactions: charlesrshell
dishstaller
I really dislike change for the sake of change
TheRatPatrol
Last reply · posted in TV Shows
Anyone else watch this show? Any guesses as to what was in the box Gibbs gave to Abby that was on her desk? It look liked it was glowing.

I also heard that someone was leaving the show at the end of this season. Any guesses as to who thats going to be?
2132 Replies · 214683 views
Jimbo

Howard ...
You don't like Tony, or Tony as the Director (he's only been there for 30 seconds now) or you don't like NCIS ?
  • Like
Reactions: Howard Simmons
Howard Simmons
Howard ...
You don't like Tony, or Tony as the Director (he's only been there for 30 seconds now) or you don't like NCIS ?
Tony as the director.🙄
Jimbo
Tony as the director.🙄
Would you rather have LaRoche ???
  • Like
Reactions: Howard Simmons
dfergie
I liked this episode and a toned down Tony...
  • Like
Reactions: Jimbo
Howard Simmons
Would you rather have LaRoche ???
No. Bring in someone new.🤔 Tony is not serious enough for me. Parker is too close to the team and Tim is too young to take over IMO.
Jimbo
No. Bring in someone new.🤔 Tony is not serious enough for me. Parker is too close to the team and Tim is too young to take over IMO.
I don't think Tim and Tony are that far apart in Age ...

Remember what Tony said to Tim when they first got back together ...
Tony said: I am the New Tony, Tim .... (something to that effect)

Tony has changed, he's been running his Security Business ... I'm sure he has grown up.

Give it time ... your judging the New Tony from the old Tony.

It sounds like Tim won't be around the Team much longer either.
dishstaller
Pub Member / Supporter Lifetime Supporter
Last reply · posted in Movie Talk
Might be worth a watch when it comes out. Looks like typical big corp against the little guy movie BUT....there is a reason this plot type is so oft repeated, it draws audiences.


View: https://www.youtube.com/watch?v=_-f9OGsKHd4
1 Replies · 11 views
dishstaller
BTW, I noticed right after I posted this that someone else had already mentioned it....sorry for the duplicate thread. Still looking forward to seeing the movie.
meStevo
Lifetime Supporter
Last reply · posted in Movie Talk
If you're going try to read / listen to the book (can't recommend the audio book enough) before this comes out, I'd avoid trailers.

Trailer below, spoiling it to make sure you read the above bold message first. The book / audio book are fantastic. Go into this blind if you can IMO!




Kind of disappointed at how much they show. A lot still to see, but man, some good reveals in the book that are just served up here.
21 Replies · 715 views
  • Like
Reactions: dfergie
meStevo
I've seen it twice. Can't recommend the audio book enough, Ray Porter's performance is amazing and there's so much more in the book than the movie.
  • Like
Reactions: Foxbat
Foxbat
"Project Hail Mary" should be on Prime Video starting Friday, July 3.
  • Like
Reactions: Howard Simmons
K
Forgot to comment. I did watch when it first came out on MGM. I enjoyed it a lot. I think reading the book made it easier to watch. Several friends commented it was a little hard to follow.
TRG
TRG
"astrophage". I read the book but didn't see the film yet.
  • Like
Reactions: Foxbat
Howard Simmons
"Project Hail Mary" should be on Prime Video starting Friday, July 3.
That's what I will be watching this weekend.🤗
  • Like
Reactions: Foxbat
K
Kindle book on sale for $2.99 today at Amazon.
dishstaller
.........there's so much more in the book than the movie.
I agree. That can go for pretty much any book vs movie. Back when I was single I would read any Stephen King or John Grisham book I could get my hands on. When you read a book you make up the scenes and characters in your mind.....the movie version always disappoints.
meStevo
Lifetime Supporter
Last reply · posted in The Sports Section
Schedule drops tomorrow. Mandatory mini camps in June. Hall of Fame game August 6th.
110 Replies · 1619 views
  • Like
Reactions: Jimbo and dfergie
Y
Selfish Drake Maye holds back on giving the ball to Bills unlike Jags game, gets the win on the road.
Y
Selfish Drake Maye holds back on giving the ball to Bills unlike Jags game, gets the win on the road.
A big win for the Patriots, and they are now 3-2.

Browns lose a close one with... The Jets. That is a classic Browns loss (granted, any loss is a classic one it seems). 49'ers, Vikings, and Chiefs remain undefeated. The AFC north have a three way tie at 3-2 for second place. :eek:
osu1991
  • Like
Reactions: Mike0616
M
Hopefully nowhere near a microphone.
Y
Hopefully nowhere near a microphone.
After having experienced Gus Ferguson trying to call soccer games, I'm uncertain why NFL football analysts get hate. Even the "worst" of them are pretty good.
meStevo
Jalen Hurts out indefinitely as they treat and monitor a superficial blood clot in his leg.


View: https://x.com/RapSheet/status/2111074303185989663?s=20
  • Sad
Reactions: Foxbat
dishstaller
Pub Member / Supporter Lifetime Supporter
· posted in TV Shows
I had quit watching this show years ago because I ended up more annoyed than entertained. Well......I'm STILL more annoyed than entertained. I DO find it interesting to see how things work behind the scenes at many businesses. What annoys me is how utterly out of touch CEOs are with the companies they run. At the end of almost every episode the head of the company is amazed at how hard the employees have to work and many times have to work around impossible guidelines set forth from headquarters.

I found this one interesting because the new CEO had big plans for this company, Muscle Maker Grill, and it looked like the stores were all pretty busy. Recent history hasn't been good to this company however. I bet the covid lockdowns were the real killer.


View: https://www.youtube.com/watch?v=yIhZm0qkz0o
0 Replies · 9 views