PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!


 
 
  1. #1

    Lightbulb Decompile make_package_npdrm ?

    Hi all,

    I'm trying decompile make_package_npdrm.exe with ida/hexrays to understand how sony make a pkg. Does anyone try this before?

  2. #2
    Join Date
    Feb 2009
    Posts
    21

    Smile

    pkg is like a zip file but only for sony PS3.

    with a hex i dont know if you can understand something

    i think if you unassemble it, you can see better how this soft work.

  3. #3
    Join Date
    Jul 2007
    Posts
    152

    re

    you can see the file on a mac as a box icon file so im assuming its been made on a mac the pkg files.

  4. #4
    Join Date
    Apr 2005
    Posts
    30,320

    Lightbulb

    Here are some threads on PS3 PKG files, in case you haven't seen them yet:

    http://www.ps4news.com/forums/playst...ure-57073.html

    http://www.ps4news.com/forums/playst...ile-94137.html

  5. #5
    Join Date
    Sep 2007
    Posts
    24
    I suggest you should take into consideration that make_package_npdrm.exe creates packages not protected by drm. So, these packages are runable only on test units and there could be much more differences between npdrm and retail packages than we can imagine.

    However, I wish you good luck.

  6. #6
    Thank for all advise. Anyway I still trying and will post the result (if any) there.

  7. #7
    Join Date
    Feb 2008
    Posts
    31
    the pkg files should be encrypted so i don't know if you could obtain something useful...anyway good luck ^^

  8. #8
    Join Date
    Feb 2009
    Posts
    21

    Smile

    i think maybe a windows app for compress or convert file someone want to put in his console

    and indeed, this file can create pkg but not signed so if no one know how we can make a signed pkg, propose programm for ps3 risk to be hard

    good luck for your investigation

  9. #9
    I did take a look at it and how it does decrypt the files.
    The Filestructure of the pkg it self is more or less already known so I don't go into that.

    As for the decrypting (only works on files generated with make_package_npdrm).

    [Register or Login to view code]

    To put it in words, it takes a key, adds a row number and uses the sha1 hash of it to decrpyt the data.
    I didn't look to much into it but it does compute the sha1 hash of the header and stuff as well, didn't look to much into which part of the header exactly was used though.
    Still the problem is make_package_npdrm can't decrypt non-dev packages.

    BTW: I'm sure I'm not the first one finding it, but as nobody mentioned it so far.

    [Register or Login to view code]


  10. #10
    Any progress on this... I haven't had time to do much digging myself but i got IDA installed so I might pick thro a couple of the other .exe files on the 1.60 sdk and see if anything else stands out.

 
+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •