Bookmarks

DAST — Dynamic Application Security Testing

A security testing method in which a running application is examined from the outside, as a black box: the scanner sends requests and judges vulnerabilities by how the application responds.

Also: dynamic security analysis, dynamic security testing

checked 9 Nov

All terms

DAST does not examine code but the running application: a website, an API or a service. The scanner sees neither the source code nor the internals — it acts like an attacker, probing the system with requests and watching whether anything dangerous comes back.

How the scanner works

  1. application map: the crawler visits pages and endpoints, fills in forms and records routes;
  2. attack requests: malicious strings — SQL fragments, scripts, shell commands — are substituted into parameters;
  3. response analysis: a database error containing an SQL fragment, a script reflected in the response, or a service crash is a sign of a vulnerability;
  4. report: the issues found, with the request address, a description and remediation advice.

What it finds and what it misses

DAST is good at finding vulnerabilities that show up in application responses: injections (SQL, XSS), insecure server configuration, access control problems. What it cannot see: flaws in code logic, insecure dependencies, and hidden routes the scanner never reached. That is why DAST complements SAST — static analysis of the source code.

CriterionDASTSAST
What it examinesthe running applicationsource code
Access to the codenot requiredrequired
When it is appliedon a running build, in a test environmentduring development, before the build
Implementation languagedoes not mattermatters: the analysis depends on the language
Typical findingsSQL injections, XSS, misconfigurationdangerous functions, secrets leaked in code

Tools

An example of an open source scanner is ZAP, formerly known as OWASP ZAP: it crawls the application, actively tests the endpoints it discovers and fits into a CI pipeline. Scanners are run regularly against test environments, and before a release a penetration test is added, in which the DAST findings are explored manually in greater depth.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • SASTStatic Application Security Testing

    SAST parses the source code before the application is run, while DAST examines the running application without access to the code.

  • penetration testing

    A pentest is manual work by a specialist following an attack scenario; DAST is automated scanner requests sent across the whole application.

In depth in the references

where the topic is covered in detail