适用于 Microsoft Sentinel 的 Citrix WAF(Web 应用程序防火墙)连接器
Citrix WAF(Web 应用程序防火墙)是行业领先的企业级 WAF 解决方案。 Citrix WAF 可缓解对面向公众的资产的威胁,包括网站、应用和 API。 从第 3 层到第 7 层,Citrix WAF 包括 IP 信誉、机器人缓解、防御 OWASP 前 10 大应用程序威胁、用于防范应用程序堆栈漏洞的内置签名等保护。
Citrix WAF 支持通用事件格式 (CEF),这是基于 Syslog 消息的行业标准格式。 通过将 Citrix WAF CEF 日志连接到 Microsoft Sentinel,可以针对每个日志使用搜索和关联、警报以及威胁情报扩充功能。
连接器属性
连接器属性 | 说明 |
---|---|
Log Analytics 表 | CommonSecurityLog (CitrixWAFLogs) |
数据收集规则支持 | 工作区转换 DCR |
支持的服务 | Citrix Systems |
查询示例
Citrix WAF 日志数
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
用于跨站点脚本的 Citrix WAF 日志数
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_XSS"
用于 SQL 注入的 Citrix WAF 日志数
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_SQL"
用于 Bufferoverflow 的 Citrix WAF 日志数
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_STARTURL"
供应商安装说明
- Linux Syslog 代理配置
安装并配置 Linux 代理,以收集通用事件格式 (CEF) Syslog 消息,并将其转发到 Microsoft Sentinel。
请注意,来自所有区域的数据将存储在所选工作区中
1.1 选择或创建 Linux 计算机
选择或创建一个 Linux 计算机,Microsoft Sentinel 将使用该计算机作为安全解决方案和 Microsoft Sentinel 之间的代理。该计算机可以位于本地环境、Azure 或其他云中。
1.2 在 Linux 计算机上安装 CEF 收集器
在 Linux 计算机上安装 Microsoft Monitoring Agent,然后将计算机配置为侦听所需的端口并将消息转发到 Microsoft Sentinel 工作区。 该 CEF 收集器在端口 514 TCP 上收集 CEF 消息。
- 使用以下命令确保已在计算机上安装 Python:python -version。
- 你必须在计算机上拥有提升的权限 (sudo)。
运行以下命令安装并应用 CEF 收集器:
sudo wget https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_installer.py&&sudo python cef_installer.py {0} {1}
- 将通用事件格式 (CEF) 日志转发到 Syslog 代理
通过以下步骤将 Citrix WAF 配置为将 CEF 格式的 Syslog 消息发送到代理计算机。
按照说明验证连接性:
打开 Log Analytics,检查是否使用 CommonSecurityLog 架构收到了日志。
连接将数据流式传输到工作区可能大约需要 20 分钟。
如果未收到日志,请运行以下连接验证脚本:
- 使用以下命令确保已在计算机上安装 Python:python -version
- 必须在计算机上拥有提升的权限 (sudo)
运行以下命令以验证连接:
sudo wget https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_troubleshoot.py&&sudo python cef_troubleshoot.py {0}
- 保护计算机
确保根据组织的安全策略配置计算机的安全性