Rule ID
SV-289093r1318048_rule
Version
V1R1
CCIs
Off-loading ensures audit information does not get overwritten if the limited audit storage capacity is reached and also protects the audit record in case the system/component being audited is compromised. Off-loading is a common process in information systems with limited audit storage capacity. The audit storage on the NetScaler Gateway is used only in a transitory fashion until the system can communicate with the centralized log server designated for storing the audit records, at which point the information is transferred. However, DoW requires that the log be transferred in real time which indicates that the time from event detection to off-loading is seconds or less. This does not apply to audit logs generated on behalf of the device itself (management). Satisfies: SRG-NET-000334-ALG-000050, SRG-NET-000511-ALG-000051
Verify the NetScaler Gateway off-loads audit records onto a centralized log server in real time. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to System >> Auditing >> Syslog. 3. Select the "Servers" tab and verify at least one syslog server is configured pointing to a centralized log server IP. 4. Select the "Policies" tab and verify a policy exists that targets the configured syslog server. 5. From the "Select Action" drop-down menu, select "Advanced Policy Global Bindings". 6. Verify that the syslog policy is listed, actively bound, and the "Expression" is set to "true" to ensure all Gateway events are forwarded in real time. Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Run the following command to view active global syslog policy bindings: show audit syslogGlobal 3. Verify at least one syslog policy is listed in the output. 4. Run the following command to verify the policy's rule: show audit syslogPolicy <policy_name> 5. Verify the "Rule" is set to "true". 6. Run the following command to verify the policy points to an external central log server and excludes debug logging: show audit syslogAction <action_name> 7. Verify the "Server IP" field points to the approved centralized log server. 8. Verify the "Loglevel" field contains EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, and INFORMATIONAL, but does not contain DEBUG. If the NetScaler Gateway is not configured to off-load audit records to a centralized log server in real time via a globally bound policy with an expression of "true", or if "DEBUG" logging is enabled, this is a finding.
Configure the NetScaler Gateway to off-load audit records onto a centralized log server in real time without enabling debug logging. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. Navigate to System >> Auditing >> Syslog. 3. Select the "Servers" tab and select "Add". 4. Enter a name in the "Name" field, set "Server Type" to "Server IP", and enter the IP address of the centralized log server. 5. Under "Logging Levels", select "Custom" and check EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, and INFORMATIONAL. Verify "DEBUG" is unchecked. Select "Create". 6. Select the "Policies" tab and select "Add". 7. Enter a name in the "Name" field, select the syslog server from the "Server" drop-down menu, set the Expression Type to "Advanced Policy", and enter "true" as the expression. Select "Create". 8. Navigate back to System >> Auditing >> Syslog. From the "Select Action" drop-down menu, select "Advanced Policy Global Bindings". 9. Select "Add Binding", select the created policy, assign a unique priority, and select "Bind". 10. Save the configuration. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. Run the following command to create the syslog server action with the correct log levels: add audit syslogAction <action_name> <central_log_server_ip> -logLevel EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL 3. Run the following command to create the Advanced Syslog policy with the rule set to "true": add audit syslogPolicy <policy_name> true <action_name> 4. Run the following command to bind the policy globally to ensure real-time offloading: bind audit syslogGlobal -policyName <policy_name> -priority <priority_number> 5. Run the following command to save the configuration: save ns config