BIND 9.5.0-P2 (randomized ports) Remote DNS Cache Poisoning Exploit

成功使用完全随机端口毒化最新版BIND。利用此方法需发送超过13万条请求以匹配端口和ID,进而插入毒化记录。攻击耗时约10小时,表明局域网内受感染设备一夜之间即可实现DNS毒化。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. Successfully poisoned the latest BIND with fully randomized ports!
  2. Exploit required to send more than 130 thousand of requests for the fake records like 
  3. 131737-4795-15081.blah.com to be able to match port and ID and insert poisoned entry 
  4. for the poisoned_dns.blah.com.
  5. # dig @localhost www.blah.com +norecurse
  6. ; <<>> DiG 9.5.0-P2 <<>> @localhost www.blah.com +norecurse
  7. ; (1 server found)
  8. ;; global options:  printcmd
  9. ;; Got answer:
  10. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6950
  11. ;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
  12. ;; QUESTION SECTION:
  13. ;www.blah.com.                  IN      A
  14. ;; AUTHORITY SECTION:
  15. www.blah.com.           73557   IN      NS      poisoned_dns.blah.com.
  16. ;; ADDITIONAL SECTION:
  17. poisoned_dns.blah.com.  73557   IN      A       1.2.3.4
  18. # named -v
  19. BIND 9.5.0-P2
  20. BIND used fully randomized source port range, i.e. around 64000 ports. 
  21. Two attacking servers, connected to the attacked one via GigE link, were used, 
  22. each one attacked 1-2 ports with full ID range. Usually attacking server is able 
  23. to send about 40-50 thousands fake replies before remote server returns the 
  24. correct one, so if port was matched probability of the successful poisoning is more than 60%.
  25. Attack took about half of the day, i.e. a bit less than 10 hours.
  26. So, if you have a GigE lan, any trojaned machine can poison your DNS during one night... 
  27. original source: http://tservice.net.ru/~s0mbre/blog/2008/08/08/
  28. http://milw0rm.com/sploits/2008-dns-bind.tgz

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值