[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:104965] Re: SSHの大量不正アクセスログ


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 がいっぱい?起動されていてビックリしました。

-- 早間 義博
    メイリングリストから送られてくるメイル以外届きません。

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: