Jun 16, 2020 01:05 PM
(This post was last modified: Aug 1, 2020 04:13 PM by Goodies.)
![[Image: op8.png]](https://hackforums.net/images/groupimages/custom/op8.png)
DHCPain is a simple lease exhaustion utility that I developed for an independent book that I am authoring. I wanted to demonstrate some network attacks, but some tools for DHCP exhaustion are either non-functional with current software versions (DHCPig) or do not properly exhaust leases by responding to DHCP Offer messages. For this reason, DHCPain was created as a very simple tool to exhaust DHCP scopes of a target network. One benefit of this tool is that the source MAC address is not changed per frame, so it will not be mitigated by port security alone. Networks must be secured with DHCP snooping and MAC verification in order to properly avoid this attack.
Code
pip install dhcpainGithub Link: https://github.com/GoodiesHQ/DHCPain
Code
git clone https://github.com/GoodiesHQ/DHCPain
cd DHCPain
pip install -r requirements.txt
python dhcpain.py -lRuns on Linux and Windows:
Eats up DHCP leases on Windows Server, home routers, dhcpd, etc...
Does not modify source MAC address of the ethernet frames, so it cannot be prevented by port security alone. DHCP snooping must be enabled for protection.
SRPP Discord Server
I am a professional network/cloud security architect.
My Old Tutorials
I am a professional network/cloud security architect.
My Old Tutorials




![[Image: FtwuQgr.gif]](https://i.imgur.com/FtwuQgr.gif)