x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/rfid-nfc/README.md
View on GitHub# 硬件访问安全
用于授权 RFID/NFC、Proxmark3、PC/SC smart-card 和物理凭据评估的工具。仅在具备所需硬件读卡器和明确物理访问授权时使用此分类。
---
## Golden Path
| 场景 | 首选工具链 | 何时不用 |
|------|----------|---------|
| RFID/NFC 卡识别 | `proxmark3 -c "auto"` 或 `nfc-list` | 需要读卡器硬件和物理卡片授权 |
| MIFARE Classic 评估 | `proxmark3` 或 `nfc-mfclassic` | 未经明确批准绝不克隆或写入 |
| NFC 标签轮询 | `nfc-poll` / `nfc-list` | 更深入 LF/HF 测试使用 Proxmark3 |
| Smart-card 清单 | `opensc-tool -l` | 需要 PC/SC reader 访问 |
| 证书提取 | `pkcs15-tool` | 需要读取令牌证书的授权 |
| 自定义 APDU 测试 | `scriptor` | 高度谨慎;畸形 APDUs 可能影响卡片 |
---
## RFID 和 NFC
**[proxmark3](tools/proxmark3.md)** — RFID/NFC 研究和卡评估平台
用于 LF/HF 卡识别、MIFARE 检查、转储、模拟和克隆工作流的 CLI 工具。
**[libnfc tools](tools/libnfc.md)** — NFC 读卡器工具
包括 `nfc-list`、`nfc-poll` 和 `nfc-mfclassic`,用于 NFC 标签检测和 MIFARE Classic 读取。
---
## Smart Cards
**[opensc-tool](tools/opensc-tool.md)** — PC/SC smart-card 清单
列出读卡器和卡片,包括 ATR 信息。
**[pkcs15-tool](tools/pkcs15-tool.md)** — PKCS#15 smart-card 数据访问
从支持的 smart cards 读取证书和令牌对象。
**[scriptor](tools/scriptor.md)** — 文本模式 APDU 脚本运行器
通过 PC/SC 向 smart cards 发送脚本化 APDU 命令。
---
## 相关分类
- Wi-Fi、Bluetooth 和 BLE radio 评估,读取 `../wireless/README.md`。
---
## 卡片类型决策树
根据识别到的卡片类型匹配适当的攻击方法:
| 卡片类型 | 操作 |
|----------|------|
| MIFARE Classic | darkside 攻击(无已知密钥)或 nested 攻击(有一个已知密钥)— `proxmark3 hf mf autopwn` / `nfc-mfclassic` |
| HID iCLASS | 先尝试标准/默认密钥 — 密钥命中则转储 |
| MIFARE DESFire | 只读枚举;完整密钥恢复不可行 |
| EM4100 (LF read) | `proxmark3 lf search` — 读取并记录 UID |
| T5577 (LF writable) | `proxmark3 lf search` — 仅在明确批准后克隆 |
| 未知 | `proxmark3 auto` — 先识别频率和类型 |
---
## Playbook
完整场景工作流(包含阶段、决策点和风险门槛)见 `../playbooks/rfid-nfc.md`。
---
## 官方参考
- [Proxmark3 GitHub](https://github.com/RfidResearchGroup/proxmark3)
- [Proxmark3 command reference](https://github.com/RfidResearchGroup/proxmark3/blob/master/doc/commands.md)
- [libnfc](https://github.com/nfc-tools/libnfc)
- [OpenSC](https://github.com/OpenSC/OpenSC)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |