收集 Commvault 記錄

支援的國家/地區:

本文說明如何使用 Bindplane,將 Commvault 記錄檔擷取至 Google Security Operations。剖析器會從 COMMVAULT 記錄檔中擷取資料,並將資料分類為快訊、事件或稽核追蹤。接著,系統會使用鍵/值剖析、時間戳記擷取和欄位對應,將擷取的欄位正規化並建構為整合式資料模型 (UDM)。

事前準備

請確認您已完成下列事前準備事項:

  • Google SecOps 執行個體
  • Windows 2016 以上版本,或搭載 systemd 的 Linux 主機
  • 如果透過 Proxy 執行,防火牆通訊埠已開啟
  • Commvault Cloud 的特殊存取權

取得 Google SecOps 擷取驗證檔案

  1. 登入 Google SecOps 控制台。
  2. 依序前往「SIEM 設定」>「收集代理程式」
  3. 下載擷取驗證檔案。將檔案安全地儲存在要安裝 Bindplane 的系統上。

取得 Google SecOps 客戶 ID

  1. 登入 Google SecOps 控制台。
  2. 依序前往「SIEM 設定」>「設定檔」
  3. 複製並儲存「機構詳細資料」專區中的客戶 ID

安裝 Bindplane 代理程式

Windows 安裝

  1. 以系統管理員身分開啟「命令提示字元」或「PowerShell」
  2. 執行下列指令:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    

Linux 安裝

  1. 開啟具有根層級或 sudo 權限的終端機。
  2. 執行下列指令:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    

其他安裝資源

如需其他安裝選項,請參閱安裝指南

設定 Bindplane 代理程式,擷取系統記錄檔並傳送至 Google SecOps

  1. 存取設定檔:
    • 找出 config.yaml 檔案。通常位於 Linux 的 /etc/bindplane-agent/ 目錄,或 Windows 的安裝目錄。
    • 使用文字編輯器 (例如 nanovi 或記事本) 開啟檔案。
  2. 按照下列方式編輯 config.yaml 檔案:

    receivers:
        udplog:
            # Replace the port and IP address as required
            listen_address: "0.0.0.0:514"
    
    exporters:
        chronicle/chronicle_w_labels:
            compression: gzip
            # Adjust the path to the credentials file you downloaded in Step 1
            creds: '/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
            ingestion_labels:
                log_type: 'COMMVAULT'
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - udplog
                exporters:
                    - chronicle/chronicle_w_labels
    
  3. 視基礎架構需求,替換通訊埠和 IP 位址。

  4. <customer_id> 替換為實際的客戶 ID。

  5. /path/to/ingestion-authentication-file.json 更新為「取得 Google SecOps 擷取驗證檔案」一節中驗證檔案的儲存路徑。

重新啟動 Bindplane 代理程式,以套用變更

  • 如要在 Linux 中重新啟動 Bindplane 代理程式,請執行下列指令:

    sudo systemctl restart bindplane-agent
    
  • 如要在 Windows 中重新啟動 Bindplane 代理程式,可以使用「服務」控制台,或輸入下列指令:

    net stop BindPlaneAgent && net start BindPlaneAgent
    

在 Commvault Cloud 中設定 Syslog

  1. 登入 Commvault 管理控制台。
  2. 前往「管理」>「系統」
  3. 按一下「SIEM」SIEM連接器圖塊。
  4. 按一下「新增連接器」
  5. 在「一般」分頁中輸入下列詳細資料:
    • 連接器名稱:輸入連接器名稱。
    • 連接器類型:選取「Syslog」
    • 串流資料:選取要匯出的資料。
  6. 點選「下一步」
  7. 在「連接器定義」分頁中,按一下「新增系統記錄伺服器」
  8. 提供下列設定詳細資料:
    • Syslog 伺服器:輸入 Bindplane 代理程式 IP 位址。
    • 通訊埠編號:輸入 Bindplane 代理程式通訊埠編號。
  9. 按一下「提交」

UDM 對應表

