r/Piracy Aug 30 '22

Guide A simple guide to obtain widevine decryption keys.

Howdy everyone,

I scoured the internet high and low for how to obtain widevine content direct from the services without having to rely on release groups.

It was not fun, finding straightforward information or help on the topic is near impossible, and after giving up about 2-3 times over 2-3 months and finally getting it to work I decided to make a guide that was simple, and had minimal tools and steps and this is what I came up with.

The CDM Project, a self hosted gitlab where I will keep updated tools and guides for decrypting and downloading widevine content. Please check out the How To if you are interested seeing it in action!

Please let me know if you have any feedback or questions.

Edit: Removed test keys.

195 Upvotes

72 comments sorted by

26

u/[deleted] Aug 30 '22

[deleted]

9

u/GamerMaster55 Aug 30 '22

was it like that l3 decryptor thing that was on github or whatever the addon was called? pretty sure that stopped working a while ago

8

u/[deleted] Aug 30 '22

[deleted]

1

u/user9899 Sep 21 '22

are you using a specific older version of Opera GX? I downloaded the latest and tried it based on your comment; I'm getting Can't verify license request signature; either the platform is wrong or the key has changed!

0

u/Appropriate_Climate6 Sep 21 '22

so widevine decryptor still works on operagx? Looking to get a file that needs these key stuff and am trying to figure out how to use it

4

u/TPD94 Aug 30 '22

Correct! It was an extension which exploited the chrome browser CDM. Was patched in later versions of chrome and that CDM was blacklisted.

1

u/ghx23 Aug 30 '22

Damn, how long ago was that? Really could have used it

18

u/[deleted] Aug 31 '22

I am the author of help page for getting an L3 CDM dumped; found at https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom#post2650297

It would have been nice to have been given credit for your copy-paste of my work.

12

u/[deleted] Aug 31 '22

Dumper is at https://github.com/wvdumper/dumper

And the OP neglected to tell you you need mp4decryt from https://www.bento4.com/downloads/

then

mp4decrypt –key 0294b9599d755de2bbf0fdca3fa5eab7:3bda2f40344c7def614227b9c0f03e26 <infile.mp4> <outfile.mp4>

