why do fingerprinting always happens right at connection start ,usually gives clean metadata during tcp syn. but what is it for components like static proxies or load balancers or mobile networks ,all of these can shift stack behavior midstream. this can make this activity itself a obsolete
Implementing fast TCP fingerprinting with eBPF
31–40 of 42 posts
Re: Implementing fast TCP fingerprinting with eBPF
#32More useless and harmful anti-bot nonsense, probably with many false detections, when a simple and neutral rate-limiting 429 does the job.
- shopping cart fraud
- geo-restricted content (think distributing laws)
- preventing abuse (think ticket scalpers)
- preventing cheating and multi-accounting (think gaming)
- preventing account takeovers (think 2FA trigger if fingerprint suddenly changed)
There is much more but yeah, this tech has its place. We cannot just assume everyone has a static website with a free for all content.
Re: Implementing fast TCP fingerprinting with eBPF
#33Earlier quoted context omitted.
Who cares if they pay attention to 429s? Your load balancer is giving them the boot, and your expensive backend resources aren't being wasted. They can make requests until the cows come home; they're not getting anything until they slow down.
If you're rate-limiting by IP, well... some entire countries have only a handful (or one) externally visible IP.
Re: Implementing fast TCP fingerprinting with eBPF
#34Re: Implementing fast TCP fingerprinting with eBPF
#35i've been looking at this recently and this isn't just for bots. ebpf fingerprinting is how cloudflare quickly detects ddos attacks. https://blog.cloudflare.com/defending-the-internet-how-cloud...
What's the simplest way to implement eBPF filtering? As in a NFTables/Fail2Ban level usability.
Of these there is a sample integration for XDPDropper to fail2ban that never got merged https://github.com/fail2ban/fail2ban/pull/3555/files -- I don't think anyone else has really worked on that junction of functionality yet.
There's also wazuh which seems to package ebpf tooling up with a ton of detection and management components, but its not a simple to deploy as fail2ban.
Re: Implementing fast TCP fingerprinting with eBPF
#36E.g. Can the MTU / Maximum Segment Size (MSS) TCP option be influenced from the client end to be less unique, retransmission timing logic deliberately managed, etc?
Re: Implementing fast TCP fingerprinting with eBPF
#37Earlier quoted context omitted.
What's the simplest way to implement eBPF filtering? As in a NFTables/Fail2Ban level usability.
something like https://github.com/renanqts/xdpdropper or cilium's host firewall or https://github.com/boylegu/TyrShield exist or https://github.com/ebpf-security/xdp-firewall today and implement ebpf filter based firewalling. Of these there is a sample integration for XDPDropper to fail2ban that never got merged https://github.com/fail2ban/fail2ban/pull/3555/files -- I don't think anyone else has really worked on tha…
Re: Implementing fast TCP fingerprinting with eBPF
#38Earlier quoted context omitted.
Who cares if they pay attention to 429s? Your load balancer is giving them the boot, and your expensive backend resources aren't being wasted. They can make requests until the cows come home; they're not getting anything until they slow down.
If you're rate-limiting by IP, well... some entire countries have only a handful (or one) externally visible IP.
Re: Implementing fast TCP fingerprinting with eBPF
#39Earlier quoted context omitted.
If it's making a legitimate request, it's not an automated attack. If it's exceeding its usage quota, that's a simple problem that doesn't require eBPF.
What kind of websites do you have in mind when I talk about fraud patterns? not everything is a static website, and I absolutely agree with you on that point: If your static website is struggling under the load of a scraper there is something deeply wrong with your architecture. We live in wonderful times, Nginx on my 2015 laptop can gracefully handle 10k Requests per second before I even activate ratelimiting. Unfor…
Re: Implementing fast TCP fingerprinting with eBPF
#40i've been looking at this recently and this isn't just for bots. ebpf fingerprinting is how cloudflare quickly detects ddos attacks. https://blog.cloudflare.com/defending-the-internet-how-cloud...
What's the simplest way to implement eBPF filtering? As in a NFTables/Fail2Ban level usability.