Tech, ExplainedNetworking, infrastructure and security
Part

Breach and attack simulation (BAS)

Replaying real attacks to see which defences react.

INSIDE: OFFENSIVE SECURITY TESTINGHOW IT WORKS · 60 TECHNIQUES ON A SUNDAY NIGHT AT A STEEL COMPANYTest laptops inthe office, theplant and thecloud replay 60known techniquesThe EDRsoftware blocks44 of themThe SIEMraises alertsfor 10 more6 pass with noalert, includinga file sent outover a disguisedconnectionThe tool shows afirewall ruleswitched off twoweeks agoThe rule isswitched backon, and thenext run blocksthe techniqueALSO TALKS TOEndpoint detectionand response (EDR)↗ ENTERPRISE CYBERSECURITYSIEM↗ SECURITY OPERATIONS CENTRENext-generation firewall (NGFW)↗ ENTERPRISE CYBERSECURITYNetwork change verification↗ OBSERVABILITY AND MONITORINGINSIDE: OFFENSIVE SECURITY TESTINGHOW IT WORKS · 60 TECHNIQUES ON A SUNDAY NIGHT ATA STEEL COMPANYTest laptops in theoffice, the plantand the cloud replay60 known techniquesThe EDR software blocks44 of themThe SIEM raises alertsfor 10 more6 pass with noalert, including afile sent out over adisguised connectionThe tool shows a firewallrule switched off twoweeks agoThe rule is switched backon, and the next runblocks the techniqueALSO TALKS TOEndpoint detectionand response (EDR)↗ ENTERPRISECYBERSECURITYSIEM↗ SECURITYOPERATIONS CENTRENext-generationfirewall (NGFW)↗ ENTERPRISECYBERSECURITYNetworkchange verification↗ OBSERVABILITYAND MONITORINGINSIDE: OFFENSIVE SECURITY TESTING · 60TECHNIQUES ON A SUNDAY NIGHT AT A STEEL COMPANYTest laptops in the office, the plant andthe cloud replay 60 known techniques↓The EDR software blocks 44 of them↓The SIEM raises alerts for 10 more↓6 pass with no alert, including a filesent out over a disguised connection↓The tool shows a firewall rule switchedoff two weeks ago↓The rule is switched back on, and thenext run blocks the techniqueALSO TALKS TOEndpoint detection and response (EDR)↗ ENTERPRISE CYBERSECURITYSIEM↗ SECURITY OPERATIONS CENTRENext-generation firewall (NGFW)↗ ENTERPRISE CYBERSECURITYNetwork change verification↗ OBSERVABILITY AND MONITORING
A steel company's weekly simulation replays 60 attacker techniques: 44 are blocked, 10 raise alerts and 6 pass unseen, which leads the team to a firewall rule switched off by mistake.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

Breach and attack simulation (BAS) is software that replays known attacker techniques safely inside a company's own network, to check which of its defences notice and stop them. It runs automatically, often every day or every week. It does not use real harmful software, and it does not damage anything. BAS is one of the methods of offensive security testing.

A company buys many defences: a firewall at the edge of the network, endpoint detection and response (EDR) software on every laptop, and a SIEM that raises alerts from the logs. Each defence is set up once and then trusted. But settings change, rules are switched off by mistake, and new laptops arrive without the software. So a defence that worked in January may stop working in June without anyone noticing. BAS checks again, regularly.

The techniques come from a public catalogue called MITRE ATT&CK. It describes hundreds of methods that real attacker groups have used. Examples are copying passwords from a computer's memory, or sending stolen files out over a disguised connection. A BAS tool has a safe version of each method. Small programs, called agents, are installed on a few test machines in different parts of the network. They act out each technique and record what each defence did.

Take, for example, a steel company in Jamshedpur. Every Sunday night, its BAS tool runs 60 techniques from test laptops in the office, in the plant and in the cloud. This week, the EDR software blocks 44 of them. The SIEM raises an alert for 10 more, which were not blocked. Six techniques pass without any alert at all. One of them sends a test file out to the internet over a disguised connection. The tool shows that a firewall rule for that kind of traffic was switched off during a change two weeks ago. The network team switches it back on. The next run shows the technique blocked.

The result is a list of gaps, with the setting that would close each one. Many tools also show the results as a map of the catalogue, coloured by whether each technique was blocked, seen or missed.

BAS is different from penetration testing. A penetration tester is a person who looks for new ways in, for a few weeks. BAS repeats known techniques, automatically, all year. It cannot find a new flaw, but it notices quickly when a defence stops working. BAS is also close to network change verification, which checks a planned network change on a software model before the change is made. BAS checks the real network after the change.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.