Lesson 3 of 3 Network Models and Protocols

Multilayer and Converged Protocols

Modern networks carry many kinds of traffic over shared infrastructure, often by encapsulating one protocol in another. This lesson covers the security implications of multilayer and converged protocols.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain the security implications of encapsulation and multilayer protocols.
  • Describe converged protocols such as iSCSI, VoIP, RoCE and CXL and their controls.

Multilayer protocols

Protocol suites such as TCP/IP are inherently multilayer, and encapsulation lets one protocol be carried inside another. This flexibility enables VPNs, tunnelling and encryption at higher layers, but it also lets attackers hide traffic: covert channels conceal data in unused header fields or timing, DNS tunnelling exfiltrates data in DNS queries, and command-and-control traffic hides inside HTTPS. VLAN hopping through double tagging abuses 802.1Q encapsulation.

Encapsulation gives attackers an advantage because security controls usually decide based on the outer layer. A firewall that allows outbound DNS to any server sees only DNS packets, even if each query carries an encoded fragment of a stolen file in its subdomain name, such as a long string of characters followed by the attacker's domain. The attacker's own DNS server receives the queries and reassembles the file. In the same way, malware that communicates over HTTPS to a popular cloud service looks like ordinary web browsing. Defending against this means examining the inner content or behaviour, for example query lengths and volumes, the reputation of destinations and traffic patterns that differ from a baseline.

Double tagging shows the same principle at layer 2. An attacker on the native VLAN sends a frame carrying two VLAN tags. The first switch removes the outer tag, which matches the native VLAN, and forwards the frame across a trunk with the inner tag still present, so the next switch delivers it into the target VLAN. The attack only sends traffic one way, but that can be enough to reach a vulnerable service. Not using the native VLAN for user ports removes the condition the attack needs.

Industrial protocols such as Modbus and DNP3, designed for isolated serial networks without authentication, are now carried over TCP/IP and exposed to IP-based attacks. Deep packet inspection, protocol-aware firewalls and DNS monitoring help detect misuse.

The following diagram shows data hidden in DNS queries and the controls that detect it.

How DNS tunnelling encapsulates data in another protocol. Malware encodes data in long, random-looking subdomains of a domain the attacker controls, and the queries pass firewalls that allow DNS. Forcing DNS through internal resolvers, alerting on query volume, length and entropy, blocking new or malicious domains and investigating the host address it.
Any allowed protocol can carry hidden data.
Select all that apply

Spotting DNS tunnelling

Exam skills 4.1.4

Identify signals that DNS is being used to carry data out of the network.

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

Converged protocols

Converged protocols carry specialised traffic over common networks, mainly Ethernet and IP. Historically, storage, voice and high-performance interconnects each had their own dedicated cabling and equipment. Convergence replaces those with the organisation's general network, which is cheaper and easier to manage, but it means that traffic once isolated by physical separation is now exposed to anyone who can reach the shared network.

Storage is the clearest example. iSCSI carries the commands a server uses to read and write disk blocks over ordinary IP networks, so a storage array can be reached through the same switches as everything else. If iSCSI traffic is not isolated and authenticated, an attacker on the network could connect to a storage volume and read or overwrite it directly, bypassing the operating system's file permissions. Fibre Channel over Ethernet (FCoE) carries Fibre Channel frames over Ethernet without IP, so it stays within a local network but shares its switches. VoIP carries voice as data packets, making calls subject to interception and denial of service like other traffic.

Two high-performance technologies complete the outline's list. RDMA over Converged Ethernet (RoCE) lets one computer read or write another's memory directly across the network for very low latency, which is powerful and therefore needs a trusted, isolated network. Compute Express Link (CXL) is an interconnect within or between servers that lets processors share memory and accelerators coherently; its security concerns are mainly the isolation of shared memory between workloads. The following key terms summarise the converged protocols.

iSCSI Internet Small Computer Systems Interface
Carries SCSI storage commands over IP networks, providing block storage without dedicated Fibre Channel.
FCoE Fibre Channel over Ethernet
Carries Fibre Channel frames directly over Ethernet.
VoIP Voice over Internet Protocol
Carries voice using SIP for signalling and RTP for media.
InfiniBand over Ethernet RDMA over Converged Ethernet (RoCE)
Provides remote direct memory access for high-performance, low-latency transfers.
CXL Compute Express Link
A high-speed interconnect that lets processors share memory and accelerators coherently.

Convergence reduces cost and complexity but exposes storage, voice and interconnect traffic to network threats. Controls include dedicated VLANs or physically separate networks for storage, authentication such as CHAP for iSCSI, encryption such as SRTP for voice, and quality of service to protect latency-sensitive traffic.

Match the pairs

Converged protocols and controls

Exam skills 4.1.5

Match each converged protocol with the control or concern that fits it.

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

Hidden exfiltration

A security analyst notices a workstation making thousands of DNS queries per hour for long, random-looking subdomains of a single unfamiliar domain. Which technique is likely, and what control helps?

The pattern indicates DNS tunnelling, encapsulating data in DNS queries to bypass firewalls that allow DNS. Controls include forcing all DNS through internal resolvers, monitoring and filtering DNS for abnormal query volumes, lengths and entropy, blocking newly registered or malicious domains and investigating the workstation for malware.

Check yourself

Which converged protocol carries SCSI storage commands over IP networks?

Show answer

iSCSI.

Exam Tips

Remember for the exam

  • Encapsulation can hide malicious traffic inside allowed protocols.
  • Separate storage and voice traffic onto dedicated segments.
  • Monitor DNS for tunnelling and exfiltration.