收集 Dell CyberSense 記錄

支援的國家/地區:

本文說明如何使用 Bindplane,將 Dell PowerProtect CyberSense 記錄檔擷取至 Google Security Operations。

事前準備

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

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

取得 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: 'DELL_CYBERSENSE'
                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
    

設定 Dell CyberSense 的系統記錄

  1. 使用 CLI 登入 Dell PowerProtect
  2. 編輯 /etc/audisp/plugins.d/syslog.conf 檔案,使 active = yes,然後儲存並結束檔案。
  3. 使用 vi 開啟檔案,輸入下列指令,然後儲存並結束檔案。輸入 :wq 即可儲存並結束檔案:

    $ModLoad imfile
    $InputFileName /var/log/audit/audit.log
    $InputFileTag tag_audit_log:
    $InputFileStateFile audit_log
    $InputFileSeverity info
    $InputFileFacility local6
    $InputRunFileMonitor
    
    *.* @<Bindplane_IP>:514
    
    • <Bindplane_IP> 替換為 Bindplane 代理程式 IP 位址。
  4. 重新啟動 rsyslog 服務:

    service rsyslog restart
    

支援的 Dell CyberSense 記錄檔範例

  • SYSLOG (標準)

    <141>CVDataDomain ddsh: NOTICE: MSG-DDSH-00009:
    (tty=<>, session=000, client_IP=192.168.1.100) admin_user: command "net config"
    
  • SYSLOG + CEF

    <142>Nov 11 00:36:30 internal-host-01 mc_server: CEF:0|
      Index Engines|
      Catalyst|
      8.6.0-1.27|
      iecrd|
      iecrd_job - done_ok|
      normal|
      {'crjobids': [0000],
       'crpolicy': 'policy_id_01',
       'lanjobinstid': 0000,
       'lanjobdefname': 'policy_name_01',
       'message': 'Completed LAN indexing job.'}
    
  • SYSLOG + CEF + JSON (結構化)

    <142>Jan 31 08:36:19 internal-host-01 writeDetailedSyslog: CEF:0|
      Index Engines|
      Catalyst|
      8.6.0-1.27|
      iecrd|
      iecrd_infection - inprogress|
      detail|
    {
      "crjobid": 0000,
      "engine_id": "A1B2C3D4E5F6",
      "URL": "https://cyber-sense-ui.internal.corp/CyberSenseUI",
      "host": "host_id_999",
      "path": "/data/volume1/backup-mount-point/",
      "infection_classes": [
        "The file retains its original name and file extension, but the content has been encrypted."
      ]
    }
    
  • SYSLOG + CEF + JSON (單行)

    <142>Dec 6 11:56:51 internal-host-01 mc_server: CEF:0|Index Engines|Catalyst|8.6.0-1.27|dispatch|dispatch_seg - done_ok|normal|{"dbname": "/opt/ie/var/segment_01.db", "dbuuid": "00000000-0000-0000-0000-000000000000"}
    

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