View Single Post
  #1  
Old 04-08-2024, 18:29
Souldream Souldream is offline
Friend
 
Join Date: Sep 2023
Posts: 6
Rept. Given: 0
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 10
Thanks Rcvd at 9 Times in 3 Posts
Souldream Reputation: 2
Widevine has 3 level ( 1 -2 -3 ).

Software based ( level 3 )
Hardware based ( level 1 )

The best way for level 3 is making this :

You install AndroidStudio and create virtual machine based on Android.

Create a Pixel 7 Pro with API Level 28 and Target Android 9.

Download Frida bin for Android

https://github.com/frida/frida/releases/download/16.0.8/frida-server-16.0.8-android-x86_64.xz

Push the server frida bin on /sdcard with adb cmd and start your emulated android , run the frida server.

Create a local linux python VirtualEnv ( install frida pip dependancy as well ).

And download this -> https://github.com/wvdumper/dumper

* Launch frida server on your emulated Android
* Launch the script python wvdumper ...

Check if Script get connection to frida.

On Emulated android, open a browser and go to an url to play a DRM stream with widevine. ( Ex : https://bitmovin.com/demos/drm ).

On your console python log you will see some debug information and can check if your keys has been dumped.

In folder of wvdumper -> /key_dumps/ you will get folder tagged by serial Android with inside normally 2 files ( key & cert ) to be used for any downloader...

For L1 you need to dump secure area ... some exploits exist based on Widevine servlet to dump the AES key ( AES key will be used to provision cert / key ) on google server.

Google at any time can revoke kill keys and company can block as well ...

Pay attention that some blacklist L3 ..
Reply With Quote
The Following 2 Users Gave Reputation+1 to Souldream For This Useful Post:
blue_devil (04-10-2024), Mendax47 (04-09-2024)
The Following 7 Users Say Thank You to Souldream For This Useful Post:
blue_devil (04-10-2024), Mendax47 (04-09-2024), niculaita (04-14-2024), surferxyz (05-29-2024), tonyweb (04-13-2024), Windoze (04-11-2024), wx69wx2023 (11-01-2025)