收集 CyberArk Privileged Threat Analytics 記錄

支援的國家/地區:

本文說明如何使用 Bindplane 收集 CyberArk Privileged Threat Analytics 記錄。CyberArk Privileged Threat Analytics 是一項安全解決方案,可協助偵測及回應涉及高權限帳戶的惡意活動。這項功能會運用進階數據分析和機器學習技術,監控及分析異常行為,並標示可能代表潛在內部威脅或遭盜用憑證的行為。

事前準備

  • 確認您有 Google Security Operations 執行個體。
  • 確認您使用的是 Windows 2016 以上版本,或是搭載 systemd 的 Linux 主機。
  • 如果透過 Proxy 執行,請確認防火牆通訊埠已開啟。
  • 確認您具備 Cyberark PTA 的特殊權限。

取得 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. 存取設定檔:

    1. 找出 config.yaml 檔案。通常位於 Linux 的 /etc/bindplane-agent/ 目錄,或 Windows 的安裝目錄。
    2. 使用文字編輯器 (例如 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: SYSLOG
                namespace: cyberark_pta
                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
    

設定 CyberArk Privileged Threat Analytics 記錄匯出作業

  1. 登入 Privileged Threat Analytics 電腦。
  2. 執行 DEFAULTPARM 指令,開啟預設的 systemparm.properties 檔案。
  3. 複製包含 syslog_outbound 屬性的那一行,然後結束 systemparm.properties 檔案。
  4. 執行 LOCALPARM 指令,開啟本機 systemparm.properties 檔案。
  5. 按下鍵盤上的 i 鍵即可編輯檔案。
  6. systemparm.properties 檔案中,取消註解 syslog_outbound 屬性。
  7. 貼上先前複製的程式碼行,並根據下列範例編輯參數:

    syslog_outbound=[{"siem": "Chronicle", "format": "CEF", "host": "BINDPLANE_IP_ADDRESS", "port": BINDPLANE_PORT_NUMBER, "protocol": "PROTOCOL"}]
    

    更改下列內容:

    • BINDPLANE_IP_ADDRESS:輸入 Bindplane IP 位址。
    • PORT_NUMBER:輸入 Bindplane 連接埠號碼 (例如 514)。
    • PROTOCOL:輸入 UDP 做為通訊協定。
  8. 儲存並關閉設定檔。

  9. 重新啟動 Privileged Threat Analytics 電腦。

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