Every security tool says it detects attacks. Very few teams have checked. Breach and attack simulation (BAS) is the practice of safely reproducing what attackers do and checking whether anything notices. It used to be an enterprise product with an enterprise price. The idea works just as well for a team of one.
What BAS actually tests
A real detection has three parts, and an attack goes unnoticed if any of them is missing:
- Telemetry: the activity is logged and the log reaches your detection tool.
- A rule: something evaluates that log and recognises the technique.
- A response: the alert reaches a person, or a playbook, who acts on it.
A good simulation checks all three, end to end, for each technique. The MITRE ATT&CK framework is the usual catalogue of techniques to test against.
The trap: scores that count rules you can't use
The most common BAS mistake is counting a technique as "detected" because a rule for it exists. If the log source that rule needs is not connected, the rule can never fire. A dashboard showing 20 out of 20 detected can really mean 8 detected and 12 that you would never see.
Honest results separate three outcomes:
- Detected: the log source is connected and the rule fired.
- Missed: the log source is connected but no rule caught it. This is a detection gap: write or tune a rule.
- Not applicable: you don't collect that log source at all. This is a visibility gap: connect the source, or accept the risk knowingly. It should not count in the score either way.
What to simulate first
For a small company, start with the attacks that actually happen to small companies:
- Email and identity: a password spray, impossible travel, MFA fatigue, 2-Step Verification turned off, a malicious OAuth app grant, an external mail-forwarding rule, a new global admin.
- Cloud: CloudTrail stopped, GuardDuty disabled, an access key created for root, a bucket made public, an admin policy attached to a user, a KMS key scheduled for deletion.
- SaaS and code: a personal access token created in GitHub, a repository made public, branch protection removed, an Okta API token created.
- Endpoints: Defender disabled, a new local admin, a scheduled task created, credential dumping.
Match the list to what you run. There is no value in simulating Kubernetes attacks if you don't run Kubernetes.
Simulate safely
The safest approach injects realistic events into the detection pipeline rather than performing the attack. Nothing changes in your real accounts, and you can run it during working hours. Two cautions:
- Keep simulations out of your incident queue and on-call. A test that pages someone at 3am, or opens real incidents, teaches people to ignore alerts.
- Don't let playbooks act on simulated alerts. A simulated compromised account must not trigger a real account disable or host isolation.
Turn results into fixes
- For each missed technique, check the rule logic against the simulated event and backtest the fix against real logs before turning it on.
- For each not applicable technique, decide whether to connect the source. Often it is one integration away.
- For each detected technique, check the response: would the alert reach someone, and would the playbook do the right thing?
- Re-run after every change. Detection breaks silently when an API token expires.
How Argyx does it
Argyx attack simulation runs 58 techniques across external, internal, email and workspace, SaaS and multi-cloud scenarios. It only scores techniques whose log source you have connected, and lists the rest separately with what to connect. Each result shows the simulated event, the rule that matched and its logic, the alert that would be raised, the playbook that would respond and whether it waits for approval. Simulations never create real incidents, notifications or playbook actions. Rules can be backtested against your own logs in log search.