Slashdot Mirror


PS2 Exploit Allows Running of Unsigned Code

DrEldarion writes "This man has figured out a way to make the PS2 run unsigned code without a modchip. "To make a long story short, the exploit allows anyone with a memory card and a valid, legal PS1 disc to hijack the boot process and run any piece of code.""

27 of 331 comments (clear)

  1. Great news! by levik · · Score: 4, Funny

    Now all we need is someone to write a legal playstation emulator for the X-Box, and we can run linux on it with no additional money going to microsoft for buying/renting a particular x-box game!

    --
    Ñ'
    1. Re:Great news! by tprime · · Score: 5, Insightful

      I don't think that the people who just buy xboxes to "hurt" microsoft really understand what they are doing. In the short term, YES, you are costing Microsoft money on their per console loss. In the long term, you are helping them.

      For instance, 1,000,000 MS haters buy xboxes with the hopes of making a serious dent in the $60 billion (yes with nine zeros) cash reserve that Microsoft holds. In the mean time, Microsoft is able to report to the software vendors that they have those 1,000,000 extra xboxes out there. Vendors see the large numbers and make more games to support the xbox. In turn, the xbox software library grows and so does its legit customer base. I know the 1,000,000 xboxes for the MS haters is an exaggeration, but hopefully you will get my point.

      --
      http://www.tomandemily.com
    2. Re:Great news! by Greyfox · · Score: 4, Funny

      Ah yes! But if I buy 10,000 X boxes and use them to sculpt a giant penis (Well... it WAS going to be a gopher and I gave up on that and changed to a big Tux the Penguin but I'm not that artistic so it really looks a lot more like a penis) and have that erected (Heh, so to speak) in Redmond, WA, it would get enough publicity that the software developers would know that Microsoft's claims were inflated by that many units! They can't run X-Box games if they're being used as part of a giant gopher-penis-tux-the-penguin sculpture, can they? It's genius! Genius, I tell you! And just to add insult to injury, one could apply for a federal arts-grant to get the money for the units! How cool is that?

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  2. Unsigned code... by Anonymous Coward · · Score: 5, Funny

    Like LINUX!?

    In related news, Sony pays $499 per each PS2 sold to SCO. The rest of the compensation is the release of a smash-hit game "Superdaryl and the Invasion of the IBM Drones", in which Daryl saves America from IBM-aided terrorists.

  3. Re:What kind of hardware is needed... by Anonymous Coward · · Score: 4, Informative

    "SharkPort or one of the other memcard adapters"

    Third paragraph of the article... but I can't blame you for not reading it in full, as you probably wanted to be one of the first to comment :-)

  4. Re:What kind of hardware is needed... by Caff · · Score: 5, Informative

    I believe you can use interact's SharkPort disc, and connect a USB cable between your computer and the PS2, or something like that. I think Datel makes a similar accessory, but I'm not sure. In addition to this, various manufacturers, such as EMS, make USB-compatible memory cards, or "Memory Adapters" where you plug in a memory card and have the ability to connect it to a PC using a parallel cable.

  5. ..yeah by Anonymous Coward · · Score: 5, Funny

    Oh, if you or your company are looking for a low-level PS2 or GC hacker, I am available for immediate contract work or other offers. My e-mail is the best way to contact me.

    We'll get right on that.
    After Sony's attorneys finish with you, "immediate contract work" is exactly what you'll need.

  6. Re:What kind of hardware is needed... by EvilTwinSkippy · · Score: 4, Funny
    It would normally, but they are all under indictment from the DirectTV folks.

    Ah yes, slashdot, where folks discuss spending $200 on equipment to crack a $30 game.

    --
    "Learning is not compulsory... neither is survival."
    --Dr.W.Edwards Deming
  7. Re:What kind of hardware is needed... by DrEldarion · · Score: 5, Informative

    Lik-Sang sells them for around $30, I believe.

    -- Dr. Eldarion --

  8. That's not the point by danaris · · Score: 5, Insightful

    If I can get my American PS2 to run Japanese PS2 games without having to pay $100 and do a lot of fiddly soldering, that's worth it. I don't know how much it would actually cost to get a memory card reader, since I don't have one, but I doubt one would have to pay $200.

    Dan Aris

    --
    Fun. Free. Online. RPG. BattleMaster.
  9. Comparable to Xbox hack by remahl · · Score: 4, Informative

    This provides to PS2 what has existed for the X-box for a while now. It was mentioned on slashdot and allows the X-box to run unsigned code after some preparation.

    It replaces some font files (which are not checksummed) with ones that use an exploit in X-box firmware.

  10. No fair by EvilTwinSkippy · · Score: 4, Interesting

    I hadn't even thought about playing non-us games. Shoots a hole through my rant. Are US playstations able to output PAL?

    --
    "Learning is not compulsory... neither is survival."
    --Dr.W.Edwards Deming
    1. Re:No fair by Anonymous Coward · · Score: 4, Informative

      > I hadn't even thought about playing non-us games.
      > Shoots a hole through my rant. Are US playstations
      > able to output PAL?

      Japanese television is NTSC just like the US, not PAL. (Of course, you won't be able to understand what the hell the game says, since it will all be in Japanese)

  11. Re:What kind of hardware is needed... by badasscat · · Score: 4, Informative

    ... to get arbitrary files on a memory card? I don't know about you, but *I* don't have anything like that. Will a small industry be created selling pre-altered memory cards?

    You can use a SharkPort, as it says on the web site. These are tough to find and are no longer made, but follow the link on that web site to the XPort, which does the same thing (and in fact probably is the same thing).

    These things have existed for a long time. I got my SharkPort maybe 6 months after the PS2 was launched.

  12. Sony's ps2 linux kit by jtilak · · Score: 5, Informative

    sony's ps2 linux kit is crippled. read THE PLAYSTATION LINUX FAQ for more info. i'm assuming with this, someone can run a regular linux distro on the ps2.

  13. Re:Restrictions by SharpFang · · Score: 4, Insightful

    Border, n: in C64, area of screen where no graphics can be displayed. Therefore it's the favourite place for all Commodore demoscene coders to display various graphics, causing engineers who designed it rip their hair from their heads and jump out through the windows, yelling "THIS CAN'T BE WORKING".

    Understand now?

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  14. Re:What kind of hardware is needed... by blincoln · · Score: 5, Informative

    follow the link on that web site to the XPort, which does the same thing (and in fact probably is the same thing).

    Yes, they're the same hardware. The Gameshark line of hardware (up until the V3) was made by a company called Datel in the UK and sold their under the Action Replay name. Interact just licensed it for North American sales. Their deal went sour, and now Datel sells it all here under their own brand.

    Just to keep everyone confused, the Gameshark brand is now owned by MadCatz, and their "Gameshark V3" is actually closer to the Code Breaker that Pelican sells. Both were developed by a company called Fire.

    Is that like the gaming equivalent of a soap opera or what?

    --
    "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
  15. So this hack allows what? by dancingmad · · Score: 4, Interesting

    So this hack would allow Backed up and Import games to run on an unmodded system? Basically all one needs is a USB/Mem card interface to put the files on a PS1 memcard and then use a legit PS1 game to boot the machine?

    I've got a stack of games from SE Asia that I would love to play on my PS2 and this hack seems like the most non-invasive way to do it.

    --
    "There is no time, sir, at which ties do not matter," Jeeves, (Jeeves and the Impending Doom)
  16. Re:Really? by WNight · · Score: 4, Insightful

    "An agreement of law", Are you drunk?

    One of the biggest problems with consoles and DVDs these days is that companies put region coding in them. If you live in a certain area of the world you get to play the games and watch the movies that they want you to, and no others.

    This is a hideous practice and we must all publicly flaunt our disobedience of it at every opportunity. Otherwise they'll sneak it beneath the radar of the masses and make it part of the international copyright agreements.

    Currently, region coding has no legal weight, though dishonest laws like the DMCA might have make bypassing it illegal in some jurisdictions.

    If you believe you have the right to use your possessions however and whereever you wish, fight dishonest companies who do this!

  17. Any uses besides software piracy? by Kunta+Kinte · · Score: 4, Insightful
    Are there any valid uses for this hack?

    You can already run Linux on the playstation by paying for the PS2 Linux kit at http://playstation2-linux.com/

    That kit allows you to run any code that you want to anyway. Plus getting one allows companies to see that there is a paying group of individuals that would like configurable/extensible electronic products.

    It's funny that many people criticize the software and media industry for promoting DRM and DMCA type laws, but then the same people turn around and promote/utilize cracks like this.

    What do you expect the companies to do? Sit there and watch this happen?

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  18. Repeat after me: LEGAL IMPORTS by danaris · · Score: 5, Insightful

    As I've mentioned a couple of times before in this thread, I want to use this (and was planning to get a modchip) to play games I have legally imported from Japan. I know that many people won't believe me, and that, unfortunately, that won't be the primary use of this exploit, but I know of no law that prohibits running region-locked games out of their region. I realize that it's possible the DMCA covers this, but if so, it really shouldn't. I paid for the PS2, I paid for the game, so why the heck shouldn't I be able to run it?

    If this can really work (I haven't gotten the guy's code to compile, see one of my posts, above), it would be really great. I could use a $30 memory card reader/writer to let me play imported games, rather than a $100 modchip kit, which I would have to solder onto the PS2's motherboard. And those things look extremely fiddly.

    So, yes, there is at least one legitimate use. And the point of our opposition to the DMCA is not (at least not for anyone who would have any chance against it) "so I can keep pirating stuff." My argument against it is that it probably will allow Sony to sue anyone who uses this hack, whatever purpose they put it to. It stops you from using certain devices or processes because they could be used for piracy or copyright infringement, even if you would truly, honestly, never use them for that purpose.

    Dan Aris

    --
    Fun. Free. Online. RPG. BattleMaster.
  19. Re:Cool, run... by Anonymous Coward · · Score: 4, Interesting
    Lilo

    I suspect that there will eventually be a PS2 dashboard with functionality similar to EvoX on Xbox. By running unsigned code, you could probably initialize the PS2 HDD - or maybe even Firewire HDD(s) - and load a PS2 native menu with options for then loading Linux, your PS1/2 game backups, native emulators and media players, and homebrew games, demos, and applications. In some ways the Xbox might be better for this; it has newer and more powerful processors, more Ram, and the x86-based architechture is a familiar hardware and software environment to many developers. But the PS2 Firewire port in particular does seem full of potential.

  20. A direct link... by henele · · Score: 4, Interesting

    A USB -> PS 1&2 memory card adapter from Lik Sang can be found here.

  21. Re:Restrictions by Quasar1999 · · Score: 4, Insightful

    Border, n: in C64, area of screen where no graphics can be displayed. Therefore it's the favourite place for all Commodore demoscene coders to display various graphics, causing engineers who designed it rip their hair from their heads and jump out through the windows, yelling "THIS CAN'T BE WORKING".

    The C64 wasn't restrictive. It allowed hackers (as in coders) to do whatever they could think of with the hardware. There were crazy optimizations where two instructions executed at once, 27 sprites could be displayed at once (the hardware is limited to 8), 240 colors could be displayed (the hardware was limited to 16), and not once did the commodore engineers come and say, "Stop doing that! It wasn't designed for that!"

    Fast forward 20 years, and take a look at major console manufacturers bitching if we exploit the hardware or software to install something they didn't intend.

    Heck, even being a developer, you can't do to modern consoles that you could do to the C64... To get an XDK, or PDK, you have to adhere to all sorts of restrictions about what you can and cannot do in your code (no fancy ASM hacking to do cool stuff)... what's the point? No wonder all we have is cookie-cutter games... Developers aren't allowed to innovate, unless it meets with Sony or Microsoft's predetermined vision... bah, gimme a modern day C64 dammit!

    --

    ---
    Programming is like sex... Make one mistake and support it the rest of your life.
  22. please stop blaming sony and ps2linux by Anonymous Coward · · Score: 4, Informative
    Okay.. let's post anonymously for obvious NDA reasons.. I'm not from sony, but i am both an official PS2 developper, and a ps2linux owner. And am terribly pissed-off by some comments.
    • PS2Linux distro, by itself, is a bit crappy, but anyway it is not designed to make the ps2 you webserver/x workstation/whatever. There are other distros (black rhino, debian based) if you want it (but anyway it is a bad idea with the cache-less 300 mhz mips core, and the pcmcia disk interface!). The distro has nothing to do with being able to launch RTE bootloader with or without a legally bought DVD!
    • PS2Linux is not something for everybody.. It's not to show your friends you're cool because you've recompiled your browser so it runs un your PS2. You can do it, but it's not its goal. It's something for hobbyist programmers.
    • I would have preferred not to have linux, because of the highly bloated nature of linux, or any high-level os, which is obviously not the best thing to work low level, as it is required for this console. This is not an anti-linux troll, i would have said that about any os. But they did port linux to the ps2 and it is a good thing, since this is the only official/legal development system for hobbyists on any available console, almost since the VCS ! And with some patches, for instance that allows you decent dma-able physical memory allocation, it starts being almost usable to do serious low-level stuff..
    • Can I remind you that ps2linux is totally open source. I can guarantee that the hardware manuals you get with the ps2linux kit are exactly the ones we get as professional developers (excluding minor typos / corrections in the updated ones). We don't have magic data from sony. That means, if there is a functionnality you want, like mpeg2 using IPU, CODE IT! You can, really...

    To summarize, stop blaming sony! They did a great thing by releasing ps2linux, and all the related info. That's impressive. You know, a few years ago, the hardware manuals where so secret that there was my company name printed across each page..

    PS2linux is far from perfect, but it is up to you to enhance it, because of its open source nature.

    And if you don't want to use linux, because of its bloat, there are even bootloader projects hosted on sony's own website(playstation2-linux.com) that allows you get raw low-level access.

    According to me, sony's biggest mistake was to target linux zealots, instead of focusing on console programming enthusiasts, as they did with yaroze. So they got a lot of disapointed customers... But if you want to do console programming, ps2linux is still a great thing, with lots of things to create (and that's the interesting part!).

  23. You can't use it to run out-of-region/copied games by Aero+Leviathan · · Score: 5, Interesting

    Calm down! First of all, if I understand correctly, this exploit takes a valid PSX game, stops it from booting, then loads 'any piece of code' _right off the memory card_. It does not provide for any sort of disc swap. This means you can not use it to load any game which the PS2 would not normally load; you can only load an .elf (I think) file which is _on the memory card_.

    Meaning this is only useful for _small_ homebrew apps.

    Second of all, it is unlikely this will ever be expanded to allow loading out-of-region/copied games. Sony uses a special copy-protection trick... as far as I know it involves a tiny sector in the beginning of a disc which has a checksum of zero. Inside this sector there is the data containing region information (should be impossible to contain any data if the checksum is zero, but it does). CD burners 'correct' this sector by writing the actual checksum, and hence PSX/PS2 games cannot be copied correctly. When you insert any disc into a PSX or PS2, the unmodified hardware checks that sector to see if the checksum is zero and if the region code is correct, and refuses to read any further data, _no matter what_, if that sector isn't just right. A mod chip works by injecting the correct data into the CPU at the right time.

    This means, even though you could use the exploit to read abritrary data off something other than the disc the console was going to read from, you can't read it from another disc: if you eject that valid disc and put in another, the PS2 is going to check that special sector. Unless I misunderstand something, this exploit _does not_ address that, and so you can only load code off a memory card. Maybe someone will come out with a way to load stuff off a hard drive with it, but it's unlikely you'll ever be able to load stuff off a different (invalid) disc.

    I should also point out that the terms 'signed' and 'unsigned' are possibly incorrect for this sort of thing, as the copy protection isn't really in the form of an encrypted key, per se... just a crazy sector containing simple data, with a checksum of zero.

    This is how it has been explained to me over the years by a variety of people and is AFAIK the generally accepted understanding of the Sony copy protection method. I have never worked for Sony so I cannot verify it. If you have any corrections here, feel free to speak up :)

    --
    ~ Aero
  24. Clarifications by mrossbrown · · Score: 5, Interesting

    I don't typically read or post on /. these days, but since you folks were so kind as to saturate my cable connection :P, I read through the comments and wanted to clarify a few things:

    • The hack does not enable or facilitate mass, rampant, or Carribean piracy of PS2 or PS1 software. The design of the PS2 thwarts software from patching the system so that the hardware copy/region protection fails.
    • I am aware that Sony will be furious over this release. I myself know that legally, I have not broken the law. I used clean room reversing techniques to find the exploit, and Open Source software to develop it. Also, the exploit does not circumvent any security measures in the PS2, this should be obvious since you need a legal PS1 disc to perform the hack in the first place.
    • Yeah, I interviewed for Sony and didn't get the job (it was for a position on SCEA's R&D team). Me getting turned down was not my motivation for releasing ps2id. The Sony folks that I've dealt with are very cool, they've always treated me with respect (their office in Foster City, CA is amazing too :P). I hope that SCE* continues to produce consoles as fun to hack as the PS2.
    • My primary motivation was in getting this in people's hands was so that the barriers that prevent all PS2 owners from experiencing what I experience (when I develop homebrew PS2 software, or use it) would be removed. My ulterior motive (heh, there is always one, isn't there?) was to try and land other console hacking jobs professionally.
    • Yeah, the initial release was very rushed, but some wily hacker came up with the mantra Release Early, Release Often :P. A couple of people have already submitted tutorials and save files for other memcard adapters, and a ton of people have offered to mirror the site. Testament to the power of Open Source, blah, blah, blah... :P. I will be updating the site within the next few days with all of this, and working on the next ps2id release.
    • Overall, I'd like to see all kind of fun apps come from this that average, gaming PS2 owners can use, not just hackers.

    Oh, about all the Linux posts: I've been developing a way to get ps2linux to boot without Sony's kit, and it will all tie into this. No ETA on that yet.

    Cheers to all who've stepped up with the positive posts.