Citrix WAF (Web App Firewall) connector for Microsoft Sentinel
Citrix WAF (Web App Firewall) is an industry leading enterprise-grade WAF solution. Citrix WAF mitigates threats against your public-facing assets, including websites, apps, and APIs. From layer 3 to layer 7, Citrix WAF includes protections such as IP reputation, bot mitigation, defense against the OWASP Top 10 application threats, built-in signatures to protect against application stack vulnerabilities, and more.
Citrix WAF supports Common Event Format (CEF) which is an industry standard format on top of Syslog messages . By connecting Citrix WAF CEF logs to Microsoft Sentinel, you can take advantage of search & correlation, alerting, and threat intelligence enrichment for each log.
Connector attributes
Connector attribute | Description |
---|---|
Log Analytics table(s) | CommonSecurityLog (CitrixWAFLogs) |
Data collection rules support | Workspace transform DCR |
Supported by | Citrix Systems |
Query samples
Citrix WAF Logs
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
Citrix Waf logs for cross site scripting
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_XSS"
Citrix Waf logs for SQL Injection
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_SQL"
Citrix Waf logs for Bufferoverflow
CommonSecurityLog
| where DeviceVendor == "Citrix"
| where DeviceProduct == "NetScaler"
| where Activity == "APPFW_STARTURL"
Vendor installation instructions
- Linux Syslog agent configuration
Install and configure the Linux agent to collect your Common Event Format (CEF) Syslog messages and forward them to Microsoft Sentinel.
Notice that the data from all regions will be stored in the selected workspace
1.1 Select or create a Linux machine
Select or create a Linux machine that Microsoft Sentinel will use as the proxy between your security solution and Microsoft Sentinel this machine can be on your on-prem environment, Azure or other clouds.
1.2 Install the CEF collector on the Linux machine
Install the Microsoft Monitoring Agent on your Linux machine and configure the machine to listen on the necessary port and forward messages to your Microsoft Sentinel workspace. The CEF collector collects CEF messages on port 514 TCP.
- Make sure that you have Python on your machine using the following command: python -version.
- You must have elevated permissions (sudo) on your machine.
Run the following command to install and apply the CEF collector:
sudo wget https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_installer.py&&sudo python cef_installer.py {0} {1}
- Forward Common Event Format (CEF) logs to Syslog agent
Configure Citrix WAF to send Syslog messages in CEF format to the proxy machine using the steps below.
Follow this guide to configure WAF.
Follow this guide to configure CEF logs.
Follow this guide to forward the logs to proxy . Make sure you to send the logs to port 514 TCP on the Linux machine's IP address.
Validate connection
Follow the instructions to validate your connectivity:
Open Log Analytics to check if the logs are received using the CommonSecurityLog schema.
It may take about 20 minutes until the connection streams data to your workspace.
If the logs are not received, run the following connectivity validation script:
- Make sure that you have Python on your machine using the following command: python -version
- You must have elevated permissions (sudo) on your machine
Run the following command to validate your connectivity:
sudo wget https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/CEF/cef_troubleshoot.py&&sudo python cef_troubleshoot.py {0}
- Secure your machine
Make sure to configure the machine's security according to your organization's security policy
Next steps
For more information, go to the related solution in the Azure Marketplace.
Feedback
Submit and view feedback for