Self-Hosted JA4 to combat AI bots
blog.miloslavhomer.cz
Self-Hosted JA4 to combat AI bots
1–10 of 17 posts
Re: Self-Hosted JA4 to combat AI bots
#2Re: Self-Hosted JA4 to combat AI bots
#3This is a good write-up. Is your blog running JA4 right now?
Re: Self-Hosted JA4 to combat AI bots
#4This is a good write-up. Is your blog running JA4 right now?
Hello again! Yes it is. If you have an exotic client, I'm here for it :D
Re: Self-Hosted JA4 to combat AI bots
#5Earlier quoted context omitted.
Hello again! Yes it is. If you have an exotic client, I'm here for it :D
Nice. I was more curious of the clients using HTTP/2.0 HTTP Protocol, what percentage of them is JA4 detecting as bots that spoof all the other headers a browser sends? That is the missing piece in my blog write-up as I don't do SSL fingerprinting. I am trying to see what percentage are getting through my very crude methods.
Re: Self-Hosted JA4 to combat AI bots
#6Re: Self-Hosted JA4 to combat AI bots
#7As a learning exercise - great. As an actual mitigation technique - even JA4s can be rotated pretty easily these days by motivated actors. Rotation patterns might still work (for now :D)
Now the question of how motivated are noisy AI scrapers is still open. Even a solution that cuts down 50 percent of the dumbest scraping attempts will still provide much needed relief to a struggling site.
Re: Self-Hosted JA4 to combat AI bots
#8As a learning exercise - great. As an actual mitigation technique - even JA4s can be rotated pretty easily these days by motivated actors. Rotation patterns might still work (for now :D)
This is the sad conclusion of the next part. JA4 is a great supplement, it can squeeze some additional info, but for a motivated attacker it can be avoided. Now the question of how motivated are noisy AI scrapers is still open. Even a solution that cuts down 50 percent of the dumbest scraping attempts will still provide much needed relief to a struggling site.
Re: Self-Hosted JA4 to combat AI bots
#9Earlier quoted context omitted.
This is the sad conclusion of the next part. JA4 is a great supplement, it can squeeze some additional info, but for a motivated attacker it can be avoided. Now the question of how motivated are noisy AI scrapers is still open. Even a solution that cuts down 50 percent of the dumbest scraping attempts will still provide much needed relief to a struggling site.
I'm curious, which site struggles are you envisaging? In my exp, JA4 is used as a hammer for which the nail must be found; simpler solutions oftentimes work better.
From my experience, there are all kinds of levels of bots. Add them all together and they can produce a ridiculous load on a site (especially a fragile one that you have to secure anyway). So I look at the volume, trying to block anything stupid I can get away with.
It is a game of whack-a-mole. It also can cut down the overall traffic to a fraction of the original, which has tangible infra costs benefits.
And yes, captcha works better in a lot of cases. Fortunately I'm not selling JA4, I'm just curious.
And yes, IP rate limits and ASN checks work really well in plenty cases. Side note: I got a high-throughput free offline asn-checker too! https://blog.miloslavhomer.cz/asn-check/
Re: Self-Hosted JA4 to combat AI bots
#10Earlier quoted context omitted.
I'm curious, which site struggles are you envisaging? In my exp, JA4 is used as a hammer for which the nail must be found; simpler solutions oftentimes work better.
I think we agree that JA4 is situational. It really saved me when investigating a credential stuffing attack - random logins with random chance of success spread into many ASNs, all had the same fingerprint. From my experience, there are all kinds of levels of bots. Add them all together and they can produce a ridiculous load on a site (especially a fragile one that you have to secure anyway). So I look at the volume…
Cool ASN project, but doesn't IPInfo already offer this for free: https://ipinfo.io/lite ?