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 02·2 / 19·25 min

Fundamental Security Principles

Use the school service to distinguish security goals, account checks, permissions and privacy, then write conclusions limited to the evidence.

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

Recall: keep the rule and the result separate.

In the previous lesson, P1 forbade visitors from reading the class list. T1 displayed two fictional entries at 09:10; M1 reported a setting change at 09:12; T2 recorded a refusal at 09:15. That refusal did not establish whole-school security.

We keep the same school service. A session associates interactions with an account; a request asks the service for something. Today I ask: can an accepted login justify every action, and does a changed list necessarily mean a security failure?

Learning objectives.

I ask you to:

  • relate confidentiality, integrity and availability to a specific operation;
  • distinguish authentication from authorisation;
  • explain the limits of a log, a signature and a backup claim;
  • identify a privacy question even when access is restricted;
  • preserve sources, times, unknowns and proposals in a short note.

Read the new fictional dossier.

IS-P02 extends the school example; these are new teaching records, not further measurements you have performed. A source identifies where a statement comes from. An observation is reported behaviour; an interpretation is a conclusion based on it; a hypothesis is a possible explanation still to check. Missing information remains unknown.

SourceSupplied information
P2, school owner's ruleCLASS-READ is a test assistant account: read the class list, no updates. CLASS-EDIT is a test teacher account: read and update. Visitors must not read. Teachers need the list during class, 10:00–10:30. The school defines needs; the maintainer manages the application and access settings.
E1, test record at 10:00In the CLASS-READ session, login was accepted; reading the list succeeded; requesting a room change was refused. The authentication method is not supplied.
E2, test record at 10:02In the CLASS-EDIT session, changing the room from A to B was accepted.
E3, test record at 10:03In the CLASS-EDIT session, one request to read the list displayed “service unavailable”. No cause or recovery time is supplied.
L1, supplied application logAt 10:02, the account label CLASS-EDIT is associated with the room update. No person's identity or signature-verification result is supplied.
D1, proposed collectionSomeone proposes adding pupils' home addresses to the class list. No purpose or retention period is given; collection is not reported as performed.
B1, owner's statement“We make a backup each night.” No completed restoration-test result is supplied.

Read E1 in three parts: login, read, update. An accepted login and an update refusal occur in the same account context. We must explain both without inventing a password error.

Three goals answer different questions.

Confidentiality: who may see the information?.

Confidentiality preserves permitted restrictions on reading and disclosure. Under P2, CLASS-READ may read; a visitor may not. Successful reading by CLASS-READ in E1 fits that rule. The visitor disclosure in the earlier T1 did not.

Confidentiality does not mean hiding everything from everyone. A proposed access control, a check of permitted actions, can allow the assistant to read while blocking a visitor. A classification, a sensitivity label with handling rules, helps decide how the list should be treated. Neither a label nor a proposal proves enforcement.

Integrity: are changes appropriate?.

Integrity protects against improper modification or destruction. It does not require information to remain forever unchanged. E2's room update is within the teacher account's permission in P2. That alone does not prove the new room is correct in the real world; an authorised user can also make a mistake.

Refusing CLASS-READ's update in E1 is consistent with P2. It does not show that every other update route is protected. A change review checks a proposed change against the need before accepting it.

Availability: can the authorised user use the service when needed?.

Availability concerns timely, reliable access for permitted users. E3 records a failed reading request during the period in P2. It does not establish a school-wide outage, its duration or an attack.

A backup is a separate copy kept for recovery. B1 states that copies are made; it does not demonstrate that the right copy can be restored in time. A restoration test actually checks recovery. Simply allowing every visitor to read would not be an acceptable way to improve teacher availability.

These goals are often called the CIA triad, from Confidentiality, Integrity and Availability. They are a useful model, not an exhaustive list of every security or privacy concern.

GoalEvidence in this dossierLimit
ConfidentialityE1's permitted read matches P2.Other accounts and paths are not assessed.
IntegrityE1 refuses an unpermitted update; E2 accepts a permitted one.Real-world correctness of room B is not established.
AvailabilityE3 records a failed request at 10:03 during the stated need.Cause, duration and recovery remain unknown.

