• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

DOS ATTACK from inside the network to the DHCP server

AnonyViet by AnonyViet
April 23, 2024
in Security
0

You can trick a DHCP server into not providing IP addresses to devices, completely blocking new connections by performing a DoS attack called “DHCP starvation attack”. I will show you how to do it and how to protect your network.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

DOS ATTACK from inside the network to the DHCP server

DoS attack on DHCP server

DHCP is a protocol used to automatically configure devices. Usually, they are terminal devices such as computers, phones or printers that receive IP addresses, masks, default gateways, DNS, etc. thanks to DHCP.

But what happens when someone prevents this mechanism from working? There will be no network connection nor internet connection. We call this type of attack DoS attack (Denial of service attack).

The attack is called a “DHCP hunger attack” based on the fact that each DHCP server has a precisely defined number of IP addresses that can be allocated to devices. For example, the subnet might be 192.168.0.0/24, which represents a maximum range of 253 usable addresses for clients.

But when an attacker claims all available IP addresses by overwriting a large number of bogus MAC addresses, the server will not have any IP addresses to offer to new devices.

This attack even creates an opportunity for the attacker to capture traffic. After disabling the DHCP server, the attacker can switch to his own DHCP server. For example, a fake DNS server could be provided in the DHCP configuration to attack you. I see this as a dangerous attack.

Simulate the attack

I will show you how easy it is to perform this attack. I will use a Cisco router and laptop with the KALI Linux distribution for testing. I will use a tool called Yersinia.

Basic configuration of DHCP server on CISCO router

ip dhcp excluded-address 192.168.0.1
 !
 ip dhcp pool LAN
 network 192.168.0.0 255.255.255.0
 default-router 192.168.0.1
 dns-server 8.8.8.8

After connecting the first station, I saw an IP address assigned.

R1-NETVEL#show ip dhcp binding

DOS ATTACK from inside the network to the DHCP server 9

I also saw a small amount of DHCP requests coming to the router.

R1-NETVEL#show ip dhcp server statistics

DOS ATTACK from inside the network to the DHCP server 10

And only one IP address is assigned

R1-NETVEL#show ip dhcp pool

DOS ATTACK from inside the network to the DHCP server 11

Launch the attack

I will use the Yersinia tool. You can also do this through the CLI, but in this case, I prefer the GUI. You can open it with the following command.

root@kali:~#yersinia -G

Or you can also launch the attack with a few mouse clicks through the graphical interface.

Start: Launch attack -> send DISCOVER packet

Stop: List attacks -> Cancel attack

DOS ATTACK from inside the network to the DHCP server 12

After a while, the DHCP server will have more requests than it can handle. That is a DoS attack.

R1-NETVEL#show ip dhcp binding

DOS ATTACK from inside the network to the DHCP server 13

R1-NETVEL#show ip dhcp server statistics

DOS ATTACK from inside the network to the DHCP server 14

R1-NETVEL#show ip dhcp pool

DOS ATTACK from inside the network to the DHCP server 15

As we can see, the attack is relatively simple, but very dangerous. It can be prevented in many ways, such as limiting the number of MAC addresses passing through the port (port security), or if we want to prevent the attacker from providing his own DHCP server, we can Implement DHCP snooping.

The article scored: 5/5 – (100 votes)

Tags: AttackDHCPDoSnetworkServer
Previous Post

Instructions for registering YouTube Premium for free on Samsung TV

Next Post

Summary of the 5 most effective tools for retrieving text from images today

AnonyViet

AnonyViet

Related Posts

How to use hackers use Splitfus to execute PowerShell malicious code
Security

How to use hackers use Splitfus to execute PowerShell malicious code

July 20, 2025
How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Next Post
Summary of the 5 most effective tools for retrieving text from images today

Summary of the 5 most effective tools for retrieving text from images today

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
How to pay health insurance on Momo online right at home

How to pay health insurance on Momo online right at home

November 8, 2025
How to create Flycam videos from photos to sell real estate

How to create Flycam videos from photos to sell real estate

November 8, 2025
Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
How to pay health insurance on Momo online right at home

How to pay health insurance on Momo online right at home

November 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions for downloading Anh Hai’s Pho Shop game on Android

Instructions for downloading Anh Hai’s Pho Shop game on Android

November 8, 2025
Download training materials on Applying AI in teaching and learning in 2025

Download training materials on Applying AI in teaching and learning in 2025

November 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply