From: picle <picle@xxxxxxxxxxxxxxxxxxxxxx> Subject: [linux-users:104963] Re: SSHの大量不正アクセスログ Date: Wed, 25 May 2005 19:03:00 +0900 Message-ID: <20050525183621.3BB0.PICLE@xxxxxxxxxxxxxxxxxxxxxx> > picle と申します。 > > http://www.itmedia.co.jp/help/tips/linux/l0541.html > > こんなのはどうでしょうか? > > 完全には排除できませんが、ログの数は減るし、たまたま当たるという事故も減 > ると思うのですが。 > 早間です。 タイプの違うssh アタック?ですが同一IP からアクセスがあり、認証を しないのです。(認証をすればエラーログが残ります) 私の場合、openSSH でなく ssh.com のものですが、アクセス制限が 50 になっています。(sshd2_config) MaxConnections 50 多分、一時的にせよ上限に張り付いていると思います。このアクセスで実 害の出たことはまだありませんが、正当なアクセスが妨げられると思いま す。plamo の OpenSSH では MaxStartups 10 とあります。もっと簡単に上限に行き着きます。 MaxStartups 2:80:5 の指定をすれば安全かも知れませんが、 この、アクセス妨害?アタックでは、反って簡単にdos攻撃を実現させて しまいませんか。 May dd 12:33:16 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:20 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:24 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:27 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:31 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:35 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:38 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:42 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:46 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:49 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:53 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:33:57 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:34:00 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:34:04 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:34:08 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:34:11 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" May dd 12:34:15 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" このペースで May dd 12:46:34 hst1 sshd[271]: connection from "2xx.5x.1xx.7x" まで続きました(ここで50になったか?)。 たまたま。ps で見て sshd がいっぱい?起動されていてビックリしました。 -- 早間 義博 メイリングリストから送られてくるメイル以外届きません。
References:
- Prev by Subject: [linux-users:104964] Re: SSHの大量不正アクセスログ
- Next by Subject: [linux-users:104966] 価格コム
- Previous by thread: [linux-users:104976] Re: SSHの大量不正アクセスログ
- Next by thread: [linux-users:104973] Re: SSHの大量不正アクセスログ
- Indexes:[Main][Thread]