Authenticate an account, then check permission.

Authentication checks evidence that someone controls an authenticator associated with an account. An authenticator is a means of demonstrating that control, such as a password or a security device. An accepted login is not absolute proof of which person is at the keyboard.

Authorisation decides whether a particular action on a particular resource is permitted. E1 illustrates the difference: login accepted, read allowed, update refused. We cannot infer the service's internal implementation, but the supplied decisions match P2 for those actions.

A factor is a kind of authentication evidence: something known, such as a password; something possessed, such as a security device; or a biological characteristic, such as a fingerprint. Multi-factor authentication (MFA) uses distinct factor types. Two passwords are two knowledge secrets, not two factors. A security device unlocked by a locally checked personal code can combine possession and knowledge. A fingerprint is not a secret or an automatic guarantee of identity.

No method or factor count is given in E1. Stronger authentication also does not grant a right to update. These distinctions follow the NIST digital identity model.

Build evidence without promising perfect attribution.

Non-repudiation concerns evidence that supports resolving disputes about an action's origin or occurrence. A log is an activity record. L1 associates an account with a change, not conclusively a person. Account sharing, stolen credentials or altered records are possibilities to examine, not events proved in this dossier.

Cryptography uses mathematical methods to protect data. A digital signature is a cryptographic result created with a private key and checked with the related public key. A key is a value used by a cryptographic mechanism; the private key is kept secret. Signature checks can support evidence about origin and data integrity, provided the key-to-identity association and the key's control are trustworthy. A digital certificate can bind a public key to an identity under an issuer's assurances; it is not a permission to access any resource.

A signature does not hide the signed text or make false statements true. A log, timestamp or signature does not make denial or disputes impossible. Recording time and keeping a documented history of how evidence was handled help its assessment. IS-P02 supplies no verified signature. See NIST on digital signatures and non-repudiation.

Ask why personal data is needed.

Privacy concerns the effects of collecting and using information about people, including purpose, necessity, sharing and retention. Retention is how long information is kept. Data minimisation means limiting collection to what is needed for a justified purpose.

D1 proposes home addresses without a stated purpose or retention period. Even if only teachers could read them, those questions would remain. Confidentiality alone would not settle privacy. I ask you to draft: “Why are these addresses needed, who needs them, and when should they be removed?” Do not collect any real address.

The applicable obligations and grounds for processing depend on context. This lesson does not declare that consent is always required or sufficient. The NIST Privacy Framework treats privacy risks from data processing beyond access restrictions.

Keep the mechanisms distinct.

The following is a reference for choosing questions, not instructions to install tools.

MechanismWhat it helps withWhat it does not prove by itself
EncryptionUses a key to transform readable data into protected form for confidentiality.Permission, accurate content or integrity in every encryption scheme.
Cryptographic hashComputes a fixed-length value from data to help compare contents against a trusted reference.The author's identity or truth of the contents.
ChecksumA calculated check value often used to detect accidental corruption.Protection against deliberate alteration unless the mechanism provides it.
Digital signatureCan support origin and integrity evidence under stated key and trust assumptions.Secrecy or indisputable human attribution.
Backup and redundancyCopies aid recovery; additional components can maintain service if one fails.A successful restoration or independent failure modes.
Load balancing and maintenanceDistribute work between service instances and keep systems in working condition.Prevention of every outage; maintenance can itself require downtime.

Optional comparison: a hash is not an identity check.

SHA-256, Secure Hash Algorithm with a 256-bit result, is a cryptographic hash. A bit is one digit, 0 or 1. Below, each result is written as 64 hexadecimal characters, a compact notation for values represented with zeros and ones. You only need to compare the values, not memorise or calculate them.

H1 and H2 are calculated teaching examples, separate from E2 and L1. Inputs are the exact text between the backticks, with no quotation marks or final newline, encoded in UTF-8, a way of representing text as data.

ExampleExact inputSHA-256 result
H1room=A8f0e7686ecf9bb192b014aa2c3fc3ae16301fe846912580baeee2a9376b75df3
H2room=B0d9629632e5691c44a320d3ab60997795e8e505deaaf02f3a2c7c4b484397deb

