Skip to content
Cybersecurity

RASP

RASP (Runtime Application Self-Protection) is a security technology embedded in an application that monitors and protects it from within during runtime. RASP detects and blocks attacks in real-time, using application context for precise detection.

What is RASP?

RASP Definition

RASP (Runtime Application Self-Protection) is an application security technology that is embedded or integrated with an application and protects it from within during runtime. RASP has full application execution context, enabling precise attack detection and blocking.

How Does RASP Work?

RASP operates inside the application process:

  1. Instrumentation: RASP integrates with application runtime (JVM, .NET CLR, Node.js)
  2. Monitoring: Observes function calls, DB queries, file access
  3. Context analysis: Understands code intent and data flow
  4. Detection: Identifies anomalies and attacks
  5. Blocking: Stops attack or logs event

What Does RASP Protect?

  • SQL Injection: Detects query manipulation
  • XSS: Identifies script injection attempts
  • Path Traversal: Blocks unauthorized file access
  • Command Injection: Detects command injection
  • XXE: Protects against XML attacks
  • SSRF: Blocks unauthorized server requests

RASP vs WAF

AspectRASPWAF
LocationInside applicationIn front of application
ContextFull application contextRequest/response only
False positivesLowerHigher
PerformanceApplication impactLatency impact
DeployPer applicationCentralized

RASP Operating Modes

Monitoring (Log only):

  • Detects and logs attacks
  • Doesn’t block
  • Deployment phase

Blocking:

  • Detects and blocks attacks
  • May return error or terminate session
  • Production mode

RASP Benefits

  • Precision: Context minimizes false positives
  • Zero-day protection: Behavioral detection
  • Visibility: Insight into application behavior
  • Self-protection: Application protects itself
  • Defense in depth: Additional protection layer

RASP Challenges

  • Performance: Application overhead
  • Compatibility: Not all frameworks supported
  • Complexity: Requires application integration
  • Scalability: Deploy per instance
  • Language support: Limited to supported languages

RASP in DevSecOps

RASP complements other tools:

  • SAST: Detects vulnerabilities in code
  • DAST: Tests running application
  • SCA: Analyzes dependencies
  • RASP: Protects in production

RASP is the last line of application defense, operating when other mechanisms fail.

Explore our services

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist