Module 19: Network Security and Troubleshooting

CompTIA A+ Core 2 (220-1102)

1. Securing a SOHO Network

Router and Wireless Hardening

  • Change default admin username and password

  • Update router firmware

  • Use WPA3 (or WPA2-AES); never WEP or open

  • Disable WPS (PIN weaknesses)

  • Change the default SSID and consider disabling broadcast (minor benefit only)

  • Disable remote management/UPnP unless needed

  • Enable the router's firewall; use guest network for visitors and IoT

  • MAC filtering is weak (MACs can be spoofed)

  • Place the router centrally; adjust radio power to limit coverage

  • Static IP reservations (DHCP reservation) for key devices; DHCP scope limits

Wireless Security Summary

Standard

Encryption

Status

WEP

RC4

Broken

WPA

TKIP

Deprecated

WPA2

AES-CCMP

Standard

WPA3

AES-GCMP, SAE (replaces PSK handshake)

Current, resists offline guessing

Personal (PSK)

Shared passphrase

Home/small office

Enterprise (802.1X)

Per-user via RADIUS

Business

2. Firewalls and Network Filtering

Type

Notes

Software (host) firewall

Windows Defender Firewall on each device

Hardware (network) firewall

Protects the whole network at the edge

Stateless packet filter

Inspects each packet in isolation

Stateful firewall

Tracks connections

Next-generation firewall (NGFW)

Application awareness, intrusion prevention

UTM

All-in-one security appliance

Proxy server

Filters and caches web requests

Content filtering

Blocks categories of sites

  • ACL (access control list) — allow/deny rules by IP, port, or protocol; implicit deny at the end

  • DMZ (screened subnet) — isolated network segment for public-facing servers

  • Port forwarding opens a path inward for a specific service; port triggering opens a port temporarily

  • Port security on switches limits which MACs may connect

3. Intrusion and Threat Tools

Tool

Function

IDS

Detects and alerts on suspicious traffic

IPS

Detects and blocks

Antivirus/EDR

Endpoint detection and response

SIEM

Collects and correlates logs

Honeypot

Decoy system to study attackers

VPN

Encrypted tunnel (site-to-site or remote access)

NAC (network access control)

Admits only compliant devices

4. VPNs and Secure Protocols

Protocol

Use

IPsec

Encrypts IP traffic (VPNs)

SSL/TLS VPN

VPN through the browser or client

L2TP/IPsec, IKEv2, OpenVPN, WireGuard

Common VPN types

HTTPS (443)

Secure web

SSH (22)

Secure shell

SFTP / FTPS

Secure file transfer

RDP (3389)

Remote Desktop — protect with VPN and NLA

Telnet / FTP / HTTP

Insecure — plaintext

  • Split tunnel sends only corporate traffic through the VPN; full tunnel sends all

5. Network Attacks (applied)

Attack

Defense

DoS/DDoS

Rate limiting, cloud filtering, firewalls

On-path (MITM)

HTTPS, VPN, avoid untrusted Wi-Fi

Evil twin / rogue AP

Verify network, use VPN, wireless scans

ARP poisoning / spoofing

Dynamic ARP inspection, segmentation

DNS poisoning

DNSSEC, trusted DNS

Brute force / dictionary

Lockouts, MFA, strong passwords

Zero-day

Patching, EDR, segmentation

Phishing

Training, filtering

6. Network Troubleshooting Methodology

Same 6-step process as before. Network-specific approach:

  1. Check physical: cables, link lights, power, Wi-Fi on

  2. Check the device: IP settings, ipconfig /all

  3. Check the local network: gateway reachable?

  4. Check name resolution: DNS

  5. Check outward: ISP, remote service

  6. Work bottom-up (OSI), top-down, or divide and conquer

7. Command-Line Network Tools

Command

Purpose

ipconfig /all

Full IP, DNS, MAC, DHCP details

ipconfig /release and /renew

Renew a DHCP lease

ipconfig /flushdns / /displaydns

Clear / show DNS cache

ping

Test reachability; ping -t continuous; ping 127.0.0.1 tests the local TCP/IP stack

tracert / traceroute

Path and hop-by-hop delay

pathping

Combines ping and tracert statistics

nslookup / dig

DNS queries

netstat -an

Open ports and connections

arp -a

IP-to-MAC table

nbtstat

NetBIOS information

netsh

Configure network settings

hostname

Computer name

net use, net view, net user

Shares and accounts

nmap

Port scanner (security testing)

curl, wget

Fetch URLs

ifconfig / ip addr

Linux IP configuration

Using ping to isolate

  1. ping 127.0.0.1 — NIC/TCP-IP stack

  2. ping own IP — adapter configured

  3. ping default gateway — local network

  4. ping remote IP (e.g., 8.8.8.8) — internet

  5. ping a hostname — DNS

8. Common Network Problems

Symptom

Likely cause / fix

No connectivity

Cable, NIC disabled, wrong VLAN, switch port

APIPA 169.254.x.x

DHCP unreachable; renew, check server/cable

IP conflict

Duplicate address; use DHCP reservations

Limited connectivity

Bad gateway/DNS settings

Slow speeds

Congestion, interference, bad cable, duplex mismatch, malware

Intermittent Wi-Fi

Interference, distance, channel overlap (use 1/6/11 on 2.4 GHz)

Can't browse by name

DNS failure; try IP

Certificate errors

Wrong date/time, untrusted site, MITM

Can't reach one site

Remote or DNS problem, proxy, blocked

Rogue AP

Unauthorized hardware

Wi-Fi signal weak

Move closer, relocate AP, add AP/repeater, change channel

9. Browser Security and Troubleshooting

  • Keep browsers and extensions updated; remove unneeded extensions

  • Clear cache, cookies, history to fix odd page behavior

  • Pop-up blockers, safe browsing, InPrivate/Incognito (no local history, not anonymous)

  • Certificates: verify HTTPS padlock; certificate warnings mean expired, mismatched, or untrusted

  • Proxy settings can redirect traffic — check for unwanted proxies after malware

  • Password managers and auto-fill convenience vs. risk

  • Redirects, unwanted search engines, new toolbars = hijacker; reset the browser, remove extensions, scan for malware

Additional Textbook Topics: Workstations, IoT, and Remote Access

Securing Workstations

  • Screen lock timeout and password on wake; sign out when leaving

  • Disable AutoRun/AutoPlay; restrict USB ports if policy requires

  • Patch OS and apps; run antimalware and firewall

  • Disable unused accounts and services; rename/disable default accounts

  • BIOS/UEFI password, boot-order lock, Secure Boot, and BitLocker

  • Least privilege and standard user accounts

Securing IoT Devices

  • Change default credentials, update firmware, disable unused services and UPnP

  • Put IoT on a separate network/VLAN or guest network

  • Disable features you don't use (remote access, microphone, camera)

Remote Access Technologies

Technology

Port

Notes

RDP

3389

Windows remote desktop; secure with NLA, VPN, MFA

SSH

22

Encrypted command line, SFTP/SCP

Telnet

23

Insecure plaintext; avoid

VNC

5900

Cross-platform screen sharing

VPN

n/a

Encrypted tunnel into a network

Remote Assistance / Quick Assist

n/a

User-invited help session

Third-party remote tools / RMM

n/a

Vendor-managed support

FTP / SFTP / FTPS

21 / 22 / 990

File transfer (use secure types)

  • Verify identity and get permission before connecting; log the session

Quick-Reference Exam Points

  • Ping order: loopback → own IP → gateway → remote IP → hostname

  • WPA3 > WPA2 (AES) > WPA (TKIP) > WEP; disable WPS

  • IDS detects, IPS blocks; DMZ hosts public servers

  • ACL ends with an implicit deny

  • tracert finds where a path breaks; nslookup tests DNS; netstat shows open ports; arp -a shows the MAC table

  • 2.4 GHz non-overlapping channels: 1, 6, 11

  • Telnet, FTP, HTTP = plaintext; use SSH, SFTP, HTTPS

  • Port forwarding exposes an internal service; use sparingly

  • Certificate errors can indicate an on-path attack