5.0 セキュリティ上の注意
プロトコル自体については説明しましたが、言及する価値のある他の考慮事項がいくつかあります。
第一に、このプロトコルはユーザー名とパスワードを、単一の UDP パケットまたは TCP ストリーム内で平文で運びます。そのため、攻撃者がそのデータを監視できる場合、ユーザー名とパスワードの組を傍受できます。実装では、この危険を最小限に抑えるために次のような対策を講じることができます。
-
可能な場合はポイントツーポイントリンクを使用する。
-
伝送媒体を物理的に保護する。
-
パケットが複数のネットワークセグメントを通過しなければならない場合は、セキュアなルーティングサブシステムを使用する。これは次を意味します。
- Tight control over router configurations.
- Tight control over routing protocols.
- Avoid use of bridges, as they can be silently fooled into
duplicating packets.
第二に、このプロトコルは、ユーザー名とパスワードを探るための新しい手段を生み出す可能性があります。したがって、実装ではサーバーに次の処理を行わせるとよいでしょう。
サーバー:
- limit responses to a controlled list of clients,
- throttle the rate of responding to requests,
- log all failures (and possibly successes, too).
第三に、このプロトコルは本質的に、クライアントが受諾/拒否の判断をサーバーに委譲できるようにします。明快な実装としては、サーバーのネイティブなログイン機構を使って判断する方法が考えられますが、実装をその機構に限定する理由はありません。サーバーは次のことができます。
- use alternate lists of accounts (e.g., password files),
- use alternate mechanisms for accessing the accounts (e.g.,
a database, NIS),
- use alternate algorithms (e.g., SecureID cards),
- translate the request to another protocol and use that
protocol to make the determination (e.g., Kerberos).
第四に、「fanout」サーバー (次の節で説明します) の使用により、次が可能になります。
- centralized logging of usage for attack analysis
- centralized policy:
- ability to block selected specific users
- ability to block selected user names (e.g., don't
allow "root" or "guest")
- ability to block poor passwords (e.g., none or weak)