{"id":26070,"date":"2020-07-18T13:02:56","date_gmt":"2020-07-18T17:02:56","guid":{"rendered":"https:\/\/pappp.net\/?p=26070"},"modified":"2020-07-18T13:02:56","modified_gmt":"2020-07-18T17:02:56","slug":"ssh-brute-force-on-unusual-ports","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=26070","title":{"rendered":"SSH Brute-Force on Unusual Ports?"},"content":{"rendered":"\n<p>I have a machine with SSH exposed on one high-numbered nonstandard port forwarded through a NAT.  A few days ago I noticed some log noise about failed SSH logins and turned on fail2ban with sane defaults.  It banned almost 300 addresses the next day.  Looks like a botnet of compromised VMs, most of the random sample I <code>whois<\/code>&#8216;d are from cloud\/telecom provider&#8217;s IP ranges.  The only common-ish use of the port in question is a very obsolete game matching service, and a couple machines behind the NAT with SSH on consecutive ports aren&#8217;t being harassed. <br \/><br \/>I&#8217;m used to attracting unwanted attention running services on standard ports (another machine that runs SSH on port 22 + HTTPS on 443 usually hands out at least <em>2000<\/em> bans a day), but this is new.  Is the Internet <em>that<\/em> hostile now that bots are roving around in the 4-digit ports startin&#8217; shit?  Are there new behaviors that attract unwanted attention?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a machine with SSH exposed on one high-numbered nonstandard port forwarded through a NAT. A few days ago I noticed some log noise about failed SSH logins and turned on fail2ban with sane defaults. It banned almost 300 &hellip; <a href=\"https:\/\/pappp.net\/?p=26070\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[4,1],"tags":[],"class_list":["post-26070","post","type-post","status-publish","format-aside","hentry","category-computers","category-general","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/26070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26070"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/26070\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}