YourNextCert™ with Shubham Sharma

Chapter 12

Secure Communications and Network Attacks

Securing voice, video, collaboration, remote access, email and third-party connections: VPNs and tunnelling, NAT, network performance and monitoring, and common network attacks.

Status
In progress
Last updated

Video

The video for this chapter is not available yet.

Exam domains and objectives covered

Domain 4: Communication and Network Security

  • 4.1 Apply secure design principles in network architectures
  • 4.3 Implement secure communication channels according to design

Objectives are numbered as in the official ISC2® CISSP exam outline.

Learning objectives

By the end of this chapter you should be able to:

  • Compare PPP authentication options (PAP, CHAP, EAP and its variants) and explain 802.1X and port security
  • Use performance metrics, QoS, monitoring and load balancing to protect availability
  • Secure PSTN, PBX, VoIP, collaboration and messaging, including defences against vishing, phreaking and toll fraud
  • Design secure remote access, including VPN modes, protocols and split versus full tunnels
  • Protect email with S/MIME, PGP, SPF, DKIM, DMARC and TLS, and secure fax
  • Explain VLANs, switch attacks, NAT/PAT and private addressing
  • Manage third-party and WAN connectivity and match common network attacks to countermeasures

Key topics

  • PAP, CHAP and EAP
  • 802.1X and port security
  • QoS and performance metrics
  • PBX fraud and VoIP security
  • Remote access and collaboration
  • Load balancing
  • Email security (S/MIME, SPF, DKIM, DMARC)
  • VPNs, IPsec and tunnelling
  • Split vs full tunnel
  • VLANs, MAC flooding and VLAN hopping
  • NAT, PAT and RFC 1918
  • Third-party connectivity (MOU, ISA)
  • WAN and switching technologies
  • Network attacks

Chapter notes

Chapter overview

Chapter 11 built the network; this chapter secures the conversations that travel across it. TCP/IP was designed for resilience, not security, so encryption and authentication have to be added for voice, remote workers, email, partner connections and everything else that crosses the wire. Along the way it covers how to keep networks performing (QoS, monitoring and load balancing), how switches, VLANs and NAT shape traffic, and which countermeasure answers which attack.

Key concepts

PPP (Point-to-Point Protocol) carries IP over point-to-point and dial-up links and replaced SLIP, adding authentication, error detection and automatic configuration. Its authentication options:

Protocol How it works Verdict
PAP Sends username and password in clear text Avoid
CHAP Challenge–response using a hash of the password, repeated during the session; resists replay Better, but MD5-based; MS-CHAPv2 is the stronger variant
EAP A framework into which many methods plug (certificates, tokens, smartcards, biometrics) Flexible; security depends on the method

Common EAP methods: EAP-TLS (mutual certificate authentication, the strongest common choice), EAP-TTLS (builds a tunnel first so even the username is protected), PEAP (EAP inside a TLS tunnel), EAP-FAST (Cisco®’s LEAP replacement), EAP-SIM (mobile SIM-based), EAP-POTP (one-time-password tokens), EAP-IKEv2 and EAP-NOOB (bootstrapping IoT devices). LEAP and EAP-MD5 are obsolete.

802.1X (“port-based network access control”) uses EAP so that a device or user must authenticate before a port, physical or wireless, will pass traffic; the switch or access point relays credentials to a RADIUS or TACACS+ server. It authenticates only at connection time, so add periodic reauthentication and session encryption to counter hijacking.

Port security has three meanings: physically controlling wall jacks and switch ports (disconnect unused runs, use smart patch panels); managing which TCP/UDP ports are open; and authenticating to a port with 802.1X.

Performance, QoS and monitoring

Metric Meaning
Bandwidth Capacity of the link
Throughput Data actually delivered per unit of time
Latency Time for a packet to cross the network
Jitter Variation in latency between packets (ruins voice and video)
Packet loss Packets that never arrive and need resending
Signal-to-noise ratio (SNR) Strength of the wanted signal relative to background noise

Quality of service (QoS) prioritises time-sensitive traffic such as VoIP and throttles or shapes the rest, protecting availability. Network management also covers observability (metrics, logs and traces revealing internal state), traffic shaping, capacity management (planning for current and future demand) and fault detection and handling with automated alerting. Good security controls are ideally transparent: invisible to users, so they are hard to bypass.

Load balancing

