Netwrix Privilege Secure for Discovery(旧称 Remediant SecureONE)のログを収集する
このドキュメントでは、Bindplane エージェントを使用して Netwrix Privilege Secure for Discovery(旧称 Remediant SecureONE)のログを Google Security Operations に取り込む方法について説明します。
Netwrix Privilege Secure for Discovery は、動的なジャストインタイム(JIT)特権アカウント アクセスを提供する、エージェントレスの特権アクセス管理(PAM)ソリューションです。特権アカウントを継続的に可視化することで、永続的な特権を排除し、ラテラル ムーブメント攻撃を効果的に防止して、組織の攻撃対象領域を縮小します。
始める前に
次の前提条件を満たしていることを確認してください。
- Google SecOps インスタンス
- Windows 2016 以降、または
systemdを使用する Linux ホスト - プロキシの背後で実行している場合は、Bindplane エージェントの要件に従ってファイアウォール ポートが開いていることを確認します。
- Remediant SecureONE アプライアンスへの特権アクセス(fluentd を実行しているノードへの SSH アクセス)
- Remediant SecureONE バージョン 2.8 以降(または
s1_fluentdサービスが fluentd バージョン 1 にアップグレードされている)
Bindplane エージェントの Google SecOps 認証情報を取得する
Bindplane エージェントを Google SecOps に対して認証するには、次のいずれかの方法を選択します。
- 新しいデプロイ: Chronicle API を使用します(オプション 1)。
- 以前のデプロイ: 2027 年 7 月 20 日に Ingestion API が廃止されるまで、取り込み認証ファイル(オプション 2)を引き続き使用します。
オプション 1: Chronicle API のサービス アカウントを作成する(推奨)
- Google Cloud コンソールにログインし、Google SecOps インスタンスにリンクされている Google Cloud プロジェクトを選択します。
- [IAM と管理] > [サービス アカウント] に移動します。
- [サービス アカウントを作成] をクリックします。
- 次の構成情報を指定します。
- サービス アカウント名: アカウントの名前を入力します(例:
bindplane-ingest)。 - サービス アカウントの説明: 説明を入力します(例:
Bindplane agent log ingestion)。
- サービス アカウント名: アカウントの名前を入力します(例:
- [作成して続行] をクリックします。
- [このサービス アカウントにプロジェクトへのアクセスを許可する] セクションで、[ロールを選択] をクリックし、[Chronicle 編集者] を選択します。
- [続行] をクリックして [完了] をクリックします。
- 作成したサービス アカウントをクリックし、[キー] タブに移動します。
- [鍵を追加] > [新しい鍵を作成] の順にクリックします。
- [JSON] を選択し、[作成] をクリックします。鍵ファイルがパソコンにダウンロードされます。
- 鍵ファイルを
ingestion-auth.jsonとして Bindplane コレクタ ディレクトリ(Linux の場合は/opt/observiq-otel-collector/ingestion-auth.json、Windows の場合はC:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json)に保存するか、config.yamlのcreds_file_pathを更新して、保存先のパスと一致させます。 - [IAM と管理] > [設定] に移動し、プロジェクト番号をコピーします。これは、エクスポータの構成に必要です。
オプション 2: 取り込み認証ファイルをダウンロードする(レガシー)
- Google SecOps コンソールにログインします。
- [設定] > [データ管理] > [収集エージェント] に移動します。SIEM のみのプラットフォームを使用している場合は、[設定] > [収集エージェント] に移動します。
- 取り込み認証ファイルをダウンロードします。
- Bindplane エージェントがインストールされるシステムにファイルを安全に保存します。
Google SecOps のお客様 ID を取得する
- Google SecOps コンソールにログインします。
- [Settings] > [Administration] > [Profile] に移動します。SIEM のみのプラットフォームを使用している場合は、[設定] > [プロファイル] に移動します。
- [組織の詳細情報] セクションから [お客様 ID] をコピーして保存します。
Bindplane エージェントをインストールする
次の手順に沿って、Windows または Linux オペレーティング システムに Bindplane エージェントをインストールします。
Windows へのインストール
- 管理者として コマンド プロンプトまたは PowerShell を開きます。
次のコマンドを実行します。
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
Linux へのインストール
- root 権限または sudo 権限でターミナルを開きます。
次のコマンドを実行します。
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
インストールに関するその他のリソース
その他のインストール オプションについては、Bindplane エージェントのインストール ガイドをご覧ください。
Syslog を取り込んで Google SecOps に送信するように Bindplane エージェントを構成する
構成ファイルを探します。
Linux:
sudo nano /opt/observiq-otel-collector/config.yaml
構成ファイルを編集します。
config.yamlの内容全体を次の構成に置き換えます。receivers: tcplog: # Replace the port and IP address as required listen_address: "0.0.0.0:514" exporters: chronicle/chronicle_w_labels: protocol: https # Region of your instance, for example us, europe, asia-southeast1 location: <LOCATION> # Project number of the Google Cloud project linked to the instance project: '<PROJECT_NUMBER>' compression: gzip # Adjust the path to the credentials file you downloaded in Step 1 creds_file_path: '/path/to/ingestion-authentication-file.json' # Replace with your actual customer ID from Step 2 customer_id: '<customer_id>' endpoint: chronicle.googleapis.com # Add optional ingestion labels for better organization log_type: 'REMEDIANT_SECUREONE' raw_log_field: body ingestion_labels: service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - tcplog exporters: - chronicle/chronicle_w_labels- 自社のインフラストラクチャでの必要性に応じて、ポートと IP アドレスを置き換えます。
<LOCATION>は、Google SecOps インスタンスのリージョン(us、europe、asia-southeast1など)に置き換えます。エクスポーターは、chronicle.googleapis.comの先頭にこの値を付加します。<PROJECT_NUMBER>は、[IAM と管理] > [設定] のプロジェクト番号に置き換えます。<customer_id>は、実際のお客様 ID に置き換えます。/path/to/ingestion-authentication-file.jsonを、サービス アカウント キーファイルを保存したファイルパスに更新します(オプション 1)。
以前の Ingestion API エクスポータ
オプション 2 の取り込み認証ファイルを使用する場合は、
exportersブロックを次のように置き換えます。creds_file_pathを取り込み認証ファイルのパスに設定します。インスタンスが米国以外にある場合は、malachiteingestion-pa.googleapis.comをリージョン エンドポイント(例:europe-malachiteingestion-pa.googleapis.com)に置き換えます。exporters: chronicle/chronicle_w_labels: compression: gzip # Adjust the path to the credentials file you downloaded in Step 1 creds_file_path: '/path/to/ingestion-authentication-file.json' # Replace with your actual customer ID from Step 2 customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com # Add optional ingestion labels for better organization log_type: 'REMEDIANT_SECUREONE' raw_log_field: body ingestion_labels:
Bindplane エージェントを再起動して変更を適用する
Linux で Bindplane エージェントを再起動するには、次のコマンドを実行します。
sudo systemctl restart observiq-otel-collectorWindows で Bindplane エージェントを再起動するには、Services コンソールを使用するか、次のコマンドを入力します。
net stop observiq-otel-collector && net start observiq-otel-collector
Remediant SecureONE syslog 転送を構成する
- SSH を使用して、
fluentdサービスを実行している Remediant SecureONE ノードに接続します。 既存の
fluentd構成ファイルをバックアップします。sudo cp /secureone/conf/fluentd/fluent.conf /secureone/conf/fluentd/fluent.conf.$(date +%Y.%m.%d)fluentd構成ファイルを編集用に開きます。sudo vim /secureone/conf/fluentd/fluent.confmatch docker.**セクションを編集して、remote_syslogストアを追加します。ファイルの内容全体を次の構成に置き換えます。#fluent.conf for fluentd version 1 <source> @type forward </source> <filter docker.**> @type parser time_key key3 format json key_name log reserve_data true </filter> <match docker.**> @type copy <store> @type remote_syslog host BINDPLANE_IP port 514 protocol tcp packet_size 4096 program secureone hostname SECUREONE_HOSTNAME <format> @type single_value message_key log </format> </store> <store> @type stdout_pp pp true time_color blue tag_color yellow record_colored true </store> </match> <match **> @type stdout_pp pp true time_color blue tag_color yellow record_colored true </match>次の値を置き換えます。
- BINDPLANE_IP: Bindplane エージェント ホストの IP アドレスを入力します(例:
10.100.11.13)。 - 514: Bindplane エージェントの
listen_addressポートと一致するポート番号を入力します。 - SECUREONE_HOSTNAME: SecureONE ノードのホスト名を入力します(例:
secureone-prod-01)。
- BINDPLANE_IP: Bindplane エージェント ホストの IP アドレスを入力します(例:
構成ファイルを保存して、エディタを終了します。
fluentd サービスを再起動して、新しい構成を適用します。
s1 restart fluentdfluentd のバージョンと実行構成を確認します。
sudo docker exec -it $(sudo docker ps | grep fluentd | cut -d' ' -f1) fluent-gem list | grep fluentd構成の構文を検証します。
sudo docker exec -it $(sudo docker ps | grep fluentd | cut -d' ' -f1) fluentd -c /fluentd/etc/fluent.conf --dry-runsyslog ポートのトラフィックをモニタリングして、ログが転送されていることを確認します。
sudo tcpdump -vv -i any port 514
詳細については、Netwrix Privilege Secure for Discovery のドキュメントをご覧ください。
UDM マッピング テーブル
| ログフィールド | UDM マッピング | ロジック |
|---|---|---|
access_tokenId_label |
additional.fields |
統合済み |
access_tokenType_label |
additional.fields |
統合済み |
access_type_label |
additional.fields |
統合済み |
createdBy_label |
additional.fields |
統合済み |
details.failover_dc_label |
additional.fields |
統合済み |
details.initial_dc_label |
additional.fields |
統合済み |
details.sync_end_ts_label |
additional.fields |
統合済み |
duration_label |
additional.fields |
統合済み |
ldapName_label |
additional.fields |
統合済み |
manage_local_sids_label |
additional.fields |
統合済み |
persistent_label |
additional.fields |
統合済み |
req_query_limit_label |
additional.fields |
統合済み |
req_query_page_label |
additional.fields |
統合済み |
scan_label |
additional.fields |
統合済み |
secure_label |
additional.fields |
統合済み |
strict_secure_label |
additional.fields |
統合済み |
sync_start_ts_label |
additional.fields |
統合済み |
targetSystem_cn_label |
additional.fields |
統合済み |
targetSystem_distinguishedName_label |
additional.fields |
統合済み |
targetSystem_operatingSystem_label |
additional.fields |
統合済み |
user_distinguishedName_label |
additional.fields |
統合済み |
req_headers_host |
intermediary.asset.hostname |
直接マッピングされます。 |
req_headers_host |
intermediary.hostname |
直接マッピングされます。 |
json_message |
metadata.description |
直接マッピングされます。 |
msg |
metadata.description |
直接マッピングされます。 |
time |
metadata.event_timestamp |
ISO8601 として解析 |
event_type |
metadata.event_type |
直接マッピングされます。 |
name |
metadata.product_event_type |
直接マッピングされます。 |
req_id |
metadata.product_log_id |
直接マッピングされます。 |
req.method |
network.http.method |
直接マッピングされます。 |
res.statusCode |
network.http.response_code |
名前変更 / マッピング |
req_header_user_agent |
network.http.user_agent |
直接マッピングされます。 |
targetSystem.domain_netbios |
principal.administrative_domain |
直接マッピングされます。 |
user_domain_fqdn |
principal.administrative_domain |
直接マッピングされます。 |
source_application |
principal.application |
直接マッピングされます。 |
req_headers_host |
principal.hostname |
直接マッピングされます。 |
targetSystem.cn |
principal.hostname |
直接マッピングされます。 |
client_ip |
principal.ip |
統合済み |
remote_address |
principal.ip |
統合済み |
client_ua_os |
principal.platform |
マッピング済み: (?i)windows → WINDOWS、(?i)linux → LINUX、(?i)mac → MAC |
client_ua_platform |
principal.platform_version |
直接マッピングされます。 |
client_ua_version |
principal.platform_version |
直接マッピングされます。 |
req.remotePort |
principal.port |
名前変更 / マッピング |
script_cmd |
principal.process.command_line |
直接マッピングされます。 |
pid |
principal.process.pid |
直接マッピングされます。 |
browser_label |
principal.resource.attribute.labels |
統合済み |
req_header_map_label |
principal.resource.attribute.labels |
統合済み |
system |
principal.resource.product_object_id |
直接マッピングされます。 |
domain_netbios_label |
principal.user.attribute.labels |
統合済み |
objectSid_label |
principal.user.attribute.labels |
統合済み |
user_domain_label |
principal.user.attribute.labels |
統合済み |
user_domain_netbios_label |
principal.user.attribute.labels |
統合済み |
user_id_label |
principal.user.attribute.labels |
統合済み |
user_objectSid_label |
principal.user.attribute.labels |
統合済み |
authData.access.role |
principal.user.role_name |
直接マッピングされます。 |
user_user |
principal.user.user_display_name |
直接マッピングされます。 |
access.user.sAMAccountName |
principal.user.userid |
直接マッピングされます。 |
user_cn |
principal.user.userid |
直接マッピングされます。 |
user_sid |
principal.user.windows_sid |
直接マッピングされます。 |
disabled_label |
security_result.detection_fields |
統合済み |
disabled_label1 |
security_result.detection_fields |
統合済み |
level_label |
security_result.detection_fields |
統合済み |
req_id_key_label |
security_result.detection_fields |
統合済み |
req_params_computerId_label |
security_result.detection_fields |
統合済み |
targetSystem_id_label |
security_result.detection_fields |
統合済み |
hostname |
src.hostname |
直接マッピングされます。 |
ldapName |
target.administrative_domain |
直接マッピングされます。 |
targetsystem |
target.asset.hostname |
直接マッピングされます。 |
server |
target.hostname |
直接マッピングされます。 |
targetsystem |
target.hostname |
直接マッピングされます。 |
header_map_label |
target.resource.attribute.labels |
統合済み |
req.url |
target.url |
直接マッピングされます。 |
user_user |
target.user.userid |
直接マッピングされます。 |
| なし | metadata.product_name |
定数: SecureONE |
| なし | metadata.vendor_name |
定数: Remediant |
| なし | principal.platform |
定数: WINDOWS |
targetSystem.cn |
event.idm.read_only_udm.target.hostname と event.idm.read_only_udm.target.asset.hostname |
変更履歴からマッピング |
req.query.page |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
user.distinguishedName |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.operatingSystem |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
req.query.limit |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
req.params.computerId |
event.idm.read_only_udm.security_result.detection_fields |
変更履歴からマッピング |
req.id |
event.idm.read_only_udm.security_result.detection_fields |
変更履歴からマッピング |
targetSystem._id |
event.idm.read_only_udm.security_result.detection_fields |
変更履歴からマッピング |
user.domain_netbios |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
user.id |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
user.objectSid |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
persistent |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
access.type |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
access.tokenId |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
access.tokenType |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.cn |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.distinguishedName |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.policy.strict_secure |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.policy.secure |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.policy.scan |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
targetSystem.policy.manage_local_sids |
event.idm.read_only_udm.additional.fields |
変更履歴からマッピング |
user.domain |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
access.user.domain_netbios |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
access.user.objectSid |
event.idm.read_only_udm.principal.user.attribute.labels |
変更履歴からマッピング |
user.sid |
event.idm.read_only_udm.principal.user.windows_sid |
変更履歴からマッピング |
user.user |
event.idm.read_only_udm.principal.user.user_display_name |
変更履歴からマッピング |
failover_dc","initial_dc","ldapName","sync_end_ts" ,and "sync_start_ts |
additional.fields |
変更履歴からマッピング |
変更ログ
さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。