Vulnerabilities

From PS2 Developer wiki
Jump to navigation Jump to search

See also [1]. (to wikify).

Hardware[edit | edit source]

Modchips[edit | edit source]

See Modchips.

CD/DVD Swap tricks[edit | edit source]

Swap Magic[edit | edit source]

Swap Magic is a specialized PlayStation 2 game disc used for tricking the console into reading non-retail or burned game discs, homebrew software, or games outside the console's region. The software has existed since at least mid-2003, with several different versions of the disc having been developed.

Swap Magic and its related mods, such as the Magic Switch and Swap Tool, which are used to allow the user to swap discs without the system being aware, are notable over other methods (such as a modchip) due to the fact that they do not void the PS2's warranty.

See Swap Magic.

Mechanics Controller[edit | edit source]

The MechaCon upon receiving power loads the ROM patches from it's EEPROM.

Patches can be updated over the PMAP interface in test mode.

The performed security checks on it is three checksums over the DES-ECB encrypted data.

One can bruteforce that encryption key and apply their own patches.

Software[edit | edit source]

Operating System[edit | edit source]

PS2 Independence[edit | edit source]

Released on 15-08-2003 by Marcus R. Brown <[email protected]>.

Homebrew programs can be launched directly from a memory card on unmodified consoles by using certain software that takes advantage of a long known and used exploit, dealing with the boot part of the EE/IOP process (PS2 Independence exploit).

See PS2 Independence.

FreeMCBoot[edit | edit source]

Released on 23-05-2008 by jimmikaelkael (with help from Neme). Maintained since 14-09-2011 by SP193.

FreeMCBoot allows homebrew programs to be launched without a trigger disc required unlike PS2 Independence.

This also allows use of homebrew on unmodded systems without a functional disc drive. However, installation of the exploit to each individual memory card requires either an already exploited/modded system in order to launch the installer, or boot image that can load an app that loads ELF files (network adapter and hard drive also required). Copying from one memory card to another will not work.

It does not work on the very newest PS2s (SCPH-9000x model with BIOS 2.30 and up) but will work on all models prior to that.

See FreeMCBoot/FreeHDBoot.

FreeHDBoot[edit | edit source]

The newest versions of Free McBoot, version 1.90 and newer, also have the ability to install and boot from both Sony and non-Sony HDDs when using a "fat" PS2 and network adapter.[3] This support is called FreeHDBoot or FHDB. With a few minor issues, it is now possible to game entirely from the HDD, without needing to use the optical disc drive nor a physical memory card.

Fortuna[edit | edit source]

Released on 12-02-2019 by krat0s.

Fortuna is an homebrew launcher for all PS2 models.

That means EVERY PS2 from 1.90 ROMVER 50k model up to the TV can be exploited by scrolling to an MC-Icon and "back out" of the menu.

Opentuna[edit | edit source]

an open source version of fortuna. supports almost all PS2 models, from the SCPH-18000 to the very last. This exploit hasn't been ported to the 10k and 15k models, it proved to be quite challenging to do so, probably related to the fact that these models does not have compressed OSDSYS programs. Different files are needed depending on the console version.

Requirements[edit | edit source]

  • A PS2 Memory Card
  • A way to transfer files to the Memory Card (one time setup)
  • Making sure the hacked icon is displayed first (OSDSYS icon order is based on date)

The exploit[edit | edit source]

Fortuna/Opentuna exploit a vulnerability on the RLE decompression routine used for memory card icon textures, allowing to copy raw executables to protected area on ram, and achieving execution when going back to main menu. Alex Párrado, creator of Opentuna, left a technicall write-up on how it works

TnA writes it is a bit similar to this bug: "There seems to be either an issue in FMCB/FHDB's Payload, or the OSDSYS has a fault which can cause code-injection via text-strings which use opcodes or some instructions.

I can get it to freeze, with some funky OSDSYS-Item-Names... I haven't tested however, if this also happens with some weird mc-save-name-strings (not the folder-name on MC, but the actual shown name in the OSDSYS), without FMCB...

Why? The idea was a 'kick-start'-icon which has the weird name and starts an ELF from MC. The only issue is, that - if it works - it would be immediately triggered, once the name is parsed."

See [2].


Oddities[edit | edit source]

Fortuna/Opentuna exploit fails if the console is rendering some japanese characters, either from a save file or by setting the console to Japanese language.

During late test stages of Opentuna, it was found that if the hack is triggered from the Browser 2.0, the console stops recognizing the memory card untill you shit it down completely

When the OSDSYS parses the hacked icon, any save folder using built-in icons (eg: "your system configuration") will stop getting rendered, showing no icon 3d model, like the exploit icon

FreeDVDBoot[edit | edit source]

An exploit released in 2020 by CTurt, which exploits the DVD Video Player and allows the execution of code (wLaunchElf in the pre-built ISOs). Currently supports all slim consoles, including the ones that don't support FMCB.

ESR Vulnerability[edit | edit source]

Vulnerability to bypass PS2 disc reader anticopy protection system.

Allows to run burnt PS2 CD/DVD on a PS2 without modchip. It is needed to have FreeMCBoot/FreeHDBoot, Fortuna or SwapMagic in order to launch ESR.

It does not yield code-execution, but once you have the ability to load code, you can access content on burned (Video-)DVDs, which have DVD-Video-content. This vulnerability is used in different apps like ESR or SMS and in varying 'formats' like ESR-Discs or simple Video-DVDs with extra-content.

Linux[edit | edit source]

Todo

Games[edit | edit source]

Demo games[edit | edit source]

PS2 Yabasic Exploit[edit | edit source]

Released on 12-10-2019 by CTurt.

Writeup by CTurt

Exploit code by CTurt

Network games[edit | edit source]

It is possible to exploit Network-capable games, to inject codes!!!

This is perfect for Slim PS2 and people which can not move files to the MC!

TnA scarcely mentioned that method since January 2019, like it can be seen in the comments of @Haldrie's video about the time-swap! TnA got the basic idea from some discoveries someone else mentioned.

The problem is to either inject it elsewhere, or find a way to run it!

PS1 Savedata exploits[edit | edit source]

Maybe not exploitable on PS2.

See PS1 Dev Wiki Vulnerabilities.

BOOT.ELF (Fat consoles only)[edit | edit source]

Official sp193 guide (backup)

There exists a vulnerability using a PS1 game as a 'boot' disc to load a modified savedata which in turn runs arbitrary code. This method allows for installation of homebrew such as FMCB. In order to utilize this vulnerability you would need a gameshark or similar cheat device to transfer the modded save over from USB and you also need a PC tool to make the savedata modifications and a USB pen drive to use as a medium to transfer the save data from PC>USB>MC. Once you place the modified PS1 game savedata onto a PS2 memory card, just load your boot disc, and voila.

PS2 Savedata exploits[edit | edit source]

a PS2 game by ChampionLeake[edit | edit source]

To be disclosed.