Application security

Updated at:
Copy as MD

Classify applications by business value, run regular penetration tests and vulnerability assessments, deploy Alibaba Cloud security products, and train developers in secure coding.

Applications and their data hold significant business value. Cloud migration lowers the cost of attacks, making applications more vulnerable. Ensuring the confidentiality, integrity, and availability of your applications and data is vital to secure cloud operations.

Classify your applications

Assess each application's importance within your business workflow and classify them accordingly. This helps you allocate security budgets, create targeted policies, and focus resources on critical applications. Example classification:

  1. Core business applications: Central to operations and revenue. Examples: banking systems, e-commerce transaction platforms. Security requirements are extremely high — any vulnerability or outage can cause major financial and reputational damage.

  2. Sensitive information applications: Handle sensitive data, such as hospital patient records or law firm case files. Security requirements are extremely high — leaks or tampering can cause legal, privacy, and reputational risks.

  3. Supporting business applications: Support daily operations, such as HR management and internal collaboration platforms. Security requirements are high — vulnerabilities could expose employee data or disrupt internal operations.

  4. Other business applications: Less critical systems such as CRM or meeting management. Security requirements are moderate — ensure data integrity and availability, but confidentiality and attack risk are lower priorities.

Penetration testing

Penetration testing simulates real-world attacks as a black box test to uncover security risks. It should be a regular practice, not a one-time event. Application updates introduce new components and potential risks, while attacker methods keep evolving. A passing result does not guarantee long-term security.

Alibaba Cloud Crowdsourced Security Testing lets you set reward amounts and scope for vulnerabilities classified as important, medium, or low-risk. Trusted white hat hackers find security issues — including business logic and permission flaws that automated tools miss — and provide remediation solutions. The service flow is as follows:

Crowdsourced security testing service flow

Vulnerability detection and assessment

A vulnerability is a flaw in hardware, software, protocols, or security policies that attackers can exploit for unauthorized access. Vulnerability detection identifies these flaws and evaluates their impact so you can remediate them promptly. Automated tools detect common, known vulnerabilities but are prone to false positives and negatives and cannot tailor remediation to your scenarios. For manual detection, Alibaba Cloud Managed Security Service provides security experts who create custom detection plans, check application systems and code, and deliver remediation plans.

For automated detection, Alibaba Cloud Security Center covers five categories: Linux software, Windows system, web CMS, application, and emergency vulnerabilities. It uses OVAL rules, web scanning, software composition analysis, and POC validation to detect vulnerabilities and provides remediation suggestions.

Protect your applications

Your organization and Alibaba Cloud share responsibility for application protection. Follow secure development practices from the start of the development lifecycle to minimize the attack surface. Examples: use encrypted protocols instead of plaintext, encrypt sensitive data at rest, configure custom error pages, apply encapsulation and tamper-proofing, and separate front-end from back-end to avoid exposing back-end addresses.

Alibaba Cloud draws on over a decade of offensive and defensive security experience from securing Taobao, Tmall, and Alipay. Application security protection covers two areas: web security and mobile app security.

Web application security

Alibaba Cloud provides four product pillars for web security: Cloud Firewall (traffic), Anti-DDoS, WAF (application), and Security Center (host). Cloud Firewall inspects network traffic across Internet, VPC, and internal firewalls. These three layers let you monitor access behavior and manage fine-grained access control policies, creating a defense-in-depth system across the Internet border, virtual network border, and internal border.

Anti-DDoS includes multiple sub-products for various protection scenarios. Anti-DDoS Origin enhances mitigation without changing your architecture, providing up to Tbps-level native protection. Anti-DDoS Pro and Anti-DDoS Premium reroute traffic to scrubbing centers via DNS, providing over 8 Tbps of defense bandwidth for the Chinese mainland and over 2 Tbps for other regions.

Web Application Firewall (WAF) filters malicious traffic before it reaches your origin server. It protects against common web attacks with features including Accurate Access Control, scan protection, HTTP flood protection, bot management, Geo-blocking, and custom responses.

Security Center protects hosts, containers, and virtual machines in multicloud scenarios. Core capabilities include asset management, configuration checks, proactive defense, security hardening, and security visualization. It combines cloud logs and analytical models to detect and block threats such as virus propagation, cyberattacks, ransomware, vulnerability exploits, AccessKey (AK) leaks, and cryptojacking.

Mobile application security

Mobile applications store increasing amounts of sensitive user data, making security critical. Alibaba Cloud provides security SDKs that your mobile app calls to interact with cloud security services. For example, Security Authentication Service offers lightweight MFA for account protection and passwordless authentication. Mobile Application Hardening protects apps from decompilation and reverse engineering — using APK/AAB and class hardening for Android, and control flow flattening, branch forgery, junk instruction insertion, and pointer encryption for iOS.

Secure development training

Security training is the starting point of the Security Development Lifecycle (SDL). Combined with security testing and penetration testing, it prevents common issues and ensures secure deployments.

Your secure development training should incorporate the following:

  1. Define security baselines that establish what developers must and must not do.

  2. Establish a formal training process with a certification mechanism.

  3. Regularly conduct training and share case studies on important vulnerabilities.

  4. Enforce compliance checks for secure development and coding standards.

Training should cover the following areas:

No.

Developer focus

Security risk

1

Command injection/execution

Server compromise

2

Code injection/execution

Confidential data theft, server compromise

3

SSRF (Server-Side Request Forgery)

Internal sensitive information leak

Server compromise

Internal network probing

4

Deserialization vulnerability

Server compromise

5

SQL injection

Massive sensitive data breach

Database exfiltration

6

Arbitrary URL redirection

Phishing

Fraud

Sensitive information leak

7

XSS (Cross-Site Scripting)

Logon impersonation

Sensitive information leak

Execution of sensitive operations

8

CSRF (Client-Side Request Forgery)

Execution of sensitive operations

9

Logon interface brute-forcing

Server compromise