|
1 | | -# dstar |
| 1 | + |
| 2 | + |
| 3 | +[](http://www.gnu.org/licenses/gpl-3.0.html) |
| 4 | + |
| 5 | +# Dstar # |
| 6 | +This tool implement various DHCP attacks and can be used for test DHCP server in __your network__! |
| 7 | + |
| 8 | +Supported features: |
| 9 | +- Flood -> Flood DHCP server with large amount of DHCP discover message (this attack not acquire addresses!) |
| 10 | +- Starvation -> Try to acquire all addresses in DHCP pool, you can use this option with a rogue DHCP server... MITM? ;) |
| 11 | +- Built-in rogue DHCP server |
| 12 | + |
| 13 | +# Setting up dstar # |
| 14 | + |
| 15 | +First of all getting the code from repository: |
| 16 | + |
| 17 | + $ git clone https://github.com/jacopodl/dstar |
| 18 | + |
| 19 | +Now you can compile it with followings command: |
| 20 | + |
| 21 | + $ cd dstar |
| 22 | + $ git submodule init && git submodule update |
| 23 | + $ cmake . |
| 24 | + $ make |
| 25 | + |
| 26 | +# Usage example # |
| 27 | +Flood DHCP server with discover messages: |
| 28 | + |
| 29 | + $ sudo ./dstar %interface% --flood |
| 30 | + |
| 31 | +Exhaust DHCP pool and release all addresses on exit: |
| 32 | + |
| 33 | + $ sudo ./dstar %interface% --starvation |
| 34 | + |
| 35 | +without release addresses: |
| 36 | + |
| 37 | + $ sudo ./dstar %interface% --starvation --no-release |
| 38 | + |
| 39 | +Setting up rogue DHCP server with the stolen addresses: |
| 40 | + |
| 41 | + $ sudo ./dstar %interface% --starvation --server |
| 42 | + |
| 43 | +Getting help with: |
| 44 | + |
| 45 | + $ ./dstar --help |
| 46 | + |
| 47 | +# Action snapshot # |
| 48 | + |
| 49 | + $ sudo ./dstar %interface% --starvation |
| 50 | + |
| 51 | + @@@@@@@ @@@@@@ @@@@@@@ @@@@@@ @@@@@@@ |
| 52 | + @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@ @@@@@@@@ |
| 53 | + @@! @@@ !@@ @@! @@! @@@ @@! @@@ |
| 54 | + !@! @!@ !@! !@! !@! @!@ !@! @!@ |
| 55 | + @!@ !@! !!@@!! @!! @!@!@!@! @!@!!@! |
| 56 | + !@! !!! !!@!!! !!! !!!@!!!! !!@!@! |
| 57 | + !!: !!! !:! !!: !!: !!! !!: :!! |
| 58 | + :!: !:! !:! :!: :!: !:! :!: !:! |
| 59 | + :::: :: :::: :: :: :: ::: :: ::: |
| 60 | + :: : : :: : : : : : : : : : |
| 61 | + vX.x.x |
| 62 | + |
| 63 | + |
| 64 | + [<---] DHCP DISCOVER |
| 65 | + [--->] DHCP OFFER |
| 66 | + [<---] DHCP REQUEST |
| 67 | + [--->V] DHCP ACK |
| 68 | + Ip:192.168.1.99 - MAC:52:c5:b9:35:0c:42 lease(s):21600 |
| 69 | + |
| 70 | + [<---] DHCP DISCOVER |
| 71 | + [--->] DHCP OFFER |
| 72 | + [<---] DHCP REQUEST |
| 73 | + [--->V] DHCP ACK |
| 74 | + Ip:192.168.1.118 - MAC:12:3c:09:28:ac:cb lease(s):21600 |
| 75 | + |
| 76 | + [<---] DHCP DISCOVER |
| 77 | + ^CStopping... |
| 78 | + Releasing addresses... |
| 79 | + All done! |
0 commit comments