4.2.3. Secure Communication and Access
💡 First Principle: Every communication channel is a potential interception point. Securing communication means encrypting data in transit, authenticating both endpoints, and controlling who can access management interfaces.
VPN types:
- Site-to-site VPN — connects two networks (e.g., headquarters to branch office) over an encrypted tunnel. Uses IPSec. Always-on, transparent to users.
- Remote access VPN — connects individual users to the corporate network. Uses IPSec or SSL/TLS. Initiated by the user when needed.
- Split tunnel vs. full tunnel — split tunnel only routes corporate traffic through the VPN (better performance, less security). Full tunnel routes ALL traffic through the VPN (more secure, slower). Full tunnel ensures all traffic is inspected by corporate security controls.
VPN and tunneling protocols:
- IPsec — secures IP packets at the network layer: AH provides integrity and origin authentication, ESP adds encryption. IKEv2 negotiates the keys and, with its MOBIKE extension, keeps a tunnel up when a mobile user changes networks.
- SSL/TLS VPN — tunnels over TLS on port 443, often clientless through a browser portal, so it passes through most firewalls.
- WireGuard — a modern VPN protocol with a very small codebase and a fixed set of current algorithms (Curve25519, ChaCha20-Poly1305): strong security with low overhead.
- L2TP — carries Layer 2 frames through a tunnel but does not encrypt them, which is why it is deployed as L2TP/IPsec. GRE — wraps one protocol's packets inside another (for example to carry routing protocols between sites) and likewise provides no confidentiality, so it is run inside IPsec when that matters.
- PPTP — deprecated: its MS-CHAPv2 authentication and encryption are broken; do not use.
Secure protocols:
- SSH — encrypted remote administration (replaces Telnet)
- TLS/HTTPS — encrypted web communication
- SFTP/SCP — encrypted file transfer (replaces FTP)
- SNMPv3 — encrypted network management (replaces SNMPv1/v2)
- LDAPS — encrypted directory queries
Out-of-band management — managing network devices through a separate, dedicated management network that's isolated from production traffic. If the production network is compromised, the management channel remains accessible. Requires separate physical or logical infrastructure.
Jump server (bastion host) — a hardened intermediary that administrators connect through to reach internal systems. Instead of exposing management interfaces directly, all administrative access routes through the jump server. This creates a single, auditable choke point: every admin session is logged, and the jump server can enforce MFA, session recording, and time-limited access. If the jump server is compromised, you disable one system rather than re-securing every device.
Port security on switches restricts which devices can connect to physical ports by limiting allowed MAC addresses. Port security prevents rogue devices from connecting to the network — if an unauthorized MAC appears, the port can be configured to shut down, restrict traffic, or alert administrators.
Security Service Edge (SSE) — the security half of Secure Access Service Edge (SASE). SASE converges networking (SD-WAN) and security into one cloud-delivered service; SSE is the security services on their own, enforced in the provider's cloud close to wherever the user is. It typically combines a secure web gateway (SWG) for web filtering, a cloud access security broker (CASB) for SaaS visibility and control, and zero trust network access (ZTNA) for per-application access to private apps, often with firewall-as-a-service and DLP. It suits remote and hybrid workforces: instead of backhauling every user's traffic through a headquarters VPN to reach the security stack, the same policy is applied in the cloud for every location. An organization that keeps its existing WAN and wants only the security functions adopts SSE; one replacing its WAN as well looks at full SASE.
End-to-end encrypted (E2EE) messaging — the message is encrypted on the sender's device and decrypted only on the recipient's device; the service relays ciphertext it cannot read. Ordinary TLS is different: it encrypts each hop to the server, where the message is decrypted and stored readable. E2EE gives the strongest confidentiality, including against a compromised or subpoenaed provider, but it also blinds enterprise controls: a gateway, DLP tool or archive cannot inspect content it cannot decrypt, so organizations with retention or monitoring obligations use approved platforms that capture records on the managed endpoint.
File transfer — replace FTP and TFTP, which send credentials and data in cleartext, with SFTP (file transfer over SSH, port 22), FTPS (FTP over TLS) or an HTTPS-based managed file transfer (MFT) platform that adds access control, integrity checks and an audit trail of who sent what to whom.
User management and user access — remote access should follow least privilege: grant the specific applications a role needs rather than the whole network, and remove access promptly when the role changes.
Identity management for privileged and service identities:
- Least privilege access accounts — administrators get two identities: a standard account for email, browsing and daily work, and a separate privileged account used only for administration (ideally from a privileged access workstation, with just-in-time elevation through PAM). Phishing the everyday account then yields an ordinary user, not a domain admin.
- Group Managed Service Accounts (gMSAs) — Active Directory accounts for services, scheduled tasks and application pools whose passwords are generated and rotated automatically by the domain controllers: long, random and changed periodically, with no administrator ever knowing them. Only the hosts explicitly authorized on the gMSA can retrieve its current password, which lets one identity run a service across a whole server farm. This removes the classic service-account weakness — a human-chosen password set never to expire and pasted into scripts. A standalone managed service account (sMSA) gives similar automatic password management but is limited to a single server.
- Privilege creep — the gradual accumulation of access as people change roles, join projects or receive temporary permissions that are never removed. Someone who moved from finance to IT to sales may still hold all three sets of rights, which violates least privilege and multiplies the damage if the account is compromised. The fixes are role-based provisioning that removes old rights on transfer, time-limited grants, and periodic access reviews (recertification) in which managers confirm each person's current access.
⚠️ Exam Trap: Split tunnel is faster but less secure because non-corporate traffic bypasses VPN inspection. If a question describes a security concern about remote users accessing both corporate resources and the internet, full tunnel is the more secure answer.