Editing QA Flagging

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 35: Line 35:
fake sharefactory = utoken_flags[0] & 0x80
fake sharefactory = utoken_flags[0] & 0x80
</pre>
</pre>
= Spoofing Flags =
* Search for kernel magic in kernel dump
* Set all values before kernel magic (16 in total) to FF
* Set all values after kernel magic (16 in total) to FF
* Open kernel dump in ida pro (use SocraticBliss's kernel loader for this)
* Search for the string "rcmgr" in hex bytes (searching as text is slower)
* Find the xref to the first string (usually intdev)
* Rename All the functions to their respective names
* Patch each function where the condition (word_FFFFFFFFXXXXXXXX & 54) != 0) applies in pseudocode (if the first jump is a jnz, it's the second jz, if the first jump is a jz, it's the second jz as well)
* Note down the patches and spoofs, as well as the name of the rcmgr flags (for example rcmgr_intdev)
* Create a code that escalates privileges, spoofs qa flags and utoken flags and calls sysctl by name of machdep.<name of rcmgr flag>
* Launch payload
* You should have everything unlocked (to use only the ones you want comment or uncomment the sysctlbyname funcs)
{{Reverse Engineering}}
<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)