STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Citrix NetScaler ALG Security Technical Implementation Guide

V-289105

CAT II (Medium)

The NetScaler Gateway providing content filtering must protect against known and unknown types of denial-of-service (DoS) attacks by employing rate-based attack prevention behavior analysis.

Rule ID

SV-289105r1318573_rule

STIG

Citrix NetScaler ALG Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-002385

Discussion

If the network does not provide safeguards against DoS attacks, network resources will be unavailable to users. Installation of content filtering gateways and application layer firewalls at key boundaries in the architecture mitigates the risk of DoS attacks. These attacks can be detected by matching observed communications traffic with patterns of known attacks and monitoring for anomalies in traffic volume/type. Detection components that use rate-based behavior analysis can detect attacks when signatures for the attack do not exist or are not installed. These attacks include zero-day attacks which are new attacks for which vendors have not yet developed signatures. Rate-based behavior analysis can detect sophisticated, Distributed DoS (DDoS) attacks by correlating traffic information from multiple network segments or components. This requirement applies to the communications traffic functionality of the NetScaler Gateway as it pertains to handling communications traffic, rather than to the NetScaler Gateway device itself.

Check Content

Verify the NetScaler Gateway protects against DoS attacks by employing rate-based attack prevention behavior analysis.

Method 1: GUI Verification
1. Log in to the NetScaler GUI.
2. Navigate to AppExpert >> Rate Limiting >> Limit Identifiers. 
3. Verify an identifier is configured with an organizationally defined threshold.
4. Navigate to AppExpert >> Responder >> Policies. 
5. Review the "Expression" column in the policy list and verify a Responder policy exists that uses the "sys.check_limit" expression.
6. Navigate to Citrix Gateway >> Virtual Servers.
7. Select the active Gateway Virtual Server and select "Edit". 
8. Verify that the rate-limiting Responder policy is actively bound.

Method 2: CLI Verification
1. Log in to the NetScaler CLI.
2. Run the following command to view configured rate limits:
   show ns limitIdentifier
3. Verify a rate limit identifier is configured.
4. Run the following command to view the rule expression of the specific rate-limiting policy:
   show responder policy <policy_name>
5. Verify the "Rule" output uses the "sys.check_limit" expression.
6. Run the following command to verify the virtual server bindings:
   show vpn vserver <gateway_vserver_name>
7. Verify the rate-limiting Responder policy is bound to the virtual server.

If a rate-limiting Responder policy is not bound to the Gateway Virtual Server, this is a finding.

Fix Text

Configure the NetScaler Gateway to protect against DoS attacks using rate-based prevention.

Method 1: GUI Configuration
1. Log in to the NetScaler GUI.
2. Navigate to AppExpert >> Rate Limiting >> Selectors and select "Add". 
3. Enter a name for the selector and create an expression to identify traffic (e.g., CLIENT.IP.SRC). Select "Create".
4. Navigate to AppExpert >> Rate Limiting >> Limit Identifiers and select "Add". 
5. Enter a name for the identifier, choose the Selector created in Step 3, set the Threshold and Time Slice to organizationally defined limits, and select "Create".
6. Navigate to AppExpert >> Responder >> Policies and select "Add". 
7. Enter a name for the policy, set the "Action" to "DROP", and in the expression box, enter "sys.check_limit" ("<limit_identifier_name>"). Select "Create".
8. Navigate to Citrix Gateway >> Virtual Servers, select the active Gateway Virtual Server, and select "Edit". 
9. Bind the Responder policy created in Step 7.
10. Save the configuration.

Method 2: CLI Configuration
1. Log in to the NetScaler CLI.
2. Run the following command to create a Limit Selector to identify traffic by source IP:
   add stream selector <limit_selector_name> "CLIENT.IP.SRC"
3. Run the following command to create a Limit Identifier, linking it to the selector created in Step 2 and applying organizationally defined limits:
   add ns limitIdentifier <limit_identifier_name> -threshold <threshold_value> -timeSlice <time_slice_in_ms> -selectorName <limit_selector_name>
4. Run the following command to create the Responder Policy that drops traffic, linking it to the identifier created in Step 3:
   add responder policy <responder_policy_name> "sys.check_limit(\"<limit_identifier_name>\")" DROP
5. Run the following command to bind the Responder policy to the Gateway Virtual Server:
   bind vpn vserver <gateway_vserver_name> -policy <responder_policy_name> -priority <priority_number> -gotoPriorityExpression END -type REQUEST
6. Run the following command to save the configuration:
   save ns config