Considering RASP and Modern Application Security Defense
If you're implementing a Runtime Application Self-Protection (RASP) plan in your development cycle (which you probably are) make sure to follow these tips.
Join the DZone community and get the full member experience.Join For Free
Are you considering RASP? Certainly many enterprises, large and small, are so you aren’t alone. Having runtime application self-protection (RASP) sounds great conceptually, and if implemented right, it actually will be a very important component in your application security program. Rather than attempting to author an eloquent award winning blog post on RASP, I think this will be a more useful post by just sharing some thoughts and real world experiences on RASP from an application security practitioner’s perspective. Or to phrase it more eloquently, a brain dump!
In the end, my goal here is to outline things for you to consider as you look into purchasing RASP. I expect some of these points will resonate with you, and some you may even disagree with. That is all good. The worlds of application development cycles, operations, and deployment platforms continue to evolve, so an open dialogue on where approaches in application security are headed is important.
An Initial Consideration
Why is runtime self-protection important? There needs to be a fundamental shift in how we think about protecting our applications. Traditional application security programs strive to find all the vulnerabilities before code is deployed to production, e.g. SAST, DAST, and manual testing. But, the speed of business is pushing for quicker, and more frequent, development cycles, e.g. Agile. To not get in the way of business, slowing it down, we need the ability to defend our applications in production at runtime. This doesn’t mean we do away with SAST, DAST, or manual testing — but we do need to continue optimizing how we implement them (a post for another time). The fundamental shift needed is in how we think about Agile development. The key point being, with Agile we can deploy faster, which means we can react to and mitigate threats faster. However, to react we need effective threat visibility and protections. This is why a layer of self-protection is important
Before moving on, I’d be remiss if I didn’t mention relevant posts from my colleagues. James Wickett talks about why legacy WAFs just don’t cut it in his post, “Web Application Security: The New Way Forward”. And Tyler Shields expands on RASP in his post, “What’s in a Name? RASP Smells like a Rose”. That is a truly eloquent post on RASP.
Let’s Get To the Brain Dump
My first encounter with RASP was several years ago from a few of the early vendors in this space. At the time I was running application security programs at a large investment bank and we were always interested to see what was new in the marketplace and open to modifying or adding to our layers of defenses. After going through their pitches and demos here were my takeaways:
- Very intriguing approach — it certainly was new and different compared to what had been on the market for the last decade or so.
- Given the platform support limitations, I would not be able to cover all the applications I cared about.
- Given the limitation of threat coverage, if I’m going to add another layer of protection I wanted more than typical OWASP type injection attacks. I want traffic source anomalies, request anomalies, and coverage over application business logic, e.g. high-risk transactions.
- Given the implementation of policy management, and in one case “learning,” the RASPs I reviewed would require per application oversight and management.
- Given the deployment implementation, I could not see how it could be deployed at scale. It would require a lot of political capital to achieve buy-in across the board from application teams. Also, if things go wrong or break, and they will, I would be spending more of my time, and our developers' time, troubleshooting.
For these implementations of RASP, my conclusion was simple. While very interesting technology, it was a lot of effort (deployment/implementation struggles) for relatively little gain (limited scalability and coverage). I needed to wait and see how the RASP market evolved.
Since then, the market has definitely evolved, however, more so on the number of vendors in the space, rather than on the implementation and coverage. As an example of this, see the coverage matrix I compiled based on publicly available information (as of April 21, 2017) below. Note, for languages not listed there is no coverage for them.
Coverage matrix based on information published on the respective vendor’s website (as of 4/21/2017). Please do report any inaccuracies or omissions.
After having conversations with many other application security practitioners in various enterprises, I’ve collected a few sound bites based on their experiences. Here is the collection of sound bites for your consideration.
- The RASP implementations evaluated introduced too much friction into the process.
- Due to how the RASP solution hooked into the application, it conflicted with and broke a performance monitoring service the development team relied upon.
- After a year of attempting to deploy to dozens of applications, the effort was abandoned. The first three deployments encountered issues, then subsequent application teams did not want to attempt installing the solution.
- The development team migrated applications to a new application stack, which is not supported by the RASP solution. Now a new solution is needed.
RASP Done right
So what is the conclusion that should be taken from all this? The concept of runtime application self-protection is certainly a great one. In fact, due to today’s evolving development cycles, it is a critical layer of defense. However, it has to be implemented the right way, which is to say it provides the following:
- Scalability — frictionless deployment, and coverage over all applications regardless of technology stack or language.
- Visibility — threat visibility across applications, and access to the data that will enable teams to react to threats in real-time.
- Integrations — integrations with development lifecycle tools, ability to integrate with other security solutions in the environment enabling security automation.
- Business Risk Coverage — the ability to address risks associated with business logic, or high-risk transactions.
As you navigate your way through the evolving world of Agile development and DevOps, you will likely find yourself considering RASP. The key is finding the right approach and solutions that make the most sense for your developers and your business. I hope you find the considerations offered here helpful in your efforts.
Published at DZone with permission of Phillip Maddux, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.