GithubHelp home page GithubHelp logo

lutzio / ps4-exploit-host Goto Github PK

View Code? Open in Web Editor NEW

This project forked from al-azif/ps4-exploit-host

0.0 1.0 0.0 507 KB

Easy PS4 Exploit Hosting

License: MIT License

HTML 23.02% Python 61.83% JavaScript 7.66% CSS 7.49%

ps4-exploit-host's Introduction

PS4 Exploit Host

What is this?

This is an easy way for anyone to host their own exploit for the PS4 on their LAN. features include:

  • Hosts your choice of exploit
  • Sends your choice of payload after a successful exploit
  • Blocks PSN domains from resolving (Stops accidental updates and block telemetry)
  • Can serve the 4.55 update to your PS4
  • Works on just about every platform

If you do not want to host the package yourself you can use my remote DNS. See the Using remote DNS section below.

Requirements

  • If you are not using a binary release you will need Python 3
  • Root privileges on non-Windows machines

How to download

  • Download the zip on the releases page

  • Download with Git, be sure to grab the submodules. This does not include any exploits or payloads.

    git clone --recursive https://github.com/Al-Azif/ps4-exploit-host.git

Using remote DNS (Run Nothing Locally)

  1. Make sure the PS4 is on firmware 4.55 or lower (Settings > System > System Information).
    • If your firmware version is >4.55 you are out of luck there is no public exploit available and you cannot downgrade.
  2. On your PS4 go to Settings > Network > Setup Network to setup a network. When you get to DNS Settings select Manual and set the Primary to 165.227.83.145 and the Secondary DNS to 108.61.128.158 or visa-versa.
    • If your firmware version is <4.55 you will get a network update available. This is for 4.55.
    • If you already have an official updated above 4.55 downloaded don't use the DNS updater for now, I'm working on it.
  3. On the PS4, go to Settings > User's Guide and select it. The exploit selection should appear.
    • You can also open browser and the default homepage will be the exploit selection.
  4. If you use Specter or IDC you will need to use another program to send a payload.

How to run (Run Locally)

  1. Download the files (As shown in the "How to download" section above)
  2. Double click the executable (ps4-exploit-host.exe, start.py, etc). If it starts with no errors, note the IP given
    • Alteratively run it from the command line (ps4-exploit-host.exe, ./ps4-exploit-host, python start.py, etc)
    • If you are not root when running on a non-Windows machine you need to use sudo
  3. On your PS4 Settings > Network > Setup Network to setup a network. When you get to DNS Settings select Manual and set the Primary and Secondary DNS to the IP address you noted above.
  4. Make sure the PS4 is on firmware version 4.55 (Settings > System > System Information). If it is not use the jump to the "How to use the Updater" section before continuing
    • If your firmware version is >4.55 you are out of luck there is no public exploit available and you cannot downgrade.
  5. On the PS4, go to Settings > User's Guide and select it. The exploit should run and there should be output on the script window.
  6. If applicable for your exploit the script will prompt you to choose a payload to send. You may send any payload located in the payloads folder.
  7. When done use Ctrl+C to cleanly close the application

Running on Raspberry Pi

While the "How to run" section applies to the Pi as well there are some more complex options people may want to use for the Pi like running without any network whatsoever.

  • To run as a standalone device that you plug directly into your PS4 though ethernet go here (Supports any Pi with a ethernet port)
  • To run as a WiFi access point for your PS4 go here (Officially supports RPi 3 currently, may work on others with WiFi adapter)

How to use the built in updater

If you already have an official updated above 4.55 downloaded don't use the updater for now, I'm working on it.

  1. Follow the "How to run" section until it says to come here

  2. Put the system update in the updates folder as PS4UPDATE_SYSTEM.PUP

    • Optionally put the recovery update in the updates folder as PS4UPDATE_RECOVERY.PUP

      SYS MD5: 9C85CE3A255719D56F2AA07F4BE22F02

      REC MD5: 6C28DBF66F63B7D3953491CC656F4E2D

  3. MAKE SURE THE DNS IS SET CORRECTLY!

  4. SEE #2 I'M SO SERIOUS!

  5. There should be a different page on the System Software Update > View Details option on the PS4. It will be obvious!

    • The PS4 is not using the right DNS if you get the standard Sony changelog page. STOP IMMEDIATELY AND RESTART THE ENTIRE PROCESS
  6. Run a system update on your PS4 system.

  7. Return to the "How to run" section

