Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#291
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
Hi KSV, I have been trying to look into the akamai HD player verification and packet decryption. After few weeks of work, i am able to get player verification working understood what was happening, using the player hash and encrypted string it creates the HMAC etc. Now, looking into tagDecrypt function, it takes the key (fetched via keyUrl by parsing the first packet) and the Packet Data. it then creates multiple HMAC with the key and then with internal data to get to the final stage, which i believe you call a global key. Here, i am little lost. I can see that its using a block cipher algorithm, possibly aes (but not sure ecb or cbc) where it operates using what look like aes code and then xor using some data then finally append it to response. Also, i dont know how we figure out when the encoded data starts as it definately got the header of some sort and then encrypted data section 16 byte long each. I can show you the code in PM about the PV code or this function that i am talking about. Let me know. |
#292
|
|||
|
|||
Re: Adobe HDS Downloaderok some more information and the confirmation that this is definately AES cbc.
Basic info for the first packet. the cipher key is Code:
31dc4a65c4d06334b61bc43653544915 Code:
0c0000000055e6de3d0000ffff8f107971716510636c4095195d0687592f7a2f5353315f31403330393730312f6b65795f415142534c5a6843507677387a7a3365356c58705a777461445958304644763345455a686e4c78576232524443376c705754382b5274427644614643385075396b5763394e396c720001399eedccbc8f2a0e59cecdd0f899410435387fce8bf4a20289a91a20d64254f50000000000000000000000000000000000000000b159aee6bed571bb8449ad3ab868d8be420a487379ffc80dea46f51351a892e6e0ef8b26b0af6998979c68e0f945f155075aaa9f14c7335f093b79355e15b039947655ce468001000428f96bc8 This is header This is IV This is Key Url Data This is encrypted data if you chop the encrypted data in 16bytes multiple then you get 79ffc80dea46f51351a892e6e0ef8b26b0af6998979c68e0f9 45f155075aaa9f14c7335f093b79355e15b039947655ce They cipher key converts into global key which is Code:
a930fb441df4db669815e4bbab0e33c9 so use the above encrypted data, then use the IV listed above and the globak key, apply AES cbc and you should endup with 48 bytes of data starting with 0x1700 remaining data will then append to make the final output which is Code:
1700000000014d401fffe10025274d401fb90c02802dd80880000003008000001970300013d6200027ac77bdc07c2211468001000428f96bc8 so now i have to find proper methods to know when the encrypted data starts and when the header finishes! feeling i am getting there. the global key calculation is not very far off but i am reusing the same key for the same data till i get reliably generate that. |
#293
|
|||
|
|||
Re: Adobe HDS DownloaderI had reversed the Akamai Player Verification long time ago and posted it here. many downloading software's and scripts around the web still use the same key i posted above. as for Akamai DRM the main hurdle was to derive per packet decryption key from global key as i have explained earlier in my old post.
|
#294
|
|||
|
|||
Re: Adobe HDS DownloaderQuote:
As for finding the global key for the request, there 5 steps, for various HMAC creation, using key and the portion of the encrypted packet, all 5 hmac are linked to each other, there is only one step left which i need to figure out how we are generating the key for that step so just there yet far away! |
#295
|
|||
|
|||
Re: Adobe HDS DownloaderI haven't looked into it for long time so things may have changed in the meantime. can you send me the swf file, encrypted fragment, related key and any other details via pm? I can take another look into it.
|
#296
|
|||
|
|||
Re: Adobe HDS DownloaderI have pushed new update to the repo which enables the script to remove Akamai media encryption. KDF function to generate per packet decryption key from global session key was reverse engineered by user shani_08. i already had the details of encrypted packet header and some other ancillary information. I have tested it on few videos and it seems to work well at the moment. They may soon try to patch it. if you wanna keep it working longer then don't try to plaster it everywhere you can think of. enjoy while it lasts .
|
#297
|
|||
|
|||
Re: Adobe HDS Downloaderyes much thanking you shani_08 and ksv!!
no hoping likewise curing flashaccess hds? |
#298
|
|||
|
|||
Re: Adobe HDS Downloaderditto, many thanks to you both, amazing work!!!
|
#299
|
|||
|
|||
Re: Adobe HDS Downloadercan your script download this kind of links
Code:
hds/XXXX.XXXX.ism/XXXX.XXXXX.drmmeta Code:
hds/mediaDelivery/media/XXXXXXXXXXXXXXXXXXXXX.f4m?cdn=l3 can you fix this Pls Last edited by Kasandra : 09-21-2015 at 04:36 PM. |
#300
|
|||
|
|||
Re: Adobe HDS DownloaderAny chance on TSN or Turner like Cartoon Network F4M ?
|
Tags: hds |
Thread Tools | |
Display Modes | |
|
|