Skip to content
Offensive Security Glossary / Breach and Attack Simulation (BAS)

Breach and Attack Simulation (BAS)

What BAS tools do, what they measure, and how they compare with automated penetration testing.

What Is Breach and Attack Simulation (BAS)

Breach and attack simulation (BAS) is a category of tools that continuously and safely execute simulated attacker techniques, such as malware delivery, command-and-control traffic, credential access or data exfiltration, to measure whether an organization's security controls prevent, detect or alert on them.

BAS measures control efficacy. Its central question is "if this technique runs here, do our tools catch it?" That makes it different from penetration testing, which asks which weaknesses an attacker can find and exploit. Gartner now groups BAS with automated pentesting under adversarial exposure validation.

How BAS Works

  • Agents or simulators are deployed on endpoints, servers or network segments.
  • Attack scenarios from a library, usually mapped to MITRE ATT&CK, are executed with safe payloads.
  • Controls are observed: did the EDR block it, did the SIEM alert, did the email gateway quarantine it, did the firewall stop the outbound connection?
  • Results are reported as prevention and detection rates by technique, with remediation guidance for control tuning.

BAS vs Automated Penetration Testing

AspectBASAutomated pentesting
QuestionDo controls stop or detect known techniques?What weaknesses can be found and exploited?
Starting pointAssumes the technique is already running (assumed breach)Starts from discovery and exploitation
DeploymentUsually agents inside the environmentOften agentless, from outside or a foothold
Finds new vulnerabilitiesRarelyYes

Limits

  • Scenario libraries test known techniques; they do not discover new application vulnerabilities.
  • Results depend on agent placement and coverage.
  • Simulated payloads may be treated differently from real ones by some controls.

Sources and Standards

Frequently Asked Questions

What is breach and attack simulation?

Tools that safely execute simulated attacker techniques to measure whether security controls prevent or detect them.

Is BAS the same as penetration testing?

No. BAS tests control efficacy against known techniques. Penetration testing discovers and exploits weaknesses.

Where does BAS fit in CTEM?

In the validation stage, alongside automated penetration testing and red teaming, under the adversarial exposure validation category.

Further Reading

Reviewed against the primary sources cited on this page. Verified 2026-12-02.

Find the Weaknesses Before You Test the Controls

Run a free AI pentest against your internet-facing apps and APIs.

Free AI Pen Test

No credit card. Findings include reproducible steps and exploit code.

Firecompass ranked #1 AI on HackerOne. Read more →