收集 Saiwall VPN 日志

支持的平台:

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

Saiwall Secure SD-WAN 由 SAIMA Systems 开发,是一款企业网络安全平台,可将防火墙、代理、VPN 加密和 LDAP 服务整合到一个集中式管理解决方案中。VPN 组件通过 TCP 使用 SSL VPN 协议,并采用 2048 位安全证书和 AES 256 位对称加密,可在分布式企业环境中为远程站点和中央办公室之间提供安全连接。

准备工作

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

  • Google SecOps 实例
  • 搭载 systemd 的 Windows 2016 或更高版本或 Linux 主机
  • 如果在代理后面运行,请确保防火墙端口已根据 Bindplane 代理要求打开
  • 对 Saiwall Secure SD-WAN 管理控制台(SAIWALL SD-WAN Orchestrator)的特权访问权限

获取 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 代理安装指南

配置 Bindplane 代理以注入 syslog 并将其发送到 Google SecOps

  1. 访问配置文件:

    • 找到 config.yaml 文件。通常,该文件位于 Linux 上的 /opt/observiq-otel-collector/ 目录中或 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: 'SAIWALL_VPN'
        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 更新为在第 1 步中保存身份验证文件的文件路径。

重启 Bindplane 代理以应用更改

  • 如需在 Linux 中重启 Bindplane 代理,请运行以下命令:

    sudo systemctl restart observiq-otel-collector
    
  • 如需在 Windows 中重启 Bindplane 代理,您可以使用服务控制台,也可以输入以下命令:

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

配置 Saiwall syslog 转发

如需将 Saiwall Secure SD-WAN 设备配置为将 syslog 消息转发到 Bindplane 代理,请按以下步骤操作:

  1. 登录 SAIWALL SD-WAN Orchestrator Web 管理控制台。
  2. 依次前往配置 > 系统 > 日志记录
  3. Syslog 部分,点击启用以激活远程 Syslog 转发。
  4. 提供以下配置详细信息:
    • Syslog 服务器:输入 Bindplane 代理主机(例如 192.168.1.100)的 IP 地址。
    • 端口:输入 514(或在 Bindplane 代理中配置的端口)。
    • 协议:选择 UDP
    • 设备:选择 local0 或适合您环境的设备。
  5. 日志类别部分,启用以下日志类型以进行转发:
    • VPN 连接事件(隧道建立和拆除)
    • 防火墙流量事件(允许和拒绝)
    • 身份验证事件(用户登录和退出)
    • 系统事件(配置更改和提醒)
  6. 点击保存以应用 syslog 配置。
  7. 点击同步,将配置推送到所有已连接的 SAIWALL SR 设备。

如需了解详情,请参阅 SAIMA Systems 文档

UDM 映射表

日志字段 UDM 映射 逻辑
egressInterface_label additional.fields 已合并
flowEndMilliseconds_label additional.fields 已合并
flowEndReason_label additional.fields 已合并
flowStartMilliseconds_label additional.fields 已合并
format_label additional.fields 已合并
header_map_label additional.fields 已合并
ingressInterface_label additional.fields 已合并
ipClassOfService_label additional.fields 已合并
ipNextHopIPv4Address_label additional.fields 已合并
octetDeltaCount_label additional.fields 已合并
packetDeltaCount_label additional.fields 已合并
protocolIdentifier_label additional.fields 已合并
tcpControlBits_label additional.fields 已合并
inter_host intermediary.hostname 直接映射
record.nexthop intermediary.ip 已合并
port intermediary.port 已重命名/已映射
event_type metadata.event_type 直接映射
record.input network.received_bytes 已重命名/已映射
record.output network.sent_bytes 已重命名/已映射
record.srcaddr principal.ip 已合并
sourceIPv4Address principal.ip 已合并
record.srcport principal.port 已重命名/已映射
sourceTransportPort principal.port 已重命名/已映射
destinationIPv4Address target.ip 已合并
record.dstaddr target.ip 已合并
destinationTransportPort target.port 已重命名/已映射
record.dstport target.port 已重命名/已映射
record_map_label target.resource.attribute.labels 已合并

更新日志

查看相应解析器的更改日志

需要更多帮助?获得社区成员和 Google SecOps 专业人士的解答。