Threat Intelligence Rules
Threat intelligence rules leverage Alibaba Cloud security team data to classify, detect, and block threat domains for Recursive Gateway and HTTPDNS users. With the Public Recursive DNS Firewall, you can block malicious domains without changing your network architecture.
Rule priority
In addition to the DNS firewall, HTTPDNS supports blocklists, allowlists, and built-in authoritative zones. Rules are evaluated in the following priority order:
Add a rule
-
Go to the Public Recursive DNS Firewall page.
-
On the Threat Intelligence Rules tab, click Add Rule.
-
In the Add Rule dialog box, configure the parameters and submit the form.
Parameter
Description
Threat Intelligence Type
The threat intelligence category. Examples include viruses and trojans, remote control, Advanced Persistent Threats (APTs), vulnerability exploits, anomalous communication, supply chain attacks, ransomware attacks, cryptomining, phishing attacks, and compliance risks. By default, All Types is selected.
Severity
The potential harm level of a domain, reflecting attack types and scope of impact. Levels include High Risk, Medium severity or above, and Low severity or above. By default, High Risk is selected.
Confidence Level
The reliability of the threat intelligence for a domain. High confidence means the intelligence comes from a trustworthy source with sufficient evidence. Low confidence can indicate insufficient data or disputed findings. The options are Low and above, Medium and above, and High. By default, High is selected.
Action
The action to perform on DNS queries that match the rule. The following actions are available:
-
Allow: Allows the query to proceed. This action generates an action log and a detailed response log.
-
Drop: Silently drops the query without sending a response.
-
Response NXDOMAIN: Responds with an NXDOMAIN status, indicating that the domain does not exist.
-
Response Address: Responds to the query with a specific address. You can configure multiple addresses and distribute responses using weighted or round-robin methods. The record value type must match the specified Record Type. If Record Type is set to
Any type, the record value can be an IPv4 address, an IPv6 address, or a domain name. However, you cannot use both domain names and IP addresses in the same rule. -
Answer NOERROR (NoData): Responds with a NOERROR status but an empty answer section in the response.
Rule Priority
-
The first rule that you add is always assigned a priority of 1, regardless of the value that you enter.
-
If you assign a priority that is already in use, the new rule takes that priority value. The rule that previously had that priority, and all subsequent rules, are shifted down by one (their priority value is incremented by 1).
-
If you assign a priority value that is greater than the total number of rules, the new rule is assigned the lowest priority (the highest number). For example, if there are five rules in total and you set the priority of the target rule to 7, its priority is set to 5.
Rule Status
Whether the rule is active. Rules are enabled by default.
Effective Scope
The scope of DNS traffic that triggers the rule. In public recursion scenarios, configure this through the Unique configuration ID in the console. This applies to both Recursive Gateway and HTTPDNS.
Remarks
A description to help you identify and manage the rule.
-
Modify a rule
Adjust a rule's Threat Intelligence Type, Severity, Confidence Level, and Action.
-
Go to the Public Recursive DNS Firewall page.
-
In the Actions column for the target rule, click Edit.
-
In the Edit Rule dialog box, modify the configuration and confirm your changes.
The dialog box includes the following required parameters: Threat intelligence type (choose all types or a specific type), severity (options are High, Medium and above, or Low and above), confidence level (options are High, Medium and above, or Low and above), and action (for example, Respond NXDOMAIN).
Set the effective scope
-
Go to the Public Recursive DNS Firewall page.
-
In the Actions column for the target rule, click Effective Scope.
-
In the panel that appears, select Unique configuration ID as the scope. In the dialog box that appears, select the target configuration ID from the unique configuration ID dropdown list. If you have not generated a unique configuration ID, you can click the Go to Recursive Gateway | HTTPDNS to generate a unique configuration ID link to create one.
Priority assignment
-
The first rule that you add is always assigned a priority of 1, regardless of the value that you enter.
-
If you assign a priority that is already in use, the new rule takes that priority value. The rule that previously had that priority, and all subsequent rules, are shifted down by one (their priority value is incremented by 1).
-
If you assign a priority value that is greater than the total number of rules, the new rule is assigned the lowest priority (the highest number). For example, if there are five rules in total and you set the priority of the target rule to 7, its priority is set to 5.
-
Go to the Public Recursive DNS Firewall page.
-
In the Actions column for the target rule, click Priority Rankings.
-
In the Priority Rankings dialog box, adjust the rule priorities. The list is reordered, with 1 being the highest priority.
Disable or delete a rule
Disable or delete a threat intelligence rule that you no longer need.
-
Go to the Public Recursive DNS Firewall page.
-
Find the target rule.
-
To disable a rule: To keep a rule but make it inactive, click the toggle switch in the Status column for that rule.
ImportantDisabled rules are not matched against DNS queries. However, you are still charged for them. For more information, see Product Billing.
-
To delete a rule: Permanently remove a rule to stop further charges.
-
In the Actions column for the target rule, click Delete.
-
In the confirmation dialog box, confirm the deletion.
-
-