Rule ID
SV-289082r1318015_rule
Version
V1R1
Without an alert, security personnel may be unaware of an impending failure of the audit capability; then the ability to perform forensic analysis and detect rate-based and other anomalies will be impeded. The ALG generates an immediate (within seconds) alert which notifies designated personnel of the incident. Sending a message to an unattended log or console does not meet this requirement since that will not be seen immediately. These messages should include a severity level indicator or code as an indicator of the criticality of the incident. Satisfies: SRG-NET-000249-ALG-000146, SRG-NET-000392-ALG-000141, SRG-NET-000079-ALG-000048
Verify the NetScaler Gateway is configured to send log data to a central log server and forward them for real-time alerting. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to System >> Auditing >> Syslog. 3. On the "Servers" tab, verify at least one external syslog server is configured pointing to a centralized log server IP. 4. Select the active syslog action (server) and select "Edit". 5. Under "Log Levels", select "Custom" and verify all log levels are checked EXCEPT for "Debug". 6. Select the "Policies" tab and verify a policy exists targeting the syslog server. 7. From the "Select Action" drop-down menu on the main syslog page, select "Advanced Policy Global Bindings". 8. Verify the syslog policy is listed and actively bound globally to ensure all events are forwarded to the SIEM in real time. Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Run the following command to view global syslog bindings: show audit syslogGlobal 3. Verify at least one syslog policy is globally bound. 4. Run the following command for the active external logging action: show audit syslogAction <action_name> 5. Verify the action points to an external "Server IP". 6. Verify the "Log Level" includes EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, and INFORMATIONAL. 7. Verify "DEBUG" is not included. If the active syslog action does not capture all required log levels (excluding Debug), or if it is not globally bound to forward logs to a central log server, this is a finding.
Configure the NetScaler Gateway to log events and forward them to a central log server for alerting. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. Navigate to System >> Auditing >> Syslog and select the "Servers" tab. 3. Select "Add". 4. Configure the "Name", "Server IP", and set "Log Levels" to "Custom", selecting all levels except "Debug" (ensure Emergency, Alert, Critical, Error, Warning, Notice, and Informational are selected). 5. Select "Create". 6. Select the "Policies" tab and select "Add". 7. Provide a name, select the server action created in the previous step, and set the expression to "true" (ensure "Advanced Policy" is the selected expression type). Select "Create". 8. From the "Select Action" drop-down menu, select "Advanced Policy Global Bindings". 9. Select "Add Binding", select the policy, and assign a unique priority (e.g., 100). Select "Bind". 10. Save the running configuration. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. Run the following command to create the syslog action with the correct log levels: add audit syslogAction <action_name> <log_server_ip> -logLevel EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL 3. Run the following command to create the syslog policy: add audit syslogPolicy <policy_name> true <action_name> 4. Run the following command to bind the policy globally: bind audit syslogGlobal -policyName <policy_name> -priority <priority_number> 5. Run the following command to save the configuration: save ns config