
Un exploit del kernel para dispositivos Pico 4 basado en cve-2023-33107
souce próximamente™
Exploit de kernel de código abierto para dispositivos Pico 4 basado en cve-2023-33107
Usage: picohaxx [options] [-- <final command>]
GENERAL OPTIONS:
-help Show this help menu
-v Print build timestamp and exit
-unroot unroot adbd
-nobash once adb root is unlocked, the default is
to pivot to a more capable embedded bash shell
with init and persistent history
-nadbd dont patch adbd
-nftpd disable internal root ftpd daemon
DEBUG/TEST:
-dbg verbose debug output, use twice for even more
-force run the exploit again, even though you're already root
-sound/-nosound plays a sound to indicate various events
-dump dump 64MB of memory after PTE spray stage
-ttest test terminal input
-sim simulated dry-run of the final exploit stage
-marathon do extra laps on the task walk for stability testing,
can be used multiple times
CUSTOM POST-EXPLOIT EXEC:
-- <cmd> ... Everything after '--' is the final command to execve into.
picohaxx -- /system/bin/sh -i
The default post exploit behavior (on the first run) is to:
patch adb root, enable persistent tcp 5555 and spawn a root ftp on port 21.
Note: adbd needs to restart after the root patch. so if you're running the exploit inside
adb shell, your connection will drop after the first run. adb shell will default to root
once you reconnect. you can use adb unroot/adb root to toggle the default shell mode.
Supported Pico 4 OS Versions: 5.2.0 up to 5.11.0 Chinese or Global 5.9.9.
As of this writing any newer version can be downgraded via edl.
El comportamiento post-explotación predeterminado (en la primera ejecución) es: parchear adb root, habilitar tcp 5555 persistente y lanzar un ftp root en el puerto 21.
Nota: adbd necesita reiniciarse después del parche de root. por lo tanto, si estás ejecutando el exploit dentro de adb shell, tu conexión se perderá después de la primera ejecución. adb shell pasará a root por defecto cuando te reconectes. puedes usar adb unroot/adb root para alternar el modo de shell predeterminado.
Versiones de SO Pico 4 compatibles: 5.2.0 hasta 5.11.0 chino o global 5.9.9. Hasta la fecha de esta redacción, cualquier versión más nueva se puede degradar mediante edl.