A load balancer spreads requests across servers or links to improve utilisation, response time and resilience. Scheduling methods include random, round robin, weighted (preferencing), least connections or lowest load, geographic locality and affinity (persistence, sending a client back to the same server). Clients connect to a virtual IP address that represents the whole pool, so servers can fail or be added without clients noticing; global server load balancing extends this across data centres. Load balancers often add caching, compression and TLS offloading.

  • Active–active: every node carries traffic; capacity drops if one fails.
  • Active–passive: standby nodes wait idle; performance stays consistent after a failure.

Voice, PBX and VoIP

PSTN (plain old telephone service) and PBX systems are open to interception and tapping, so physically secure on-site telephony equipment and use encryption where confidentiality matters.

PBX fraud (toll fraud) abuses remote calling features, voicemail and maintenance modems. Countermeasures: restrict dial-in and dial-out to those who need it, disable unused codes, maintenance modems and remote dialling, protect admin interfaces, change defaults, log and audit activity, keep systems patched and use direct inward system access (DISA) properly configured to authenticate external callers. Software PBXs inherit all the usual network and application risks.

VoIP packages voice (and often video and chat) into IP packets. Its encryption is rarely end to end: calls that leave a provider’s network pass through gateways and may cross the PSTN, where they are decrypted. Threats include caller-ID spoofing, vishing, SPIT (spam over internet telephony), DoS, on-path attacks, firmware attacks on phones and call managers, and VLAN hopping. Protect media with SRTP, use strong authentication, log calls, block international dialling if unneeded, patch equipment, restrict physical access and train users.

Vishing is voice-based social engineering. Defences: verify identity, use callback authorisation to a number from the corporate directory, classify what may be discussed by phone, never reset passwords over a voice-only channel, and don’t trust caller ID. Phreaking is attacking the telephone system itself to make free calls, steal services or disrupt them.

Remote access

Remote access ranges from VPNs and wireless connections to thin-client sessions (VDI, VMI, terminal servers), remote desktop and cloud desktops. Three styles:

  • Service-specific: access to one service, such as webmail.
  • Remote control: operating a distant machine as if sitting at it.
  • Remote node operation: the remote device joins the network as if plugged in locally (VPN, wireless, dial-up).

Rules of thumb: authenticate strongly (MFA), grant remote access only to those who need it, encrypt authentication and data, and restrict access by user, device, protocol, application, content and time of day. A remote access policy should address the connection technologies, transmission and credential protection, and support for remote users. Remote devices may be less patched, less physically secure and a route for malware, so consider NAC and company-owned equipment, and ban unauthorised secondary connections (modems, cellular, wireless bridges). The same discipline applies to network administrative functions performed remotely: configuration, monitoring, troubleshooting, account management, patching, backups and policy enforcement.

Collaboration, meetings and messaging

Before adopting a collaboration, video meeting or chat platform, ask: is authentication strong? Is traffic encrypted, and end to end or only to the provider? Can content really be deleted? Is activity logged? Can uninvited people join or take over a meeting? Who can access recordings? What tracking and advertising come with it? Instant messaging adds risks of eavesdropping, malware through file transfer and social engineering, and consumer tools may lack central management.

Email security

Email uses SMTP (TCP 25) between servers and POP3 (110) or IMAP (143) for retrieval, none of which encrypt by default. Never run an open relay, which forwards mail for unauthenticated senders and attracts spammers. Hosted (SaaS) email trades control for scale and resilience.

Security goals: confidentiality, integrity, sender authentication, nonrepudiation, verified delivery and classification of sensitive content, all grounded in policy covering acceptable use, access control and privacy, management, and backup and retention.

Threats: plaintext interception, malicious attachments and links, sender spoofing, tampering in transit, mail-bombing (DoS by volume), mail storms (runaway reply-all) and spam.

Control What it does
S/MIME Certificate-based (X.509) signing for integrity, sender authentication and nonrepudiation, and enveloping for confidentiality
PGP / OpenPGP Signing and encryption using a web of trust rather than central CAs
SPF DNS record listing the hosts allowed to send mail for a domain
DKIM Domain-level digital signature showing the message came from the claimed domain unaltered
DMARC Policy, published in DNS, telling receivers how to handle mail failing SPF/DKIM, plus reporting
STARTTLS Upgrades an SMTP session to TLS if both sides support it (port 587); otherwise stays plaintext
Implicit SMTPS TLS from the start (port 465); refuses plaintext

Add attachment filtering, anti-malware scanning, block lists, reputation filtering and user training. Fax can be protected with fax encryptors, link encryption, activity logs and exception reports; disable automatic printing and avoid machines that store copies.

VPNs and tunnelling

