2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【IBM Security Verify】パスワード・インテリジェンス機能を使って、辞書攻撃に対応する③

Last updated at Posted at 2023-05-11

はじめに

3回目は、パスワード・インテリジェンス・レポートについて確認しました。

1.パスワード・インテリジェンス・レポーの出力イメージ

[レポート]にパスワード・インテリジェンスのメニューが追加されています。
image.png

期間を指定して「レポートの実行」をクリックします。
qiita (30).png

ソースと、パスワード検査結果列に出力されたデータは以下のようなパターンでした。

ソース列 パスワード検査結果列
  • IBM セキュリティー X-Force list
  • カスタム・パスワード・リスト
  • - (いずれのリストにも該当しない場合)
  • 成功(いずれのリストにも該当しない場合)
  • 警告(警告アクションが適用された結果)
  • 適用済み(強制アクションが適用された結果)
  • 監査済み(監査アクションが適用された結果)

2.REST APIで取得したイベントのサンプル

イベントペイロードの説明には、まだパスワードインテリジェンスに関する情報が反映されていませんでした。
https://www.ibm.com/docs/ja/security-verify?topic=reports-event-payloads

以下は取得してみたイベントデータのサンプルです。

2.1 ユーザー・ログイン・フロー(カスタム・リスト)

認証イベントに出力されています。data部分だけ抜粋しています。
"dict_type": "LOCAL"がカスタム・リストのパータンでした。

"data": {
                        "dict_type": "LOCAL",
                        "api_grant_type": "urn:ibm:params:oauth:grant-type:apikey",
                        "dict_enabled": "LOCAL",
                        "performedby_type": "intraservice",
                        "sourceinstance": "clouddirectory",
                        "subject": "UNKNOWN",
                        "origin": "xxx.xxx.xxx.xxx",
                        "cause": "The system failed to authenticate user \"testuser\" because of \"PWD_IN_DICTIONARY\".",
                        "messageid": "CSIAM1031E",
                        "devicetype": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
                        "dict_op": "AUTH",
                        "result": "failure",
                        "performedby": "shared_apikey",
                        "dict_result": "ENFORCED",
                        "subtype": "user_password",
                        "self": "false",
                        "action": "login",
                        "location": "https://xxx.verify.ibm.com/cdprofilemgmt/v2.0/Users/authentication",
                        "sourcetype": "clouddirectory",
                        "realm": "cloudIdentityRealm",
                        "username": "testuser"
}

2.2 ユーザー・ログイン・フロー(IBM Security X-force)

認証イベント(event_type="authentication")に出力されています。data部分だけ抜粋しています。
IBM Security X-forceの場合は、"dict_type": "GLOBAL"でした。

"data": {
                        "dict_type": "GLOBAL",
                        "api_grant_type": "urn:ibm:params:oauth:grant-type:apikey",
                        "dict_enabled": "GLOBAL",
                        "performedby_type": "intraservice",
                        "sourceinstance": "clouddirectory",
                        "subject": "65200xxxxx",
                        "origin": "xxx.xxx.xxx.xxx",
                        "cause": "Authenticated user \"testuser\" successfully.",
                        "messageid": "CSIAM1030I",
                        "devicetype": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
                        "dict_op": "AUTH",
                        "result": "success",
                        "performedby": "shared_apikey",
                        "dict_result": "AUDITED",
                        "subtype": "user_password",
                        "self": "false",
                        "action": "login",
                        "location": "https://xxx.verify.ibm.com/cdprofilemgmt/v2.0/Users/authentication",
                        "sourcetype": "clouddirectory",
                        "realm": "cloudIdentityRealm",
                        "parameters": "lang=ja",
                        "username": "testuser"
}

2.3 アカウントの作成、パスワードのリセット、およびパスワードの変更のフロー(カスタム・リスト)

管理イベント(event_type="management")に出力されています。data部分だけ抜粋しています。
"dict_type": "LOCAL"がカスタム・リストのパータンでした。

"data": {
                        "dict_type": "LOCAL",
                        "api_grant_type": "implicit",
                        "dict_enabled": "LOCAL",
                        "performedby_type": "user",
                        "targetid": "65200xxxxx",
                        "userinfo_lookup": "performedby",
                        "resource": "user",
                        "origin": "xxx.xxx.xxx.xxx",
                        "performedby_username": "testuser",
                        "cause": "\"65200xxxxx\" のパスワード変更が失敗しました。",
                        "messageid": "ユーザー",
                        "devicetype": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
                        "performedby_realm": "cloudIdentityRealm",
                        "dict_op": "CHANGE",
                        "result": "failure",
                        "performedby": "65200xxxxx",
                        "dict_result": "ENFORCED",
                        "json": "{\"urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification\":{\"notifyType\":\"EMAIL\",\"notifyManager\":false,\"notifyPassword\":false},\"schemas\":[\"urn:ietf:params:scim:schemas:ibm:core:2.0:ChangePassword\",\"urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification\"],\"newPassword\":\"********\",\"currentPassword\":\"********\"}",
                        "self": "true",
                        "action": "changed password",
                        "location": "https://xxx.verify.ibm.com/v2.0/Me/password",
                        "realm": "cloudIdentityRealm"
                    }

2.4 アカウントの作成、パスワードのリセット、およびパスワードの変更のフロー(IBM Security X-force)

管理イベント(event_type="management")に出力されています。data部分だけ抜粋しています。
IBM Security X-forceの場合は、"dict_type": "GLOBAL"でした。

"data": {
                        "dict_type": "GLOBAL",
                        "api_grant_type": "implicit",
                        "dict_enabled": "GLOBAL",
                        "performedby_type": "user",
                        "targetid": "65200xxxxx",
                        "userinfo_lookup": "performedby",
                        "resource": "user",
                        "origin": "xxx.xxx.xxx.xxx",
                        "performedby_username": "testuser",
                        "cause": "\"65200xxxxx\" のパスワード変更が失敗しました。",
                        "messageid": "ユーザー",
                        "devicetype": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
                        "performedby_realm": "cloudIdentityRealm",
                        "dict_op": "CHANGE",
                        "result": "failure",
                        "performedby": "65200xxxxx",
                        "dict_result": "ENFORCED",
                        "json": "{\"urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification\":{\"notifyType\":\"EMAIL\",\"notifyManager\":false,\"notifyPassword\":false},\"schemas\":[\"urn:ietf:params:scim:schemas:ibm:core:2.0:ChangePassword\",\"urn:ietf:params:scim:schemas:extension:ibm:2.0:Notification\"],\"newPassword\":\"********\",\"currentPassword\":\"********\"}",
                        "self": "true",
                        "action": "changed password",
                        "location": "https://xxx.verify.ibm.com/v2.0/Me/password",
                        "realm": "cloudIdentityRealm"
                    }

最後に

パスワード・インテリジェンス機能について3回にわたって紹介させて頂きました。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?