Juicy Potato
Check privileges
The required privileges are SeImpersonate
and/or SeAssignPrimaryToken.
It doesn't matter if their status is disabled.
Exploiting
Get the script from here: https://github.com/ohpe/juicy-potato/releases
Elevated reverse shell
Get NC.exe from here: https://eternallybored.org/misc/netcat/
Local payload
List of CLIDS
Troubleshooting
CreateProcess error codes:
Code | Meaning | Comment |
---|---|---|
2 | File not found | no executable file is found in the given path, check the .exe name and make sure the file is not corrupt |
3 | Path not found | check the path to the executable, avoid using spaces and symbols |
5 | Access denied | the current user doesn't have the privileges to invoke this function, may also be caused by anti-virus software blocking the exploit |
123 | Invalid name | avoid using characters such as |
1314 | Privilege not held | the current user lacks the necessary token to perform this operation |
recv failure:
Code | Meaning | Comment |
---|---|---|
10038 | Not a socket | Try using another port or service |
Last updated