收集 Kaseya Datto File Protection 記錄

支援的國家/地區:

本文說明如何使用 Bindplane,將 Kaseya Datto File Protection 記錄檔擷取到 Google Security Operations。剖析器會使用 grok 模式從 Datto S4P4 系統記錄訊息中擷取欄位,將這些欄位對應至統合式資料模型 (UDM),並根據系統記錄嚴重程度將事件分類。這個外掛程式專門處理 Syslog 訊息中的 CEF 格式資料,並擷取供應商、產品、版本和事件詳細資料等重要欄位,以利擴充和分類。

事前準備

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

  • Google SecOps 執行個體
  • Windows 2016 以上版本,或具有 systemd 的 Linux 主機。
  • 如果透過 Proxy 執行,防火牆通訊埠已開啟
  • Datto Siris 或 Alto 的特殊存取權

取得 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:
        tcplog:
            # 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: 'DATTO_FILE_PROTECTION'
                raw_log_field: body
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - tcplog
                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
    

為 Datto Siris 和 Alto 設定系統記錄檔

  1. 登入 Datto 網頁管理中心。
  2. 依序前往「設定」>「裝置設定」>「遠端記錄」
  3. 啟用「Remote Logging」
  4. 提供下列設定詳細資料:
    • 確認 Bindplane 代理程式已設定為透過 TCP 連線監聽通訊埠 514
    • IP 位址:輸入 Bindplane 代理程式 IP 位址。
  5. 按一下 [套用]

UDM 對應表

記錄欄位 UDM 對應 邏輯
act security_result.category_details 原始記錄檔擴充功能欄位的 act 值。
desc metadata.description 使用 grok 從 desc 欄位擷取的 description 欄位值。
dvc target.ip 原始記錄檔擴充功能欄位的 dvc 值。
extensions security_result.category_detailstarget.ip 使用 kv 篩選器剖析,擷取 actdvc,然後對應至 UDM 欄位。
hostname principal.hostname 從原始記錄訊息中擷取的主機名稱。
log_id metadata.product_log_id 從原始記錄訊息擷取的記錄 ID。
prod_dvc_version metadata.product_version 從原始記錄的 desc 欄位擷取的產品版本。與 principal.hostname 相同。如果原始記錄中含有 STATUS_UPDATEhostname,請設為 dvc,否則請設為「GENERIC_EVENT」。如果原始記錄中存在 extensions 欄位,則為硬式編碼值 \n\n\0017。從原始記錄訊息擷取的時間戳記。與 edr.raw_event_name 相同。硬式編碼值 DATTO_FILE_PROTECTION。硬式編碼值 S4P4。硬式編碼值 Datto。衍生自 syslog_severity_code。如果 < 3,嚴重程度為「低」。如果大於 2 且小於 6,嚴重程度為「中」。如果大於 5,嚴重程度為「高」。
timestamp metadata.event_timestamp 從原始記錄訊息擷取的時間戳記。

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