RASP
RASP: Runtime Application Self-Protection
RASP is a protection agent inside the application. It recognizes and blocks attacks in real time: injections, deserialization exploits, command execution attempts.
A WAF looks at traffic from the outside. RASP sees what happens inside the program and reacts more precisely.
How it works
- The agent is embedded in the runtime or in the SDK of a mobile application.
- It intercepts calls to sensitive functions: database queries, the file system, the command shell.
- On signs of an attack, it blocks the operation and writes an event to the log.
- In mobile applications, RASP also checks application integrity, root and jailbreak status, debuggers and tampering.
Limitations and common mistakes
- RASP protects a running application and does not find vulnerabilities. The flaw stays in the code and still has to be fixed.
- It affects performance and needs tuning so that it does not block legitimate requests.
Questions and answers
Does RASP replace a WAF?
No, they work at different levels. A WAF filters traffic before it reaches the application and RASP protects from the inside.