Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/fail0verflow/ps5-umtxdbg
漏洞分析漏洞利用调试器二进制利用
GitHubfail0verflow/ps5-umtxdbg

ps5-umtxdbg

针对 PlayStation 5 FreeBSD 内核漏洞的 C++ 漏洞利用可靠性实验,包含虚拟机内核构建与 GDB 远程调试配置。

查看仓库
83821年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

备注

这个 bug 在 2020 年 12 月初被发现,但发现者不是我,而是一位只看了 fbsd 15 分钟就立刻发现问题所在的天才 🙇‍♂️。这个 C++ 实现是在 PS5 内核加入一些堆随机化功能后,尝试提高漏洞利用可靠性时制作的。

设置虚拟机

获取虚拟机镜像

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

在虚拟机中:adduser,将 sshd_enable="YES" 添加到 /etc/rc.conf,然后执行 /etc/rc.d/sshd start

重建带调试功能的内核

必须在虚拟机中构建,因为 freebsd 构建系统与非 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

将 /usr/obj/usr/src/sys/CONFIG/kernel.debug 从虚拟机中复制出来,供 gdb 使用。

设置 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 互操作

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

用于启动“独立”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 初始中断

在虚拟机中:

root@kitploit:~
sysctl debug.kdb.enter=1
下载工具