Home / Learn / AI Infrastructure / DPU Security

On this pageThe weakness of host-based securityWhat isolation outside the host meansSecurity functions a DPU can provideWhat it protects againstZero trustPerformanceBare-metal and multi-tenant environmentsLimitsRelated approachesSecurity built into custom chipsCommon questionsRelated guides

DPU Security: Isolation Outside the Host

A DPU enforces security from outside the server it protects. It is a separate computer, with its own processors, memory and software, placed between the server and the network. Because it does not share the server’s operating system, its controls remain in force even if that server is fully compromised. This separation is the basis of DPU security. It supports network policy, encryption, monitoring and trusted start-up that an attacker on the host cannot disable.

The weakness of host-based security

Traditionally, a server’s security software runs on the server. Firewalls, encryption and monitoring agents execute on the same CPU, under the same operating system, as the applications they protect.

That has an inherent flaw. An attacker who gains full control of the operating system also gains control of the security software. They can switch off the firewall, hide from the monitoring agent or read the encryption keys.

In cloud environments there is a second issue. Customers are sometimes given complete control of a physical server. The cloud operator cannot rely on software running on that server, because it belongs to the customer.

What isolation outside the host means

A DPU changes the arrangement. It sits on the path between the server and the network and is physically part of the server, typically as a card. But it is an independent system.

  • Separate processors. The DPU’s software runs on its own cores.
  • Separate memory. The host cannot read or write it.
  • A separate operating system, managed by the infrastructure operator.
  • A separate management channel. The DPU is controlled over its own connection, not through the host.

The host sees only standard devices, such as a network interface and storage drives. It has no means to inspect or alter what the DPU does behind them. All of the server’s traffic passes through the DPU.

The boundary between the two is sometimes compared to an air gap.

Security functions a DPU can provide

FunctionWhat it does
Network policy enforcementApplies firewall rules to every packet entering or leaving the server
Micro-segmentationRestricts which workloads can communicate with each other
Encryption in transitEncrypts and decrypts network traffic in hardware
Storage encryptionEncrypts data before it reaches storage
Key protectionHolds keys where the host cannot reach them
Hardware root of trustVerifies firmware and software before they run
AttestationProves to a remote party what software the system is running
Traffic monitoringObserves all traffic for signs of attack
Tenant isolationKeeps customers’ traffic and data separate
Rate limitingLimits the effect of floods and misbehaving workloads

What it protects against

  • A compromised host. Malicious software on the server cannot turn off network controls or see other tenants’ traffic.
  • Lateral movement. An attacker who breaks into one workload is blocked from reaching others by rules enforced outside any host.
  • Malicious or careless tenants in shared infrastructure.
  • Tampering with firmware, detected through secure and measured boot.
  • Interception of data in transit, prevented by encryption.
  • Insider threats. Separating infrastructure control from host administration limits what any one person can do.

Zero trust

The approach fits a security model known as zero trust. Its principle is that nothing is trusted because of where it sits on the network. Every connection is checked, and access is limited to what is needed.

Applying that principle requires an enforcement point at every server. Putting it in software on the server brings back the original weakness. A DPU provides an enforcement point per server that is independent of the server’s own software.

Performance

Security functions such as encryption are computationally heavy. Performed on the host CPU at modern network speeds, they consume a lot of capacity.

DPUs contain dedicated hardware for these operations. Traffic can be encrypted at full line rate with little effect on the host. This makes it practical to encrypt everything, which would otherwise carry a noticeable performance cost.

Bare-metal and multi-tenant environments

DPUs make it possible to give a customer an entire physical server, without a hypervisor, and still keep the operator’s controls in place. The customer has full use of the machine. The operator’s network isolation, storage access and security policy live on the DPU, out of the customer’s reach.

This matters for AI clouds, where customers want direct access to accelerators for maximum performance and the operator must still separate tenants.

Limits

A DPU strengthens security and does not solve every problem.

  • It is not a defense against attacks within an application. A flaw in the application’s own logic is outside its view.
  • Encrypted traffic limits inspection. If traffic is encrypted end to end by the application, the DPU cannot examine its contents.
  • The DPU itself must be secure. It is a computer with software that needs to be kept up to date. A vulnerability in it would be serious, because of the trust placed in it.
  • Policy must be right. The DPU enforces whatever rules it is given.
  • Operational complexity. It is another system to deploy and manage.
  • It complements other measures. Host-level protection, identity management and application security remain necessary.

Related approaches

Confidential computing protects data while it is being processed, using hardware features in the main processor to keep it encrypted in memory. It addresses a different part of the problem and works alongside DPU-based isolation.

Hardware roots of trust provide the foundation for verifying that a system has not been tampered with. DPUs commonly include one and can extend its assurances to the server.

Security built into custom chips

The same principle, security functions in hardware that is separate from the workload, can be applied inside a custom chip. Designers of AI processors include isolated security blocks, encryption engines and roots of trust so that protection does not depend on software running on the main compute engine.

Common questions

Why is a DPU more secure than software on the server?

Because it runs independently of the server’s operating system. If the server is compromised, the attacker still cannot alter or disable controls enforced on the DPU.

Can a DPU stop all attacks?

No. It enforces network and infrastructure controls. Vulnerabilities inside an application, stolen credentials and similar threats require other defenses.

Does DPU security slow down the server?

Generally not. The DPU has dedicated hardware for tasks such as encryption, so it relieves the host CPU of that work.

Related guides