記錄欄位 UDM 對應 邏輯
AgentType event.idm.read_only_udm.observer.application 取自記錄訊息中的 AgentType 欄位值。
Alertid event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 Alertid 欄位。這個欄位會對應至 alert_id 鍵。
Alertname event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 Alertname 欄位。這個欄位會對應至 alert_name 鍵。
Alertseverity event.idm.read_only_udm.security_result.severity 這個欄位會根據值填入 security_result.severity 欄位。
Alerttime event.idm.read_only_udm.metadata.event_timestamp 從記錄訊息的 Alerttime 欄位取得值,並轉換為時間戳記。
BackupLevel event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 BackupLevel 欄位。這個欄位會對應至 backup_level 鍵。
BackupSet event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 BackupSet 欄位。這個欄位會對應至 backup_set 鍵。
客戶 event.idm.read_only_udm.principal.hostname 取自記錄訊息中的 Client 欄位值。
CommCell event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 CommCell 欄位。這個欄位會對應至 comcell_field 鍵。
電腦 event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 Computer 欄位。這個欄位會對應至 computer_field 鍵。
說明 event.idm.read_only_udm.metadata.description 經過處理和清除後,取自記錄訊息中 Description 欄位的值。
DetectedCriteria event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 DetectedCriteria 欄位。這個欄位會對應至 detected_criteria 鍵。
DetectedTime event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 DetectedTime 欄位。這個欄位會對應至 detected_time 鍵。
詳細資料 event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 Details 欄位。這個欄位會對應至 details_field 鍵。
Eventid event.idm.read_only_udm.metadata.product_log_id 取自記錄訊息中的 Eventid 欄位值。
Eventseverity event.idm.read_only_udm.security_result.severity 這個欄位會根據值填入 security_result.severity 欄位。
失敗 event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 Failure 欄位。這個欄位會對應至 failure_filed 鍵。
執行個體 event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 Instance 欄位。這個欄位會對應至 instance_field 鍵。
Jobid event.idm.read_only_udm.principal.process.pid 取自記錄訊息中的 Jobid 欄位值。
MonitoringCriteria event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 MonitoringCriteria 欄位。這個欄位會對應至 monitoring_criteria 鍵。
Occurencetime event.idm.read_only_udm.metadata.event_timestamp 從記錄訊息的 Occurencetime 欄位取得值,並轉換為時間戳記。
Opid event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 Opid 欄位。這個欄位會對應至 op_id 鍵。
程式 event.idm.read_only_udm.principal.application 取自記錄訊息中的 Program 欄位值。
嚴重程度 event.idm.read_only_udm.security_result.severity 從記錄訊息的 Severitylevel 欄位取得值,並根據預先定義的對應項目進行對應。
StoragePoliciesUsed event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 StoragePoliciesUsed 欄位。這個欄位會對應至 storage_policies_used 鍵。
Subclient event.idm.read_only_udm.additional.fields.value.string_value 取自記錄訊息中的 Subclient 欄位。這個欄位會對應至 subclient_field 鍵。
類型 event.idm.read_only_udm.security_result.detection_fields.value 取自記錄訊息中的 Type 欄位。這個欄位會對應至 alert_type 鍵。
使用者名稱 event.idm.read_only_udm.principal.user.userid 取自記錄訊息中的 Username 欄位值。
anomaly_type event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 detected_anomaly_type 鍵。
錯誤 event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 errors_field 鍵。
file_name event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 detected_malicious_file 鍵。
media_agent event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 detected_media_agent 鍵。
no_of_files_created event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 no_of_files_created_field 鍵。
no_of_files_deleted event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 no_of_files_deleted_field 鍵。
no_of_files_modified event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 no_of_files_modified_field 鍵。
no_of_files_renamed event.idm.read_only_udm.security_result.detection_fields.value 使用 grok 模式從 Description 欄位擷取的值。這個欄位會對應至 no_of_files_renamed_field 鍵。
網址 event.idm.read_only_udm.network.http.referral_url 使用 grok 模式從 Description 欄位擷取的值。
event.idm.read_only_udm.metadata.event_type 如果存在 Client 欄位,這個欄位會設為 STATUS_UPDATE,否則會設為 GENERIC_EVENT
event.idm.read_only_udm.metadata.product_name 這個欄位設為 COMMVAULT
event.idm.read_only_udm.metadata.vendor_name 這個欄位設為 COMMVAULT
event.idm.read_only_udm.principal.user.user_role 如果 User 欄位為 Administrator,這個欄位會設為 ADMINISTRATOR

還有其他問題嗎?向社群成員和 Google SecOps 專業人員尋求答案。