HackPath
BootcampCoursesRoadmapPracticePricing
Log inStart learning
Back to courses

Course

Foundations of Information Security

0%
Introduction2 lessons
01The Architecture of Information Security
20m
02Fundamental Security Principles
25m
InfoSec Domains8 lessons
03Network Security Fundamentals
25m
04Application Security Principles
25m
05Operational Security (OpSec) Concepts
25m
06Business Continuity and Disaster Recovery
25m
07Cloud Security Essentials
25m
08Physical Security Mechanisms
25m
09Mobile Device Security Foundations
25m
10Security in Internet of Things (IoT) Environments
25m
Threats5 lessons
11Distributed Denial-of-Service (DDoS) Attacks
25m
12Ransomware Threat Landscape
25m
13Social Engineering Tactics
25m
14Internal Threat Actors
25m
15Advanced Persistent Threat (APT) Campaigns
25m
Cybersecurity Teams4 lessons
16Adversaries and Threat Profiles
25m
17Red Team Operations & Offensive Security
25m
18Blue Team Defensive Operations
25m
19Purple Team Collaboration Framework
25m
Lesson 03·3 / 19·25 min

Network Security Fundamentals

Read a small network policy, distinguish network access from application permission, and assess filtering, alerts and encryption with explicit limits.

EnglishFrançaisDeutschالعربيةहिन्दी

Recall: reaching a service is not permission to use every feature.

In IS-P02, CLASS-READ could log in and read the list, but not change it. Authentication checked account-related evidence; authorisation decided an action's permission. One unavailable request did not establish an attack.

We keep the school service. A client asks for a service and a server provides it over a network. I ask: if a network filter allows an exchange, must the application display the class list? Paper or your notes app is enough.

Learning objectives.

I ask you to:

  • read a rule using source, destination, protocol, port and action;
  • separate a policy, a network record, an application response and an alert;
  • explain the boundaries of firewall, IDS/IPS and VPN protection;
  • propose three zones with necessary exchanges and responsible owners;
  • preserve sources, times and unknowns in IS-N03-R.

Learn to read one exchange.

Network security protects networked devices, data exchanges and the infrastructure carrying them. An internal device is not automatically trustworthy. Location does not establish the user, software condition or permission. The NIST zero trust guidance makes this distinction explicit.

For an exchange, the source sends and the destination names the intended recipient; that name does not prove receipt. A protocol defines communication rules. TCP, Transmission Control Protocol, supports an ordered, reliable data stream between endpoints; it does not itself encrypt it. A port is a numbered communication endpoint used to distinguish services, not a physical connector.

In GUEST-PC → SCHOOL-WEB, TCP 443, the visitor computer is the source, the school web service is the destination and 443 is the destination port. A port number alone proves neither the software running there nor encryption. These names label fictional devices, not machines you should contact.

Read the fictional dossier.

IS-N03 contains teaching records. S1 is an inventory and statement of need; the other entries explicitly say what was recorded or merely declared. They are not captures or tests performed by you.

SourceSupplied information
S1, school statementTEACH-PC and GUEST-PC are user computers; SCHOOL-WEB serves public pages and a restricted class list; SCHOOL-FILES serves teaching files; ADMIN-PC is the management workstation. Teachers need the web and files; visitors need public pages, not the class list or files; administrators need management access.
N1, network filter record, X1 at 10:10GUEST-PC → SCHOOL-WEB, TCP 443, rule r1, ALLOW.
A1, application record for the same X1 at 10:10A visitor session requested the class list; the application returned an access refusal.
N2, network filter record, X2 at 10:11GUEST-PC → SCHOOL-FILES, TCP 445, rule r4, DENY.
D1, detection record, X3 at 10:12TEACH-PC → SCHOOL-FILES, TCP 445; label “unusual access pattern”; action alert-only. No application result is supplied.
P1, prevention record, separate trial X4 at 10:13The IPS reports a block of the selected TEACH-PC → SCHOOL-FILES, TCP 445 attempt. No file-read result is supplied.
V1, remote-access profile statementSelected web-service traffic is intended to use an encrypted tunnel between a remote teacher device and SCHOOL-GW, the school gateway. No active session or actual traffic route is recorded.

Read N1 before A1. ALLOW is the filter's reported action, not a successful list read. The shared X1 identifier links two views of one request; do not count them as two independent tests. N2 reports denial at a filter; it does not say that SCHOOL-FILES is offline.

An observation is what a supplied record reports; an interpretation draws a conclusion from it. A hypothesis is a possible explanation still to check. Other routes, identities, causes and results not supplied remain unknown.

Calculate a policy decision before calling it a result.

A firewall is a device or program applying rules to network exchanges. It can operate between networks or on a device. Some implementations also examine connection state or application data; it is not limited to an external perimeter or a universally fixed inspection depth.

F1 is a declared teaching policy for selected new connections. Read top to bottom and use the first matching rule. “Either” in a cell means either named device. The default r4 covers remaining cases in this model.

RuleSourceDestinationProtocol and destination portDecision
r1TEACH-PC or GUEST-PCSCHOOL-WEBTCP 443ALLOW
r2TEACH-PCSCHOOL-FILESTCP 445ALLOW
r3ADMIN-PCSCHOOL-WEB or SCHOOL-FILESTCP 22ALLOW
r4Any remaining sourceAny remaining destinationAny remaining selectionDENY

For GUEST-PC → SCHOOL-WEB, TCP 443, r1 matches immediately: the model predicts ALLOW. N1 reports that decision for X1. A1 still refuses the class list. These controls ask different questions.

For GUEST-PC → SCHOOL-FILES, TCP 445, r1 fails on destination, r2 fails on source and r3 fails on source; r4 gives DENY, consistent with N2. For ADMIN-PC → SCHOOL-FILES, TCP 22, r3 gives ALLOW. That calculation is not a recorded successful administration session.

F1 is not a deployable full policy. It omits return traffic and supporting infrastructure needs. Port 22 or 445 does not independently identify the real application. Reading F1 does not establish its installation everywhere. See NIST firewall guidance.

Distinguish an alert from a block.

An Intrusion Detection System (IDS) examines selected activity for suspicious patterns and can raise an alert. An Intrusion Prevention System (IPS) can also intervene, for example by blocking, according to its placement and configuration.

D1 is explicitly alert-only. Its label is the detector's assessment, not proof of an intrusion, an attacker or a completed file read. A false positive flags benign activity; a false negative misses harmful activity. Determining either needs evidence beyond the label. No alert in a record would not prove that nothing happened.

P1 reports a block in separate trial X4. It does not convert D1's X3 into a blocked trial or establish that every harmful attempt is blocked. Pattern rules, expected-behaviour comparisons and some machine-learning methods have limits; none guarantees detection. Encrypted content may be unavailable to a sensor without suitable inspection access. See NIST detection and prevention guidance.

Mark where encryption starts and ends.

A Virtual Private Network (VPN) can provide an encrypted tunnel between defined endpoints. A gateway connects networks or mediates access. A tunnel carries selected exchanges inside another connection. V1 describes an intended profile, not an observed protected connection.

Remote teacher device → encrypted VPN tunnel → SCHOOL-GW → school network → SCHOOL-WEB

This is a conditional model. VPN protection concerns traffic actually routed through the configured tunnel and ends at its endpoint. It does not automatically extend from SCHOOL-GW to SCHOOL-WEB, hide identity from every participant or secure a compromised device. Other traffic might take another route. See NCSC VPN guidance.

Transport Layer Security (TLS) can protect an application's connection, such as between a browser and a web service, with confidentiality and integrity when correctly configured and validated. TLS and a VPN can coexist. Without a VPN, a correctly protected TLS connection is not automatically readable by other people on the same wireless network. The dossier establishes neither a negotiated TLS session nor a validated certificate; TCP 443 alone is insufficient. See TLS 1.3.

Data in transit is being exchanged; data at rest is stored. Disk encryption does not automatically protect data after an authorised application decrypts it. Encryption in general should not be assumed to provide every integrity guarantee; authentication, permissions, endpoint security and key handling still matter.

Propose zones without granting automatic trust.

Segmentation separates network areas and controls exchanges between them. A zone groups devices for a policy. Merely drawing boundaries or assigning names does not implement filtering. Devices in one zone can still require separation.

Here is one possible three-zone proposal for S1, not a recorded deployment:

Proposed zoneDevicesNecessary policy question
USERSTEACH-PC, GUEST-PCKeep teacher and visitor permissions distinct even within the same area.
SERVICESSCHOOL-WEB, SCHOOL-FILESPreserve web and file needs; being in the same zone must not give the web server unrestricted access to files.
ADMINADMIN-PCPermit only agreed management exchanges, such as the F1 model's TCP 22 selection.

This is a starting model, not the only correct design. Public web hosting may justify another zone. Internal filtering or device-level controls may be needed for same-zone exchanges. The necessary public pages, teacher file access and administration must not be lost by blocking everything.

Defence in depth combines controls addressing different failures. It reduces dependence on one protection but does not guarantee survival of every failure. A shared configuration mistake can affect several layers.

ControlQuestionExample and limit
Network filterMay this network exchange pass?N1 allows X1; it does not authorise a list read.
Application permissionMay this session perform this action?A1 refuses the list; other application actions are unknown.
Detection and responseWhat needs review and what action follows?D1 alerts only; P1's separate block proves no general detection coverage.

Keep threats and responsibilities in context.

An attack surface is the set of ways a system can be reached or interacted with. Cloud resources, connected objects in the Internet of Things (IoT) and remote work can change that surface and its dependencies. None automatically proves compromise or greater risk. S1 supplies no sensor or cloud deployment; do not invent one.

Possible harm includes file disclosure, improper changes and unavailable teaching services. Financial theft, espionage, ideological disruption, misuse of existing access and accidental configuration errors have different motives or causes. A traffic label alone establishes none of them.

Role or functionContribution to a proposed review
Chief Information Security Officer (CISO)Align security priorities with the school's needs and risk decisions.
IT leadershipAllocate resources and coordinate infrastructure changes.
Network security leadCoordinate network policy, implementation and review.
Network administratorMaintain devices and investigate rule placement and paths.
Security analystCompare records and investigate alerts without treating them as verdicts.
Compliance functionIdentify applicable obligations and evidence requirements; a checklist is not a safety proof.
Risk managementEvaluate potential harm, uncertainties and proportionate priorities.

Roles may overlap in a small school. Testing specialists assess agreed controls only with target, method and timing authorised. An outsourced security service does not remove the school's responsibility. A useful cycle is to confirm needs, review rules, implement approved changes, observe, investigate, test within an agreed scope and update the design. No such new operation is requested here.

Write a sourced network review.

Call your note IS-N03-R. I fill in two entries:

SourcesJustified conclusionLimit or next proposed question
N1 and A1, X1, 10:10The filter reports ALLOW, while the application refuses the visitor's list request.One linked exchange, not proof of list disclosure or all permissions. Ask which existing records cover other actions.
N2, X2, 10:11The filter reports DENY for the guest-to-files selection.Not proof of an offline file server. Ask whether existing authorised teacher-access evidence is available.

Exercises

Exercise 1: correct three conclusions in 2 to 5 minutes.

Use these supplied IS-N03 facts: N1 allows guest → web TCP 443 at 10:10; A1 refuses the same X1 list request. D1, X3 at 10:12, is an alert-only label for teacher → files TCP 445. P1 reports an IPS block of separate trial X4 at 10:13. V1 is an intended VPN profile for selected web traffic, without an observed route.

In IS-N03-R, preserve and correct each claim with sources and one unknown:

  1. “N1 proves the visitor read the list.”
  2. “D1 proves an attack was blocked.”
  3. “V1 proves all teacher traffic is encrypted up to every service.”

Add one proposed review question and a responsible role. Compare after writing.

Exercise 2: make a three-zone proposal on paper.

S1 names TEACH-PC, GUEST-PC, SCHOOL-WEB, SCHOOL-FILES and ADMIN-PC. Teachers need web/files, visitors public web pages but not class-list or file access, administrators management. Use the F1 teaching model: r1 allows TEACH-PC or GUEST-PC → SCHOOL-WEB TCP 443; r2 allows TEACH-PC → SCHOOL-FILES TCP 445; r3 allows ADMIN-PC → either server TCP 22; r4 denies the other selected new connections.

Propose three zones, place all five devices, and name the required exchanges. Calculate F1 decisions for GUEST-PC → SCHOOL-FILES TCP 445 and ADMIN-PC → SCHOOL-FILES TCP 22. State one limit of a shared zone and one permission that remains an application decision. Do not change a real network.

Open questions

Question 1: why keep several controls when one refuses a request?.

N1 reports ALLOW for X1 at 10:10 and A1 refuses its visitor list request. N2 denies guest → files TCP 445 at 10:11. Explain two different questions these controls address. Can we infer that every future failure will be contained?

Carry the boundaries forward.

State the need, network selection, observed action and application result separately. Keep calculated policy, declared configuration and recorded behaviour distinct. The next lesson examines application security, where a reachable service must still decide what each request may do.

Flashcards

Flashcards · 1/10
0001
0001
Unseen

Does being inside the school network establish trust?

0001
0001

Answer

No. Network location alone establishes neither identity, device condition nor permission.

Chapter challenge

Follow the activity instructions and keep your own results.

Open challenge →

You're on a free lesson

Ready to go further?

Unlock all courses, exercises, real-world scenarios and flashcards — everything to build real skills.

Unlock full access →

No commitment · Cancel anytime

Sign in to track your progress.

Sign in to validate →

200+ lessons · Challenges · Flashcards

$99/year — save 31% vs monthly

Unlock full access →