If there is no throttling/rate-limiting/banning then this setup allows for a lot of attempts, wether brute-force or dictionary.
Every form of authentication is either subject to "a lot of attempts" or trivial DoS (for when you rate limit the login API so now admins can't log in either). The principles behind modern authentication are mostly "how do we make verification require even more attempts if the attacker doesn't know the password".
If your password was a set of random letters (both upper and lower case) and numbers and 20 characters long, then even if you could attempt 1,000 logins/second (a very high number for an online attack), it would take a whopping 2,232,000,000,000,000,000,000,000 years.
If you could do 1,000,000 logins/second, an absolutely absurd number for an online attack, that only takes 3 zeros off that number.
Most web servers don't really come with any built in defense against brute force attempts vs Basic Auth gates, so unless you've set something up to protect it, someone with enough time will eventually get in.
Only when the password is weak enough to bruteforce swiftly. It will take literally thousands of years to bruteforce strong passwords.
That's only correct if the password is weak. With enough entropy, it's practically impossible to brute force.
> just go to any old computer and ssh into my server
You've typed your password into a computer you don't control. Now it's gone. Same for plugging in the USB stick. The Yubikey approach mitigates that.
Assuming you want to do this, the best practice you can achieve is just making the password long.
You can mitigate it by using an MFA method that requires confirming on a separate device like a phone, but that's down to one layer of defense.
I use an SSH app on my phone for remote access, and I go over a VPN. SSH is not exposed to the public internet.
It was definitely true at one point that small scale indie web devs and small business contractors outnumbered big tech in both headcount and servers. I don't think that's been true for a while now.
WordPress powers 43% of websites today. Shopify, Wix, and Squarespace together only account for 11%.
https://w3techs.com/technologies/overview/content_management
- microsoft.com - It's not wordpress, probably home grown
- wordpress.org - This one's a freebie
- digicert.com - Using Adobe Experience Manager, per script includes
- wordpress.com - Another freebie
- mozilla.org - No, using a homegrown CMS: https://github.com/mozilla/nucleus
- nih.gov - It's using Drupal, per a meta generator tag
- forbes.com - No real for or against evidence, though the lack of any wp- paths leans a little more against it being wordpress
- archive.org - It's some type of react app, not wordpress. Probably home grown
- nginx.org - Just... no.
- ebay.com - Would it surprise you, no.
I have serious questions about their methodology.
Similarly, just because sites like Techcrunch use Wordpress, doesn't mean they're doing it by having someone upload files over FTP to some cPanel managed Godaddy account.
* microsoft.com – uses WP at devblogs.microsoft.com
* digicert.com – may be a false positive, they link to files at /wp-content/ URLs, maybe they used WP in the past and kept the URLs?
* mozilla.org – uses WP at blog.mozilla.org
* nih.gov – uses WP at directorsblog.nih.gov
* forbes.com – can’t tell, my ad blocker breaks their cookie consent screen
* archive.org – uses WP at blog.archive.org
* nginx.org – uses WP at blog.nginx.org
* ebay.com – may be false positive?
We end up with 2/10 potential false positives, and one unknown (and even then, those are huge sites, who knows if they’ve got WP hiding under some deeply-buried subdomain).
I agree with you that Microsoft and TechCrunch probably aren’t FTPing their files in, but even if we assume that only 50% of WordPress sites are doing so, that’s still more websites than the next 10 competitors, combined!
If you think about it, this makes sense: do you reckon your local small businesses have a TechCrunch-level web presence, or are they using GoDaddy? Now consider that there exist many more local businesses than TechCrunches.
With Softaculous for automatic installation of scripts it's still widely popular for Wordpress installations. Web hosting is however a very dead market to startup in.