Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
ps5-umtxdbg — PlayStation 5 FreeBSD 커널 취약점에 대한 C++ 익스플로잇 신뢰성 실험으로, VM 커널 빌드 및 GDB 원격 디버깅 설정을 포함합니다. | Kitploit
도구/GitHubGitHub/fail0verflow/ps5-umtxdbg
Vulnerability AnalysisExploitationDebuggersBinary Exploitation
GitHubfail0verflow/ps5-umtxdbg

ps5-umtxdbg

PlayStation 5 FreeBSD 커널 취약점에 대한 C++ 익스플로잇 신뢰성 실험으로, VM 커널 빌드 및 GDB 원격 디버깅 설정을 포함합니다.

저장소 보기
8381년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

메모

이 버그는 2020년 12월 초에 발견되었는데, 제가 아니라 fbsd를 15분만 살펴보고 바로 찾아낸 천재가 발견했습니다 🙇‍♂️. 이 C++ 구현은 ps5 커널에 힙 랜덤화 기능이 추가된 후 익스플로잇 신뢰성을 높이는 실험을 하면서 만들었습니다.

VM 설정

VM 이미지 받기

root@kitploit:~
wget http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/VM-IMAGES/11.0-RELEASE/amd64/Latest/FreeBSD-11.0-RELEASE-amd64.vhd.xz

ssh 활성화

VM 안에서: adduser, /etc/rc.conf에 sshd_enable="YES" 추가, /etc/rc.d/sshd start

디버그용 커널 재빌드

VM 안에서 빌드하세요. freebsd 빌드 시스템은 non-freebsd 시스템과 호환되지 않기 때문입니다 (fbsd 12/13부터 호환을 지원했지만 우리는 11이 필요합니다...)

https://docs.freebsd.org/en/books/handbook/kernelconfig/ 참고 또는 그냥:

root@kitploit:~
cd /usr/src/sys/amd64/conf
cp GENERIC /root/CONFIG
ln -s /root/CONFIG

CONFIG를 편집하여 options DDB를 __제거__하고 options GDB를 __추가__하세요.

빌드 및 설치:

root@kitploit:~
cd /src/src
make buildkernel KERNCONF=CONFIG
make installkernel KERNCONF=CONFIG
reboot

gdb에서 사용할 수 있도록 /usr/obj/usr/src/sys/CONFIG/kernel.debug를 VM 밖으로 복사하세요.

gdb 설정

커널 소스 받기 (탐색 / gdb용)

root@kitploit:~
git clone -b releng/11.0 https://github.com/freebsd/freebsd.git

fbsd 지원이 포함된 gdb 빌드

https://ftp.gnu.org/gnu/gdb/ 에서 최신 버전을 받아 압축을 해제하세요.

root@kitploit:~
mkdir build
cd build
../configure --disable-binutils --disable-ld --disable-gold --disable-gas --disable-sim --disable-gprof --target=x86_64-unknown-freebsd
make -j64

gdb 사용성을 개선하기

https://github.com/cyrus-and/gdb-dashboard 사용

freebsd 커널용 .gdbinit

root@kitploit:~
set substitute-path /usr/src /home/shawn/freebsd
set disassembly-flavor intel
file kernel.debug
target remote /tmp/fbsd11

wsl interop

https://github.com/weltling/convey https://github.com/jstarks/npiperelay

"loose" gdb 시작용 래퍼

root@kitploit:~
#!/bin/sh
GDB_PATH=/home/shawn/gdb-10.1/build/gdb
PATH=$GDB_PATH:$PATH
gdb --data-directory=/home/shawn/gdb-10.1/build/gdb/data-directory

gdb 최초 중단점

VM 안에서:

root@kitploit:~
sysctl debug.kdb.enter=1
도구 다운로드