performing-iot-security-assessment
它能做什么
这个工具可以帮你检查联网设备(比如智能摄像头、智能冰箱等)的安全性。它会寻找黑客可能用来入侵这些设备的薄弱环节。
适用场景
- ✓在家里或公司安装智能设备之前。
- ✓当你想确认刚买的智能产品是否安全时。
- ✓测试工业智能设备的安全性。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-iot-security-assessment/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在我把这台智能摄像头接入网络之前,帮我检查一下它的安全性。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会对设备进行实物检查,分析其内部软件(固件)以及它产生的网络流量,查找弱密码、开放端口和其他漏洞。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Performing IoT Security Assessment
When to Use
- Evaluating the security of IoT devices before deployment in enterprise or critical infrastructure environments
- Assessing consumer IoT products for security vulnerabilities as part of product security review or certification
- Testing industrial IoT (IIoT) devices for vulnerabilities that could affect operational technology environments
- Analyzing firmware for backdoors, hardcoded credentials, and known vulnerabilities in embedded components
- Evaluating the security of the complete IoT ecosystem including device, cloud backend, and mobile companion app
Do not use against IoT devices without written authorization, for modifying firmware on devices you do not own, or against medical devices or safety-critical systems without specific medical device testing authorization and safety protocols.
Prerequisites
- Physical access to the target IoT device(s) for hardware analysis and testing
- Hardware tools: USB-to-UART adapter (FTDI), Bus Pirate, logic analyzer, JTAG debugger (Segger J-Link), SPI flash programmer (CH341A)
- Firmware analysis tools: Binwalk, Firmwalker, Firmware Analysis Toolkit (FAT), Ghidra, QEMU for emulation
- Network analysis: Wireshark, tcpdump, Bluetooth tools (Ubertooth, nRF Connect), Zigbee tools (KillerBee)
- Soldering equipment for accessing hardware debug points if needed
Workflow
Step 1: Device Reconnaissance and Hardware Analysis
Examine the physical device and identify attack surfaces:
- External inspection: Document all physical interfaces (USB, Ethernet, serial ports, SD card slots), labels, FCC ID, and model numbers
- FCC ID lookup: Search the FCC database (fcc.gov/oet/ea/fccid) using the FCC ID to find internal photos, schematics, and radio frequency information
- PCB analysis: Open the device enclosure and photograph the PCB. Identify:
- Main processor/SoC (read markings, search datasheet)
- Flash memory chips (SPI NOR, NAND, eMMC)
- Debug headers and test points
- UART/JTAG/SWD pins (look for 4-pin or 10-pin headers, or unpopulated pads)
- UART identification: Use a multimeter to identify UART pins (TX, RX, GND, VCC). Connect USB-to-UART adapter and attempt serial console access at common baud rates (9600, 38400, 57600, 115200)
- JTAG identification: Use JTAGulator or manual probing to identify JTAG pins (TCK, TMS, TDI, TDO, TRST). Connect JTAG debugger for memory access and debugging.
Step 2: Firmware Extraction and Analysis
Extract and analyze the device firmware:
- Firmware acquisition methods:
- Download from manufacturer website or update server
- Extract from flash memory using SPI programmer: connect CH341A to SPI flash, read with
flashrom -p ch341a_spi -r firmware.bin - Capture over-the-air updates via network interception
- Extract from UART bootloader console (U-Boot:
md.bmemory dump)
- Firmware unpacking:
binwalk -e firmware.binto extract filesystem, kernel, and bootloader components - Filesystem analysis:
- Search for credentials:
grep -rn "password\|passwd\|secret\|key" squashfs-root/ - Examine
/etc/shadowfor password hashes - Review startup scripts in
/etc/init.d/for insecure service configurations - Identify web server configurations and CGI scripts for web interface vulnerabilities
- Use Firmwalker:
./firmwalker.sh squashfs-root/for automated sensitive data discovery
- Search for credentials:
- Binary analysis: Use Ghidra to reverse engineer key binaries (web server, management daemon, authentication modules) for hardcoded credentials, command injection, and buffer overflow vulnerabilities
- Known vulnerability scanning: Extract software versions and cross-reference with CVE databases. Use
firmware-analysis-toolkitfor automated CVE scanning.
Step 3: Network Communication Analysis
Analyze all network traffic from the IoT device:
- Traffic capture: Connect the device to a network with traffic mirroring (SPAN port) or use an inline transparent bridge. Capture all traffic with Wireshark.
- Protocol analysis: Identify all protocols used (HTTP, HTTPS, MQTT, CoAP, AMQP, custom TCP/UDP). Check for unencrypted sensitive data transmission.
- TLS analysis: Verify TLS implementation: certificate validation, cipher suite strength, certificate pinning. Attempt MITM interception with Burp Suite.
…
常见问题
我需要拿到设备实物吗?
如果要进行完整分析,需要实际接触设备,检查它的接口和内部元件。
这个工具可以用在任何设备上吗?
不可以,你只能对已获得明确测试授权的设备使用此工具。未经特别授权,切勿对医疗或涉及安全的关键设备使用。
需要准备哪些工具?
需要各种硬件工具(如 USB 适配器、调试器)以及用于分析固件和网络流量的软件。
详情
作者的原始描述
Performs comprehensive security assessments of IoT devices and their ecosystems by testing hardware interfaces, firmware, network communications, cloud APIs, and companion mobile applications. The tester uses firmware extraction and analysis, hardware debugging via UART and JTAG, network protocol analysis, and runtime exploitation to identify vulnerabilities across all layers of the IoT stack. Act
热度
- GitHub 星标
- 35k
- 排名
- #8248
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。