Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 Jailbreaking       Thread starter PSXHAX       Start date Mar 2, 2016 at 5:45 PM       43      
Status
Not open for further replies.
Today 'anonymous' hacker AK471337 has leaked the PS4 BadIRET Kernel Exploit source code according to PlayStation 4 developer CTurt, with details below from my post on PS4 News and the related Tweets below!

Download: PS4-Bad-IRET-master.zip / PS4-Bad-IRET-master.zip (Mirror) / PS4 Dongle.txt via choppa / kernel-1.76.rar via DotExE01 / badiret.bin (Compiled) by KUNITOKI via 2424marco / PS4-Bad-IRET-master-2.bin (Updated Mirror) / PS4-Bad-IRET-5fs.bin (Updated Mirror #2)


From Wololo comes some additional details as follows, to quote:

PS4 Kernel exploit – is it good news for you?

If you’re an en user with no programming skills, this exploit won’t be useful for you. You’d have to compile it and run it on a PS4 on firmware 1.76, through the 1.76 webkit userland exploit. (The Kernel exploit might work up to firmwares 2.xx, but then you’d need to find an unpatched userland exploit in order to run it)

ss+(2016-03-02+at+06.17.26).png If you have some programming skills and happen to own a PS4 1.76 however, this could be a nice entry point for you to understand how these things are done. If you get to display the debug message from the kernel exploit (Entered Critical Payload), you’re pretty much ahead of 99.99% of the PS4 homebrew community today.

But if you’re an “end user” and can get a 1.76 PS4, this could mean someone might be able to release PS4 Linux for you sooner than later.

More generally however, as I’ve stated before, people with the right set of skills could probably have figured out the exploit thanks to CTurt's detailed explanation. This release probably doesn’t change much who’s going to work on exploiting the PSP in the foreseeable future.

How the leak happened

Rumors say someone was able to grab passwords from several well known hackers of the PS4 scene, and managed to work his way into a private github where the files were stored. There is a strong reminder here for all of us that you should have different passwords on all the sites you visit, to avoid becoming the weakest link in such a situation.

PS4-kernel-exploit-1.76.png There’s a group of people who believe leaking such information is a good thing for the scene as it spreads the information. In my opinion, hackers often have very good reasons to not share their hacks, often because they are not ready for public consumption, and as such are useless to the vast majority of users. A hack that leaks at the wrong time could typically be patched by the manufacturer before it is even made usable for the scene.

The BadIRET exploit however has already been patched by Sony a long time ago, so it leaking is probably not a massive problem for the scene... What do you think? This is exciting news, but also a bit sad given the circumstances of the release.

From choppa: I found this ?
Code:
PS4 Dongle

#include
#include

int _netdebug_sock;

#define debug(…)\
do {\
char buffer[512];\
int size = sprintf(buffer, ##__VA_ARGS__);\
sceNetSend(_netdebug_sock, buffer, size, 0);\
} while(0)

/*———————————————————————–*/
/* Program Main */
/*———————————————————————–*/
#define SIZE_OF_BUFFER 512 //64

int _main(void)
{
// Init and resolve libraries
initKernel();
initLibc();
initNetwork();
initUsb();

struct sockaddr_in server;

server.sin_len = sizeof(server);
server.sin_family = AF_INET;
server.sin_addr.s_addr = IP(192, 168, 0, 5);
server.sin_port = sceNetHtons(9023);
memset(server.sin_zero, 0, sizeof(server.sin_zero));

_netdebug_sock = sceNetSocket(“netdebug”, AF_INET, SOCK_STREAM, 0);
sceNetConnect(_netdebug_sock, (struct sockaddr *)&server, sizeof(server));

FATFS fatfs; /* File system object */
FATFS_DIR dir; /* Directory object */
// FILINFO fno; /* File information object */
WORD i;
BYTE buff[SIZE_OF_BUFFER];
FRESULT rc;

FATFS FatFs; /* FatFs work area needed for each volume */
FATFS_FIL Fil; /* File object needed for each open file */

UINT bw, br;

debug(“\nMount a volume.\n”);
rc = f_mount(&fatfs, “”, 0); /* Give a work area to the default drive */
if (rc) debug(“die\n”);

debug(“\nOpen a test file (message.txt).\n”);

// open an existing file with read access
if (f_open(&Fil, “Fuses.txt”, FA_READ | FA_OPEN_EXISTING) == FR_OK) /* Create a file */
{
debug(“\nType the file content.\n”);
for (;;)
{
rc = f_read(&Fil, &buff, SIZE_OF_BUFFER, &br);
if (rc || !br) break; // Error or end of file
for (i = 0; i < br; i++) // Type the data
debug("%c", buff[i]);
}
if (rc) debug("die\n");

f_close(&Fil); /* Close the file */
}
if (rc) debug("die\n");
debug("File Read Complete.\n");

debug("\nTest completed.\n");

disk_deinitialize ();

sceNetSocketClose(_netdebug_sock);

return ;
}

/*———————————————————*/
/* User Provided Timer Function for FatFs module */
/*———————————————————*/

DWORD get_fattime (void)
{
return ((DWORD)(2010 – 1980) << 25) /* Fixed to Jan. 1, 2010 */
| ((DWORD)1 << 21)
| ((DWORD)1 << 16)
| ((DWORD)0 << 11)
| ((DWORD)0 <> 1);
From CTurt: 9/11 Leak was an inside job.

While this may indeed be a legitimate leak, it could also be a planned insider leak with rumors of an upcoming PS4 Cobra USB Game Emulator DRM Device... time will tell for sure. ;)
ps4_kernel_exploit_source_code.jpg
 

Comments

I'll be on github I lay out all your design, coding hacking ssl, lv1. will only make the convenience of a USB flash drive but I have almost everything ready for the full hacking consoles to version 3.15 to 3.50 through I do not know need to watch the source code. (SOON)
Sounds absolutely awesome!
 
@sEKTOR
But the million dollar question still remains unanswered:

Will u release it for the end users?

It is not that I do not appreciate ur achievement and I totally understand if u do not answer my question for ur own reasons but I had to be that someone to ask.
 
I'll be on github I lay out all your design, coding hacking ssl, lv1. will only make the convenience of a USB flash drive but I have almost everything ready for the full hacking consoles to version 3.15 to 3.50 through I do not know need to watch the source code. (SOON)

One more proof with a little bit changed code from bigboss repo?
 
offset 4970

3F C7 CA 1B 3C C4 41 D7 66 CE 29 86 5B E4 EB A3
0x497C [FreeBSD]..$FreeBSD: release/9.0.0/lib/libc/gen/_spinlock_stub.c
 
offset 4970

3F C7 CA 1B 3C C4 41 D7 66 CE 29 86 5B E4 EB A3
0x497C [FreeBSD]..$FreeBSD: release/9.0.0/lib/libc/gen/_spinlock_stub.c
i see good work, but for many items you still do not have enough and I told you that.

I have said and will say everything is (on github) including coding at the moment I do usb dongle, and even throw in a network startup code lv1. they work entirely in 3.15 causing errors in the system that provides a way to circumvent the system. you need only add a couple of elements to dig it.
 
i see good work, but for many items you still do not have enough and I told you that.

I have said and will say everything is (on github) including coding at the moment I do usb dongle, and even throw in a network startup code lv1. they work entirely in 3.15 causing errors in the system that provides a way to circumvent the system. you need only add a couple of elements to dig it.
You know nothing about my knowledge and you stupid kid dont touch my messages, you so scary for reply? Not from sky, just from bigboss github repo.
 
@bsg i think ppl will do what they wish regardless of what opinions are to be had from other people browsing thread and not just the forum.

though i can say it was a poor choice they made (sony) making everything easy to disassemble.
 
I expected the kernel exploit to release a week after the cTurt upload the instructions. In fact i am curious why we don't have see anything yet at ps4 scene the past few weeks. Anyway hope to see more in next couple weeks.
 
@bsg i think ppl will do what they wish regardless of what opinions are to be had from other people browsing thread and not just the forum.

though i can say it was a poor choice they made (sony) making everything easy to disassemble.
I hate when ppl lying and make attention around themselfes with help of other ppl work.
 
I expected the kernel exploit to release a week after the cTurt upload the instructions. In fact i am curious why we don't have see anything yet at ps4 scene the past few weeks. Anyway hope to see more in next couple weeks.
Well, many DEVs are afraid to release anything this time around. I do not blame them but this behavior will only make the dongle makers rich if they happen to release their money milking dongle :(
 
Status
Not open for further replies.
Back
Top