Tunnelling encapsulates one protocol inside another, usually adding encryption, so traffic can cross an untrusted network or reach systems that would otherwise be unreachable. Downsides: extra overhead and bandwidth, no broadcast support, and encrypted payloads that firewalls and IDS can’t inspect unless placed after the tunnel ends. A VPN need not encrypt to be a VPN, and it doesn’t guarantee availability. VPN concentrators terminate large numbers of tunnels.

  • Transport mode: host to host; protects the payload but leaves the original IP header visible. Best inside trusted networks.
  • Tunnel mode: gateway to gateway (site-to-site) or client to gateway (remote access); encrypts the entire original packet and adds a new header. Protection exists only inside the tunnel.
  • Always-on VPN connects automatically whenever a network link comes up.
  • Split tunnel: only corporate traffic uses the VPN; internet traffic goes direct, bypassing corporate filtering and creating a path from the internet through the client.
  • Full tunnel: all traffic goes through the organisation and its security stack.
Protocol Notes
PPTP Layer 2, TCP 1723; unencrypted negotiation; obsolete
L2TP Layer 2, UDP 1701; no native encryption, so usually paired with IPsec ESP
GRE Encapsulation without encryption
SSH TCP 22; replaces Telnet and r-tools; can tunnel, but host to host only
OpenVPN TLS-based; certificates or pre-shared secrets
IPsec Network-layer suite; optional in IPv4, built into IPv6

IPsec components: AH (integrity, source authentication and anti-replay, no encryption), ESP (encryption and integrity, the usual choice, in transport or tunnel mode), HMAC for integrity, IPComp for compression, and IKE for key management (built from OAKLEY, SKEME and ISAKMP). A security association is a one-way agreement on algorithms and keys, so each VPN uses a pair. Mnemonic: an S at the start of a protocol name (SFTP, SCP) usually means SSH; an S at the end (HTTPS) usually means TLS.

Switching, VLANs and switch attacks

Switches learn which MAC addresses sit on which ports (the CAM table), then forward, drop or flood frames. VLANs group ports into separate broadcast domains; traffic between VLANs needs a routing function, which also blocks broadcast storms from spreading. Isolate any segments that don’t need to talk (deny by default). Private VLANs / port isolation let ports reach only an uplink, as in hotel networks. Trunk ports carry many VLANs between switches using 802.1Q tags.

  • VLAN hopping uses double-tagged frames to jump into another VLAN.
  • MAC flooding fills the CAM table with fake addresses so the switch floods every frame like a hub, letting an attacker sniff; counter with MAC limiting per port and NIDS.
  • MAC spoofing/cloning impersonates an authorised device to beat MAC filtering or port security; counter with switch and NIDS monitoring and an inventory of known MAC addresses.

Legitimate monitoring uses port mirroring (SPAN) on the switch or inline network taps on a cable.

NAT and private addressing

Network address translation (NAT) maps internal addresses to public ones, hiding internal addressing and topology and admitting only replies to internally initiated sessions (stateful NAT). Port address translation (PAT), also called overloaded NAT, lets many clients share one public address by tracking ports; “NAT” in practice usually means PAT.

  • Static NAT / port forwarding / destination NAT maps inbound connections to an internal host; acceptable for screened subnets, not for internal LAN systems.
  • NAT-T lets IPsec traverse NAT.
  • NAT66 exists for IPv6 but runs against IPv6’s end-to-end design.
  • RFC 1918 private ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16; not routed on the internet.
  • APIPA (169.254.0.0/16) appears when DHCP fails, a possible sign of a fault or DHCP attack.
  • Loopback is 127.0.0.0/8 (usually 127.0.0.1).

Third-party and WAN connectivity

Connecting your network to a partner’s means sharing their risks. Plan in advance, run a risk assessment and document it: a memorandum of understanding (MOU) records shared intent, and an interconnection security agreement (ISA) sets out the technical and security requirements for the link. Alternatives to a direct link: an extranet reached by VPN, a shared private cloud, or separate environments using secure file sharing and collaboration. Treat cloud providers and teleworkers as third parties too, using tools such as a CASB to enforce policy.

WAN options include leased (dedicated) lines, non-dedicated links such as DSL, MPLS (label switching with QoS), SD-WAN (software-controlled path selection), Metro Ethernet for backhaul (linking local networks to a core), satellite (VSAT to geostationary satellites, or low Earth orbit constellations with lower latency), broadband over power lines and the SONET/SDH fibre hierarchies. For resilience, use two links from different providers that don’t share a backbone or a physical route out of the building.