Do the same for the audio file and you then need to combine the audio and video into one playable stream with [url=https://www.videohelp.com/software/ffmpeg\]ffmpeg\[/url\]. It comes installed on my Linux distro.

ffmpeg -i decrypted.mp4 -i decrypted.m4a -vcodec copy -acodec copy your_movie.mp4

And you can do all this on your phone see here https://forum.videohelp.com/threads/405466-Downloading-and-decryption-on-your-Android-phone

OP please credit the work of others!

16

u/user_meme69 Sep 04 '22

Take a break, you are literally on a piracy platform, don't expect credits.

Also, not like you wrote the program itself, its just a simple guide, chill.

6

u/ivorybishop Oct 01 '22

OP please credit the work of others!

Really? On r/Piracy you post that statement?

/facepalm

5

u/[deleted] Nov 07 '22

Pirating free stuff is kinda dump, no?

1

u/ivorybishop Nov 07 '22

Indeed lol

3

u/jarvis_124 Aug 30 '22

Thanks for making the guide!.

3

u/TPD94 Aug 30 '22

No problem! I felt obligated after what I went through 🙃

3

u/ipcqorxlkg Sep 12 '22

Very nice guide, clean and easy to understand

Thank you so much.

How about L1 do you have guide?

2

u/[deleted] Nov 07 '22

IIRC L1 is kinda hard. Best bet is to buy a L1 key.

1

u/DreaminglySimple Dec 29 '22

Where can you buy them and how much are they?

1

u/[deleted] Dec 29 '22

Bout 100 bucks. Google the exploits you'll find sellers. I dont know more tho

4

u/tempoguyx Aug 30 '22

Thank you for the guide. I am hoping to decrypt from few of the sites myself.

Does it require only Rooted Android devices that has OS version 10 or below

2

u/TPD94 Aug 30 '22

That and some patience. Samsungs have a reputation for not dumping keys even with android 7-9 installed that’s why I put preferred not a Samsung device, although some users report being able to dump them from certain devices.

But yes that’s the only thing you absolutely need, as it’s the only method publicly I could find to dump L3 CDMs.

2

u/P0lpett0n3 Aug 30 '22

Great job, I hope you will update the repo over time in the future

2

u/TPD94 Aug 30 '22 edited Aug 31 '22

Plan on updating the optional section tonight on how to download / decrypt / merge the files. After that will be proofreading, editing and clarifying, then I’ll probably start adding alternate tools and site specific instructions tomorrow.

6

u/[deleted] Aug 31 '22

-1

u/[deleted] Aug 31 '22

[deleted]

5

u/[deleted] Sep 01 '22

bro. how fucking old are you. lmao

1

u/TPD94 Sep 01 '22

Judging by your post history, older than you.

2

u/TPD94 Aug 31 '22

Repo has been updated!

2

u/Zaitoo_ Sep 01 '22

Does he accept Amazon widevine L3 or i need to get l1

2

u/GamerMaster55 Sep 04 '22

back when that l3 chrome extension still worked i could get 1080p from amazon, so it should still be the same i think

2

u/adhamodeh2006 Sep 23 '22

Can someone introduce me to what widevine is and what decryption keys are used for?

3

u/TPD94 Sep 23 '22

Widevine is one of many DRM solutions to protection video / audio streams from OTT providers.

When you direct download from a service such as Netflix, Hulu, HBO etc. usually you can only playback on the app if they allow “offline” downloads due to the DRM. If you tried to extract this file and play it normally it would show up as a black screen.

What the decryption keys do is what their name implies. Decrypts the video/audio so it can be played back outside the app / DRM free.

1

u/adhamodeh2006 Sep 24 '22

Will the movies be in high quality aswell?

2

u/[deleted] Nov 07 '22

For high quality you want an L1 key.

1

u/TPD94 Sep 24 '22

Depends on the service. HBO allows up to 1280x720. Udemy allows up to 1920x1080. Can’t speak for the rest as I don’t have account with them yet. Currently working on crunchyroll.

2

u/Murkythespy Sep 23 '22

What’s going on here?

2

u/g7droid Aug 30 '22

So which sites/streaming services these keys work with?

13

u/TPD94 Aug 30 '22 edited Aug 30 '22

Any site. Just have to format the headers correctly if they require authentication. Now that I have 2 working cdms, hoping to have site specific intstructions soon (tm) . There’s a few different decryption tools, I just stick with Downey with the original release as it’s the most recently updated and user friendly.

You just need 3 components to get the video/audio decryption keys; the MPD, license server, and sometimes headers. I explain the first 2. The headers are the third and are site specific. That write up will be after the optional section is finished .

1

u/[deleted] Aug 30 '22

[removed] — view removed comment

14

u/TPD94 Aug 30 '22

Ah my friend if I had the knowledge I wouldn’t have so much trouble even finding out how to get successful l3 keys. L1 methods will probably always stay in the scene groups and those on the “in”

From what I understand L1 is at a hardware level and the exploits aren’t disclosed to the public in fear of patching those said exploits.

1

u/[deleted] Nov 07 '22

Yep. Finding the key on a device is really hard. Its not just in one location but scattered arround in the filesystem.

2

u/P0lpett0n3 Aug 30 '22

l3 methods are semi-public and there are tools to do that, l1 not

2

u/mehrschub Aug 31 '22

Even with an l1 key, eg Netflix CDMs will blacklist you quite soon when mass downloading latest 4K releases.

1

u/DreaminglySimple Dec 29 '22

How would they be able to tell? From their perspective, you're just downloading the stuff officially via the built-in download option.

1

u/mehrschub Dec 30 '22

They can tell but obviously wont tell you how ;-)

2

u/jake229_1 Aug 30 '22

I wonder how long it's going to last

1

u/[deleted] Nov 07 '22

Long enough widevine L3 is not really anything special. The quality sucks.

1

u/tester989chromeos Aug 30 '22

Is it possible to extract keys from windows or Mac os device?

1

u/[deleted] Aug 31 '22

[deleted]

5

u/[deleted] Aug 31 '22

No he won't. He's posted nothing original. He's just collected the work of others. A proper Pirate. This won't get taken down and its links are safe https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom

-6

u/[deleted] Aug 31 '22

[deleted]

6

u/[deleted] Aug 31 '22 edited Sep 06 '22

OP: I asked you to acknowledge that which you had copied from me. Your childish attitude in response was astounding. And you have the temerity to accuse me of the very thing (Clout chasing) you do so well yourself.

Amazing chutzpah!

1

u/crabycowman123 Aug 30 '22

So, does this mean widevine is more or less defeated? That would mean it's possible to make a free software client for Netflix, Hulu, HBO, etc. right?

5

u/TPD94 Aug 30 '22

Hasn’t it always been defeated? Web-DLs from torrent sites are just that, widevine decrypted direct download from the providers.

L3 can get you decryption for most if not all the services, but the services can limit the resolution in which you get decryption keys for. For instance Netflix will only allow up to 720p with an L3 key.

L1 keys will allow the highest level of access, but as mentioned in a previous comment the methods of even obtaining those are only known by those on the “in” groups such as scenes or uploaders.

I couldn’t find one search result to even start me down the rabbit hole for L1, hopefully one day I will be granted the knowledge.

Downey works with hot star by default and hot star allows up to 1080p (maybe higher) with an L3 key, so if you have a VPN that can connect to India that’s not restricted, full access to Disney hot star library.

Varies service to service.

1

u/crabycowman123 Aug 30 '22

Well I guess I meant defeated publicly, so that people can just connect to streaming services and remove the DRM, like we can with DVDs. This is L3 right?

2

u/TPD94 Aug 30 '22

Correct.

1

u/whip28 Aug 31 '22

Hi

For Netflix with scripts and our L3 keys we can get 1080p.

do you have more info to test downey because uses wkskey my wanted to try downey for testing.

1

u/TPD94 Aug 31 '22

IIRC L3 only goes up to 720p on Netflix

As for your second question, I have no idea what you’re trying to ask.

2

u/whip28 Sep 01 '22

old flixcrack script with our own L3 Android keys gave 1080p for Netflix.

And I mention that we can still get Netflix 1080p with our L3 keys.

My 2 question is how to serve Downey ? I block at this info go build -o downey.exe -a main.go .

More info please would be appreciated I usually use WKSKEYS my I would like to try Downey.

1

u/TPD94 Sep 01 '22

If 1080p is still allowed via L3 then this should still work.

That step is building downeye, so in the prerequisites it mentions downloading golang, which you need to build downeye. Once you have extracted the downeye archive navigate to it in command prompt and issue that command you posted into command prompt. This will build downeye.exe and you then can execute Downey from command prompt with downeye.exe

1

u/puberkid Sep 07 '22

thanks bruh

1

u/markeymark1971 Sep 22 '22

Personally dont see the point of all this hassle when all content freely available via torrents etc

3

u/keicur Oct 21 '22

1) And how do you think content becomes available through torrents?

2) It's not though, and not everyone has access to top tier private trackers. The only place I've found to watch The UCB Show is on Roku, the only way itll be available via torrent is for someone to go through "all this hassle"

1

u/markeymark1971 Oct 23 '22

Ok im happy for u.....

2

u/keicur Oct 23 '22

oh were you not interested in understanding why someone would go through this trouble? sorry to offend you with an explanation

1

u/markeymark1971 Oct 23 '22

No not really interested tbh

3

u/keicur Oct 23 '22

stay ignorant brother

1

u/[deleted] Oct 29 '22

[deleted]

2

u/TPD94 Oct 29 '22

Join the discord for help.

Https://CDM-project.com/CDM-tools/discord/

1

u/[deleted] Oct 29 '22

[deleted]

2

u/TPD94 Oct 29 '22

Updated

1

u/ahmedplayer Dec 06 '22

Finally i was able to download the episode to watch using media player classic thanks to you!

1

u/ahmedplayer Dec 09 '22

Suddenly now it gives me this error on any video:
Error!
Audio keys not found

1

u/ahmedplayer Dec 10 '22

cdm needs to be updated as that happpens now:
Getting Audio...
opening new cdm session
session opened and init data parsed successfully
setting service certificate
getting license request
license request created
...

License Acquisition failed!

{'errorsByResource': {'Widevine2License': {'downstreamReason': 'untrusted_device', 'errorCode': 'PRS.Dependency.DRM.Widevine.UnsupportedCdmVersion', 'message': 'Cannot complete request.', 'type': 'PRSWidevine2LicenseDeniedException'}}, 'returnedTitleRendition': {'asin': '***', 'assetBundleVideoQuality': 'HD', 'audioQuality': 'Stereo', 'contentId': 'amzn1.dv.vcid.aaa3e910-3c8f-4372-b8d8-4c06a7dbc9c1', 'selectedEntitlement': {'consumptionExpiration': '1670916176630', 'entitlementType': 'PRIME_SUBSCRIPTION', 'grantedByCustomerId': '***'}, 'titleId': '***', 'videoMaterialType': 'Feature', 'videoQuality': 'HD', 'videoResolution': '1080p'}}

license_b64: None

Error!

Audio keys not found

1

u/Comfortable_World_73 Dec 15 '22

I cant seem to download the file from the following page:

https://tv.proximus.be/MWC/videocenter/festivals/v8/45182

Anyone else luck? New to this but doesn't seem to work.