DLC Decryption - Printable Version +- EmuNewz Network (https://www.emunewz.net/forum) +-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191) +--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51) +---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56) +---- Thread: DLC Decryption (/showthread.php?tid=8134) |
DLC Decryption - Hykem - 09-01-2011 So, after finishing reverse engineering the PRX, SAVEDATA and PGD encryption/decryption processes, it's time to attempt something even harder, DLC content... Many users have been asking if this will be supported in JPCSP, so I've finally started working hard on this and already found some interesting information concerning the formats used by the PSP. Hopefully, soon JPCSP will have the ability of decrypting and loading DLC content through the CryptoEngine and also applying custom signing methods to expired DLC (with the proper rights, of course). I'm starting this thread to document and share my findings so far on this subject, so, enjoy! --------------------------------------------------------------------------------------- DLC formats: Code: EDAT/SPRX format: Code: RIF format: Code: ACT.DAT format: npdrm.prx: Code: sceNpDrmVerifyAct(int actdat_addr) - Calls sceDdrdbHash and sceDdrdbSigvry to verify the ACT.DAT file signature. sceIoIoctl commands: Code: // These commands are sent by some of the sceNpDrmXXX functions. Keys: Code: RIF/ACT keys (sceNpDrmGetVersionKey): Signatures: Code: ACT.DAT/.RIF Signature: --------------------------------------------------------------------------------------- As you can see there's still plenty of work to do, but I think I'm on the right the track, hopefully... Of course, all help is welcome. RE: DLC Decryption - shin x - 09-01-2011 good job i wish i could help you but nothing to do i am student and i have no time for programming but i want to ask you why do you do all of that??? few people do good things and you are surly one of them RE: DLC Decryption - beanclr - 09-02-2011 If you guys aren't going to help her with something actually useful then could you not comment at all. RE: DLC Decryption - shin x - 09-02-2011 (09-02-2011, 09:32 AM)beanclr Wrote: If you guys aren't going to help her with something actually useful then could you not comment at all. hi >> this will hurt THIS IS NOT OF YOUR BUSINESS i have the right to comment on any post within the common........ if there is a problem hykem will tell me not you !!! sorry again RE: DLC Decryption - Hykem - 09-02-2011 I work on this because I enjoy doing it. It's interesting to figure out more about a system's intrinsics and bring it out to everyone. Now, please avoid going off-topic. RE: DLC Decryption - beanclr - 09-02-2011 (09-02-2011, 09:58 AM)shin x Wrote:(09-02-2011, 09:32 AM)beanclr Wrote: If you guys aren't going to help her with something actually useful then could you not comment at all.if there is a problem hykem will tell me not you !!! (09-02-2011, 04:19 PM)Hykem Wrote: Now, please avoid going off-topic.Now will you shut up. You could have just P.M. her instead of posting the question. >_> RE: DLC Decryption - shin x - 09-03-2011 I said it and I ll say it again THIS IS NOT OF YOUR BUSINESS "shut up"????!!!! show some respect!!! I did not disrespect you or any body in my hole life * I get used on FACE BOOK thus I wrought that Q as a comment (at least she said please!! not like you!!) [/color] RE: DLC Decryption - beanclr - 09-04-2011 .....Your grammar and misspelling hurts to much for me to want so to so any respect to you. Plus, how you seem to want to push tab every time you right a new sentence is puzzling me. Also don't post here again if your not gonna help. Just pm me so you wont waste anyone time. On topic: What about having the dlc lock to my PSN account? I don't think there's away around that. RE: DLC Decryption - andutrache - 09-04-2011 @beanclr : i think Jpcsp will have a fake PSN account or something to make that possible. Do you think the PSP generates the lock keys based on the PSN account? I always thought the DLC for a game is like Download it on PSP -> PSP decrypts it using internal keys -> the game recognizes it. I think it would be a hassle to encrypt the DLC with a different key based on the PSN account. @shin x : You are still not helping anybody at all, if you want to flame do it somewhere else *SIGH*. RE: DLC Decryption - Hykem - 09-04-2011 @beanclr and andutrache: It's the ACT.DAT file that is generated with the internal OpenPSID and the unique ID (an hardware offset). The ACT.DAT file is only needed to verify valid LICENSE files (with the .rif extension), but since we don't want to verify the files, we can just ignore this and assume all users have access to any DLC content. All we need next is to properly emulate the decryption routine, which takes place after the license verification step. Of course, if we're talking about forging DRM data, this would require proper licensing forging. Even so, this may still be possible to emulate to some extent, but the functions used to generate the ACT.DAT file (scePcactAuth1BB and scePcactAut21BB from openpsid.prx, used by the np_inst.prx module) will need a fake PSN ID, which I'm still working on. |