收集 Trellix IPS 記錄

支援的國家/地區:

本文說明如何使用 Bindplane 代理程式,將 Trellix IPS 記錄擷取至 Google Security Operations。

Trellix IPS (前身為 McAfee IPS/Network Security Platform) 是一種網路入侵防禦系統,可即時偵測及防範網路威脅,包括惡意探索、惡意軟體和阻斷服務攻擊。這項服務會使用特徵碼型和行為分析技術,檢查網路流量,自動封鎖惡意活動,同時允許正當流量通過。

事前準備

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

  • Google SecOps 執行個體
  • 搭載 systemd 的 Windows 2016 以上版本或 Linux 主機
  • 如果透過 Proxy 執行,請確保防火牆通訊埠已根據 Bindplane 代理程式需求開啟
  • Trellix IPS Manager (Network Security Manager) 控制台的特殊存取權

取得 Google SecOps 擷取驗證檔案

  1. 登入 Google SecOps 控制台。
  2. 依序前往「SIEM 設定」>「收集代理程式」
  3. 下載擷取驗證檔案
  4. 將檔案安全地儲存在要安裝 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:
      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: YOUR_CUSTOMER_ID_HERE
        endpoint: malachiteingestion-pa.googleapis.com
        # Add optional ingestion labels for better organization
        log_type: 'MCAFEE_IPS'
        raw_log_field: body
        ingestion_labels:
    
    service:
      pipelines:
        logs/source0__chronicle_w_labels-0:
          receivers:
            - tcplog
          exporters:
            - chronicle/chronicle_w_labels
    
    • 視基礎架構需求替換通訊埠和 IP 位址。
    • YOUR_CUSTOMER_ID_HERE 替換為實際的客戶 ID。
    • /path/to/ingestion-authentication-file.json 更新為您在步驟 1 中儲存驗證檔案的檔案路徑。
    • 請更新 endpoint 值,確保與租戶的區域相符。

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

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

    sudo systemctl restart observiq-otel-collector
    
  2. 如要在 Windows 中重新啟動 Bindplane 代理程式,可以使用「服務」主控台,或輸入下列指令:

    net stop observiq-otel-collector && net start observiq-otel-collector
    

設定 Trellix IPS 系統記錄檔轉送

  1. 登入 Trellix Network Security Manager (前身為 McAfee Network Security Manager) 主控台。
  2. 依序前往「管理」>「設定」>「通知」>「系統記錄」
  3. 按一下「啟用」,啟用系統記錄通知。
  4. 按一下「新增」,新增 Syslog 伺服器。
  5. 請提供下列設定詳細資料:
    • 系統記錄檔伺服器 IP 位址:輸入 Bindplane 代理程式主機的 IP 位址 (例如 192.168.1.100)。
    • 「Port」(通訊埠):輸入 514 (或在 Bindplane 中設定的通訊埠)。
    • 「通訊協定」:選取「TCP」
    • 設施:選取「Local0」 (或環境要求的選項)。
  6. 在「通知」部分,選取要轉送的快訊嚴重性等級:
    • 資訊
    • 重大
  7. 在「訊息格式」部分,選取系統記錄訊息格式:
    • 根據需求選取「標準系統記錄」或「CEF」(常見事件格式)
  8. 按一下「儲存」,儲存系統記錄伺服器設定。
  9. 依序前往「管理」>「設定」>「通知」>「轉送快訊」
  10. 啟用警報轉寄功能,並選取先前步驟中設定的系統記錄伺服器。
  11. 選取要轉寄的快訊類型:
    • IPS 快訊
    • 故障警報
    • 稽核警報
  12. 按一下「儲存」即可套用設定。

UDM 對應表

記錄欄位 UDM 對應 邏輯
_intermediary intermediary 已合併
_event_type metadata.event_type 直接對應
_network network 已重新命名/對應
_principal principal 已重新命名/對應
_security_result security_result 已合併
_target target 已重新命名/對應
不適用 intermediary 常數:_intermediary
不適用 metadata.product_name 常數:MCafee IPS
不適用 metadata.vendor_name 常數:MCafee
不適用 security_result 常數:_security_result

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