Runtime Application Self-Protection (RASP) is a security technology that integrates directly into an application’s runtime environment. Unlike perimeter defenses such as firewalls, RASP analyzes application traffic, context, and behavior in real time, allowing it to instantly block malicious execution, prevent data breaches, and terminate compromised sessions from the inside out.
How RASP Works
- Embedded Security: RASP functions as a built-in security agent. When an application executes, RASP monitors all calls to the system, databases, and APIs.
- Context-Aware Detection: Because it lives inside the application, RASP understands the intent behind inputs. It distinguishes legitimate use from malicious exploitation (e.g., detecting if a user input is an SQL command).
- Automated Mitigation: When a threat is recognized, RASP blocks the specific malicious request, “virtually patches” vulnerabilities, or terminates the user session.
Common Use Cases
- Code Injection: Stops attackers from injecting malicious code into backend databases (e.g., SQL Injection).
- Zero-Day Exploits: Blocks novel attacks targeting application logic before a traditional security patch is developed and deployed.
- Mobile & API Protection: Secures mobile applications against reverse engineering, tampering, and jailbreaking/rooting.
RASP vs. Traditional Security
- Firewalls (WAFs): Sit at the network edge and inspect incoming HTTP traffic without knowing how the application processes it.
- RASP: Operates within the application server or language runtime layer, providing function-level code visibility and pinpoint accuracy.