zlacker

[parent] [thread] 10 comments
1. baby_s+(OP)[view] [source] 2023-07-26 18:27:36
> Why should sites be obligated to let anyone in?

They're not. Depending on your competency, you have a _ton_ of tools at your disposal for filtering traffic ranging from basic throttle to sophisticated behavior/request profiling.

I've spent more than a little bit of my career dealing with bots and I'm not really sure that a cryptographically signed blob proving that the request came from $thisSpecificVersion of firefox running on $thisExactVersion of osx is really going to help me.

I don't care _what_ made the request because that can always be spoofed; this cat and mouse game always ends at the analog loop hole. I care about what the request(s) are trying to do and that is something that I figure out with just the data I have server side.

replies(1): >>treis+f4
2. treis+f4[view] [source] 2023-07-26 18:43:03
>>baby_s+(OP)
>I've spent more than a little bit of my career dealing with bots and I'm not really sure that a cryptographically signed blob proving that the request came from $thisSpecificVersion of firefox running on $thisExactVersion of osx is really going to help me.

It'll end DDOS by botnet. Compromised computers would (presumably) have to run a full browser. That's much more computationally expensive and (presumably) the user would see it running.

And the flaw here is that the proposal doesn't do enough. If that signed blob allowed you to uniquely ID the device it would help solve a lot more problems. That would end DDOS for the most part and make managing abuse a lot easier.

replies(3): >>baby_s+Ld >>Urd-+2j >>doxick+wk
◧◩
3. baby_s+Ld[view] [source] [discussion] 2023-07-26 19:19:52
>>treis+f4
> And the flaw here is that the proposal doesn't do enough. If that signed blob allowed you to uniquely ID the device it would help solve a lot more problems.

This is more or less what the proposal does? It's akin to the same shady stuff seen here [1] except this time some third party gets to sign it.

> That would end DDOS for the most part and make managing abuse a lot easier.

Not every bot that I'm defending against is a DDoS but I can probably figure out a way to overwhelm the "pre-content" filter that's trying to figure out if a token is legit or not.

[1] - https://fingerprint.com/demo/

replies(1): >>treis+0p
◧◩
4. Urd-+2j[view] [source] [discussion] 2023-07-26 19:41:53
>>treis+f4
>It'll end DDOS by botnet.

Not even remotely. This proposal is adding this attestation to one of the last network layers, most DDOS methods won't be touched by this.

replies(1): >>lossol+7M
◧◩
5. doxick+wk[view] [source] [discussion] 2023-07-26 19:47:46
>>treis+f4
It ends DDOS's as much as putting basic-auth in front of it. If that were the case: SSL should already prevent it as well.
replies(1): >>Urd-+Ir
◧◩◪
6. treis+0p[view] [source] [discussion] 2023-07-26 20:03:50
>>baby_s+Ld
>Not every bot that I'm defending against is a DDoS but I can probably figure out a way to overwhelm the "pre-content" filter that's trying to figure out if a token is legit or not.

That's true of every DDOS filter. It doesn't mean that having a cryptographically secure way to make requests more expensive to produce isn't a tremendous help.

>This is more or less what the proposal does? It's akin to the same shady stuff seen here [1] except this time some third party gets to sign it.

The fingerprint isn't unique to the extent that you can rely on it always correctly identifying a single user. So you can't ban based on the fingerprint or automatically log someone in.

replies(1): >>baby_s+Ix
◧◩◪
7. Urd-+Ir[view] [source] [discussion] 2023-07-26 20:13:51
>>doxick+wk
Even less so since this is a proposal for a javascript api.
◧◩◪◨
8. baby_s+Ix[view] [source] [discussion] 2023-07-26 20:38:14
>>treis+0p
> It doesn't mean that having a cryptographically secure way to make requests more expensive to produce isn't a tremendous help.

A malicious actor wouldn't bother. They'll tap `/dev/random` when it comes time to send the blessed token to the origin. The onus is going to be on the origin to figure out that it's _not_ a valid/signed token. If it's as easy for the origin to do this as it is for the adversary to tap a RNG then what was the point? If it's harder for the origin to figure out my token isn't legit than it was for me to generate one, how is the origin better off?

In any case, you're filtering the DDOS out *after* you've managed to set up the TCP/TLS/HTTP connection. That seems to be a rather late/expensive point to do so!

replies(1): >>treis+7F2
◧◩◪
9. lossol+7M[view] [source] [discussion] 2023-07-26 21:44:28
>>Urd-+2j
It will help a lot of services like Cloudflare, basically stopping most of spamming/ddos on sites behind it. Big cloud vendors will probably implement similar solutions in which you will be able to only allow attested traffic to your site.
◧◩◪◨⬒
10. treis+7F2[view] [source] [discussion] 2023-07-27 13:02:28
>>baby_s+Ix
>If it's as easy for the origin to do this as it is for the adversary to tap a RNG then what was the point? If it's harder for the origin to figure out my token isn't legit than it was for me to generate one, how is the origin better off?

Because it's less computational intense than serving responses and/or trying to fingerprint malicious actors. It also tells you with near certainty that the request is malicious and future requests from that IP can be blocked.

replies(1): >>baby_s+WA3
◧◩◪◨⬒⬓
11. baby_s+WA3[view] [source] [discussion] 2023-07-27 16:47:48
>>treis+7F2
> It also tells you with near certainty that the request is malicious and future requests from that IP can be blocked.

So I can still use this to DDOS. My malware running somewhere on your network just needs to submit a bogus request from your IP address. Origin sees the bogus requests from your IP and now that IP is on the bad list. Later - your legit requests from the same IP are ... denied.

I don't know that an "inverse" DDOS is novel, but it's certainly not been common. Perhaps that may change in the future...

[go to top]