收集 Cisco 無線入侵防禦系統 (WIPS) 記錄

支援的國家/地區:

本文說明如何使用 Bindplane,將 Cisco 無線入侵防禦系統 (WIPS) 記錄檔擷取至 Google Security Operations。剖析器會從系統記錄訊息中擷取鍵/值組合,然後將這些值對應至統合式資料模型 (UDM) 欄位。系統會根據主體、目標和使用者資訊是否存在,判斷適當的 event_type,並根據 eventType 和其他欄位將安全性事件分類。

事前準備

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

  • Google SecOps 執行個體
  • Windows 2016 以上版本,或搭載 systemd 的 Linux 主機
  • 如果透過 Proxy 執行,請確認防火牆通訊埠已開啟
  • Cisco 存取點 (AP) / 無線 LAN 控制器 (WLC) 的特殊存取權

取得 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
            log_type: 'CISCO_WIPS'
            raw_log_field: body
            ingestion_labels:
    
    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
    

在 Cisco Catalyst 上設定 Adaptive Wireless Intrusion Prevention System (aWIPS)

  1. 使用 SSH 登入 Cisco Catalyst。
  2. 輸入全域設定,在存取點設定檔中啟用 aWIPS:

    configure terminal
    ap profile <profile-name>
    awips
    
  3. 將系統記錄節流間隔設為 60 秒:

    awips-syslog throttle period 60
    

使用 Cisco AP 設定檔設定系統記錄

  1. 在 AP 聯結設定檔中 (透過 CLI):

    configure terminal
    ap profile <profile-name>
      syslog host <Bindplane_IP_address>
      syslog level informational
      syslog facility local0
    end
    

在 Cisco WLC 上設定系統記錄 (GUI)

  1. 登入 WLC 網頁版 UI。
  2. 依序前往「管理」>「記錄」>「設定」
  3. 在「Syslog Server IP Address」(系統記錄伺服器 IP 位址) 欄位中,輸入 Bindplane 代理程式 IP 位址。
  4. 按一下「新增」
  5. 提供下列設定詳細資料:
    • Syslog Severity:選取「Informational」
    • Syslog Facility:選取「Local Use 0」
  6. 按一下 [套用]
  7. 按一下 [Save Configuration] (儲存組態)。

使用 WLC (CLI) 在存取點上設定系統記錄

  1. 全域 AP 系統記錄檔主機:

    config ap syslog host global <Bindplane_IP_address>
    
  2. 設定特定 AP Syslog 主機:

    config ap syslog host specific <AP-name> <Bindplane_IP_address>
    
  3. 設定 AP 系統記錄嚴重程度:

    config ap logging syslog level informational
    
  4. 設定 AP 訊息的設施:

    config logging syslog facility local0
    

UDM 對應表

記錄欄位 UDM 對應 邏輯
applicationCategoryData security_result.summary 直接對應。
applicationSpecificAlarmID target.resource.attribute.labels.applicationSpecificAlarmID 已轉換為目標資源的標籤。
attackerMacAddr target.mac 直接對應。
authEntityId principal.resource.attribute.labels.authEntityId 轉換為主體資源的標籤。
category security_result.category_details 直接對應。
detectingApCount target.resource.attribute.labels.detectingApCount 已轉換為目標資源的標籤。
description metadata.description 直接對應。
displayName principal.user.userid 如果模式相符,則使用規則運算式 host/(?P<user_id>[\\w-]+)displayName 中擷取。
eventType metadata.product_event_type 直接對應。
instanceId principal.resource.attribute.labels.instanceId 轉換為主體資源的標籤。
instanceUuid metadata.product_log_id 直接對應。
instanceVersion principal.resource.attribute.labels.instanceVersion 轉換為主體資源的標籤。
macInfo target.resource.attribute.labels.macInfo 已轉換為目標資源的標籤。
notificationDeliveryMechanism target.resource.attribute.labels.notificationDeliveryMechanismnetwork.ip_protocol 已轉換為目標資源的標籤。如果值包含「snmp」(不區分大小寫),network.ip_protocol 會設為「UDP」。
previousSeverity target.resource.attribute.labels.previousSeverity 已轉換為目標資源的標籤。如果 eventType 為「USER_AUTHENTICATION_FAILURE」,且 user_id 不為空白,請設為「AUTHTYPE_UNSPECIFIED」。從記錄的 timestamp 複製。由剖析器邏輯根據多項條件決定:如果 eventType 為「USER_AUTHENTICATION_FAILURE」,且 user_id 不為空白,則為「USER_LOGIN」。

如果 is_target_presentis_principal_present 都是 true,則為「NETWORK_CONNECTION」。如果 is_principal_present 為 true,則為「STATUS_UPDATE」。
如果 user_id 不為空白,則為「USER_UNCATEGORIZED」。

,否則為「GENERIC_EVENT」。硬式編碼為「CISCO_WIPS」。硬式編碼為「無線入侵防禦系統 (WIPS)」。硬式編碼為「Cisco」。如果 notificationDeliveryMechanism 包含「snmp」(不區分大小寫),請設為「UDP」。如果不是 IP,則會從 reportingEntityAddresssource 對應。如果這些是 IP,則會從 reportingEntityAddresssource 對應。如果是 MAC 位址,則使用規則運算式從 source 中擷取。轉換為主要資源的標籤。轉換為主體資源的標籤。
reportingEntityAddress principal.ipprincipal.hostname 如果是 IP 位址,則會對應至 principal.ip。否則會對應至 principal.hostname
severity security_result.severity 根據下列條件對應:如果 severity 為「0」、「1」、「CRITICAL」或「VERY-HIGH」,則為「CRITICAL」
。如果 severity 為「2」、「3」、「4」或「HIGH」,則
為「HIGH」。如果 severity 為「5」或「MEDIUM」,則
為「MEDIUM」。如果 severity 為「6」、「7」或「LOW」,則
為「LOW」。
sigAlertDescription security_result.description 直接對應。
signatureName target.resource.attribute.labels.signatureName 已轉換為目標資源的標籤。
source principal.hostnameprincipal.ipprincipal.mac 如果是 IP 位址,則會對應至 principal.ip。如果是 MAC 位址,則會對應至 principal.mac。否則會對應至 principal.hostname
srcObjectClassId principal.resource.attribute.labels.srcObjectClassId 轉換為主體資源的標籤。
srcObjectId principal.resource.attribute.labels.srcObjectId 轉換為主體資源的標籤。
subclassName security_result.rule_name 直接對應。如果 applicationSpecificAlarmID 包含「BlockList」(不區分大小寫),或 eventType 是「SIGNATURE_ATTACK」、「MALICIOUS_ROGUE_AP_DETECTED」或「USER_AUTHENTICATION_FAILURE」其中之一,請設為「BLOCK」。由剖析器邏輯根據 eventType 判斷:如果 eventType 為「MALICIOUS_ROGUE_AP_DETECTED」,則為「NETWORK_MALICIOUS」。

如果 eventType 是「SIGNATURE_ATTACK」,則為「NETWORK_SUSPICIOUS」。
如果 eventType 是「USER_AUTHENTICATION_FAILURE」,則為「AUTH_VIOLATION」。
timestamp metadata.event_timestamp secondsnanos 欄位會直接對應。

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