# Apple 数据格式与知识库（Hack Different）

> Hack Different 社区维护的 Apple 硬件、固件与操作系统内部机制知识库，由 Rick Mark 搭建并主要维护，将一份篇幅很长的分类链接列表与原创页面和机器可读的 YAML 数据结合在一起。README 按领域整理参考资料，从 Mach-O、dyld 共享缓存、img4 和启动策略，到安全隔区（Secure Enclave）、基带、USB 与 Lightning、无线协议以及诊断数据格式；数据目录则有 56 个主题文件，另有按设备、证书和固件密钥分列的记录，涵盖设备、芯片、IPSW 版本、Mach-O 常量、NVRAM、启动参数、lockdownd 服务和权限（entitlements）。仓库中的 Rake 任务会从 Apple 的更新源、The iPhone Wiki 和本机 Apple 二进制文件重新生成部分数据，这些数据也以 apple-data 软件包形式发布到 Ruby、Python 和 Node.js 生态。

- 类型：学习资源
- 目标：二进制 · 固件 · 协议
- 类别：学习资源
- 关联：学习资源
- 来源复核于：2026-10-19
- 收录于：2026-11-09
- 原始资源：<https://github.com/hack-different/apple-knowledge>
- 一手来源：<https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/hack-different-apple-knowledge/>
- 记录 JSON：<https://awesomerea.org/resources/hack-different-apple-knowledge/record.json>
- 英文版：[English](https://awesomerea.org/resources/hack-different-apple-knowledge/index.md)

## 使用条件与局限

- **前提条件：**阅读只需浏览器。构建 Jekyll 站点和运行 Rake 任务需要 Ruby 4.0.5 与 Bundler；BUILD.md 介绍 macOS 和 Debian/Ubuntu 上的 hunspell 与 overcommit 环境。从 Mach-O 二进制文件或内核集合提取数据的任务读取用户 Mac 上的 Apple 软件。
- **局限：**数据格式指南称格式仍为 v0、可能变动；README 的部分主题只有标题，没有链接。
- **范围：**keybags 数据包含注明来自 The iPhone Wiki 的引导固件解密密钥和 IV；symbols 文件夹包含 Apple 框架的符号列表。README 还链接越狱工具、漏洞利用文章和第三方 Apple 引导 ROM 副本。
- **许可：**README 声明代码和数据采用 MIT 许可，文档另以 CC BY-SA 4.0 提供。仓库拒绝基于 AppleInternal 或其他受 DMCA 保护材料的贡献；链接项目与 Apple 软件保留各自条款。

## 一手来源

1. <https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/README.md>
2. <https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/_docs/Data_Formats.md>
3. <https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/BUILD.md>
4. <https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/LICENSE>
5. <https://github.com/hack-different/apple-knowledge/tree/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/_data>
6. <https://github.com/hack-different/apple-knowledge/blob/7e30ba57ac24c6da9e123a3b2732b5d9810d4114/_packages/python/README.md>
7. <https://pypi.org/project/apple-data/>

## 同分区更多条目：文档与学习资源

- [Snake & Apple：macOS 内部机制与安全系列文章](https://awesomerea.org/zh/resources/snake-apple-macos-security-series/index.md) · 学习资源
- [Compiler Explorer](https://awesomerea.org/zh/resources/compiler-explorer/index.md) · 学习资源
- [DecBench](https://awesomerea.org/zh/resources/decbench/index.md) · 研究
- [小小大冒险引擎结构文档](https://awesomerea.org/zh/resources/lba-engine-architecture/index.md) · 学习资源
- [IDA Pro 指南](https://awesomerea.org/zh/resources/ida-pro-guide/index.md) · 学习资源
- [PAN GlobalProtect 协议文档](https://awesomerea.org/zh/resources/pan-globalprotect-protocol-doc/index.md) · 文档

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