Circuit switching Packet switching
Dedicated path for the whole session Data split into packets that share paths
Fixed, predictable delays Variable delays
Constant traffic, traditionally voice Bursty traffic of any kind
Vulnerable to a broken path Reroutes around failures, but shared media need encryption

Over packet networks, a permanent virtual circuit (PVC) is always defined and ready, like a leased line; a switched virtual circuit (SVC) is set up per session and torn down afterwards.

Network attacks and countermeasures

Attack Countermeasure
DoS / DDoS Filtering, rate limiting, redundancy, upstream scrubbing (Chapter 17)
Eavesdropping (passive sniffing) Physical security, encryption (IPsec, SSH, TLS), one-time authentication, allow listing to block sniffer software
Modification (altered packets replayed) Digital signatures and integrity checks
Replay Time stamps, sequence numbers, nonces, one-time tokens
Impersonation and spoofing Strong mutual authentication, anti-spoofing filters
ARP and DNS poisoning Port security, DNSSEC, split DNS (Chapter 11)

Remember that harm includes disclosure, delay, denial of access, fraud and waste of resources, not just damage.

Exam tips

  • PAP is insecure; CHAP is better; EAP is the extensible framework behind 802.1X.
  • Full tunnels give better security visibility; split tunnels save bandwidth but reduce control.
  • Interconnections between organisations should be documented before they’re built: MOU first, then ISA.
  • SRTP is the answer for protecting VoIP media streams.
  • Match each attack to its countermeasure; that’s how many questions are framed.
  • For toll fraud questions, think DISA, disabling unused features and auditing PBX activity.

Common traps

  • AH doesn’t encrypt. It gives integrity and origin authentication; ESP provides confidentiality.
  • Transport vs tunnel mode. Transport protects only the payload between hosts; tunnel wraps the whole packet between gateways.
  • SPF, DKIM and DMARC are different jobs. Authorised senders, signed messages, and the policy that ties them together.
  • STARTTLS can fall back to plaintext; implicit TLS won’t.
  • VLANs aren’t subnets. Switches create VLANs; IP addressing creates subnets, though they often line up.
  • MAC flooding vs ARP poisoning. Flooding turns the switch into a hub so everyone gets a copy; poisoning puts the attacker in the path.
  • RFC 1918 vs APIPA vs loopback. Private, DHCP-failure and self-test ranges respectively.
  • “Encrypted VoIP” is rarely end to end once calls cross providers or the PSTN.

Quick revision

  • PPP authentication: PAP (clear text), CHAP (challenge–response), EAP (framework; EAP-TLS strongest).
  • 802.1X = port-based NAC using EAP with a RADIUS/TACACS+ back end.
  • QoS metrics: bandwidth, throughput, latency, jitter, packet loss, SNR.
  • Load balancing: round robin, weighted, least connections, affinity; VIPs; active–active vs active–passive.
  • PBX: DISA, disable unused features and maintenance modems, audit. VoIP: SRTP, patching, training.
  • Remote access: service-specific, remote control, remote node; MFA and encryption always.
  • Email: S/MIME, PGP, SPF, DKIM, DMARC, STARTTLS (587), SMTPS (465); no open relays.
  • VPN: tunnelling; transport vs tunnel mode; split vs full tunnel; IPsec = AH + ESP + IKE.
  • Switches: CAM table, VLANs, 802.1Q trunks; attacks are VLAN hopping, MAC flooding, MAC cloning.
  • NAT/PAT hide internal addresses; RFC 1918 ranges; APIPA 169.254/16; loopback 127/8.
  • Third parties: risk assessment, MOU, ISA, CASB for cloud.
  • Circuit vs packet switching; PVC vs SVC.

Key terms

Term Definition
CHAP Authentication by challenge–response that never sends the password itself
EAP An authentication framework supporting many plug-in methods
802.1X Port-based network access control that requires authentication before a port forwards traffic
Jitter Variability in packet delay
QoS Prioritising and shaping traffic to meet performance requirements
DISA A PBX feature requiring authentication for external callers using internal services
Vishing Social engineering carried out by voice call
Split tunnel A VPN configuration that sends only corporate traffic through the tunnel
Security association A one-way set of agreed IPsec algorithms and keys between two peers
DMARC A DNS-published email policy that builds on SPF and DKIM and requests reports
VLAN hopping Escaping into another VLAN, typically with double-tagged frames
MAC flooding Overloading a switch’s address table so it broadcasts all traffic
PAT Translating many internal addresses to one public address using port numbers
Interconnection security agreement (ISA) A formal document defining security requirements for a link between two organisations
Permanent virtual circuit (PVC) A logical circuit over a packet network that is always defined and available

Sources