Bookmarks

Defence in depth

defense in depth

An approach to protecting a system with several independent layers: breaching one barrier does not give an attacker a path to the data or the rest of the infrastructure.

Also: layered security, multilayered defence

checked 9 Nov

All terms

Any single protective mechanism — a firewall, a password, antivirus software — fails sooner or later, or is tricked. Defence in depth starts from this and places another barrier behind each one, so that an attacker has to overcome them all, while the defender can notice and stop the attack at one of the intermediate lines.

What the layers are made of

The layers are arranged so that several barriers of different kinds stand between the attacker and the assets: technical, software and administrative.

LayerExample measures
Perimeter and networkfirewalls, network segmentation, restricting outbound connections
Accessmulti-factor authentication, least privilege, separation of permissions
Applicationinput validation, parameterised queries, web application firewall
Dataencryption at rest and in transit, backups
Monitoringevent logs, security information and event management, incident response plan

Why the layers must be independent

A layer works only if it has its own failure mode. Two firewalls from the same vendor with the same vulnerability are in effect a single barrier. That is why layers combine different technologies and kinds of measures — network, software, physical and organisational — so that an attack missed by one technology is caught by another.

Example: a SQL injection is found in a web application. The filter in front of the application fails to recognise the request, but the parameters are substituted into database queries separately from the code, so the input is not executed; even if something goes wrong, the application’s database account sees only its own schema and cannot dump other tables; the anomalous queries are visible in the logs and alerts fire. One layer let the attack through — the rest held it.

Where the term comes from

The expression comes from warfare, where defences are built in echelons: taking a line costs the attacker losses and time rather than victory. In information security, the NIST glossary defines defence in depth as a strategy that combines people, technology and operational processes to establish variable barriers across the many levels and areas of an organisation’s activity; the IEC 62443 standard gives a similar definition for industrial systems.

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

  • zero trust

    Zero trust replaces trust in the internal network with verification of every request, while defence in depth is the general principle of layering barriers; in practice the two are combined.

In depth in the references

where the topic is covered in detail