Best practices for database security defense
If your data is attacked by hackers, you may face brute-force attacks, information leaks, and malicious command execution, which cause business losses. Cloud Firewall can defend against the threats facing databases and improve database security. This topic describes the solutions that Cloud Firewall provides for database security defense requirements.
Database security defense requirements
A database is the system that enterprises use to manage and store data resources. Databases store large amounts of valuable and sensitive information, so they are also a major target of hacker attacks. Database security has an important impact on the normal running of business and on the development of the enterprise.
The main security threats faced by databases are:
-
Brute-force attacks
These can directly lead to database intrusion.
-
Database application vulnerabilities
For example, database CVE vulnerabilities can lead to database application DoS, malicious command execution, and information leaks.
-
Malicious file read and write, command execution
For example, high-risk stored procedures or function calls can lead to malicious command execution and file read and write.
-
Information theft and database dumping
Attackers resell the stolen data or use it for fraud, which causes business losses.
Alibaba Cloud Cloud Firewall solution
The Cloud Firewall intrusion prevention feature provides security defense for the following types of self-managed databases on ECS instances:
-
MySQL
-
MSSQL
-
Redis
-
PostgreSQL
-
MemCache
-
MongoDB
-
Oracle
How Cloud Firewall defends against database intrusions
Cloud Firewall provides defense at multiple points against the risks faced by databases to ensure that databases run normally. For example:
-
Brute-force attacks
Threat Intelligence: The Cloud Firewall Threat Intelligence feature senses the attack posture of the entire network and blocks scanning and intrusion activities in advance.
-
Database application vulnerabilities
Virtual Patching: The Virtual Patching feature focuses defense on high-risk database vulnerabilities.
-
Malicious file read and write, command execution
Basic Rules: The Basic Rules feature blocks malicious operations such as system file operations, webshell writing, and stored procedure/UDF operations in real time.
-
Information theft and database dumping
High-risk SQL blocking: Provided by the intrusion prevention Basic Rules feature, it blocks database dumping operations in real time to prevent information from being stolen.
Procedure
-
Log on to the Cloud Firewall console.
-
In the left-side navigation pane, choose .
-
On the IPS Configuration page, go to the Threat Engine Mode section and select Blocking Mode - Loose.

In the Threat Intelligence section, turn on the Threat Intelligence switch.
In the Basic Protection section, turn on the Basic Rules switch.
In the Virtual Patching section, turn on the Virtual Patching switch.
For more information about how to configure intrusion prevention policies in Cloud Firewall, see Protection Policy Configuration.