Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by SCHiM on Thursday October 28, 2021 @06:15PM
(#29032738)
Although I think bots should be free to access the same content as humans do, I have a suggestion for your fuzzer anti-bot-spray:
It won't work on the more sturdy samples, but maybe try a GZIP bomb on https streams: https://www.infosecmatter.com/metasploit-module-library/?mm=...
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by rascul on Friday October 29, 2021 @12:45AM
(#29035255)
Could there be legal repercussions for doing this?
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by theshrike79 on Friday October 29, 2021 @01:21AM
(#29035420)
It's your server and someone is accessing it. It's up to you what you serve them.
If you want to be clear, you can put the gzip bomb behind a link that says "do not click, gzip bomb". The bot won't know the difference.
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by dusted on Friday October 29, 2021 @05:09AM
(#29036692)
Pre "guy views html source gets home raided for haxx0ring" I'd have said "you silly!"
Now... I'd say "there shouldn't be, it's your server, people can chose to access it or not, but if the right kind of fool comes along, there's no knowing where the stupid ends."
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by rexfuzzle on Friday October 29, 2021 @12:17AM
(#29035122)
There are some very cool ways of doing these tarpit. This for example: https://nullprogram.com/blog/2019/03/22/
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by inside65 on Thursday October 28, 2021 @08:05PM
(#29033662)
I blocked almost all wp-login bots just using bot fight mode in Cloudflare few months ago along with some CF page rules to run an interstatial. It seems to losing effectiveness over time though, and since I do have WP-login, I wonder how I can implement something like your idea.
Maybe rename the legit login and put this in its place, but that would cause issues for redirects from the legit login link...
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by austinkhale on Friday October 29, 2021 @01:43AM
(#29035558)
Change your login path to something like /custom-admin. Then create a page rule to captcha any attempt to access /wp-login. What traffic other than bots is going to go to the old login page? You can change the login link to go to the new page.
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by danuker on Friday October 29, 2021 @02:18AM
(#29035756)
or better yet /custom-admin-07a4b58e-3880-11ec-904e-ba0baece2ff4
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by weird-eye-issue on Thursday October 28, 2021 @10:03PM
(#29034360)
There are some popular WP plugins that takes care of changing the wp-login path
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by Arnavion on Thursday October 28, 2021 @08:11PM
(#29033713)
Every time I read about ssh tarpits I wish I had a reason to set up one in my VPS. Alas it's much easier to use the VPS provider's network access rules to block all incoming traffic to tcp/22 that isn't from my IP.
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by gitgud on Thursday October 28, 2021 @08:39PM
(#29033913)
> "And I remembered another nice trick which someone else came up with, zip bomb the bots :-)"
Just curious, is it legal to host a zip bomb on your website? I would think it would be classified under some kind of Cyber crime....
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by hoppyhoppy2 on Thursday October 28, 2021 @10:29PM
(#29034524)
Legality aside, your web hosting provider may consider it as malicious software / cyberattack activity that breaks their TOS.
Re:Show HN: “HTTP 419 Never Gonna Give You Up” for bots
by Piskvorrr on Friday October 29, 2021 @04:42AM
(#29036532)
Why would that be? It's not even executable code: someone would need to 1.actively request it, 2.actively save it somewhere 3.actively try to extract it.
For wp-login bots I serve them a nice chunk of random (generated by a fuzzer) html in the hopes that 1. It wastes abit of their bandwidth/memory and 2. it crashes their parser
In reality I guess bots nowadays are sturdy enough to not get stuck or crash but who knows, feels good to do something :-)
Tarpit instructions https://nyman.re/super-simple-ssh-tarpit/
Wp-login page https://twitter.com/gnyman/status/1181652421841436672?s=20
And I remembered another nice trick which someone else came up with, zip bomb the bots :-)
https://blog.haschek.at/2017/how-to-defend-your-website-with...