收集 Trellix IPS 日志

支持的平台:

本文档介绍了如何使用 Bindplane 代理将 Trellix IPS 日志注入到 Google Security Operations。

Trellix IPS(以前称为 McAfee IPS/网络安全平台)是一种网络入侵防御系统,可实时检测和防御基于网络的威胁,包括漏洞利用、恶意软件和拒绝服务攻击。它使用基于签名的分析和行为分析来内联检查网络流量,自动阻止恶意活动,同时允许合法流量通过。

准备工作

请确保满足以下前提条件:

  • Google SecOps 实例
  • 搭载 systemd 的 Windows 2016 或更高版本或 Linux 主机
  • 如果通过代理运行,请确保防火墙端口已根据 Bindplane 代理要求打开
  • 对 Trellix IPS 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. 打开具有 root 或 sudo 权限的终端。
  2. 运行以下命令:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    

其他安装资源

如需了解其他安装选项,请参阅此安装指南

配置 Bindplane 代理以注入 Syslog 并将其发送到 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 syslog 转发

  1. 登录 Trellix Network Security Manager(以前称为 McAfee Network Security Manager)控制台。
  2. 依次前往管理 > 设置 > 通知 > Syslog
  3. 点击启用以启用 syslog 通知。
  4. 点击添加以添加新的 syslog 服务器。
  5. 提供以下配置详细信息:
    • Syslog 服务器 IP 地址:输入 Bindplane 代理主机(例如 192.168.1.100)的 IP 地址。
    • 端口:输入 514(或在 Bindplane 中配置的端口)。
    • 协议:选择 TCP
    • 设备:选择 Local0(或根据您的环境需要进行选择)。
  6. 通知部分,选择要转发的提醒严重程度:
    • 信息丰富
    • 严重
  7. 消息格式部分,选择 syslog 消息格式:
    • 根据您的需求选择标准 SyslogCEF(通用事件格式)。
  8. 点击保存以保存 syslog 服务器配置。
  9. 依次前往管理器 > 设置 > 通知 > 转发提醒
  10. 启用提醒转发,然后选择在上一步中配置的 Syslog 服务器。
  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 专业人士的解答。