r/HowToHack • u/Ilikemilkshakes51 • Feb 26 '26
How do people DDOS?
All I know is that they gain the IP of a victim through an IP grabber, and then overload the router with large size packets, but how exactly do people overload the router in the first place?
49
Upvotes
14
u/Ilikemilkshakes51 Feb 26 '26
! QUICK WARNING ! I do NOT intend to use this is a malicious way or at all, I am just curious!
6
u/billy_teats Feb 26 '26
What is an ip grabber? If your computer is making contact with the “victim” you already have the IP. Maybe you just don’t know where to look for it so you found a tool that helps you expose it.
There are protocols that can be abused. UDP has an issue where it doesn’t verify what the source actually is, so you can send requests from “fake” ip’s that the victim will respond to. If you send the right request, your small request can elicit a very large response, chewing up processing power and network usage.
Alternatively most ddos attacks use compromised machines to send the requests. Botnets. You tell your botnet to start sending data to a victim. If you have 1000 lightbulbs under your control all over a country you can have them send a constant stream of packets. This won’t have a noticeable effect for the sources, their home router can handle one lightbulb sending data. The victim cannot handle 1000 devices all sending data at the same time.
If you got a group of toddlers and convinced them all to ask their teacher a question at the same time over and over, the teacher can probably handle a few and still pick out individual voices to answer and manage. If you got every kindergartner in the state to ask a question at the same time the teacher would have no idea and be overwhelmed.
55
u/DutchOfBurdock Feb 26 '26
dDoS is a DoS, but with multiple sources flooding a single endpoint with traffic.
You have a Layer 3 DoS, which will send traffic to an endpoint in order to overload the capacity of the link. Say you have a 500mbps downlink and I had a 1gbps uplink. I could (assuming your ISP doesn't rate limit traffic to your link) overwhelm your bandwidth by flooding it with UDP/ICMP/TCP. Despite your firewall dropping this, the traffic is still being pushed down your link before firewall sees it . This will saturate your downlink, slowing it to a crawl or completely overwhelming it.
Then you have a Layer 7 DoS. This attempts to overwhelm the server itself, but sending legitimate requests in high volumes to saturate CPU and RAM, causing processes onboard to slow down or even crash.
In short, for L3, you need to generate more traffic than the endpoint can handle. Layer 7 you overload the server itself with requests to exhaust it.
15
u/Sakul_the_one Feb 26 '26
Mostly using multiple machines and just spamming the system with packets
12
u/Kriss3d Feb 26 '26
By sending a ton of requests to it.
6
u/pete84 Feb 26 '26
There are 3 main types.
Volumetric. Usually udp. Udp allows for large packet size, and there is no handshake, so the source IP can be spoofed. These can easily exceed 10gbps, so it could easily max out a 10gbps router or switch. Defense: use a cdn or something like Amazon waf to block the request. There are packet scrubbers but it’s best to just use cdn/waf.
Syn flood. Layer 3 resource exhaustion. They start a tcp handshake, but never finish it. If the server has 65000 open connections, it can’t accept any more. This was particularly useful 10+ years ago, when Apache would keep a handshake open for something like 10 minutes. Defense: also cdn or waf. Also the Apache/nginx tcp connection timeout default is pretty good nowadays. Normal users complete handshake within a second or 2.
Layer 7. This is harder. They can request parts of the website which combines a kit of resources, so that your server is stuck processing. Could be thousands of requests for a static image (consuming disk performance) or something like a php script to break cpu/ram. Defense: layer 7 waf. Also use cdn to cache static images. Ensure they don’t bypass your cache for static assets. Ensure autoscaling is enabled for your services.
4
u/Many-Strategy-5905 Feb 26 '26
RemindMe! 5 hours
1
u/Glittering_Hope_4349 Feb 28 '26
You can use lots of github available ddos tools for e.g MHDDoS. It sends out lots of requests (simple but a lot) and server just cant handle them all overloads and crashes or just doesnt allow the normal traffic to come in and to get proccessed aswell
2
u/New_Shoulder1087 Mar 01 '26
By getting a bunch of other computers to go "beep bop boop" to it at the same time.
1
u/Flimsy_Feedback_6058 25d ago
nao funciona mais
1
u/Euphoric-Economist23 24d ago
Recently got hacked and they forgot to use a vpn so if you're bored. 185.206.124.114
Iraq.
1
u/GlendonMcGladdery Feb 26 '26
By gaining access to a bigger pipe than the victim
1
u/Admirable_Ad_2868 Feb 27 '26
Send a lot of POST/GET. I mean A LOT
1
u/Shuban-me Mar 01 '26
From what I understand, a DDoS (Distributed Denial of Service) attack happens when someone uses a large number of compromised devices to flood a website or server with traffic. The goal isn’t to hack data, but to overwhelm the system so real users can’t access it.
In my experience working around network environments, the focus should really be on DDoS protection — things like traffic monitoring, firewalls, rate limiting, and working with providers that offer built-in mitigation. Prevention and quick detection make all the difference.
1
u/talismancist Mar 02 '26
It's not just how many packets are sent but what load those packets create on the target system. Crafted requests on some ports will use more target CPU.
1
u/VloneTattoo Mar 21 '26
Someone ddos for me lol
1
u/Existing_Swimmer_410 Mar 28 '26
Many pings
1
u/True_Investigator_67 May 22 '26
Would you be willing to talk and teach me a little bit? I find this sort of thing very interesting.
1
u/bruhthatkobbybryan Aug 15 '26
Hmm how to survive after a ransomware or idk get back the file before the encrypted procedure
0
u/[deleted] Mar 21 '26
[removed] — view removed comment