How it works
Segmentation separates systems so a guest device, student device, web server, database, and administrator workstation do not all have the same reach.
Ask what traffic is necessary. Then deny or isolate traffic that is not needed for the workflow.
Common error
A flat network is convenient, but it increases blast radius when one device is compromised.
Unit 3 topics and evidence practice
Investigate a fictional Mosaic Design Studio network through five topics: attack evidence, wireless policy, segmented paths, firewall decisions, and detection. All addresses, devices, domains, events, and measurements are teaching examples. Public-looking addresses use documentation ranges, and .test names are not live services. Existing foundation lessons and exercises remain available. Configuration artifacts describe a lab policy, not changes to a live network.
3.1 Network Vulnerabilities and Attacks
Identify the communication layer, weakness, and evidence before naming an attack. Distinguish redirected traffic, readable content, disrupted service, and a confirmed unauthorized action.
- 3.1.A Common Network Attacks
- 3.1.B How Adversaries Exploit Network Weaknesses
- 3.1.C Assessing and Documenting Network Risk
Read topic 3.1 notes, evidence, and quick checks
3.1.A: Use the OSI model as a reasoning aid
The seven-layer model separates physical transmission, local frames, routed packets, transport behavior, and upper-layer communication functions. It helps locate evidence and controls, but real devices and attacks can involve several layers. A firewall can perform several kinds of inspection, and TLS does not have to fit a single practical software layer just because a diagram places encryption near presentation. Explain the actual function being protected.
Read addresses, ports, protocols, and outcomes together
An IPv4 address identifies a network endpoint in context; a MAC address supports local-link delivery; TCP/UDP ports distinguish transport endpoints. An expected port suggests a service, not proof of the application or a successful login. DNS, routing, NAT, and authentication solve different problems. Record source, destination, protocol, port, direction, time, and the device reporting the observation before drawing a conclusion.
Recognize an ARP binding problem without assuming decrypted traffic
ARP resolves IPv4 neighbors on a local link and does not provide strong built-in identity authentication. False associations can redirect selected traffic, interrupt delivery, or create an on-path position. Compare observed bindings with trusted inventory, approved failover changes, and switch/endpoint evidence. IPv6 uses Neighbor Discovery rather than ARP. Properly validated application encryption can still protect content even when the path is hostile.
Separate DNS authenticity from encrypted resolver transport
Poisoned or otherwise false name-resolution data can send a client toward an unintended destination. Compare the intended service, resolver settings, validated answers, and change records. DNSSEC validation can authenticate signed DNS data within its trust chain; it does not encrypt queries or make an application safe. Encrypted DNS can protect a resolver exchange without proving the resolver is trustworthy or the returned service is legitimate.
Distinguish MAC-table abuse, address spoofing, and rogue configuration
MAC flooding pressures switching-table capacity; device behavior can include limiting, dropping, or flooding eligible unknown-unicast traffic within the relevant VLAN. It does not universally turn a network into a hub. IP spoofing forges source fields without automatically completing a session or defeating authentication. A rogue DHCP server offers unauthorized addressing, gateway, or resolver settings. Suitable port controls, trusted DHCP paths, and valid binding checks address different parts of these risks.
Know what a packet capture can actually reveal
A capture observes traffic available at its vantage point; ordinary switching does not expose every conversation to every endpoint. Cleartext application data can reveal secrets when observed. Validated HTTPS, SSH, and appropriate protected transfers reduce that exposure, while encryption does not make a fake destination legitimate. SFTP uses SSH; FTPS is FTP with TLS. Capture tools are legitimate diagnostic tools that require authorized scope, permitted handling, and protected evidence.
Separate service exhaustion from a proven attack
DoS aims to prevent legitimate use; DDoS uses distributed activity, potentially including bots or reflected traffic. Exhaustion can target bandwidth, connection state, or application work. A load spike can also be legitimate demand or a scheduled job. Correlate traffic, errors, resource use, and service outcomes. If the upstream link is already saturated, filtering only after that bottleneck may not restore it; appropriate upstream coordination and capacity planning matter.
3.1.C: Record a specific network risk and a testable response
For each asset, state the exposed path or weak protocol, plausible threat event, likelihood/impact rationale, existing controls, owner, response, and verification. A public gallery and a private project database have different requirements. A proposed control should reduce the stated exposure while preserving required work. Record remaining uncertainty and residual risk rather than treating a generic attack label, a warning, or an unused port as a completed breach.
| Layer | Function to recognize | Illustrative evidence or control |
|---|---|---|
| 7 · Application | Application services and messages. | A gallery request, DNS answer, or application authorization event. |
| 6 · Presentation | Representation, encoding, and protection concepts. | Ask where data is encoded or encrypted; real TLS implementations cross a simplified model boundary. |
| 5 · Session | Establishing and managing communication-dialogue concepts. | Distinguish dialogue state from an application login and its permissions. |
| 4 · Transport | TCP/UDP endpoints and transport behavior. | Ports, connection state, retransmissions, or excessive connection attempts. |
| 3 · Network | IP addressing and routed paths. | Source/destination prefixes, next hops, and permitted routed communication. |
| 2 · Data link | Local frames, MAC forwarding, and IPv4 neighbor resolution context. | Switch/VLAN records, ARP bindings, and appropriate link protections. |
| 1 · Physical | Signals and transmission media. | Cable/link evidence, radio measurements, or a physical disruption. |
| Threat or behavior | Possible effect | Useful check or control |
|---|---|---|
| ARP poisoning | Selected IPv4 neighbor traffic can be redirected or disrupted. | Trusted address bindings, approved failover records, appropriate ARP validation, and application encryption. |
| DNS poisoning | False name-resolution information can misdirect a client. | Approved resolver settings, DNS data validation where supported, service identity, and change evidence. |
| MAC flooding | Forwarding-table stress can expose or disrupt eligible local traffic depending on device behavior. | Switch-table/port events and appropriate limits; preserve necessary multi-device ports. |
| IP spoofing | A forged source may mislead weak checks or participate in reflection/disruption. | Appropriate source validation and real authentication; address fields alone are not identity. |
| Rogue DHCP | Clients can receive unintended gateway, resolver, or address settings. | Approved DHCP sources, suitable snooping/trust design, and valid fixed-device exceptions. |
| Unauthorized packet capture | Available cleartext or metadata can be collected. | Validated application protection, correct capture scope, and endpoint/network visibility controls. |
| DoS / DDoS | Bandwidth, state, or application capacity may be exhausted. | Relevant baselines, service health, rate/resource evidence, and proportionate upstream/local mitigation. |
| Service | Typical teaching port / transport | Qualification |
|---|---|---|
| HTTP | TCP 80 | Cleartext HTTP does not supply TLS protection; some services redirect to HTTPS. |
| HTTPS | TCP 443; HTTP/3 commonly uses QUIC over UDP 443 | A TCP-only rule does not permit UDP 443; application fallback is not guaranteed. |
| SSH / SFTP | TCP 22 | Protect server identity and account authorization; SFTP is not FTPS. |
| Telnet | TCP 23 | Typically exposes session content; choose an appropriate protected management method. |
| DNS | UDP and TCP 53 | Do not assume UDP alone covers all required DNS behavior. |
| DHCPv4 | UDP server 67 / client 68 | Local broadcast or relay design determines the path; a DHCP offer is not a trusted identity by itself. |
| FTP | TCP 21 control; separate data connections | Active and passive modes differ; TCP 20 is not every FTP data flow. |
| SMTP relay | TCP 25 commonly for server-to-server transfer | Port alone does not establish encryption, successful delivery, or safe message content. |
| RDP | TCP/UDP 3389 commonly | A permitted flow is not proof of a successful authenticated session. |
A local binding changes: preserve the alternatives
FICTIONAL STAFF-LAN OBSERVATION
Client: 10.186.22.47/24; gateway IPv4: 10.186.22.1
Trusted gateway record: 02:18:60:22:00:01
Earlier neighbor entry: 10.186.22.1 -> 02:18:60:22:00:01
Later neighbor entry: 10.186.22.1 -> 02:18:60:22:00:99
Approved gateway replacement/failover record: none located yet
Switch binding and endpoint process records: requested, not yet reviewed
HTTPS gallery result: certificate validates; normal request succeeds
Plaintext credentials observed: not establishedThe unexpected association warrants investigation for spoofing, unauthorized change, or an undocumented legitimate event. Confirm the trusted record and current network state. The changed binding does not prove all traffic was intercepted or that protected HTTPS content was read. Appropriate binding validation must account for valid DHCP/static devices and authorized failover before enforcement changes.
Document the risk and distinguish load from intent
FICTIONAL RISK / CAPACITY REVIEW
Asset: public studio gallery availability and private project records
Exposure: broad management reach and a legacy cleartext management service
Owner: studio platform lead; proposed control: narrow protected management path
Verification: approved administrator works; guest/unknown administration denied
SEPARATE LOAD WINDOW
Public uplink utilization rises from comparable baseline 28% to 94%.
Gallery task latency rises; connection timeouts increase.
Campaign calendar: a public portfolio launch is scheduled in the same window.
Actual requester distribution and application-resource evidence: still needed.
No conclusion about attack type or actor is established by utilization alone.The management risk has a concrete asset, exposure, owner, and positive/negative verification plan. The load observations support an availability investigation, while the launch provides a competing legitimate explanation. Identify the bottleneck and evidence before declaring DDoS or applying a broad block that could deny real visitors.
Vocabulary in context
- ARP
- IPv4 neighbor-resolution mechanism used on a local link.
- DNS poisoning
- Introduction or use of false name-resolution data.
- On-path position
- A vantage or control point along traffic delivery, with impact constrained by actual protections.
- Attack surface
- Exposed functions and paths through which a system may be affected.
- DoS / DDoS
- Attempted denial of legitimate use, with distributed activity in DDoS.
- Packet capture
- A record of traffic available at a specified observation point.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Does one attack have to fit exactly one OSI layer?
No. Use the model to explain the actual functions and evidence; practical attacks, controls, and implementations can span layers.
2. What does a changed gateway ARP binding establish by itself?
An observed local association changed. Investigate poisoning or an authorized/undocumented change; it does not by itself prove readable HTTPS content or the actor.
3. Does IPv6 use ARP to discover a next-hop MAC?
No. IPv6 uses Neighbor Discovery rather than IPv4 ARP; apply appropriate IPv6 controls and evidence.
4. Does DNSSEC encrypt a name lookup or guarantee the returned application is safe?
No. Validation authenticates signed DNS data within its trust chain. Query confidentiality and application identity/security are separate matters.
5. Does MAC flooding necessarily make every frame visible everywhere?
No. Device protections and forwarding behavior vary. Any unknown-unicast flooding remains subject to the relevant VLAN and port rules; dropping or limiting can also occur.
6. Why review DHCP source and resolver settings after a client receives an unexpected gateway?
An unauthorized DHCP offer can alter client configuration. Compare approved assignments and trust paths, accounting for legitimate relays or fixed-device designs.
7. Are SFTP and FTPS the same protocol, and is TCP 20 every FTP data connection?
No. SFTP uses SSH; FTPS adds TLS to FTP. FTP control/data behavior depends on active or passive mode, so one fixed data-port claim is insufficient.
8. Can HTTPS use UDP 443?
Yes. HTTP/3 commonly uses QUIC over UDP 443. A policy permitting only TCP 443 does not permit that flow, even though both can carry protected web traffic.
9. Does a 94% uplink reading establish DDoS during a portfolio launch?
No. It supports capacity investigation. Compare legitimate demand, source distribution, application/resource behavior, and the actual bottleneck before attributing intent.
10. Why might an on-site firewall fail to restore an already saturated provider link?
Filtering after the bottleneck cannot recover bandwidth already consumed on that link. Appropriate upstream coordination or mitigation may be needed alongside local controls.
3.3 Protecting Networks: Segmentation
Group devices by role and sensitivity, then specify the paths they actually need. A separate address range or VLAN is useful only when the complete attachment, routing, and access policy supports the intended boundary.
Read topic 3.3 notes, evidence, and quick checks
3.3.A: Define zones and required communication before implementation
The studio separates visitors, staff, services, administration, and a public front end. State which source needs which destination/service and which initiation must be denied. A compromised guest should not gain database or management access simply to browse the published gallery. Include supporting services such as DNS, logging, and legitimate administration so the plan is usable and testable.
Separate an IP subnet from a security policy
A subnet identifies a network prefix and supports address/routing design. Different prefixes alone do not enforce least privilege, and an incorrect host mask can change next-hop behavior. In this lab, each /24 has an explicit gateway and role. Confirm addressing and the actual forwarding path instead of assuming a label such as internal means trusted or a different range means safely isolated.
Distinguish access membership, trunks, and routed crossings
A VLAN is a separate layer-2 broadcast domain. Ordinary endpoint access ports place traffic into the planned VLAN; appropriate trunks carry several VLANs without merging them. Cross-VLAN communication needs a layer-3 path and applicable policy. A permissive router can undo the intended access restriction even when VLAN IDs are correct. VLANs do not encrypt payloads or automatically increase physical link capacity.
Use a screened subnet for the public-facing role
A screened subnet, also called a DMZ, separates published services from sensitive internal roles. It can be implemented through a suitable multi-interface boundary or multiple devices; exactly two physical firewalls are not a requirement. Public access should reach the intended service, while a compromised front end should have only its explicitly required internal paths. The permitted database connection still needs database/app authentication and constrained privileges.
3.3.B: Reduce reach without assuming every compromise is contained
Limit initiation by role, exact destination, and required service. The front end needs the specified database and log collector, not broad access to staff workstations or every service. A guest DNS exception must be allowed before a broad internal denial in the stated ordered policy. The boundary reduces available paths without proving that credentials, application permissions, or every alternative route are safe.
Assess paths that stay inside a segment
Traffic between peers in one VLAN can avoid the routed boundary entirely. Host firewalls, client isolation where appropriate, workload controls, and suitable microsegmentation can reduce unnecessary same-zone reach. Microsegmentation applies more granular workload policy, not necessarily a new physical switch for every application. Check the actual enforcement and identity context rather than assuming the diagram observes all local traffic.
Keep publishing, translation, and permission separate
For the lab public service, 203.0.113.84 TCP 443 is published to front end 10.186.55.10 TCP 443 through a stated destination-translation arrangement. The later rule table describes the destination after that translation. NAT changes selected fields; it does not encrypt or itself authorize the application. Different devices evaluate policy and translation in different orders, so record the actual perspective before comparing a real log with a rule.
Verify required service outcomes and prohibited paths together
A positive test should complete the authorized task with the expected identity and result. A negative test needs a known-live target, precise source/service, and matching enforcement evidence; a timeout alone is ambiguous. Verify group assignment, trunk/routing state, return handling, host/application rules, and relevant IPv6 policy as applicable. Retain test scope and remaining uncertainty rather than generalizing one denial to complete isolation.
Separate zones with an explicit routed policy
The studio uses distinct visitor, staff, administration, services, and screened-subnet roles. Solid lines show conceptual attachment to the policy boundary; they do not grant every drawn path permission. The public VIP is translated to the front end in the stated lab view. Same-zone traffic, endpoints, and the complete provider topology are omitted.
The rule table controls the specified new IPv4 TCP/UDP initiations. Return state, necessary control traffic, IPv6, and host/application enforcement require their own design and verification. A DMZ can use one suitable multi-interface boundary; the picture is not a complete deployment configuration.
| Zone / VLAN | IPv4 prefix and examples | Purpose and limits |
|---|---|---|
| Visitors · VLAN 11 | 10.186.11.0/24; test guest .28; gateway .1. | Approved published gallery, studio resolver, and the specified external reference service; no guest administration or direct database access. |
| Staff · VLAN 22 | 10.186.22.0/24; workstation .47; gateway .1. | Managed staff use. This teaching rule subset does not define every staff application requirement. |
| Services · VLAN 33 | 10.186.33.0/24; database .20, DNS .53, log collector .60; gateway .1. | Explicitly authorized database, resolver, and logging roles. |
| Management · VLAN 44 | 10.186.44.0/24; designated admin .14; gateway .1. | A designated administrative source, with account/host controls and a protected management path. |
| Screened subnet / DMZ · VLAN 55 | 10.186.55.0/24; front end .10; gateway .1. | Published TLS front end; internal initiation restricted to required database/logging paths in the teaching subset. |
| Source | Destination / service | Required result |
|---|---|---|
| Guest .11.28 | Resolver 10.186.33.53 UDP/TCP 53. | Permit the stated DNS exchange, subject to resolver policy. |
| Public or guest client | Published gallery, ending at 10.186.55.10 TCP 443 after the stated translation. | Permit the service path; validate TLS identity and application authorization separately. |
| Designated admin 10.186.44.14 | Front end 10.186.55.10 TCP 22. | Permit the approved management path; do not generalize to every source. |
| Front end 10.186.55.10 | Database 10.186.33.20 TCP 5432 and log collector 10.186.33.60 TCP 6514. | Permit those required paths; sensitive application/database access still needs valid credentials and roles. |
| Guest or other unapproved source | Database directly, management SSH, or unrelated internal service. | Deny the specified new initiation and verify the matching policy record. |
Separate addressing is not enough when routed access remains broad
FICTIONAL BEFORE / AFTER REVIEW
Before: Visitors and Services use different VLANs and /24 prefixes.
Routed policy: guest -> any internal service permitted.
Guest .11.28 -> database .33.20 TCP 5432: connection reaches service.
Database login: rejected; no data read is established.
Approved target: guest DNS and published gallery work; direct database denied.
After narrow policy: required DNS/gallery tests pass.
Guest database negative test: matching boundary deny observed.
Database login permissions: reviewed separately.The earlier VLAN/subnet split did not enforce the intended reach restriction, and the reachable service was still able to reject authentication. The corrected boundary test supports the stated direct-path restriction, while application identity and other paths still need their own evidence. A permitted connection is not a completed data read.
A public front end has a narrow internal role
FICTIONAL PUBLISHING / ACCEPTANCE RECORD
Public mapping: 203.0.113.84 TCP/443 -> 10.186.55.10 TCP/443
Translated destination used by the teaching rule table: 10.186.55.10
Front end -> database .33.20 TCP/5432: approved application task succeeds.
Front end -> log collector .33.60 TCP/6514: test record received.
Front end -> staff .22.47 TCP/445: new initiation denied.
Guest -> front end TCP/22: denied.
Designated admin .44.14 -> front end TCP/22: authorized task succeeds.Publishing one service does not authorize front-end access to every internal host or guest management. The accepted application task and received log provide stronger evidence than an open port alone. Preserve the exact rule/NAT perspective and return handling when interpreting a real device. This subset does not configure every production dependency.
Vocabulary in context
- Subnet
- An IP network prefix used in an address/routing plan, distinct from an access policy.
- VLAN
- A separate layer-2 broadcast domain on suitable switching infrastructure.
- Trunk
- A link carrying multiple VLANs while preserving their logical identity.
- Screened subnet / DMZ
- A separated role or zone for published services with controlled internal paths.
- Microsegmentation
- More granular workload or application communication policy.
- Destination translation
- Changing the destination fields under an explicit NAT/publishing arrangement.
Quick checks
Form your answer, then open the question to compare your reasoning.
1. Do different VLANs and /24 prefixes alone enforce the required guest denial?
No. A permissive routed path can still allow access. Verify the attachment, routing, boundary rules, and actual service results.
2. Does a VLAN encrypt traffic or multiply a physical uplink's bandwidth?
No. It separates layer-2 domains. Encryption and physical/shared capacity are different functions.
3. What is the role of an access port versus a suitable trunk?
The ordinary endpoint access port assigns the intended data VLAN. The trunk carries multiple VLANs without merging them; verify both ends and the allowed/forwarding state.
4. Must a DMZ use exactly two physical firewalls?
No. A suitable multi-interface boundary or a multi-device design can enforce the intended zones. Verify actual policy and dependencies rather than counting boxes.
5. Why does the front end need a database exception without broad access to the Services VLAN?
Only the approved database/service path is required. Least privilege narrows destinations and services, while database credentials and application roles remain separate protections.
6. Does a routed firewall necessarily see communication between two peers in one VLAN?
No. The exchange may stay on the local switching path. Consider host/workload controls and appropriate visibility for same-zone traffic.
7. What does the public mapping change, and what does it fail to provide?
It maps the stated public destination to the front end. It does not encrypt, authenticate a user, or replace the access policy.
8. Why note that the rule view is after destination translation?
The destination seen by a rule or log depends on processing order. Comparing the public VIP with a private destination rule without that context can produce a false conclusion.
9. Does a rejected database login undo a too-broad network path?
No. Authentication limited that observed attempt, but unnecessary reach still exists and should be assessed against the intended boundary.
10. What makes a negative path test stronger than an unexplained timeout?
Use the exact source/service against a known-live target and correlate the current enforcement record and relevant destination evidence. Keep the result scoped to that test.
Worked example
A guest device can connect directly to an internal database. Design a narrower trust boundary.
Evidence
Guest network -> database: currently allowed
Application server -> database: required
Guest network -> public internet: requiredSeparate guest devices from sensitive systems and allow database access only from the approved application path and maintenance roles. Verify the guest denial and the legitimate application flow. Segmentation limits unnecessary reach but does not replace application authentication.
Exercises
Exercise 1
Why does a flat network increase the consequences of a compromised guest device?
Show solution
Unnecessary direct paths can let the device reach additional systems. Segmentation with restrictive verified rules reduces that reach and limits some forms of lateral movement.
Exercise 2
Give one allowed and one denied cross-zone flow for a web application and its database.
Show solution
Allow the approved application server to the database on its required service. Deny direct guest-to-database connections. Document any separate approved management path.
