收集 Endpoint Protector DLP 記錄

支援的國家/地區:

本文說明如何使用 Bindplane,將 Netwrix Endpoint Protector DLP (資料外洩防護) 記錄擷取至 Google Security Operations。剖析器會從系統記錄訊息中擷取欄位,並運用 grok 模式識別重要資訊。然後將這些擷取的欄位對應至統一資料模型 (UDM),處理各種資料類型,並使用供應商和產品資訊等中繼資料擴充輸出內容。剖析器也會執行多項資料轉換作業,包括字串操控,以及根據作業系統和其他條件有條件地合併欄位。

事前準備

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

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

取得 Google SecOps 擷取驗證檔案

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

取得 Google SecOps 客戶 ID

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

安裝 Bindplane 代理程式

請按照下列操作說明,在 Windows 或 Linux 作業系統上安裝 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_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
            ingestion_labels:
                log_type: 'ENDPOINT_PROTECTOR_DLP'
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - udplog
                exporters:
                    - chronicle/chronicle_w_labels
    
    • 視基礎架構需求,替換通訊埠和 IP 位址。
    • <customer_id> 替換為實際的客戶 ID。
    • /path/to/ingestion-authentication-file.json 更新為「取得 Google SecOps 擷取驗證檔案」一節中驗證檔案的儲存路徑。

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

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

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

    net stop BindPlaneAgent && net start BindPlaneAgent
    

在 Netwrix Endpoint Protector 上設定 Syslog

  1. 登入 Endpoint Protector 網頁 UI。
  2. 依序前往「裝置」>「SIEM 整合」
  3. 按一下 [Add New] (新增)。
  4. 提供下列設定詳細資料:
    • SIEM 狀態:切換開關來啟用 SIEM 伺服器。
    • 停用記錄功能:切換為啟用記錄功能。
    • 伺服器名稱:輸入專屬且有意義的伺服器名稱。
    • 伺服器說明:為這項整合功能新增說明。
    • 伺服器 IP 或 DNS:輸入 Bindplane 代理程式 IP 位址。
    • 伺服器通訊協定:選取「UDP」
    • 伺服器通訊埠:輸入 Bindplane 代理程式通訊埠編號 (例如 UDP 的 514)。
    • 排除標頭:切換為啟用記錄檔標頭。
    • 記錄類型:選取要傳送至 SIEM 的可用記錄。
  5. 按一下 [儲存]

UDM 對應表

記錄欄位 UDM 對應 邏輯
Client Computer principal.asset.asset_id Client Computer 前面加上「Client Computer: 」後,系統會將 Client Computer 的值指派給 principal.asset.asset_id
Client User principal.user.userid Client User 的值會指派給 principal.user.userid
Content Policy security_result.rule_name Content Policy 的值會指派給 security_result.rule_name
Content Policy Type security_result.rule_id Content Policy Type 的值會指派給 security_result.rule_id
Destination metadata.ingestion_labels.value Destination 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「目的地」。
Destination Type metadata.ingestion_labels.value Destination Type 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「目的地類型」。
Device PID metadata.ingestion_labels.value Device PID 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「裝置 PID」。
Device Serial metadata.ingestion_labels.value Device Serial 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「裝置序號」。只有在 Device Serial 不為空時,才會執行這項操作。
Device VID metadata.ingestion_labels.value Device VID 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「裝置 VID」。
File Name target.file.full_path File Name 的值會指派給 target.file.full_path
File Size target.file.size File Size 的值會指派給 target.file.size,並轉換為無正負號整數。
IP Address principal.ip IP Address 的值會指派給 principal.ip
Item Details metadata.ingestion_labels.value Item Details 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「項目詳細資料」。
Log ID metadata.product_log_id Log ID 的值會指派給 metadata.product_log_id
MAC Address principal.mac 將所有連字號替換為半形冒號後,系統會將 MAC Address 的值指派給 principal.mac
Matched Item metadata.ingestion_labels.value Matched Item 的值會指派給 ingestion_labels 物件的 value 欄位,其中 key 為「相符項目」。
Message security_result.summary Message 的值會指派給 security_result.summary
OS principal.platform 系統會使用 OS 的值判斷 principal.platform 的值。如果 OS 包含「Windows」,則 principal.platform 會設為「WINDOWS」。如果 OS 包含「Mac」,則 principal.platform 會設為「MAC」。如果 OS 包含「Lin」,則 principal.platform 會設為「LINUX」。
Serial Number principal.asset.hardware.serial_number Serial Number 的值會指派給 principal.asset.hardware.serial_number。使用 grok 從訊息欄位擷取,並指派給 intermediary.hostname。使用 grok 從訊息欄位擷取,並指派給 metadata.description。系統會剖析系統記錄訊息中的時間戳記,並指派給 metadata.event_timestamp。「SCAN_UNCATEGORIZED」值會指派給 metadata.event_type。值「ENDPOINT_PROTECTOR_DLP」會指派給 metadata.log_type。值「ENDPOINT_PROTECTOR_DLP」會指派給 metadata.product_name。值「ENDPOINT_PROTECTOR_DLP」會指派給 metadata.vendor_name。使用 grok 從訊息欄位擷取,並指派給 principal.hostname。使用 grok 從訊息欄位擷取,並指派給 principal.ip。系統會剖析系統記錄訊息中的時間戳記,並指派給頂層 timestamp 欄位。

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