Other Flags

  • Use the --debug flag to turn on the DNS & HTTP server output. This will make it hard to use the script normally as it will push the payload menu off the screen

  • Use the --interface flag to specify which interface to bind to.

      ex. sudo python3 start.py --interface 192.168.2.12
    
  • Use the --dns_only flag to only run the DNS server (Disables HTTP server, the payload sender is also disabled as this depends on the HTTP server).

  • Use the --http_only flag to only run the HTTP server (Disables DNS server).

  • Use the --autosend flag to automatically send the like-named payload from the payloads directory (No payload menu will be shown)

      ex. sudo python3 start.py --autosend debug_settings.bin
    
  • Create a dns.conf file in the same directory as the main application to append rules to the DNS server.

      ex. `A example.com 0.0.0.0` will block example.com. You can use `{{SELF}}` to specify the computer running the DNS server.
    

Troubleshooting

Script Related

Before seeking help run though the following list:

  • Use the most recent release.
  • Follow the directions exactly, do not try to get fancy then come for help.
  • If the server starts (It gives you an IP and has not errored out) and you cannot connect from your PS4, with 99.99% certainty your firewall/anit-virus is blocking it.
  • Disable other networking apps that may interfere with the script if you get port errors (Skype, Discord, Torrent Clients, XAMPP, Firewalls, etc).
  • It is normal to get some errors (PSN & NAT) while running the network test. This proves the PSN domains are blocked correctly.
  • Yes... I know 1/3 anti-virus applications detect this as malware. There are a few reasons for this:
    • The binaries extract files to the temp folder
    • The code, which the AV can see, contains the word 'exploit' and 'payload'
    • The application opens 2 privileged ports (53 & 80) then runs servers on themselves
    • The exploits directory in the releases contain exploits for remote code execution... duh...
    • If you don't trust the binaries, download the python release and use that. You can see all the code as it's a scripting language
    • If you want to help to try to get this white listed contact your anti-virus vendor and submit it to them for analysis. You can also upload it to VirusTotal and comment/vote on it there.
    • If you open a issue about this (Or message me elsewhere about it), I'll close it, block you, and move on with my day. Can you tell I'm tired of the malware comments?

Exploit/Payload Related

These are NOT related to this script in any way, but rather the exploits/payloads themselves:

  • Make sure your PS4's firmware is on 4.55 exactly. There is no downgrading. If you are above 4.55 you are out of luck for now.
  • The PS4 can get a kernel panic and just shutoff. Physically unplug the power for a second (Or hold the power button for a few seconds), then power it back on.
  • "There is not enough free system memory" errors while loading the exploit page are normal, restart your PS4 if you get a lot of them in a row.
  • The FTP servers can take a minute to start. Be patient and try again in a 30 seconds.
  • Some FTP payloads (None of the included ones) must be compiled or hex edited with your PS4's/Computer's IP.
  • Some FTP payloads do not have full access under certain exploits.
  • You must leave the exploit page open for FTP to work as it runs in the webkit process (Use the PS Button to leave it open in the background)
  • Some exploit pages do not completely load even when they works.

Contributing

You can check the issue tracker for my to do list and/or bugs. Feel free to send a pull request for whatever. Be sure to report any bugs, include as much information as possible.

What if a new exploit is released?

You should just be able to place the exploit files in the exploit directory. The exploit will automatically add the exploit to the menu.

    ex. exploits/firmware_version/exploit_name/index.html

Why do you commit so many little changes, tweaks, etc?

I have no self control... it also lets people see the actual development. From barely working chicken scratch to actual code.

Credits

  • Specter, IDC, qwertyoruiopz, Flatz, CTurt, Mistawes, XVortex, LightningMods, CelesteBlue123, Anonymous, neofreno, wolfmankurd, crypt0s, etc

ps4-exploit-host's People

Contributors

al-azif avatar neofreno avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.