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

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

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

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

工具目录

分类

查看所有分类
Loading categories
ida_bochs_windows — 用于在原生 Bochs 调试器上配合 IDA Pro 进行 Windows 内核调试的辅助脚本(包括 PDB 符号) | Kitploit
工具/GitHubGitHub/therealdreg/ida_bochs_windows
动态代码分析 (DAST)逆向工程调试器二进制分析
GitHubtherealdreg/ida_bochs_windows

ida_bochs_windows

用于在原生 Bochs 调试器上配合 IDA Pro 进行 Windows 内核调试的辅助脚本(包括 PDB 符号)

查看仓库网站
62983年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

ida_bochs_windows

用于在原生 Bochs 调试器上使用 IDA Pro 进行 Windows 内核调试的辅助脚本(包括 PDB 符号)

python3 + idapython 7.4

bochimage

Bochs 调试器:

names

Bochs 调试器 GUI:

debugui

使用方法

警告:在打开 IDA 之前,必须将环境变量 _NT_SYMBOL_PATH 设置为 Windows 符号,例如:

root@kitploit:~
SRV*C:\winsymbols*

编辑 "C:\Program Files\IDA Pro 7.7\cfg\dbg_bochs.cfg"

root@kitploit:~
BOCHSDBG = "C:\\Users\\leno\\Desktop\\Bochs-pruebas\\bochs\\bochs.exe";
BOCHSRC = "C:\\Users\\leno\\Desktop\\Bochs-pruebas\\bochs\\.bochsrc";

进入 IDA .....

打开 IDA PRO,

转到 Debugger -> Run -> Local Bochs Debugger

应用程序:

root@kitploit:~
C:\Users\leno\Desktop\Bochs-pruebas\bochs\.bochsrc

单击 Debug Options -> Set specific options -> Select Disk image

启动调试会话,然后转到 File -> Script File -> ida_bochs_windows.py

此 idapython 脚本会要求你提供 bochs 符号文件

完成!

将 IDA 名称导出到文件,用于原始 Bochs 调试

  1. 打开 IDA PRO,启动调试会话,然后转到 File -> Script File -> ida_bochs_windows.py
  2. 执行 ida_names_to_bochs_sym.py
  3. 选择要保存信息的文件

在 Bochs 调试器中使用生成的文件(ldsym global + 文件路径),例如:

root@kitploit:~
ldsym global "C:\\Users\\Dreg\\bochs\\bochs_syms.txt"

将 IDA 段导出到文件,用于原始 Bochs 调试

  1. 打开 IDA PRO,启动调试会话,然后转到 File -> Script File -> ida_bochs_windows.py
  2. 执行 ida_segs_to_bochs_sym.py
  3. 选择要保存信息的文件

在 Bochs 调试器中使用生成的文件(ldsym global + 文件路径),例如:

root@kitploit:~
ldsym global "C:\\Users\\Dreg\\bochs\\bochs_segs.txt"

合并 bochs_segs.txt 和 bochs_syms.txt

将段和符号放在一起会很有用:

root@kitploit:~
type bochs_segs.txt > bochs_segs_and_syms.txt
type bochs_syms.txt >> bochs_segs_and_syms.txt

现在,当指令位于已知段之外时,很容易查看:

bochsend

演示视频

https://youtu.be/X8bJ421iaVA

相关项目

  • 用于在 VMware + GDB stub 上使用 IDA Pro 进行 Windows 内核调试的辅助脚本(包括 PDB 符号):

  • https://github.com/therealdreg/ida_vmware_windows_gdb

  • 用于 Bochs 和 IDA Pro 带符号 Windows 调试的辅助脚本(PDB 文件)。非常适合用户模式 <--> 内核模式:

  • https://github.com/therealdreg/symseghelper

  • 用于在 VMware + GDB stub 上使用 IDA Pro 进行 Linux 内核调试的辅助脚本(包括一些符号辅助工具):

  • https://github.com/therealdreg/linux_kernel_debug_disassemble_ida_vmware

  • 转储 PDB 符号,包括对 Bochs 调试格式的支持(支持 wine):

  • https://github.com/therealdreg/pdbdump_bochs

  • 用于在 Bochs 上进行 Linux 内核调试的工具(包括符号、原生 Bochs 调试器和 IDA PRO):

  • https://github.com/therealdreg/bochs_linux_kernel_debugging

致谢

基于 Oleksiuk Dmytro(又名 Cr4sh)的原始 IDA-VMware-GDB https://github.com/Cr4sh/IDA-VMware-GDB

下载工具