Post: PS4 & freeBSD kernel SYSCALLS
10-31-2016, 11:57 PM #1
HeroWin
Java Developer
(adsbygoogle = window.adsbygoogle || []).push({});
Since playstation 4's OS is based off a linux*Distro known as FeeBSD... The Ps4 is then shelled around a modified version of that OS called *Orbis OS. So this being said we can find ways to extract syscalls using x86_64 assembly to reverse some modules and do some ROP programming. CTURT*has done this successfully and gave us a list of awesome sys call functions!


NOTE: Sony has also made some custom syscalls above existing FreeBSD syscalls so some may not be able to be searched on google for research.
NOTE#2: Updating my other thread and will provide some PS4 ROP programming tutorials!

You must login or register to view this content.


How many custom system calls are there? by CTURT himself

The*You must login or register to view this content.*is*wait6, number*532; anything higher than this must be a custom Sony system call.
Invoking most of Sony's custom system calls without the correct arguments will return error*0x16,*"Invalid argument"; however, any compatibility or unimplemented system calls will report the "There is not enough free system memory" error.
Through trial and error, I have found that system call number*617*is the last Sony system call, anything higher is unimplemented.
From this, we can conclude that there are 85 custom Sony system calls in the PS4's kernel (617 - 532).
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to HeroWin for this useful post:

BurtE, Mr.Peanut
11-01-2016, 12:05 AM #2
Hydrogen
Super Mod
Originally posted by HeroWin View Post
Watch out for hydro on the forums... He gets very emotional if you through some attitude his way Smile


Since playstation 4's OS is based off a linux*Distro known as FeeBSD... The Ps4 is then shelled around a modified version of that OS called *Orbis OS. So this being said we can find ways to extract syscalls using x86_64 assembly to reverse some modules and do some ROP programming. CTURT*has done this successfully and gave us a list of awesome sys call functions!


NOTE: Sony has also made some custom syscalls above existing FreeBSD syscalls so some may not be able to be searched on google for research.
NOTE#2: Updating my other thread and will provide some PS4 ROP programming tutorials!

You must login or register to view this content.


How many custom system calls are there? by CTURT himself

The*You must login or register to view this content.*is*wait6, number*532; anything higher than this must be a custom Sony system call.
Invoking most of Sony's custom system calls without the correct arguments will return error*0x16,*"Invalid argument"; however, any compatibility or unimplemented system calls will report the "There is not enough free system memory" error.
Through trial and error, I have found that system call number*617*is the last Sony system call, anything higher is unimplemented.
From this, we can conclude that there are 85 custom Sony system calls in the PS4's kernel (617 - 532).


Emotional? Where zzz

I mean you say so much that you got knowledge, start releasing stuff. Not that hard. Dunno why you're being ignorant to people. Just have fun widd it Happy

The following user thanked Hydrogen for this useful post:

Mr.Peanut
11-01-2016, 12:08 AM #3
HeroWin
Java Developer
Originally posted by Hydrogen View Post
Emotional? Where zzz

I mean you say so much that you got knowledge, start releasing stuff. Not that hard. Dunno why you're being ignorant to people. Just have fun widd it Happy


you right hydro... its just the past years being on here the community can sometimes rude. Lets start a new chapter Winky Winky

The following 2 users say thank you to HeroWin for this useful post:

Hydrogen, Mr.Peanut
11-01-2016, 12:10 AM #4
Hydrogen
Super Mod
Originally posted by HeroWin View Post
you right hydro... its just the past years being on here the community can sometimes rude. Lets start a new chapter Winky Winky


Hello HeroWin, how was your day?
See that's not hard. Now only if everyone else that makes this site look bad could do the same we'd be a topnotch forum. Happy


Good shit on the post though.
11-01-2016, 04:38 AM #5
Best Mate
Dark Knight
Originally posted by Hydrogen View Post
Hello HeroWin, how was your day?
See that's not hard. Now only if everyone else that makes this site look bad could do the same we'd be a topnotch forum. Happy


Good shit on the post though.


This a forum?
Shit, i thought it was facebook.
11-01-2016, 04:49 AM #6
Hydrogen
Super Mod
Originally posted by Best
This a forum?
Shit, i thought it was facebook.


How is it Facebook lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo