Security Infrastructure

Combination of hardware, software, policies, and practices that organizations use to protect information.

Ports and Protocols

Port: Logical communication endpoint that exists on a computer or server.

Ports can be any number between 0—65535.

Protocol: Rules governing device communication and exchange.

Important: Things to Know We must know four things about every port below for the exam:

  1. Port number
  2. Protocol used
  3. TCP or UDP
  4. Basic description

Ports to Remember

Firewalls

Safeguards networks by monitoring and controlling traffic based on predefined security rules.

Screened Subnet (dual-homed host): Acts as a security barrier between external untrusted networks and internal trusted networks using a protected host.

Types of Firewalls

Configuring Firewalls

Access Control List

Access Control List (ACL): Rule set placed on firewalls/routers/etc. that allow traffic through a particular interface. Actions are always performed in a top-down rule.

Hardware-based Firewall & Software-based Firewall

Hardware based will protect a whole subnet. Software based will run on a single machine.

IDS and IPS

Intrusion Detection System (IDS): Logs and alerts. Intrusion Prevention System (IPS): Logs, alerts, takes actions.

IDS

Types

Methods

Open Question: What are the specific differences between statistical, protocol, and application-based anomaly IDS methods?

Intrusion Prevention Systems (IPS)

Scans traffic to look for malicious activity and takes action to stop it. Should be placed inside network, right behind firewall.

Network Appliances

Dedicated hardware device with pre-installed software designed to provide specific networking services.

Port Security

Common security feature found on network switches that allows administrators to restrict which devices can connect to a specific port based on the network interface card’s MAC address.

Switches use intelligence to prevent collisions on the network, allowing ports to operate in duplex.22. Hubs broadcast to all ports (half-duplex, causing collisions). Switches learn MAC addresses and send frames only to the target port, allowing simultaneous two-way (full-duplex) communication without collisions.

Content Addressable Memory (CAM) Table: Used to store information about the MAC addresses that are available on any given port of the switch.

Enable port security (links MAC addresses to a specific network interface) or MAC filtering on the switch ports.

Persistent (Sticky) MAC Learning: Feature in network port security where the switch automatically learns and associates MAC addresses with specific interfaces.

802.1x Protocol: Standardized framework used for port-based authentication for both wired and wireless networks.33. 802.1X is the standard framework for network access control. EAP is the protocol inside 802.1X that carries the actual authentication data. Requires three roles: Supplicant, Authenticator, Authentication Server.

RADIUS: Cross-platform. Does not support remote access protocol, NetBIOS Frame Protocol, or X.25 protocol.

TACACS+: Cisco-proprietary protocol. Slower because it uses TCP tunnels, which provides integrity, authentication, authorization, and accounting. Supports all networking protocols.

EAP

Securing Network Communications

Virtual Private Network (VPN)

Extends a private network over a public one, enabling users to securely send and receive data.

TLS

IPSec

Internet Protocol Security (IPSec): Protocol suite for secure communications through authentication and data encryption in IP networks.

IPSec Steps: Request to start Internet Key Exchange (IKE), IKE Phase 1, IKE Phase 2, Data transfer, Tunnel termination.

SD-WAN and SASE

SD-WAN

Software-Defined Wide-Area Network (SD-WAN): Virtualized approach to managing and optimizing wide area network connections to efficiently route traffic between remote sites, data centers, and cloud environments.

SASE

Secure Access Service Edge (SASE): Used to consolidate numerous networking and security functions into a single cloud-native service to ensure that secure and access for end-users can be achieved.

Infrastructure Considerations

Selecting Infrastructure Controls

Control: Protective measure put in place to reduce potential risks and safeguard an organizations assets.

Principles

  1. Principle of Least Privilege: Grants users/systems only necessary access rights to perform their duties.
  2. Defense in Depth: Use multiple layers of security to mitigate threats even if one control fails.
  3. Risk-based Approach: Prioritize controls based on potential risks and vulnerabilities.
  4. Lifecycle Management: Regularly review/update/retire controls to adapt to evolving threat landscapes.
  5. Open Design Principle: Ensure transparency and accountability through rigorous testing.

  1. Stateful firewalls track the state of active connections and automatically allow return traffic for established sessions, meaning if a request is initiated from the inside to a domain, the return traffic is automatically permitted.↩︎

  2. Hubs broadcast to all ports (half-duplex, causing collisions). Switches learn MAC addresses and send frames only to the target port, allowing simultaneous two-way (full-duplex) communication without collisions.↩︎

  3. 802.1X is the standard framework for network access control. EAP is the protocol inside 802.1X that carries the actual authentication data.↩︎

  4. AH provides integrity and authentication for both the payload and the IP header, but offers no encryption. ESP encrypts the payload, but does not provide protection for the outer IP header on its own.↩︎