These two inputs have different hashes. A changed hash shows different data when the same method is used. A matching cryptographic hash against a trusted reference supports a match; it is not an absolute mathematical proof of identical inputs, because different inputs can in principle share a result. An untrusted replacement of both data and reference defeats this simple comparison. Neither value identifies who changed the room.

Put processes and tools behind a clear question.

Information security supports teaching, reliable records, people's privacy and the organisation's obligations. A compliant checklist alone does not establish safety. Start with a need and evidence before selecting a tool.

ProcessExample for the school; all actions here are proposals
Assess riskAsk what harm visitor access or unavailable lists could cause; do not invent a probability.
PlanHave the school owner confirm P2, useful recovery time and data needs.
Implement controlsHave the maintainer implement approved permissions; distinguish this from merely writing P2.
Monitor and detectReview logs and alerts. A Security Information and Event Management system (SIEM) collects and correlates selected events; it does not see everything automatically.
RespondInvestigate a suspected incident and coordinate a proportionate response; E3 alone does not prove an attacker.
RecoverRestore an appropriate copy and check the service; B1 is not a completed test.
ImproveCompare outcomes with needs and review remaining gaps.

A firewall applies rules to network exchanges. An Intrusion Detection System (IDS) flags suspicious activity; an Intrusion Prevention System (IPS) can block activity according to its detection and rules. A vulnerability scanner looks for indications of weaknesses; encryption and access-control systems serve different needs. Packet capture, password testing and exploitation tools need their own learning context and permissions. None is needed for this paper exercise. The next lesson develops network protections and their limits.

Write a limited conclusion.

Call your note IS-P02-R, on paper or in an existing notes app. Here is one worked entry:

SourceInterpretationLimit and next question
E1 with P2, 10:00Login accepted, read allowed, update refused: authentication and permission are different decisions.Method and other paths are unknown. Ask the maintainer what existing evidence documents the permission checks; do not send the question here.

Exercises

Exercise 1: review three claims in 2 to 5 minutes.

Use IS-P02 above. In IS-P02-R, preserve each claim, then add its source, correction and one limit:

Evidence reminder for this exercise: P2 permits CLASS-READ to read but not update, and CLASS-EDIT to read and update during class, 10:00–10:30. E1 at 10:00 accepts CLASS-READ login and read but refuses update. E2 at 10:02 accepts CLASS-EDIT's room change A to B. E3 at 10:03 records one unavailable read for CLASS-EDIT. B1 states nightly backups without a restoration result. D1 proposes home addresses without a purpose or retention period.

  1. “The room changed in E2, so integrity necessarily failed.”
  2. “The accepted login in E1 gives CLASS-READ permission to update.”
  3. “E3 proves an attack; B1 proves the service can be restored.”

Finish with one privacy question about D1 and one proposed owner for the next review. Compare only after writing your first answers.

Exercise 2: compare without attributing, if you read H1/H2.

Using only the optional table, state whether the two hashes match. Can the difference identify a person or prove that room B is correct? Keep calculated examples separate from the supplied log L1.

The relevant comparison is H1 for room=A, hash beginning 8f0e, and H2 for room=B, hash beginning 0d96. L1 associates CLASS-EDIT with the update at 10:02 without identifying a person.

Open questions

Question 1: would blocking every account solve the problem?.

Use P2, E1 and E3 to explain the effect of blocking all reads during class. Propose a more precise review without asserting it was implemented.

P2 says teachers need the list during class, 10:00–10:30. E1 at 10:00 allows CLASS-READ to read but refuses its update. E3 at 10:03 records one unavailable read for CLASS-EDIT. No cause or repair is supplied.

Keep goals, decisions and evidence separate.

CIA asks about permitted disclosure, appropriate changes and usable access. Authentication, authorisation, attribution evidence and privacy add distinct questions. State the operation and source before claiming a goal is met. Keep your note for the Introduction chapter challenge already attached to the first lesson.

Flashcards

Flashcards · 1/10
0001
0001
Unseen

What does CIA stand for?

0001
0001

Answer

Confidentiality, Integrity and Availability: permitted disclosure, appropriate changes and reliable access when needed.

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 →