Recently, I have been going through the IPv6 Security course offered by the RIPE NCC Academy. While studying the material, I came across several interesting topics that I thought would be worth sharing here on my blog.

I decided to put together a series of posts to summarize what I have learned, along with some of my own thoughts from a network engineering perspective.

In this first post, I want to start with the basics, look at some common misconceptions about IPv6 security, and explore why securing IPv6 requires a slightly different approach from what we are used to with IPv4.

Understanding IPv6 Security

When we talk about IPv6, the first thing that usually comes to mind is its massive address space. But IPv6 is much more than just a solution to IPv4 address exhaustion.

It introduces several changes in how devices communicate, discover their neighbors, configure their addresses, and process packets.

From a security perspective, this is where things get interesting.

Many of the security threats we know from IPv4 still exist in IPv6. Spoofing, denial-of-service attacks, traffic interception, and routing attacks have not disappeared. However, IPv6 introduces additional mechanisms that come with their own security challenges.

Before looking at these mechanisms in more detail, let’s go through some common misconceptions.

Common IPv6 Security Myths

IPv6 is more secure than IPv4

Not necessarily. Moving to IPv6 does not automatically improve the security of a network.

As with IPv4, the actual level of security depends on how the network is designed, configured, monitored, and operated.

IPv6 networks cannot be scanned

A single IPv6 /64 subnet contains approximately 18.4 quintillion possible addresses. Scanning every address in such a subnet is obviously not practical.

But does that mean an attacker cannot discover active hosts?

Not really. Attackers do not necessarily need to scan the entire address space. DNS records, predictable addressing schemes, multicast communication, and publicly available information can all help identify active devices.

A larger address space makes traditional brute-force scanning more difficult, but it does not eliminate network reconnaissance.

IPsec makes IPv6 secure by default

This is another common misconception. Although IPv6 supports IPsec, communication is not automatically encrypted or authenticated.

Without actually implementing and configuring IPsec, IPv6 traffic is not inherently protected against interception or manipulation.

Without NAT, IPv6 is less secure

For years, NAT has been associated with security in IPv4 networks. However, NAT itself is an address translation mechanism, not a firewall.

The protection against unsolicited inbound connections typically comes from stateful filtering.

With IPv6, we can achieve the same level of protection using a properly configured stateful firewall without introducing address translation.

We don’t use IPv6, so we don’t need to worry about it

This is perhaps one of the most important misconceptions, particularly in enterprise environments.

Most modern operating systems have IPv6 enabled by default. Even if an organization has not officially deployed IPv6, devices may still have link-local addresses and process IPv6 traffic on the local network.

Without appropriate security controls, mechanisms such as Router Advertisements and Neighbor Discovery can still be abused.

In other words, not deploying IPv6 does not necessarily mean that your network is not exposed to IPv6-related threats.

The IPv6 Attack Surface

What makes IPv6 security particularly interesting is that some of its fundamental mechanisms can also become potential attack vectors if they are not properly secured.

Some of the topics worth exploring include:

  • IPv6 Extension Headers and Fragmentation
  • ICMPv6
  • Neighbor Discovery Protocol (NDP)
  • Stateless Address Autoconfiguration (SLAAC)
  • DHCPv6
  • IPv6 First-Hop Security
  • Multicast and MLD
  • IPv6 Traffic Filtering
  • IPv6 Transition Mechanisms
  • Routing Security and BGP Hijacking
  • IPv6 DDoS Attacks

I will cover these topics individually in the upcoming posts, looking at how each mechanism works, what can go wrong, and how we can mitigate the associated security risks.

Final Thoughts

One of my initial takeaways from the course is that securing IPv6 is not simply about adapting existing IPv4 security policies.

It is important to understand how IPv6 actually works before deciding what to allow, what to filter, and where to implement security controls.

This becomes particularly important when designing networks where IPv4 and IPv6 coexist.

In the next post, I will take a closer look at IPv6 Extension Headers and Fragmentation, and some of the security challenges they introduce.

Posted in

Leave a Reply