
Pico 4 기기용 cve-2023-33107 기반 커널 익스플로잇
소스 공개 예정™
Pico 4 기기의 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.
기본적인 익스플로잇 이후 동작(첫 실행 시)은 다음과 같습니다: adb root 패치, 영구적인 tcp 5555 활성화, 포트 21에서 루트 ftp 실행.
참고: adbd는 루트 패치 후 재시작해야 합니다. 따라서 익스플로잇을 adb shell 안에서 실행 중이라면 첫 실행 후 연결이 끊어집니다. 다시 연결하면 adb shell은 기본적으로 root를 사용하게 됩니다. adb unroot/adb root를 사용하여 기본 셸 모드를 전환할 수 있습니다.
지원되는 Pico 4 OS 버전: 중국판 5.2.0~5.11.0 또는 글로벌 5.9.9. 이 글을 작성하는 시점 기준으로 그 이상의 새 버전은 edl을 통해 다운그레이드할 수 있습니다.