Ho esaminato il file auth.log sul mio server Ubuntu per trovare:
[preauth] Feb 22 17:39:18 code-storage sshd[17271]: Disconnected from 147.135.192.203 port 49408 [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Invalid user ellen from 147.135.192.203 Feb 22 17:40:15 code-storage sshd[17273]: input_userauth_request: invalid user ellen [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Received disconnect from 147.135.192.203 port 50193:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:40:15 code-storage sshd[17273]: Disconnected from 147.135.192.203 port 50193 [preauth] Feb 22 17:40:34 code-storage sshd[17275]: Connection closed by 103.237.147.107 port 17583 [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Invalid user emil from 147.135.192.203 Feb 22 17:41:12 code-storage sshd[17277]: input_userauth_request: invalid user emil [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Received disconnect from 147.135.192.203 port 50841:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:41:12 code-storage sshd[17277]: Disconnected from 147.135.192.203 port 50841 [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Invalid user enzo from 147.135.192.203 Feb 22 17:42:05 code-storage sshd[17280]: input_userauth_request: invalid user enzo [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Received disconnect from 147.135.192.203 port 51356:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:42:05 code-storage sshd[17280]: Disconnected from 147.135.192.203 port 51356 [preauth] Feb 22 17:42:14 code-storage sshd[17282]: Connection closed by 103.237.147.107 port 64695 [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Invalid user felix from 147.135.192.203 Feb 22 17:43:00 code-storage sshd[17285]: input_userauth_request: invalid user felix [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Received disconnect from 147.135.192.203 port 52145:11: Normal Shutdown, Thank you for playing [preauth] Feb 22 17:43:00 code-storage sshd[17285]: Disconnected from 147.135.192.203 port 52145 [preauth] Feb 22 17:43:52 code-storage sshd[17287]: Connection closed by 103.237.147.107 port 55122 [preauth] Feb 22 17:43:56 code-storage sshd[17289]: Invalid user fred from 147.135.192.203 Feb 22 17:43:56 code-storage sshd[17289]: input_userauth_request: invalid user fred [preauth] Feb 22 17:43:56 code-storage sshd[17289]: Received disconnect from 147.135.192.203 port 52664:11: Normal Shutdown, Thank you for playing [preauth]
C'è molto più di questo, ma questo è degli ultimi minuti prima che io copiassi il file di registro.
Si tratta di un attacco SSH a forza bruta e, in tal caso, dovrei essere preoccupato e quali sono i migliori passaggi e / o soluzioni di mitigazione diversi dalla modifica dell'IP del server?