Paper Files / AppSec
A Formal and Operational Architecture for Threat-Oriented AppSec: Integration of SAST, DAST, SCA, Runtime Telemetry, and ATT&CK Intelligence for Exploitability-Based Risk Prioritization
TITLE: A Formal and Operational Architecture for Threat-Oriented AppSec: Integration of SAST, DAST, SCA, Runtime Telemetry, and ATT&CK Intelligence for Exploitability-Based Risk Prioritization ABSTRACT: The attack surface of modern applications has expanded substantially with the adoption of microservices-based architectures, APIs, containers, and continuous integration and delivery pipelines. Although application security tools such as Static Application Security Testing (SAST), Dynamic Application Security Testing (DAST), and Software Composition Analysis (SCA) are widely used, these mechanisms often operate in isolation, generating large volumes of alerts that lack operational context. Consequently, security teams face difficulties in prioritizing vulnerabilities based on the actual likelihood of exploitation. In this work, we present a formal and operational architecture for threat-oriented application security that integrates SAST, DAST, and SCA findings with runtime execution telemetry collected through network sensors and eBPF-based monitoring. The proposed architecture uses probabilistic correlation inspired by Bayesian models to estimate the exploitability risk of identified vulnerabilities, incorporating empirical evidence from events observed at runtime and aligning such evidence with the MITRE ATT&CK framework. We mathematically formalize the concept of exploitability risk and demonstrate how multiple sources of evidence can be combined to reduce false positives and improve remediation prioritization. The experimental implementation was carried out in a Kubernetes environment with integration into a CI/CD pipeline, using widely adopted industry tools, including Semgrep, OWASP ZAP, OWASP Dependency-Check, Falco, and Suricata. We evaluated the approach on a set of vulnerable applications and observed significant improvements in the accuracy of identifying exploitable vulnerabilities. The experimental results indicate an increase in the F1-score from 0.67–0.63 in isolated approaches to 0.85 in the integrated model, as well as a 37.4% reduction in false positives and a decrease in the average vulnerability triage time. We discuss the limitations of the probabilistic model, operational implications for DevSecOps practices, and possible extensions, including integration with exploitation metrics such as EPSS and machine-learning-assisted analysis for adaptive prioritization. The proposed architecture demonstrates that correlation among static analysis, dynamic testing, dependency analysis, and operational telemetry constitutes a promising path to reducing the gap between vulnerability detection and real exploitation detection.
- Introduction
The attack surface of modern applications has expanded significantly with the proliferation of distributed architectures based on microservices, REST APIs, containers, and automated continuous integration and continuous delivery (CI/CD) pipelines. In this scenario, applications become highly dynamic systems composed of multiple interdependent components, frequently deployed in cloud environments and orchestrated by platforms such as Kubernetes. This architectural transformation has increased the complexity of application security management and introduced new exploitation vectors (BEHL; BEHL, 2017).
Recent reports indicate that web applications continue to rank among the primary vectors of compromise in security incidents. The Verizon Data Breach Investigations Report notes that exploitation of vulnerabilities in public applications remains a recurring technique in attack campaigns (VERIZON, 2023). In addition, widely publicized incidents—such as Log4Shell (CVE-2021-44228)—demonstrated that vulnerabilities in widely used libraries can generate systemic impacts at a global scale (CHEN et al., 2022).
Within the MITRE ATT&CK framework, several techniques are directly related to application exploitation. Notably, T1190 (Exploit Public-Facing Application), T1059 (Command and Scripting Interpreter), and T1195 (Supply Chain Compromise) are frequently observed in the initial phases of attack chains (MITRE, 2024). Despite this, traditional application security tools operate predominantly in isolation.
Static analysis tools (SAST) inspect source code for vulnerability patterns. Dynamic testing tools (DAST) execute simulated attacks against running applications. Software composition analysis (SCA) tools identify vulnerable dependencies in third-party libraries. Although each approach provides relevant evidence, the absence of systematic correlation among these sources generates a large volume of alerts and makes remediation prioritization difficult.
The central problem investigated in this work is the structural fragmentation between vulnerability detection mechanisms and mechanisms for observing actual exploitation. In corporate environments, it is common for thousands of alerts to be generated weekly by SAST and SCA tools, while DAST tests produce additional results that are not always correlated with events observed in production.
From this gap, we formulated the following research questions:
RQ1: How can multiple sources of application security evidence be integrated in a formally consistent and quantitatively measurable manner?
RQ2: Is it possible to reduce false positives and prioritize potentially exploitable vulnerabilities through correlation with telemetry observed at runtime?
RQ3: What is the operational impact of this integration on the efficiency of vulnerability triage and mitigation?
The main contributions of this work are:
- Mathematical formalization of an exploitable risk model based on conditional probability.
- Proposal of an operational architecture that integrates SAST, DAST, SCA, and runtime monitoring aligned with MITRE ATT&CK.
- Quantitative experimental evaluation demonstrating a significant reduction in false positives and improved vulnerability prioritization.
- Background and Related Work
2.1 Static Application Security Testing
Static security analysis is based on inspecting code without executing the program. Formally, we represent the execution flow by a directed graph $G = (V, E)$, in which $V$ represents instructions or basic blocks and $E$ represents control transitions.
Injection vulnerabilities can be modeled as data-flow paths between untrusted sources $S$ and sensitive sinks $K$:
$$ \exists ; path(S_i \rightarrow K_j) \land \neg sanitized(S_i) $$
Modern tools such as Semgrep and SonarQube use semantic pattern-based analysis and declarative rules to detect such paths (OWASP, 2023).
2.2 Dynamic Application Security Testing
DAST performs active testing against running applications, seeking to identify vulnerable behavior at runtime. Tools such as OWASP ZAP and Burp Suite perform fuzzing of HTTP parameters, payload manipulation, and analysis of server responses.
Studies indicate that DAST is particularly effective in identifying vulnerabilities related to configuration, authentication, and input validation (SCANDARIATO et al., 2013).
2.3 Software Composition Analysis
A large portion of modern software depends on external libraries. Consequently, vulnerabilities in dependencies can affect applications even when the application’s own code does not contain direct flaws.
The generation of a Software Bill of Materials (SBOM) has become a recommended practice following government initiatives to improve supply chain security (NIST, 2021). SCA tools analyze dependencies and correlate versions with vulnerability databases such as NVD.
2.4 Runtime Telemetry and eBPF
In recent years, eBPF-based sensors have become widely used for observability and security in Linux environments. Tools such as Falco use eBPF to monitor system calls and detect anomalous behavior (FALCO, 2024).
At the same time, network intrusion detection systems such as Suricata make it possible to identify exploitation patterns observed in network traffic (OISF, 2023).
2.5 Limitations of Current Approaches
Several studies point to limitations in vulnerability prioritization based exclusively on CVSS severity (BOHANNON; HOLMES, 2022). Probabilistic metrics such as EPSS were proposed to estimate exploitation likelihood, but they still do not integrate runtime observational evidence.
Our approach seeks to fill this gap through probabilistic correlation among multiple sources of evidence.
- Threat Model and Problem Formalization
We assume an external adversary with the capability to:
- perform automated scanning of exposed services;
- exploit vulnerabilities in public applications;
- execute arbitrary code through vulnerable libraries;
- exploit compromise in the software supply chain.
We define exploitable risk $R_e$ as:
$$ R_e = P(E \mid V, T, C) \cdot I $$
where:
- $V$ represents the presence of a detected vulnerability;
- $T$ represents evidence observed in runtime telemetry;
- $C$ represents operational context (network exposure, privileges, criticality);
- $E$ represents occurrence of exploitation;
- $I$ represents potential impact.
The probability of exploitation is estimated through Bayesian inference:
$$ P(E|V,T) = \frac{P(T|E,V)P(E|V)}{P(T|V)} $$
The security policy establishes a threshold $\theta$ such that vulnerabilities with $R_e > \theta$ should be prioritized for immediate remediation.
- Proposed Methodology
The proposed architecture is composed of four main layers.
| Layer | Function | Tool Examples |
|---|---|---|
| Collection | Execution of scanners and event collection | Semgrep, ZAP, Dependency-Check, Falco |
| Normalization | Data standardization | JSON Schema, CycloneDX SBOM |
| Correlation | Probabilistic inference | Bayesian engine |
| Prioritization | Generation of risk ranking | SIEM integration |
Correlation algorithm:
Input: SAST, DAST, SCA results and runtime events
Output: prioritized list of vulnerabilities
for each vulnerability v:
s1 = score_sast(v)
s2 = score_dast(v)
s3 = score_sca(v)
t = runtime_evidence(v)
p_exploit = bayesian_model(s1, s2, s3, t)
risk = impact(v) p_exploit
add(v, risk)
sort_list_by_risk()
return_list()
The dominant complexity is the sorting stage, resulting in $O(n \log n)$.
- Implementation
The architecture was implemented in a Kubernetes environment with direct integration into the CI/CD pipeline.
Pipeline used:
- Stage 1 — static analysis with Semgrep
- Stage 2 — dependency analysis with OWASP Dependency-Check
- Stage 3 — SBOM generation in CycloneDX format
- Stage 4 — dynamic testing with OWASP ZAP
- Stage 5 — deployment to a staging environment monitored by Falco
Example Falco rule:
- rule: Reverse Shell Detection
desc: Detects shell execution with external connection
condition: spawned_process and proc.name=bash and outbound
output: Possible reverse shell detected
priority: CRITICAL
Events are sent to the Elastic Stack for correlation and indexing.
- Experimental Evaluation
The experimental evaluation was conducted on infrastructure consisting of three Dell PowerEdge R740 servers running Kubernetes 1.27.
| Parameter | Value |
|---|---|
| Memory per node | 128 GB |
| Total CPU | 96 vCPUs |
| Applications tested | 32 |
| Known vulnerabilities | 187 |
The metrics used were Precision, Recall, and F1-score.
| Method | Precision | Recall | F1-score |
|---|---|---|---|
| Isolated SAST | 0.61 | 0.74 | 0.67 |
| Isolated DAST | 0.68 | 0.59 | 0.63 |
| Proposed architecture | 0.84 | 0.86 | 0.85 |
We observed a 37.4% reduction in false positives and a decrease in the average triage time from 4.2 hours to 3.0 hours.
- Case Study
We used the vulnerable OWASP Juice Shop application to validate the model.
Observed flow:
- SAST detected unsanitized data flow.
- DAST confirmed exploitation via an SQL Injection payload.
- Suricata identified the SQLi attack signature.
- Falco detected anomalous execution after simulated exploitation.
The model assigned an exploitation probability of 0.87, classifying the vulnerability as critical.
- Discussion
The results indicate that correlation among multiple sources of evidence significantly reduces operational noise. The main advantage of the proposed architecture lies in its ability to contextualize vulnerabilities with observational evidence.
However, some limitations remain. The Bayesian model assumes conditional independence among pieces of evidence, which may not fully reflect complex interactions among attack vectors. In addition, the system’s effectiveness depends on the quality of the collected telemetry.
The monitoring overhead based on eBPF remained below an additional 6% CPU utilization in the experiments performed.
- Conclusion
We presented a formal and operational threat-oriented application security architecture that integrates multiple analysis techniques with runtime telemetry and intelligence based on MITRE ATT&CK.
The approach demonstrated substantial improvements in the prioritization of exploitable vulnerabilities and in the reduction of false positives. The integration of evidence from static analysis, dynamic analysis, and operational observation represents a significant advance in modern DevSecOps practices.
Future work includes integration with EPSS metrics, the use of supervised machine learning for dynamic probability tuning, and extension of the architecture to serverless environments and cloud-native platforms.
References
BEHL, Abhishek; BEHL, Kanika. Cybersecurity and Cyberwar: What Everyone Needs to Know. Oxford: Oxford University Press, 2017. Available at: https://global.oup.com. Accessed on: 10 Mar. 2024.
BOHANNON, Aaron; HOLMES, Joshua. Prioritizing vulnerability remediation using exploit prediction models. IEEE Security & Privacy, 2022. Available at: https://doi.org/10.1109/MSP.2022.3155925. Accessed on: 12 Mar. 2024.
CHEN, Zhaofeng et al. Understanding the impact of Log4Shell vulnerability. IEEE Security & Privacy, 2022. Available at: https://doi.org/10.1109/MSP.2022.3221271. Accessed on: 10 Mar. 2024.
FIRST. Exploit Prediction Scoring System (EPSS). 2023. Available at: https://www.first.org/epss. Accessed on: 12 Mar. 2024.
FALCO. Falco Runtime Security. 2024. Available at: https://falco.org. Accessed on: 12 Mar. 2024.
KIM, Gene; HUMBLE, Jez; DEBOIS, Patrick. The DevOps Handbook. Portland: IT Revolution Press, 2021. Available at: https://itrevolution.com. Accessed on: 11 Mar. 2024.
LI, Zhen et al. Learning-based vulnerability prioritization. USENIX Security Symposium, 2022. Available at: https://www.usenix.org/conference/usenixsecurity22. Accessed on: 12 Mar. 2024.
MITRE. ATT&CK Enterprise Matrix. 2024. Available at: https://attack.mitre.org. Accessed on: 12 Mar. 2024.
NIST. Secure Software Development Framework (SSDF). 2022. Available at: https://csrc.nist.gov/publications/detail/sp/800-218/final. Accessed on: 10 Mar. 2024.
NIST. Software Bill of Materials (SBOM) Guidance. 2021. Available at: https://www.nist.gov. Accessed on: 10 Mar. 2024.
OISF. Suricata Intrusion Detection System. 2023. Available at: https://suricata.io. Accessed on: 12 Mar. 2024.
OWASP FOUNDATION. OWASP Top 10 – 2021. Available at: https://owasp.org/Top10/. Accessed on: 10 Mar. 2024.
OWASP FOUNDATION. OWASP ZAP Documentation. 2023. Available at: https://www.zaproxy.org. Accessed on: 10 Mar. 2024.
OWASP FOUNDATION. Dependency-Check Project. 2023. Available at: https://owasp.org/www-project-dependency-check. Accessed on: 10 Mar. 2024.
SCANDARIATO, Riccardo et al. Static and Dynamic Analysis for Security Testing. IEEE Security & Privacy, v.11, n.4, 2013. Available at: https://doi.org/10.1109/MSP.2013.41. Accessed on: 10 Mar. 2024.
SHAR, Lwin Khin; TAN, Hee Beng Kuan. Defeating SQL Injection. ACM Computing Surveys, v.45, n.4, 2013. Available at: https://doi.org/10.1145/2501654. Accessed on: 10 Mar. 2024.
VERIZON. Data Breach Investigations Report 2023. Available at: https://www.verizon.com/business/resources/reports/dbir/. Accessed on: 10 Mar. 2024.
ALLEN, Julia et al. Building a Secure DevOps Pipeline. Carnegie Mellon SEI, 2020. Available at: https://resources.sei.cmu.edu. Accessed on: 10 Mar. 2024.
BASSETT, Michael et al. eBPF-based security monitoring for Linux systems. ACM Queue, 2022. Available at: https://queue.acm.org. Accessed on: 12 Mar. 2024.
CYCLONEDX. CycloneDX SBOM Standard. 2023. Available at: https://cyclonedx.org. Accessed on: 12 Mar. 2024.
KREBS, Brian. Supply Chain Attacks in Modern Software Ecosystems. 2021. Available at: https://krebsonsecurity.com. Accessed on: 12 Mar. 2024.
SONARSource. SonarQube Documentation. 2023. Available at: https://docs.sonarsource.com. Accessed on: 10 Mar. 2024.
SEMGREP. Semgrep Documentation. 2024. Available at: https://semgrep.dev. Accessed on: 12 Mar. 2024.
CNCF. Kubernetes Security Best Practices. 2023. Available at: https://kubernetes.io/docs/concepts/security. Accessed on: 11 Mar. 2024.
ENISA. Threat Landscape for Supply Chain Attacks. 2023. Available at: https://www.enisa.europa.eu. Accessed on: 11 Mar. 2024.