Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Application Protection Overview

Updated on 2025-01-07 GMT+08:00

Based on runtime application self-protection (RASP), the application protection feature provides security check and protection for running applications. You do not need to modify application files. You simply need to inject probes to applications to enjoy powerful security protection capabilities.

Technical Principles

Probes (monitoring and protection code) are added to the checkpoints (key functions) of applications through dynamic code injection. The probes identify attacks based on predefined rules, data passing through the checkpoints, and contexts (application logic, configurations, data, and event flows).

Detection Capabilities

Table 1 describes the types of attacks that can be detected by application protection.

Table 1 Attack types detected by application protection

Attack Type

Description

Rule Name

Detection

SQL injection

SQL injection is an attack technology. Attackers exploit the vulnerabilities of dynamic SQL query in web applications to insert malicious code into user input fields and trick the database into executing SQL commands to steal, tamper with, or damage sensitive data, or run dangerous system-level commands on the database server. Most websites and web applications need to use SQL databases. Therefore, SQL injection attacks become one of the oldest and most widely launched network attacks.

SQLI

Detect and defend against SQL injection attacks, and check web applications for related vulnerabilities.

OS command injection

OS command injection is a web program vulnerability that is usually found in applications that require user input. If there is no effective filtering and verification mechanism for user input, this vulnerability may be exploited. It allows attackers to execute arbitrary OS commands on the server where an application is running.

CMDI

Detect and defend against remote OS command injection attacks and check web applications for related vulnerabilities.

XSS

Cross-site scripting (XSS) is a typical web program vulnerability exploit attack. Attackers can inject executable malicious scripts into websites or web applications where web programs do not check user input. When users access web pages, the malicious scripts are executed to steal users' personal data, display advertisements, or even tamper with web page content.

XSS

Detect and defend against stored XSS attacks.

Log4j RCE vulnerability

Log4j RCE is a major security vulnerability in Apache Log4j 2.x. This vulnerability allows attackers to inject and execute remote code through Java Naming and Directory Interface (JNDI).

Log4jRCE

Detect and defend against remote code execution and intercept attacks.

Web shell upload

Uploading web shells is a network attack method. Attackers upload malicious code such as web shells to a server through vulnerability exploit or other methods to obtain the control permission for the server.

WebShellUpload

Detect and defend against attacks that upload dangerous files, change file names, or change file name extension types; and check web applications for related vulnerabilities.

Memory injection

Memory injection is an advanced network attack technology. Attackers inject malicious code into the memory, bypassing the traditional security defense mechanism and controlling the target system.

FilelessWebshell

Detect and defend against memory injection attacks.

XXE

XXE refers to the XML External Entity Injection vulnerability. If external entity reference is not disabled when an application parses XML files, attackers can construct malicious XML content to read arbitrary files and execute system commands.

XXE

Detect and defend against XXE injection attacks, and check web applications for related vulnerabilities.

Deserialization input

Deserialization is a process of restoring serialized data (such as strings and byte streams) to original objects. In the process of generating a deserialized object, an attacker may construct specific serialized data input to control the generated object and launch attacks.

UntrustedDeserialization

Detect deserialization attacks that exploit unsafe classes.

File directory traversal

File directory traversal means that an attacker accesses or reads any file or folder on a server by modifying URLs or using special characters to bypass the security check of an application.

FileDirAccess

Check whether sensitive directories or files are accessed.

Struts2 OGNL

Struts2 OGNL refers to the Object-Graph Navigation Language (OGNL) in Struts2 in the Java web framework. If OGNL expressions are externally controllable, attackers can construct malicious OGNL expressions to make programs perform malicious operations.

Struts2OGNL

Detect OGNL code execution.

Command execution using JSP

Java Server Pages (JSP) is a technology for developing dynamic web pages. Attackers may exploit JSP security vulnerabilities to execute invalid OS commands, causing data leakage and service interruption.

SuspiciousBehavior

Detect command execution using JSP.

File deletion using JSP

Attackers may exploit JSP security vulnerabilities to delete files from a server.

SuspiciousBehavior

Detect file deletion using JSP.

Database connection exception

Database connection exceptions include but are not limited to network exceptions, configuration errors, and permission exceptions. These exceptions may indicate that applications are being attacked.

SuspiciousException

Detect authentication and communication exceptions thrown by database connections.

0-day vulnerability

0-day vulnerabilities, also called zero-day attacks, usually refers to security vulnerabilities that have not been patched. If such vulnerabilities are detected, hackers can exploit these vulnerabilities to launch zero-day attacks.

  • zeroDay
  • zeroDayDetect
  • Check whether the stack hash of a command is in the whitelist of the web application.
  • Detect and defend against expression injection attacks, and check web applications for related vulnerabilities.

SecurityManager permission exception

SecurityManager is a Java security manager class that manages and controls the security of applications. When the SecurityManager detects that the code performs an operation that is not allowed, an exception is thrown.

SuspiciousException

Detect exceptions thrown by SecurityManager.

JNDI injection

When an application uses the lookup method of JNDI, if the queried URL can be controlled externally, an attacker can construct a malicious URL to make the server load malicious payloads and implement remote code execution.

JNDI

Detect and defend against JNDI injection attacks, and check web applications for related vulnerabilities.

Expression injection

Expression Language (EL) injection. If EL expressions are externally controllable, attackers can construct malicious EL expressions to make programs perform malicious operations.

ExpressionInject

Detect and defend against expression injection attacks, and check web applications for related vulnerabilities.

Application Scenarios and Advantages

  • Context awareness: Application protection can provide accurate detection results based on application context.
  • Complementary with WAF: Application protection can detect the data written in the memory and unauthorized database access when applications are running.
  • 0-day vulnerability defense: Application protection can dynamically detect and defend against attacks in real time when applications are running, blocking 0-day vulnerability exploits.

Constraints and Limitations

  • Application protection is available in HSS premium, WTP, and container editions. For details about how to purchase and upgrade HSS, see Purchasing an HSS Quota and Upgrading Protection Quotas.
  • Application protection can only protect web applications that meet the following conditions:
    • JDK: JDK 8, JDK 11, JDK 17
    • Web applications:
      • Windows (64-bit): Tomcat
      • Linux (64-bit): Tomcat, WebLogic, Netty, and Jetty

      The version requirements are as follows:

      • Tomcat 7.0.55 or later
      • WebLogic 12C or later
      • Netty 4.1.0.Final or later
      • Jetty 9.3.19 or later

Process of Using Application Protection

Figure 1 Usage process
Table 2 Usage Procedure

Operation

Description

Enabling Application Protection

Enable application protection for a server to assess application security in real time.

Viewing Application Protection Events

Analyze triggered events, harden application protection measures, and improve application security.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback