工具

Netzob 协议建模与推断框架

对通信协议建模并从流量记录推断报文布局,通过配置主动学习来推断协议状态机。Python API 提供报文字段、符号和自动机,用于解析、流量生成及模糊测试。

使用条件与局限

  • 上游 README 要求 Python 3.8+;核查的版本元数据列出 Linux x86/x64。源码构建需要原生编译工具、Python 头文件、libpcap/libffi 开发库,以及文档指定的 Graph::Easy 依赖。
  • 核查时最新 PyPI 版本为 2.0.0,上传于 2023-01-08。所审阅源码头版本标为 2.0.1.dev0,不能视为更新的稳定版。其构建固定使用 Cython 0.29.32,并依赖 NumPy 1.24.1 等较旧版本;未测试与较新 Python 环境的兼容性。
  • 需要有代表性的原始报文/PCAP 记录,以及分析者选择的模型或符号。主动语法学习需要输入/输出符号、通信通道和目标进程控制。当前协议推断文档明确尚未完成;旧 GUI 教程不能视为当前 Python 库工作流。
  • 核查的源码声明 GPL-3.0-or-later,文档采用 CC-BY-SA。推断结果及生成模型需要分析者验证,不代表完整恢复协议语义、设备或应用。本次未安装,也未执行主动查询或模糊测试。

关于此条目

类型
工具
类别
协议分析工具
关联
基础工具
目标
协议

来源复核于

说明已依据一手来源复核;这不代表已运行验证、经过安全审计或确认兼容。

一手来源

  1. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/README.rst
  2. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/setup.py
  3. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/pyproject.toml
  4. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/src/netzob/release.py
  5. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/COPYING.txt
  6. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/src/netzob/Inference/Grammar/ActiveGrammarInferer.py
  7. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/src/netzob/Inference/Grammar/all.py
  8. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/doc/documentation/source/tutorials/discover_features.rst
  9. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/doc/documentation/source/index.rst
  10. https://netzob.github.io/netzob/installation/python.html
  11. https://pypi.org/project/Netzob/2.0.0/
  12. https://github.com/netzob/netzob/blob/088fe769e98e0bfbd3ed99e66b3982446bf8d197/src/netzob/Inference/Grammar/GenericMAT.py