Earlier quoted context omitted.
I highly recommend installing fail2ban to automatically firewall IPs with consecutive failed attempts, or if possible, disable password authentication altogether and use key auth.
I don't trust key-only auth; what if I need to access my machine from a new computer I haven't done this with before? Is there any way to configure SSH to use a custom high-entry password that's different from the user's local password? My local password is something reasonable for me to type regularly (e.g. for sudo prompts), but I'd love to have a super long password just for SSH that I have to copy from my passwor…
Facebook, Instagram, and WhatsApp outages
231–240 of 254 posts
Re: Facebook, Instagram, and WhatsApp outages
#232I find the outages of the last few days a curious coincidence : Slack, Google, Cloudflare, Azure, now FB. edit : added Slack after @kache_ mentioned it, added Azure after stevehubertron mentioned it.
So the options are: 1) a secret cyber-war is going on... 2) Some entity is installing new spying slurps 3) An (critical) IX that we werent aware of is having major issues... and we dont know who to blame on that one...
Re: Facebook, Instagram, and WhatsApp outages
#233Earlier quoted context omitted.
You can also setup a VPN and limit all port 22 activity to your VPNs IP.
I know it's just an obscurity measure but step one is surely don't expose SSH on 22? Dropped my (home) attacks/scans to zero from hundreds per day.
Re: Facebook, Instagram, and WhatsApp outages
#234Earlier quoted context omitted.
I know it's just an obscurity measure but step one is surely don't expose SSH on 22? Dropped my (home) attacks/scans to zero from hundreds per day.
You could do that but if you become a target due to unexpected viral growth then it's useless.
Re: Facebook, Instagram, and WhatsApp outages
#235Earlier quoted context omitted.
I'm still picking up the pieces but from my logs I can see that hundreds of successive login attempts were made from different IPs, effectively circumventing fail2ban with what I can only assume is some form of automated IP spoofing. I'm hoping that strict ipv4 settings and ssh ip range restrictions will mitigate this in the future. I also used this python script to harden my SSH security with better algorithms. http…
No, you were not seeing spoofed traffic. There are that many compromised machines actively scanning.
Re: Facebook, Instagram, and WhatsApp outages
#236Earlier quoted context omitted.
You could do that but if you become a target due to unexpected viral growth then it's useless.
It's more "stops you appearing on Shodan" level. But surely if you can reduce the traffic then you are more likely to notice proper attacks.
Re: Facebook, Instagram, and WhatsApp outages
#237Earlier quoted context omitted.
There will be friction, but sftp and port tunneling - which are my most used fwatures besides plain ssh - should be possible ? I mean either you sftp to a shared folder that can be accessed from your regular user as well or you use a staging area with a cron job (or you load/unload the staging area manually.)
If I'm sftp'ing to my server it's because I want to access my files. Not a special shared folder that I then have to separately ssh in, su to the real user, and move into place. I'm not deploying a website so a staging area isn't applicable. This is just a VPS that I use for various purposes.
Re: Facebook, Instagram, and WhatsApp outages
#238I find the outages of the last few days a curious coincidence : Slack, Google, Cloudflare, Azure, now FB. edit : added Slack after @kache_ mentioned it, added Azure after stevehubertron mentioned it.
All of my VPS servers have been slammed in the last 5 days with bruteforce SSH attacks. I've never seen anything this aggressive. One of my servers got PWNed, which has never happened to me before. There's definitely some wild, shady shit going on.
Re: Facebook, Instagram, and WhatsApp outages
#239I find the outages of the last few days a curious coincidence : Slack, Google, Cloudflare, Azure, now FB. edit : added Slack after @kache_ mentioned it, added Azure after stevehubertron mentioned it.
So the options are: 1) a secret cyber-war is going on... 2) Some entity is installing new spying slurps 3) An (critical) IX that we werent aware of is having major issues... and we dont know who to blame on that one...
Re: Facebook, Instagram, and WhatsApp outages
#240Earlier quoted context omitted.
I highly recommend installing fail2ban to automatically firewall IPs with consecutive failed attempts, or if possible, disable password authentication altogether and use key auth.
Solid advice. I had fail2ban installed and enabled. SSHD Root/password login turned off and only ssh key had access. My firewall was also airtight, or so I thought. Clearly I mucked up a config or setting somewhere because the odds of someone getting past all that are extremely low. One thing I had not prepared for was IP spoofing which I learned can be prevented with a few net.ipv4.conf tweaks. I also just purchased…
If you really had password logins turned off, you need to identify and isolate how they gained access before you put that box online again. Never "hope" or "cross fingers" that it doesn't happen again. Unless you are an interesting target for some reason, chances are that these attacks are automated and you are running some insecure software somewhere.
Start by taking a snapshot of the machine before you do anything else. Go through the logs. Are there any unwanted processes? How were they started? Are there any unwanted binaries in the filesystem? How were they uploaded? Try to find IP addresses that that be tied to any unwanted login, and see search your logs for any previous occurrences.
Pay special attention to any web-reachable software you have installed.