News for hackers. Stuff that matters.
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @09:22AM (#37831733)
There should be a protocol to block traffic on the upstream provider. So if someone from 1.2.3.4 sends lots of traffic at you, you send a special packet to 1.2.3.4 and all upstream providers (including the provider that serves 1.2.0.0/16), that see this packet block traffic from that IP address directed at you. Of course, the packet should allow blocking not only a single address, but a whole network, for example, 1.2.3.4/16.

But ISPs do not want to adopt such protocol.

Re:Google mitigated the largest DDoS attack to date, peaking... by tsimionescu on Tuesday October 10, 2023 @09:29AM (#37831836)
So I can deny service to your site with a single packet, instead of having to bother with establishing a whole botnet? The current botnet customers would be the first to advocate for this new protocol!
Re:Google mitigated the largest DDoS attack to date, peaking... by alexfoo on Tuesday October 10, 2023 @09:32AM (#37831871)
Simple! To prevent it being abused easily you could make it so you would need to send a high number of those packets for a sustained period in order to activate the block.
Re:Google mitigated the largest DDoS attack to date, peaking... by simondotau on Tuesday October 10, 2023 @09:37AM (#37831929)
And there could be a short time limit on that block, perhaps one hour, but even 60 seconds would be enough to completely flip the script on a DDoS.
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @09:36AM (#37831921)
You can only block access to your IP address, so you can ban someone from sending packets to you but not to anyone else. My proposal is well-thought and doesn't require any lists like Spamhaus that have vague policies for inclusion and charge money for removing. My proposal doesn't have any potential for misuse.
Re:Google mitigated the largest DDoS attack to date, peaking... by ComodoHacker on Tuesday October 10, 2023 @09:49AM (#37832075)
How can it protect from... botnets, where there are tens of thousands "someones"?
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @01:59PM (#37835302)
You can only ban packets coming to your IP. Botnet can only ban packets coming to its IP addresses.
Re:Google mitigated the largest DDoS attack to date, peaking... by plagiarist on Tuesday October 10, 2023 @09:52AM (#37832112)
Sorry, this is not well-thought and certainly has potential for abuse. This is on IP and not domain? What is the signing authority and cryptography mechanism preventing a spoofed request?
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:01PM (#37835332)
When you send a "reject" packet, the imtermediate routers send back a confirmation code. You must send this code back to them to confirm that "reject" packet comes from your IP address. No cryptography or signing required.
Re:Google mitigated the largest DDoS attack to date, peaking... by plagiarist on Tuesday October 10, 2023 @05:48PM (#37838048)
I don't think you understand how networking operates at a packet level.
Re:Google mitigated the largest DDoS attack to date, peaking... by tsimionescu on Tuesday October 10, 2023 @10:09AM (#37832330)
It's not very hard to send packets with a fake source IP, especially if you don't care about the reply.
Re:Google mitigated the largest DDoS attack to date, peaking... by ndriscoll on Tuesday October 10, 2023 @10:47AM (#37832799)
Seems easy enough to require (i.e. regulate) end-customer ISPs to drop any traffic with a source IP that isn't assigned to the modem it's coming from. This would at least prevent spoofing from e.g. compromised residential IoT devices. Are they not already doing that filtering? Is there any legitimate use-case to allow that kind of traffic?
Re:Google mitigated the largest DDoS attack to date, peaking... by gene91 on Tuesday October 10, 2023 @11:35AM (#37833464)
Someone has to go and add the filtering. Nowadays (or maybe since ten years ago) most ISPs have the filter, but not the last 1% (or maybe 0.01%).
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:00PM (#37835317)
The routers can send back a confirmation token to confirm the origin address.
Re:Google mitigated the largest DDoS attack to date, peaking... by tsimionescu on Wednesday October 11, 2023 @07:07AM (#37843031)
First of all, there is no way this works reliably for anything but the first hop. There is no way for a router to send a packet to you in a way where you can reply to that router unless you are connected directly to it, unless all ISP routers start being assigned public IP addresses. Additionally, there are normally many paths between you and your attacker, and there is no guarantee that packets you send will take the same path as the packets you were receiving. Especially as the routing rules get modified by your successful blocking requests.

That also means that every router now has to maintain a connection table to keep track of all of the pending confirmations, and to periodically check that table for expirations so it can clean it up. Maybe not that bad for a local router, but this is completely unworkable for routers handling larger parts of the internet.

And of course, anyone who has a tap into that level can trivially spoof all of the correct replies so it's still not a secure mechanism.

Re:Google mitigated the largest DDoS attack to date, peaking... by brk on Tuesday October 10, 2023 @09:55AM (#37832146)
There is already an RFC we could apply, just implement forced RFC3514 compliance and filter any packets with the evil bit set.

https://datatracker.ietf.org/doc/html/rfc3514

Re:Google mitigated the largest DDoS attack to date, peaking... by papichulo2023 on Tuesday October 10, 2023 @09:38AM (#37831938)
Yeah, we should invent secure communication channels and crypto keys first...
Re:Google mitigated the largest DDoS attack to date, peaking... by tsimionescu on Wednesday October 11, 2023 @03:23AM (#37841848)
This proposal only works if the packets are readable by every intermediate router. Or are you suggesting that you establish a TLS session with every router between you and the attacker?
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @09:35AM (#37831911)
You can deny access only from your IP, not for anyone else.
Re:Google mitigated the largest DDoS attack to date, peaking... by iforgotpassword on Tuesday October 10, 2023 @09:57AM (#37832172)
How do you verify the source address of the packet is legit?
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:02PM (#37835348)
The router can send back a confirmation code and you must send it back to confirm that request comes from your IP.

Also, on a well-behaved networks that do not allow spoofing IP addresses, this check can be omitted.

Re:Google mitigated the largest DDoS attack to date, peaking... by iforgotpassword on Wednesday October 11, 2023 @02:35AM (#37841612)
> The router can send back a confirmation code and you must send it back to confirm that request comes from your IP.

Ideally with the token packet being larger than the initial packet, so it can easily be abused for a reflection attack... ;-)

> Also, on a well-behaved networks that do not allow spoofing IP addresses, this check can be omitted.

This is already not true for most networks, and in your case would've to be true for all intermediate networks which is just impossible.

In another post you suggest this should also allow blocking entire networks; how do you prevent abuse of that?

Your suggestion is anything but well-thought, it's a pipe dream for a perfect world, but if we'd live in one, we wouldn't have ddos attacks in the first place.

Re:Google mitigated the largest DDoS attack to date, peaking... by hnlmorg on Tuesday October 10, 2023 @10:01AM (#37832221)
IP addresses can be spoofed. So you’d need some kind of handshake to verify you are the owner of that IP. Which is going to be tough to complete if your network is completely saturated from the DDoS in progress.

I do think your idea has merit though. But it’s still a long way from being a well thought-out solution.

Re:Google mitigated the largest DDoS attack to date, peaking... by ilyt on Tuesday October 10, 2023 @09:27AM (#37831813)
What you say already exists, hell, you can use BGP to distribute ACLs

But it costs space in the routing tables and that means replacing routers earlier. It's no wonder, especially if you multiply it by thousand customers.

"block all traffic from outside from this IP" is significantly easier than "block all traffic from outside from this IP to this client". And you need to do it per ISP client, else it is ripe for abuse.

And don't forget a lot of the traffic will come from "cloud" itself.

Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @09:34AM (#37831899)
> What you say already exists, hell, you can use BGP to distribute ACLs

But you should own an AS for that?

> But it costs space in the routing tables

Not implementing my proposal leaves critical infrastructure unprotected from foreign attacks. Make larger routing tables. Also, instead of blocking single IPs one can block /8 or /16 subnets.

Re:Google mitigated the largest DDoS attack to date, peaking... by CountSessine on Tuesday October 10, 2023 @09:53AM (#37832130)
Make larger routing tables.

Brilliant! Why didn’t we think of that?!? MOARE TCAMS!!!

Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:10PM (#37835447)
if Cloudflare can do this on commodity hardware (stop attacks and block thousands of IPs), then router manufacturers who have custom hardware can do much more.

Also, in Russia for example, there is DPI inspection and recording of all Internet traffic and if it is possible in Russia, then West can probably do 10x more. Simply adding a blacklist on routers seems like an easy task compared to DPI inspection.

Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:17PM (#37835518)
This can be made on a paid basis. For example, for $1/month a customer gets a right to insert 1000 records (block up to 1000 networks or IPs) into blacklist on all Tier-1 ISPs. For $100/mo you can withstand an attack from 100 000 IPs which is more than enough and Cloudflare goes bankrupt.
Re:Google mitigated the largest DDoS attack to date, peaking... by HumblyTossed on Tuesday October 10, 2023 @09:27AM (#37831803)
I am pretty sure that protocol would be just as abused.
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @09:29AM (#37831827)
How exactly? You can authenticate sender by sending a special confirmation token back.
Re:Google mitigated the largest DDoS attack to date, peaking... by sophacles on Tuesday October 10, 2023 @11:38AM (#37833513)
How does one get removed from the block list?

Say some IoT device that half of households own gets compromised and turned into a giant botnet. The news gets out and everyone throws away that device. Now they are still blocked over a threat that doesn't exist anymore... doesn't seem like a good situation for anyone.

I'd imagine that the website owners that want the attack stopped will soon want to figure out how to get traffic back since they need users to pay the bills.

Whats to stop someone from just making an app that participates in an attack when connected to public(ish) wifi networks and participating in attacks long enough to get those all shut off from major sites?

How does this stop entire ISPs from getting shut off when the attackers have managed to cycle through all the IP pools used for natting connections? (e.g. the Comcasts of the world that use cg-nat to multiplex very large numbers of people to very small numbers of IPs)?

Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:32PM (#37835698)
> How does one get removed from the block list?

We can add an "accept" packet that lifts the ban.

Also, how do you remove yourself from blacklist when banned by Google or Cloudflare? I guess here you use the same method.

> Say some IoT device that half of households own gets compromised and turned into a giant botnet. The news gets out and everyone throws away that device. Now they are still blocked over a threat that doesn't exist anymore... doesn't seem like a good situation for anyone.

Not my problem. Should have thought twice before buying a vulnerable device and helping criminals. As a solution they can buy a new IP address from their ISP.

Re:Google mitigated the largest DDoS attack to date, peaking... by grotorea on Tuesday October 10, 2023 @08:35PM (#37839595)
As much as I half-wish there was something like this, it does sound like email spam blacklists all over again.
Re:Google mitigated the largest DDoS attack to date, peaking... by 6510 on Tuesday October 10, 2023 @09:44AM (#37832027)
I just imagined this: isp's could make a isp.com?target=yourwebsite.org/fromisp [slow] redirecting url. If you receive unusual amounts of requests from the isp you redirect it though their website.

They can then ignore it until their server melts (which takes care of the problem) or take honorable action if one of their customers is compromised. The S stands for service after all.

Re:Google mitigated the largest DDoS attack to date, peaking... by oefrha on Tuesday October 10, 2023 @09:55PM (#37840072)
It appears you don’t understand DDoS at all. There aren’t humans sitting behind browsers or scripts using browser automation software. No one cares about less respects your “redirect” because no one’s reading your response. Most of the time the attacks aren’t even HTTP, they are just packet floods.
Re:Google mitigated the largest DDoS attack to date, peaking... by 6510 on Wednesday October 11, 2023 @12:41PM (#37846766)
> It appears you don’t understand DDoS at all.

I can confirm this. I see web pages talking about redirecting traffic to scrubbing centers.

Re:Google mitigated the largest DDoS attack to date, peaking... by rootlocus on Tuesday October 10, 2023 @09:59AM (#37832194)
> Of course, the packet should allow blocking not only a single address, but a whole network, for example, 1.2.3.4/16.

So, if my neighbour is infected and one of his devices is part of a botnet, I get blocked as well?

Re:Google mitigated the largest DDoS attack to date, peaking... by bee_rider on Tuesday October 10, 2023 @10:17AM (#37832442)
Block the whole country, then I guess you’ll see laws passed that IOT providers need to start updating at a better clip.
Re:Google mitigated the largest DDoS attack to date, peaking... by rcxdude on Tuesday October 10, 2023 @10:51AM (#37832845)
That already effectively happens in a lot of cases.
Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Tuesday October 10, 2023 @02:07PM (#37835414)
Yes. Because blocking several extra users on a bad network that has several infected hosts and does nothing about it is better than being under attack.
Re:Google mitigated the largest DDoS attack to date, peaking... by eptcyka on Tuesday October 10, 2023 @10:14AM (#37832393)
Do you know what the first D in DDoS attack stands for?
Re:Google mitigated the largest DDoS attack to date, peaking... by toast0 on Tuesday October 10, 2023 @10:45AM (#37832770)
If the source field in a packet reliably indicated the source of the packet and a given IP was sending you a lot of unwanted traffic, you'd ask their ISP to turn them off and the problem would be solved. Maybe one day BCP38 will be fully deployed and that will work. I also dream of a day where chargen servers are only a memory. Some newer protocols are designed to limit the potential of reflected responses.

Null routing is available in some situations, but of course it's not very specific: hey upstreams (and maybe their upstreams), drop all packets to my specific IP. My understanding is null routing is often done via BGP, so all the things (nice and not) that come with that.

Asking for deeper packet inspection than looking at the destination is asking for router ASICs to change their programing; it's unlikely to happen. Anyway, the distributed nature of DDoS means you'd need hundreds of thousands of rules, and nobody will be willing to add that.

Null routing is effective, but of course it takes you IP offline. Often real traffic can be encouraged to move faster than attack traffic. Otherwise, the only solution is to have more input bandwidth than the attack and suck it up. Content networks are in a great position here, because they deliver a lot of traffic over symetric connections, they have a lot of spare inbound capacity.

Re:Google mitigated the largest DDoS attack to date, peaking... by codedokode on Wednesday October 11, 2023 @09:54AM (#37844431)
> If the source field in a packet reliably indicated the source of the packet and a given IP was sending you a lot of unwanted traffic, you'd ask their ISP to turn them off and the problem would be solved

No. Your email will go straight into trash because ISP is not interested in doing something for people who don't pay them money. Also, even if they cooperate, it will take too much time.

> Null routing is available

Null routing means complying with criminals' demand (they want the site to become inaccessible).

> it's unlikely to happen

It will very likely happen if there will be a serious attack on Western infrastructure: for example, if there will be no electricity in a large city for several days, of if hospitals across the country won't work or something like this. Then the measures will be taken. Of course, while the victims are small non-critical businesses, nobody will care.

> Otherwise, the only solution is to have more input bandwidth than the attack and suck it up. Content networks are in a great position here, because they deliver a lot of traffic over symetric connections, they have a lot of spare inbound capacity.

So until my proposal is implemented the only solution is to pay protection money to unnecessary middlemen like Cloudflare.