Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #221  
Old 03-02-2015, 05:07 PM
Manual Manual is offline
Member
 
Join Date: Sep 2012
Posts: 64
Manual is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


If anyone figured out how to download 720p by now he'll just keep it to himself.
Reply With Quote
  #222  
Old 03-09-2015, 05:02 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by BlueCop View Post
Does anyone know more about the video and audio profile values?

Values with Fairplay DASH Enabled

Values with Fairplay DASH Disabled - HLS streaming

contentProfiles with nfdrm quality tweak(also disables fairplay dash)

so it inserts 17 and 18. This doesn't seem to work though.

Does anyone have a list of content profiles? I was going to play with modifying these but wasn't sure what to use.
Sorry for being away for a while. Life got busy.

The content profiles specify what a player is capable of playing. Adding profiles 17, 18 added the higher bitrate profiles; however, Netflix is no longer providing those profiles regardless of what you say you can play.


Content Profiles (Video)
----------------------------
"playready-mpeg4p2-piff" = 1
"playready-h264bpl30-piff" = 2
"playready-h264mpl30-piff" = 3
"playready-h264mpl31-piff" = 4
"playready-h264mpl40-piff" = 5
"playready-h264bpl30-dash" = 6
"playready-h264mpl30-dash" = 7
"playready-h264mpl31-dash" = 8
"playready-h264mpl40-dash" = 9
"playready-h264shpl30-dash" = 10
"playready-h264shpl31-dash" = 11
"playready-h264shpl40-dash" = 12
"none-h264mpl30-dash" = 13
"none-h264mpl31-dash" = 14
"none-h264mpl40-dash" = 15
"playready-h264mpl30-m2ts" = 16
"playready-h264mpl31-m2ts" = 17
"playready-h264mpl40-m2ts" = 18
"playready-h264mpl13-m2ts" = 19

Audio profiles
------------------------------
"ddplus-5.1-piff" = 24577
"heaac-2-piff" = 24578
"playready-oggvorbis-2-piff" = 24579
"playready-oggvorbis-2-dash" = 24580
"ddplus-5.1-dash" = 24581
"heaac-2-dash" = 24582
"playready-heaac-2-dash" = 24583
"heaac-2-elem" = 24584
"dd-5.1-elem" = 24585
"heaac-2-m2ts" = 24586
"dd-5.1-m2ts" = 24587
"dd-5.1-dash" = 24588

Subtitle profiles
---------------------
"simplesdh" = 49153
"webvtt-lssdh-ios" = 49154


Anyone making progress on Fairplay or PlayReady on windows? What's the state of key retrieval from an IBX?
Reply With Quote
  #223  
Old 03-10-2015, 11:11 AM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by BlueCop View Post
For the the old playready HLS streams I think the decryption key is actually stored in the video itself in an encrypted envelope. I don't know the details of how that works though.
You are correct. The reason for this is because of incompatibility between playready and HLS. HLS requires an AES-CBC-128 key whereas playready uses an AES-CTR-128 key. Netflix worked around this by encoding the HLS key in the encrypted envelope and then using playready to decode that key. That was the whole weakness in the HLS mechanism. At some point the Netflix app had to decrypt that envelope, grab the key and pass it off to the iOS player. And it was that point where key extraction was occurring.

Now with Fairplay, the key is not passed in the clear and extracting the key would require breaking Fairplay.

I suspect Netflix will try and drop HLS streaming as soon as possible. I would if I were them. Doing so would require Apple to either support IOS 6 on all devices or backporting Fairplay/Dash support to IOS5.
Reply With Quote
  #224  
Old 03-10-2015, 09:28 PM
Manual Manual is offline
Member
 
Join Date: Sep 2012
Posts: 64
Manual is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


It's funny because in the end you can still use a screen capture software and get a decent quality.
Reply With Quote
  #225  
Old 03-11-2015, 03:14 PM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by Manual View Post
It's funny because in the end you can still use a screen capture software and get a decent quality.
Even funnier, I could care less about downloading. What I enjoy is solving puzzles which in this case is breaking DRM.

FWIW, I think I've figured out how to extract keys from the PlayReady IBX.
Reply With Quote
  #226  
Old 03-13-2015, 01:17 PM
piratko piratko is offline
Junior Member
 
Join Date: Jan 2015
Posts: 1
piratko is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
FWIW, I think I've figured out how to extract keys from the PlayReady IBX.
I'm very much interested. Would you care to share please?
Reply With Quote
  #227  
Old 03-15-2015, 07:05 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
Even funnier, I could care less about downloading. What I enjoy is solving puzzles which in this case is breaking DRM.

FWIW, I think I've figured out how to extract keys from the PlayReady IBX.
So glad you're back!! Please PM me about the playready key extraction when you get the chance. Also don't post it publicly because I'm 90% sure that some people from Netflix have read some of these posts.
Reply With Quote
  #228  
Old 03-16-2015, 11:36 AM
enrud enrud is offline
Member
 
Join Date: Jun 2014
Posts: 33
enrud is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by ItsAngel View Post
So glad you're back!! Please PM me about the playready key extraction when you get the chance. Also don't post it publicly because I'm 90% sure that some people from Netflix have read some of these posts.
Yanking out the private keys from the IBX is going to be much tougher than I anticipated. Still working on it though.
Reply With Quote
  #229  
Old 03-21-2015, 09:16 PM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


Quote:
Originally Posted by enrud View Post
Yanking out the private keys from the IBX is going to be much tougher than I anticipated. Still working on it though.
Okay man, just keep me posted please😁
Reply With Quote
  #230  
Old 03-22-2015, 11:48 AM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

Re: I downloaded Netflix videos in HD, I can play off line,need a little help W/.key


enrud: I was extracting the playready public/private key pairs from a rooted chromecast. It also stores a database of XMR licenses that I could then decrypt for the content key. I have a lot of scripts for handling the XMR and playready certificate chains. It can verify privates keys and do some useful functions. I also have an MP4 atom box parsers that I meant to eventually handle decryption. I never got the code working like mp4decrypt though. I can specify the track id and content key with mp4decrypt and get correctly dercypted videos.

I investigated the silverlight playready IBX on windows and mac but it seemed heavily obfuscated. They use white box AES so the content keys aren't stored in the clear in memory. I never had much luck with the silver light IBX. I also investigated the actual silverlight request to MS that individualized the blackbox. It allowed me to generate a bunch of IBX files and certificate chains to compare.

It was interesting learning about Eliptic Curve Crypto. I have some code that can decrypt many XMR licenses to content keys. Some are special cases where they are different types of licenses(ex. leaf or seed key). I have a bunch of test XMRs collected from various playready ios apps(ex. amazon instant), chromecast, windows and mac silverlight.

The patent applications for XMR and playready were really helpful in figuring out all the various binary fields. I think I have a list of the interesting patents on another computer. here is an example http://www.google.co.in/patents/US20060265758

I wanted to publish a toolkit for playready but wasn't sure the best way to do that. I haven't really looked at it in a while. I know there are private playready hacks around because decrypted versions of playready exclusive content is available around on the web.

The chromecast has a few DRM libraries that were much easier to load into hexrays IDA Pro/decompiler because they weren't obfuscated as the SL IBX. It really helped me figured out a lot of the head scratchers.
Reply With Quote
Reply Post New Thread
Tags: , , , , ,



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:43 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons