Forum: PS3 Technical Development - Topics relating to Playstation 3 Technical development ONLY! Read and discuss the latest Cobra USB updates, tutorials and explanations or find out about bluray drive bypass firmwares plus much more.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: [Tut] PS3 Self/Sprx Reversing
  

Results 1 to 5 of 5
  1. #1 [Tut] PS3 Self/Sprx Reversing 
    Slynk is offline Member
    Join Date
    Sep 2010
    Posts
    754
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    361
    So I'll start this off by saying, I don't know much at all about reversing and I'd really like everyone's help to flesh out this tutorial. I'll provide what I have found so far and I encourage other's to give their knowledge of reversing. Any knowledge of reversing will be helpful, it doesn't have to be specific to the PS3. IDA knowledge is also helpful. So the tutorial:

    Must obtain:
    • IDA Pro 5.2 or higher. (Buy it or borrow a friend's copy <.<)
    • Ppcaltivec Plugin
    • Package Unpacker (Or what ever you prefer, this will extract the eboot from the .pkg and extract the .elf from the eboot)
    • Something to reverse (.pkg, .self (homebrew), .elf (unencrypted self)


    [===Installing IDA Pro===]
    Run the exe and follow the instructions.

    After the install, navigate to the install directory.

    extract the contents of "ppcaltivec_plugin_v1.6_for_ida_v5.6.zip" to the plugins directory.

    Done!

    [===Setting up PS3 PKG Tool===]
    Extract the contents of PS3_PKG_Tool_V0.5.rar to a dirctory of your choosing.

    Double Click PS3_PKG_Tool_v0.5

    Type 0, ENTER

    Type 1, ENTER to install MinGW (take note of the install directory)

    Choose Use pre-packaged repository catalogues.

    I'm not sure which components are necessary but I ticked C++ compiler, MSYS Basic System, and MinGW Developer Toolkit.

    It will take a bit of time to download and install everything.

    Once complete, choose option 2, then 3, then 4, then 5.

    Complete!

    [===Unpacking .pkg===]
    Move the .pkg in question to the PS3 PKG Tool folder.

    Load PS3 PKG Tool and choose option 3.

    Type n, ENTER

    Type the name of the pkg, ENTER, ENTER, ENTER

    Done! You should have the contents of the pkg in the PS3 PKG Tool directory.

    [===Extracting Elfs from Homebrew EBOOT.BINs===]
    Move the EBOOT.BIN to the PS3 PKG Tool directory.

    Load PS3 PKG Tool and choose option 4.

    Type n, ENTER, ENTER, ENTER

    Afterward, you can exit the app safely. You should have an elf called working.elf in your PS3 PKG Tool directory!

    [===Loading the Elf into IDA Pro===]
    Load up IDA Pro Advance (32 or 64 bit, doesn't matter)

    Click [Go]

    File->Open

    Select the .elf

    Select ELF in the top box.

    In the Processor type drop down box, select: PowerPC ppc

    click set, then OK

    Wait a little bit while it works with your file.

    Done!

    ---------------------------------------------
    That's all I've got so far. Please contribute. ^^
    Reply With Quote  

  2. #2  
    daniboy92 is offline Registered User
    Join Date
    Jan 2011
    Posts
    12
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Can you give me a link for IDA Pro v5.2? I don't find them, please send me at MP.
    Thanks!
    Reply With Quote  

  3. #3  
    user is offline account deleted
    Join Date
    Oct 2010
    Posts
    268
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    33
    also try kakarotoks jumptable analyzer plugin, it works great most of the times

    next you should look for the TOC, set it in ida and re-analyze.
    Reply With Quote  

  4. #4  
    Slynk is offline Member
    Join Date
    Sep 2010
    Posts
    754
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    361
    *gasp* Someone contributed to this after.... *counts*.... 5 months of me posting this lol.

    Never heard of his plugin, I'll definitely have to give it a look. I just downloaded a bunch of assembly and IDA books last night so I'll see about playing around with it.
    Reply With Quote  

  5. #5  
    afiser is offline Member
    Join Date
    Nov 2010
    Posts
    473
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    26
    Likes Received
    30
    fyi, the latest version of IDA has the altivec plugin built-in
    Reply With Quote  

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