Lesson 3 of 3 Authentication Methods

Device Authentication

Networks and services increasingly need to know which device is connecting, not only which user. This lesson explains device authentication with certificates, MAC addresses and the Trusted Platform Module, and how device health supports access decisions.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain why devices need to be authenticated.
  • Describe certificate-based device authentication.
  • Explain the weakness of MAC address authentication.
  • Describe how the TPM supports device identity and health.

Why authenticate devices

An attacker with a valid username and password can sign in from their own computer, which has none of the organisation's protections. Device authentication ensures that only known, managed devices can join the network or reach sensitive services. It is essential for devices with no user at all, such as printers, cameras, IoT sensors and servers communicating with each other, and it is a core element of zero trust, in which access decisions consider both the user and the device.

Certificate-based device authentication

The strongest common method gives each device a unique X.509 certificate and private key, issued by the organisation's certificate authority, often automatically through device management. When the device connects, it proves possession of the private key, and the network or service validates the certificate chain, expiry and revocation status.

Examples include 802.1X network access with EAP-TLS, in which the switch or wireless access point admits a device only after the RADIUS server validates its certificate; VPN clients that require a device certificate in addition to user MFA; and mutual TLS, in which both client and server present certificates, used between services and APIs. Certificates can be revoked when a device is lost or retired.

The following diagram compares an attacker's laptop with a managed device when a system requires a device certificate as well as MFA.

Device authentication containing a credential theft. The attacker has the employee's password and an MFA approval from a phishing kit, but the HR system also requires a TPM-backed device certificate. The attacker's laptop has none, and a legitimate device's key cannot be copied out of its TPM, so access is denied.
The scenario is illustrative.
Sort into groups

Strong or weak device authentication?

Exam skills 2.1.3

Decide whether each method gives strong or weak device authentication.

Log in to try this activity Interactive activities are free with an account.

MAC address authentication

A MAC address is the hardware address of a network interface. MAC-based authentication, sometimes called MAC authentication bypass, admits devices whose MAC addresses are on an approved list. It is simple and works for devices that cannot run 802.1X, such as some printers and IoT devices.

It is weak, however, because MAC addresses are sent in clear and can be observed and spoofed with a single command. MAC authentication should be used only where nothing stronger is possible, and devices admitted this way are placed in a restricted network segment with only the access they need, and monitored.

The Trusted Platform Module

A Trusted Platform Module (TPM) is a hardware security chip built into most modern computers. It can generate and store private keys that cannot be exported, so a device certificate whose key is in the TPM cannot be copied to another machine: the identity is bound to the hardware.

The TPM also records measurements of the boot process. Attestation lets the device prove to a remote service that it booted with expected, unmodified firmware and operating system components. Combined with management tools that report patch level, encryption status and endpoint protection, this supports device health checks: access is granted only to devices that are both known and compliant. The following comparison summarises the methods.

Certificate
What is verifiedPossession of a private key matching a trusted certificate
Resistance to spoofingStrong
Typical use802.1X EAP-TLS, VPN, mutual TLS
MAC address
What is verifiedHardware address on a list
Resistance to spoofingWeak; easily spoofed
Typical usePrinters and IoT that cannot do better
TPM-backed
What is verifiedKey bound to the device's chip, plus boot measurements
Resistance to spoofingStrongest; key cannot be exported
Typical useManaged laptops, zero trust device health
Worked example

Printers on 802.1X

A company is enabling 802.1X on all switch ports. Its old printers cannot act as 802.1X supplicants. A manager suggests disabling 802.1X on those ports. What is a better approach?

Use MAC authentication bypass for the printers' ports, with the RADIUS server placing them in a dedicated printer VLAN that can reach only the print server, and alert if a printer's MAC address appears elsewhere. Because MAC addresses can be spoofed, the segment limits what an attacker could reach by impersonating a printer. Replacing the printers with models that support certificates should be planned.

Worked example

Stolen credentials, unknown device

An attacker obtains an employee's password and MFA approval through a phishing kit and tries to access the HR system from their own laptop. The organisation requires a TPM-backed device certificate for access to HR data. What happens?

Access is denied, because the attacker's laptop has no device certificate issued by the organisation, and the key of a legitimate device cannot be copied out of its TPM. Requiring a managed device in addition to user authentication contained the credential theft, which shows why zero trust designs evaluate both.

Check yourself

What advantage does storing a device certificate's private key in a TPM give?

Show answer

The key cannot be exported, so the device identity cannot be copied to another machine; possession of the certificate proves the request comes from that specific hardware.

Exam Tips

Remember for the exam

  • MAC addresses can be spoofed; use MAC authentication only with segmentation.
  • Certificates with keys stored in a TPM bind identity to hardware.
  • Device health checks support zero trust access decisions.