Day-1 Hello World, the PS Vita already hacked?

Japanese PSP scener Mamosuke announced today on his blog that he was able to confirm a “Hello World” running on the PS Vita through the embedded PSP emulator. The exploit was made by developer teck4, and most likely relies on one of our good buffer overflow friends. and for those who are wondering “is it real?”, my current answer is that I haven’t tried it yet, but knowing Mamosuke fairly well I can tell you it’s true.

Technically, the idea behind the hack is simple but brilliant: the PS Vita has a PSP emulator, and we have plenty of PSP game exploits lying around… can we assume they will work on the emulator? That’s what teck4 tried, and the answer is yes, so he managed to run unsigned code on the PS Vita.

For those who join this blog for the first time, basically how this works is that a special save data file is crafted for a specific game. When the game is asked to load the save data, through a flaw in the game code we manage to re-route the game into executing code that we wrote ourselves. That code is usually very simple, displaying a simple message (typically “hello world”, hence the name).

That’s the theory. Practically, although this is good news, there are a bunch of obstacles which will probably not make the exploit so interesting for most users (at least not yet): First of all, the exploit happens within the PSP emulator on the Vita, and will not directly give access to the Vita hardware or features. So this can theoretically only allow to run PSP homebrews on the vita (which, to me, is already fairly nice), and also, only User-mode ones ( a game exploit does not give access to the PSP kernel mode, so some tools and functionality is missing, which prevents emulators such as Daedalusx64 for example to run at full speed).

The second issue, and we ran into the same type of problem with the PSP, is that Sony will probably stop distributing the flawed game as soon as they know which game it is, and/or patch the game or the emulator. That can probably be tampered by the fact that there are numerous vulnerable games on the PSP, and so a “cat and mouse game” could start, assuming Sony cares about protecting the PSP emulator against user-mode homebrews

The third issue, and that might be the worst problem, is that copying PSP savedata from your computer to the PS Vita requires to go through a tool named the “contents management assistant”, which could easily be blocking the crafted savedata. Worse, copying any file to the PSP emulator has to go through this assistant, which means if we are to copy/load homebrews using this trick, they would probably have to follow a very specific format, and be all able to run from within the game’s savedata folder (most homebrews expect to run from the PSP/GAME folder, and half byte loader itself expects to be living on the root of the PSP, but the contents management tool will only copy files to the game’ savedata folder). Eventually tools will probably be built to overcome this limitation, but it sounds like Sony could patch that kind of stuff fairly easily in the future (and prevent copying anything that’s not recognized as some savedata, for example)

As a conclusion there are lots of obstacles to turning this in a useful system for the end user, so as mamosuke states, this is not even step1 for the Vita hacking. But it’s still interesting news, running a hello world on Day1 on Sony’s new console is still heart-warming and could lead to more interesting discoveries, so congrats to teck4, and a personal message to mamosuke and teck4: if you are looking for help to port HBL to this, please contact me. I’m kind of always busy, but of course very interested to see where we can go with this 🙂

I’m also thinking that somebody with enough free time could use this to run PSP homebrews through HBL on the PS3…

A message for gamers as the holiday season is here: Hey Folks, it is the shopping season and that means most of us will be buying gaming stuff in November and December. Wololo.net will be looking for the best deals and let you know about them. For example in July 2016, our twitter followers and mailing list subscribers were among the first to know about an Uncharted 4 Special edition deal for $19, a 75% discount at the time! Follow us on twitter to stay up to date. I also suggest to subscribe to our deals mailing list below for full deal updates. Note: this mailing list is mostly useful for people in the US.

Name:

Email:

We do not share your email with any third party

wololo

We are constantly looking for guest bloggers at wololo.net. If you like to write, and have a strong interest in the console hacking scene, contact me either with a comment here, or in a PM on /talk!

84 Responses

Wait a minute ARM based,why? Because it uses an android system also android can easily grant you access in most cases to root files etc. Well is usually the case. Or has Sony just used the base code or portions of android to run android applications as well as Sony’s PSP apps from PSN running in there PSP emulator. I haven’t been paying much attention to the PSP/Sony scene of late so please amend and answer to my errors and questions thanks.

[…] few days ago Japanese developer Teck4 posted a picture of a “hello world” running on the PS Vita through the PSP emulator. I contacted him immediately with some help from Mamosuke, and I soon got […]

[…] FAQ for HBL on the Vita January 10, 2012 in HBL, PS Vita | No commentsWe’ve seen through Teck4′s exploit that PSP exploits run flawlessly on the PSP emulator of the Vita. I’ve spent the past 3 weeks […]

[…] had started on February 21st, but some people didn’t see what was happening…When Teck4 announced he had a running hello world on the PSP Emulator of the Vita back in December, I quickly contacted him (thanks to the help of […]

[…] their download lists.Motorstorm and Everybody’s Tennis had been respectively used by hackers Teck4 and wth(a.k.a. Yosh) to run unsigned code (homebrews) on the PS Vita, which led to the release of […]

Archives

Disclaimer: Wololo.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com