Can we use analytics cookies? They count visits and form use. We run no ads.

AQA Virtual Summit/MeetupsTest Automation MethodologiesTypes of Automation Testing

Matthias Zax – SAST / DAST / IAST / RASP putting DevSecOps on steroids – Four fists and a Hallelujah

Published 11 May 2022. Updated with a short answer, key takeaways and a FAQ; the talk text is unchanged. Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Watch on YouTube
Short answer

In this talk, Matthias Zax, an agile engineering coach, explains why security testing deserves attention and how SAST, DAST, IAST and RASP each work. He closes with 10 steps for implementing security testing, from joining forces with the security department to setting up RASP in production.

Key takeaways
  • Why security testing is worth attention
  • Types and groups of security testing, functional and non-functional
  • SAST, DAST, IAST and RASP and how they differ
  • Ten steps to successful security testing

Matthias Zax, Agile engineering coach, organizer of RBI Test Automation CoP, conference speaker, and author for IT Magazines, spoke about the relevance of chosen topic, security testing, and 10 steps to its successful implementation.

Why Security Testing Is Worth Your Attention?

For many testers and Matthias Zax, in particular, security testing has always been something intangible, although its importance is undeniable. In addition, this type of testing is costly (for example, an external Pen Test), and it significantly slows down the software release cycle time.All these problems required some kind of solution. After all, waiting weeks for software to be ready for deployment is unacceptable.

Confirmation of relevance of the topic in numbers

  • 90% of hackers use known software bugs. One of the reasons this is possible is that companies use outdated software libraries, e.g., old Java library. This can be avoided by turning to security testing.
  • From 2020 to 2021, the number of hacker attacks increased by 40%. And this year, this figure is only increasing. The reason is the development and cheapening of computing power.
  • The damage caused by malware is estimated at $20 billion.

What Is Continuous Security Testing?

During security testing, vulnerabilities are discovered, and attempts are made to exploit them. There are three types of it: Vulnerability Assessment, Penetration Testing, and Compliance Testing.There are also 2 groups of security testing:

  • Functional security tests (login, logout, password policy, credentials management).
  • Non-Functional security tests (OWASP, Usage of components with known vulnerabilities, Compliance checks).

How to get rid of vulnerabilities? The answer is obvious: with the help of four fists: SAST, DAST, IAST, and RASP.

Static Application Security Testing

  • Whitebox testing.
  • Find vulnerabilities early in SDLC.
  • Can’t discover runtime and environmental issues.
  • Tools: Sonarcube, Teamscale, OWASP Dependency-Check.

Dynamic Application Security Testing

  • Blackbox testing.
  • Find vulnerabilities late in SDLC.
  • Fault injection techniques.
  • Tools: OWASP ZAP, Burp Suite, Gaunlt.

Interactive Application Security Testing

  • Combination of SAST and DAST – IAST eliminates the disadvantages of the two previous approaches (such as false positives) and combines their advantages.
  • Agent must be installed; it does not come with the tool.
  • Apply its analysis to the entire app.
  • Learning tool − During dynamic scanning, the tool learns from interaction with test cases and uses this knowledge to create additional ones.
  • Tools: Contrast Community Edition etc.

Runtime Application Security Protection

For the most part, RASP is not even a testing approach but a monitoring approach. But still, it is essential to know what is happening in your app and recognize a potential attack.So, RASP:

  • Works inside the app and plugged into the app – this tool connects to the app and controls all its flows, as well as requests from different IP addresses.
  • Continuous security checks on itself.
  • Tools: OWASP AppSensor, Contrast Community Edition, etc.

10 Steps to Successful Security Testing

  1. Join forces with the security department.
  2. Upskill in security, e.g., get a security coach into your team.
  3. Train the team in threat modeling.
  4. Introduce misuse cases (Evil Stories).
  5. Setup SAST incl. IDE plugins.
  6. Setup DAST and add it to your pipeline.
  7. Define metrics and positive trends.
  8. Setup IAST agent in your testing environments.
  9. Automate low-hanging fruits for (non) functional security.
  10. Setup RASP to your production environment.

SummarizingSummarizing the above, we can conclude the following: SAST checks your code and dependencies, DAST checks your environment and the app, IAST runs with your app and combines SAST and DAST, and RASP runs in production and verifies if you get attacked.

Questions about this talk

What are SAST, DAST, IAST and RASP?

Matthias Zax describes SAST as white-box testing that finds vulnerabilities early, DAST as black-box testing that finds them late, IAST as a combination of the two that needs an installed agent, and RASP as a monitoring approach running inside the production app that recognizes potential attacks.

Why is security testing worth a tester's attention?

Matthias Zax says security testing has long felt intangible to many testers, yet its importance is undeniable. It is costly, for example an external penetration test, and slows the release cycle. These problems needed a solution, since waiting weeks for software to be ready for deployment is unacceptable.

What are the 10 steps to successful security testing?

Matthias Zax lists them: join forces with the security department, upskill in security, train in threat modeling, introduce misuse cases, set up SAST with IDE plugins, set up DAST in the pipeline, define metrics, set up an IAST agent, automate low-hanging fruit, and set up RASP in production.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote