We closed the previous module with a map of the terrain at Nimbus Reservas: an inventory of 22 assets, an attack surface measured across five dimensions, the actors who might attack it and a first STRIDE model of its architecture. Now we enter the conflict. But before touring attacks and defences it is worth marking out the field: what cybersecurity is exactly, what it covers, how the discipline is organised and who does what. Without that map, security turns into a disorderly collection of measures — antivirus here, a firewall there — with no way of knowing what is missing. This lesson gives you the structure: the domains the work divides into, the frameworks that organise it (with the NIST Cybersecurity Framework as the backbone), the industry's roles and teams and how they translate into a 38-person company, and the life cycle of an attack, which will be the skeleton on which the next five lessons are built.
Contents
- What cybersecurity is and how it differs from information security
- The domains of cybersecurity and who owns them in an SME
- Frameworks: the NIST Cybersecurity Framework
- Other frameworks on the map: ISO/IEC 27001, CIS Controls and MITRE ATT&CK
- Roles and teams: Blue Team, Red Team, Purple Team, SOC and CSIRT
- The life cycle of an attack: Cyber Kill Chain and ATT&CK
- What cybersecurity is NOT: three expensive myths
- The map of module 2
- What cybersecurity is and how it differs from information security
In lesson 01-01 we established the distinction between the three terms and settled it; here we simply pick it up again to place the focus of this module.
| Discipline | Scope | Example in Nimbus that falls only within that scope |
|---|---|---|
| Information security | Protects information on any medium, including paper and conversation | The paper contract Sara keeps in a filing cabinet; what Rubén tells a customer over the phone |
| IT security | Protects the systems and equipment that process information | Making sure Iván's laptop does not fail to boot because of a disk fault |
| Cybersecurity | Protects systems, data and people against threats originating in cyberspace, that is, against adversaries acting through connected networks and systems | The bot trying to authenticate against the database server's SSH every few minutes |
The word that defines cybersecurity is adversary. Information security also deals with accidents, mistakes and natural disasters. Cybersecurity deals specifically with someone — a person or an automated programme — who wants something to go wrong and who adapts when you put a barrier in the way.
That difference has an enormous practical consequence:
- A disk fault does not change strategy when you add RAID. An attacker does change vector when you close a port.
- That is why cybersecurity is adversarial and evolving: it is not a state you reach, it is a continuous contest against an intelligent opponent who is also learning. This is the "continuous cycle" idea from 01-01, now with a name attached.
In professional practice the three terms are used as synonyms and nobody is going to correct you. What matters is not the vocabulary but leaving no gaps: if Nimbus only thinks about "cybersecurity" understood as systems, it will forget the printed payroll sheet on the desk and the data Rubén dictates over the phone to someone claiming to be a clinic's administrator. This module concentrates on the adversary; paper and the telephone also appear, because the adversary uses them.
- The domains of cybersecurity and who owns them in an SME
The discipline divides into domains: areas of work with their own techniques, tools and professional profiles. In a large company each domain is a team; at Nimbus, with 38 people, each domain is a responsibility assigned to someone who also does other things. That is the realistic translation, and it is what the last column gives.
| Domain | What it protects | Typical questions | Owner at Nimbus | Developed in |
|---|---|---|---|---|
| Network security | Traffic and the boundaries between zones | What can talk to what? Is traffic encrypted? Is the network segmented? | Lucía | 02-04, 05-04 |
| Application security (AppSec) | Our own code and its dependencies | Does it validate inputs? Does it have injections? What vulnerable libraries does it drag along? | Iván, reviewed by Marta | 02-02, 02-04, 05-05 |
| Data security | The information itself, wherever it lives | Is it classified? Encrypted? Who can export it? When is it deleted? | Marta (data owner), Lucía (media) | 02-04, module 3, 06-03 |
| Identity and access management (IAM) | Who is who and what they can do | Is there MFA? Are there orphaned accounts? Are permissions reviewed? | Marta | 02-05 |
| Security operations (SecOps) | The day to day: logging, detection, response | What do we log? Who looks at the alerts? What do we do when one fires? | Lucía | 05-02, 04-05 |
| Cloud security | The cloud provider's configuration (A-05) | Public buckets? Wide-open security groups? Excessive IAM permissions? | Lucía | 05-07 |
| Physical security | Office, laptops, media, paper | Who gets into the office? Are the laptops encrypted? What happens if one is stolen? | Sara (office), Lucía (equipment) | 02-04, 05-06 |
| Human factor | People as a target and as a defence | Do they recognise phishing? Do they report it? Do they verify through a second channel? | Sara (HR), Marta (content) | 02-03, 06-05 |
| Continuity and recovery | The ability to keep operating | Do we restore the backups? How quickly? Have we tested it? | Lucía | 04-06 |
| Governance, risk and compliance (GRC) | That all of the above is decided, documented and demonstrable | What risks do we accept? Which policy applies? How do we prove it to a customer? | Marta | Modules 4 and 6 |
Three readings of this table that matter more than the table itself:
- All the names repeat. Lucía appears in five domains. That is not a flaw in the example: it is the reality of an SME and it is itself a risk — the one you already identified as A-21, "Lucía's operational knowledge". The answer is not to hire ten specialists but to prioritise, automate and document so that the knowledge does not live in a single head.
- No domain can be empty. If nobody is assigned the human factor, nobody designs the defence against the vector most incidents come through. A domain without an owner is a domain without a defence; it is the owner rule from the 01-04 inventory, now applied to functions rather than assets.
- Domains overlap, and that overlap is where things get lost. Who reviews the IAM permissions on the attachments bucket: the cloud person or the identity person? At Nimbus they are the same person, but as soon as it grows the choice will have to be made explicitly. Breaches usually happen at the seams between domains, not in the middle of any of them.
- Frameworks: the NIST Cybersecurity Framework
A framework is a structure that organises security work so that you can answer two uncomfortable questions: what are we missing? and where do we start? Without a framework, security advances in bursts: you buy whatever a salesperson pitched well or whatever frightened you in the news.
The NIST Cybersecurity Framework (CSF), in its 2.0 version, is the most useful place to start because it is not a product list nor a certification: it is a description of the functions any organisation must cover, whatever its size.
flowchart TD
GOB["GOVERN (GV)\nStrategy, roles, policies,\nthird-party risk, oversight"]
GOB --> ID["IDENTIFY (ID)\nAssets, risks, context\n(all of module 1)"]
ID --> PR["PROTECT (PR)\nPreventive controls:\naccess, encryption, training,\npatching, backups"]
PR --> DE["DETECT (DE)\nLogging, monitoring,\nalerts, anomaly detection"]
DE --> RS["RESPOND (RS)\nContainment, analysis,\ncommunication, eradication"]
RS --> RC["RECOVER (RC)\nRestoration, return to\nservice, lessons learned"]
RC --> GOB
GOB -.->|"governs all five"| PR
GOB -.-> DE
GOB -.-> RS
GOB -.-> RC
The six functions, with the question each one answers and its real state at Nimbus:
| Function | Question it answers | Example of expected outcome | Nimbus's situation today |
|---|---|---|---|
| Govern (GV) | Who decides, on what criteria, and who oversees it? | A policy exists, roles are assigned, supplier risk is managed | Weak. There is no written policy; Marta makes decisions case by case |
| Identify (ID) | What do we have and what can go wrong? | Inventory with owner and criticality; risks assessed | Just done (module 1): inventory A-01…A-22 and STRIDE modelling |
| Protect (PR) | How do we stop it happening? | MFA, encryption, patching, least privilege, training | Partial. There is TLS and there are DB roles; MFA everywhere and systematic patching are missing |
| Detect (DE) | How do we find out it is happening? | Centralised logs, alerts with an owner, periodic review | Very weak. There are logs, but nobody looks at them; the http.server ran for 94 days |
| Respond (RS) | What do we do when it happens? | Response plan, roles, communication to customers and authorities | Non-existent. Nobody knows who to call at three in the morning |
| Recover (RC) | How do we get back to operating? | Tested backups, target times, continuity plan | Unverified. There are backups; a full restore has never been tested |
Why this framework is so valuable for an SME: the table above, done in an hour on a whiteboard, is already a diagnosis. Nimbus discovers that its weakness is not where it thought — "we need a better firewall", which would be Protect — but in Detect, Respond and Govern. And those are precisely the functions almost no product sells you, because they are not bought: they are organised.
The most common misallocation. Organisations concentrate 90 % of the effort on Protect because that is what comes in product form. But the "assume breach" principle from 01-03 says protection will fail at some point; when it does, the only thing that reduces the damage is how well you detect, respond and recover. A team that detects in 20 minutes and contains in an hour suffers an incident. One that detects after three months suffers a breach.
Note: version 2.0 of the CSF added the Govern function precisely because experience showed that failures are rarely technical at their root: they are failures of decision, of assignment of responsibility, or of oversight of third parties. The regulatory and certification detail is covered in 06-02; here we keep to the map.
- Other frameworks on the map: ISO/IEC 27001, CIS Controls and MITRE ATT&CK
There is no single framework, and they do not compete with each other: they answer different questions. Knowing which one serves which purpose saves months spent applying the wrong one.
| Framework | Question it answers | Nature | When it helps Nimbus |
|---|---|---|---|
| NIST CSF 2.0 | Are all the functions covered? | Organising framework, not certifiable | Now: for the initial diagnosis and the roadmap |
| ISO/IEC 27001 | Do we have a documented, auditable security management system? | Certifiable standard with an annex of controls | When a large customer demands it in a contract |
| CIS Controls v8 | What exactly do I do, and in what order? | Prioritised list of 18 controls with concrete actions | Now: the most actionable for a small team |
| MITRE ATT&CK | How do attackers really operate, and would we detect each technique? | Knowledge base of tactics and techniques observed in the real world | When designing detection (05-02) and when analysing an incident |
| OWASP Top 10 | What are the most frequent web application flaws? | List of the ten most widespread risk categories | When developing and reviewing the API (02-02, 05-05) |
How they combine in practice, which is what almost never gets explained:
- The CSF tells you which functions to cover → it is the table of contents.
- The CIS Controls tell you what to do first → they are the task list. Their "Implementation Group 1" (IG1) is designed exactly for organisations of Nimbus's size, with limited resources.
- ATT&CK tells you what to check it against → it is the exam. Each technique in the catalogue is a question: "if this happened here, would we see it?".
- ISO 27001 tells you how to prove it → it is the certificate you show a customer.
For Nimbus today, the sensible answer is: diagnose with the CSF, execute with CIS IG1, verify with ATT&CK, and ISO when the market asks for it. Chasing certification before you have the basics is building the roof before the foundations — and it is expensive too.
- Roles and teams: Blue Team, Red Team, Purple Team, SOC and CSIRT
The vocabulary of teams comes from the military world and appears constantly in the literature and in job adverts. It is worth understanding, and above all it is worth understanding how it translates when you do not have teams.
| Team | Mission | Typical activity | Success metric |
|---|---|---|---|
| Blue Team | Defend: build, harden, monitor and respond | Configure, patch, review logs, contain incidents | Time to detect and to contain; incidents prevented |
| Red Team | Attack under authorisation to test the real defences | Simulate an adversary with specific objectives, without warning the blue team | Did it reach the objective? Was it detected? When? |
| Purple Team | Bring the two together: red runs techniques and blue checks live whether it sees them | Run ATT&CK techniques one by one and tune detection | Detection coverage achieved |
| SOC (Security Operations Centre) | Watch continuously and triage alerts | 24×7 monitoring, triage, escalation | Alerts handled; false positives; triage time |
| CSIRT / CERT | Respond to confirmed incidents | Coordinate containment, forensic analysis, communication | Recovery time; quality of the follow-up analysis |
Two distinctions that are often confused:
- Red Team ≠ penetration test. A penetration test aims to find as many vulnerabilities as possible within a bounded scope and with the organisation forewarned. A red team exercise aims to reach a specific objective ("get to the customer database") while imitating a real adversary, and it assesses both the defences and the detection capability. Developed in 05-03.
- SOC ≠ CSIRT. The SOC watches and detects; the CSIRT responds once an incident is confirmed. In a small company they are the same person, but the separation of functions is still useful, because watching and responding demand opposite mental states: one is sustained routine, the other is crisis.
5.1 How these functions are covered with 38 people
Nimbus does not have and will not have a SOC. And it does not need one. What it does need is that none of the five functions is at zero. The realistic translation:
| Function | How Nimbus covers it | Real cost |
|---|---|---|
| Blue Team | Lucía (infrastructure and operations) and Iván (code), with an explicit percentage of their time reserved — for example, half a day a week blocked out in the calendar for security | Internal, but it must be in the calendar or it does not happen |
| Red Team | Outsourced: an annual penetration test and a review whenever critical functionality ships. Internally, cross code review and STRIDE modelling (01-04) | Contracted; the modelling is free |
| Purple Team | Minimal version: after every incident or test, check whether the logs would have shown it and create the alert that was missing | Free; it only takes discipline |
| SOC | Automatic alerts routed to a channel with one person on a rotating on-call duty. No 24×7: few, good alerts that really do fire | Low, if the number of alerts is kept down |
| CSIRT | A one-page written plan: who decides, who gets called, how a machine is isolated, what is communicated. With an external response provider agreed in advance | Low; the detail is in 04-05 |
The small-team rule: with limited resources, the priority is not to do many things badly but to pick a few and really do them. Ten alerts nobody looks at are worth less than two somebody always attends to. Five policies that are not applied are worth less than one that is.
- The life cycle of an attack: Cyber Kill Chain and ATT&CK
This section is the most important in the lesson, because it structures the whole module. A real attack is not an instantaneous event: it is a sequence of phases, and that sequence is good news for the defender. If the attacker has to chain seven steps together and you break one, the attack does not complete its objective.
The Cyber Kill Chain, formulated by Lockheed Martin, describes seven phases:
flowchart LR
R["1. RECONNAISSANCE\nGather information\nabout the target"] --> A["2. WEAPONISATION\nPrepare the lure\nor the exploit"]
A --> E["3. DELIVERY\nE-mail, web, USB,\nexposed service"]
E --> X["4. EXPLOITATION\nExecute on the\ntarget system"]
X --> I["5. INSTALLATION\nPersistence:\ncome back tomorrow"]
I --> C["6. COMMAND AND CONTROL\nChannel back to\nthe attacker"]
C --> O["7. ACTIONS\nExfiltrate, encrypt,\nfraud, destroy"]
Which defence corresponds to each phase, which is what the model is for:
| Phase | What the attacker does in the Nimbus case | Where the chain breaks | Lesson |
|---|---|---|---|
| 1. Reconnaissance | Looks for subdomains, team e-mail addresses on professional networks, technologies in use | Reduce surface (01-04); limit public information; review DNS and certificates | 02-02 |
| 2. Weaponisation | Prepares a credible e-mail for Sara with a fake invoice | No direct defence: it happens outside your network. Only intelligence and anticipation apply here | 02-03 |
| 3. Delivery | Sends the e-mail; or finds SSH open on 0.0.0.0/0 |
Mail filtering, DMARC, external-sender banner; close ports, WAF, rate limiting | 02-03, 02-04 |
| 4. Exploitation | The attachment executes code; or the exploit takes advantage of an unpatched dependency | Patching, EDR, least privilege, containers without a shell | 02-04, 05-06 |
| 5. Installation | Creates persistence: a scheduled task, an added SSH key, a new token | EDR, file integrity, review of accounts and keys | 05-02, 05-06 |
| 6. Command and control | The compromised machine "calls home" periodically | Egress filtering, DNS with inspection, beaconing pattern detection | 05-02, 05-04 |
| 7. Actions | Exfiltrates the database and encrypts the backups | Segmentation, DLP, immutable backups, rate limiting on exports | 02-04, 04-06 |
The three ideas to take away:
- The defence does not have to be perfect at every phase; it has to work at one. This is exactly the defence in depth of 01-03, now seen along the axis of time instead of the axis of layers.
- The earlier you break the chain, the cheaper it is. Closing a port (phase 3) takes five minutes. Responding to an exfiltration (phase 7) takes months, money and customers.
- Detection matters in every phase, not just the last one. Every phase leaves signals. Nimbus's problem is not that there are no signals: it is that nobody looks at them.
6.1 Mapping to MITRE ATT&CK
The Kill Chain is a linear, simple model, ideal for explaining. It has two limitations: real attacks are not strictly linear (attackers go back and iterate) and the model falls short on everything that happens once inside. That is where MITRE ATT&CK comes in, a catalogue of tactics (the why) and techniques (the how) observed in real incidents.
| Kill Chain phase | Equivalent tactics in ATT&CK |
|---|---|
| 1. Reconnaissance | Reconnaissance, Resource Development |
| 2-3. Weaponisation and delivery | Initial Access |
| 4. Exploitation | Execution, Privilege Escalation |
| 5. Installation | Persistence, Defense Evasion |
| 6. Command and control | Command and Control |
| 7. Actions | Credential Access, Discovery, Lateral Movement, Collection, Exfiltration, Impact |
Notice the imbalance: the last phase of the Kill Chain expands into six ATT&CK tactics. That reflects reality: most of an attacker's work happens after getting in — discovering the network, stealing credentials, moving laterally, collecting data — and it usually lasts days or weeks. That is precisely the window in which a defender with good detection can still win.
The practical use of ATT&CK for Nimbus is not to memorise it but to use it as a detection checklist: take ten techniques relevant to its environment and ask, one by one, "if this happened today, would we see it in any log?". Developed in 05-02.
- What cybersecurity is NOT: three expensive myths
Myths are not innocent: each one translates into a specific decision that leaves a specific gap.
Myth 1: "Security is IT's job"
Why it is false. Look back over module 1: information classification is decided by whoever knows the business, not by whoever administers the server. Verifying a transfer is Sara's job. Whoever spots an odd e-mail is any one of the 38. Whoever decides whether a risk is accepted is Marta.
Consequence of believing it. If Lucía is "the person responsible for security", Sara does not feel responsible for verifying a bank account by phone, and Iván does not feel responsible for validating inputs. Security ends up in the hands of a person who does not control most of the points of failure.
Correct formulation: IT and security are enablers and coordinators; responsibility is distributed and accountability sits with management. That is the CSF's Govern function.
Myth 2: "An antivirus and a firewall are enough"
Why it is false. Both are useful controls, and neither covers what happens most:
| Typical incident | Does the antivirus stop it? | Does the firewall stop it? |
|---|---|---|
| Phishing that steals Sara's password on a fake website | No: there is no malicious file | No: it is normal outbound HTTPS traffic |
| IDOR in the API exposing another tenant's bookings | No | No: it is an authenticated, well-formed request |
| Misconfigured, publicly accessible backup bucket | No | No: it is outside the perimeter, at the cloud provider |
| The consultancy's credential reused and without MFA | No | No: technically speaking it is a legitimate log-in |
| CEO fraud asking for a transfer | No | No |
| A Python dependency with a critical CVE | Rarely | No |
Consequence of believing it. Product is bought and the problem is declared solved. But the three functions Nimbus is missing most — Govern, Detect, Respond — cannot be bought.
Correct formulation: tools are necessary and not sufficient. The healthy proportion in an SME is roughly one third tools, one third configuration and process, one third people.
Myth 3: "Nobody attacks a small company"
We already took this one apart in 01-04 with the chain of the opportunistic attack. Here we add the four arguments that close it for good:
- Scanning is mass-scale, cheap and continuous. Scanning the entire IPv4 address space for a particular port is a matter of hours and a ridiculous cost. A freshly assigned public IP starts receiving automated probes within minutes. Nobody decided to attack Nimbus: a programme found a port.
- The economics favour the small. A large company has a security team, a budget and detection. An SME has valuable data, total dependence on its systems and far fewer defences. For a ransomware group operating at scale, a hundred small, poorly defended victims are better business than one large, well-defended one.
- SMEs are the way in to the large ones. Nimbus serves clinics and academies, and a consultancy has remote access. An attacker who wants to reach a particular customer can come in through the supplier. It is the supply chain pattern we will analyse in 02-06 with real cases.
- The relative impact is greater. A large company absorbs a three-day outage. Nimbus, with a SaaS that clinics' live diaries depend on, cannot: every hour of downtime means clinics that cannot see patients and contracts that do not get renewed.
Conclusion of myth 3: the right question is not "are we interesting?" but "are we reachable and exploitable?". The first question is answered by ego; the second, by a scanner.
- The map of module 2
With the vocabulary and the models now in place, this is the route through the five lessons ahead, articulated around the Kill Chain:
flowchart TB
L1["02-01 (this lesson)\nScope, domains, frameworks,\nroles and the attack cycle"]
L1 --> L2["02-02 TYPES OF ATTACK\nWhat the adversary does\nat each phase of the chain"]
L1 --> L3["02-03 SOCIAL ENGINEERING\nThe most used\nDELIVERY phase of all"]
L2 --> L4["02-04 PROTECTION MEASURES\nThe defences that break\neach link"]
L3 --> L4
L4 --> L5["02-05 IDENTITY AND ACCESS\nThe most cost-effective defence:\nwho you are and what you can do"]
L5 --> L6["02-06 CASE STUDIES\nWhat really happened\nand what always fails"]
L6 --> M3["MODULE 3\nCryptography"]
- 02-02 works through the technical attacks ordered by phase of the chain.
- 02-03 stops at social engineering, which is the dominant delivery phase in real incidents.
- 02-04 presents the catalogue of defences that counters all of the above, layer by layer.
- 02-05 goes deeper into identity and access control, because when the perimeter blurs, identity is the new perimeter.
- 02-06 analyses real incidents and closes with a complete Nimbus case.
Common Mistakes and Tips
Common mistakes:
- Adopting a whole framework in one go. Trying to implement the 18 CIS controls or to get ISO 27001 certified within a quarter guarantees you will give up. Frameworks are used in parts and iteratively.
- Confusing a framework with a product. No vendor "gives you" the NIST CSF. The framework organises your work; tools cover specific parts of it.
- Concentrating all the effort on Protect. It is the most common allocation and the most unbalanced. Detect and Respond are the functions that decide how big the damage is.
- Copying a large company's org chart. Nimbus does not need a SOC or a full-time CISO; it needs the functions to have owners, even if the owner does three other things.
- Using the Kill Chain as if it were linear and strict. Attackers iterate, go backwards and skip phases. The model is a reasoning tool, not a literal description.
- Believing ATT&CK has to be learned by heart. It is a reference catalogue. It is used for specific techniques relevant to your environment, not from memory.
- Treating the myths as somebody else's ignorance. The myths survive because they are comfortable: they let you avoid spending, avoid changing processes and avoid taking responsibility.
Tips:
- Build the table in section 3 for your real organisation, with the six functions and an "honest situation" column. It is the best diagnosis per hour invested that exists.
- Assign a named owner to each domain in section 2, even if it is the same person for several. A domain without a name attached is a domain without a defence.
- When you evaluate a new measure, ask yourself which phase of the chain it acts on. If all your measures act on the same phase, you have a thick, brittle defence.
- Book security time in the calendar, not in your intentions. What is not scheduled does not happen in a 38-person company.
- Start reading ATT&CK with a single tactic — Initial Access — and compare it with the attack surface you measured in 01-04.
Exercises
Exercise 1 — NIST CSF diagnosis of Nimbus
Using everything accumulated in module 1 (inventory A-01…A-22, discovery findings, STRIDE modelling), place each of these seven facts in the CSF function it affects, state whether it is a gap or a strength, and propose one concrete improvement action.
- The
python -m http.serverhad been running for 94 days and nobody noticed. - The
nimbus_apirole has noDELETEpermission and no access to the payroll table. - Backups of the
nimbus-backups-prodbucket exist, but a full restore has never been tested. - Nobody knows who should be called if the servers are encrypted at three in the morning.
- The external consultancy has permanent administrative remote access, with no expiry date and no contract detailing what it may do.
- Attachments are served through signed URLs that expire after 120 seconds.
- The security group had port 22 open to
0.0.0.0/0and it was found by chance while reviewing the inventory.
Exercise 2 — Sharing out the domains without hiring anyone
Marta asks you to propose a formal allocation of security responsibilities among the five people in the management and technical team (Marta, Iván, Lucía, Rubén and Sara), knowing that nobody can devote more than 10 % of their time to security. For each of the ten domains in section 2, state: the main owner, what they would concretely do in their 10 % and what is outsourced.
Also justify a hard decision: who should be ultimately responsible for security at Nimbus, and why?
Exercise 3 — Breaking the chain
An attacker runs the following sequence against Nimbus:
- Finds, in a public GitHub repository, an old configuration file uploaded by mistake, containing the name of the internal subdomain
admin-old.nimbusreservas.example. - Checks that the subdomain still resolves and that it serves an obsolete administration panel with no MFA.
- Tries against it a list of passwords leaked from other breaches, together with team e-mail addresses found on public professional profiles.
- Gets in with the old account of an employee who left a year ago and whom nobody deactivated.
- From that panel, extracts an API token with broad permissions.
- Uses the token against the production API to export customer data over three weeks, in small batches.
Required: (a) assign each step to its Kill Chain phase; (b) for each step, give one measure that would have broken it; (c) point out at which step it would have been cheapest to break and at which it would have been most likely to be detected.
Solutions
Solution 1
| # | CSF function | Gap or strength? | Concrete action |
|---|---|---|---|
| 1 | Detect (and Identify) | Serious gap | Automatic inventory of listening processes compared weekly against an approved list; alert when a new port appears |
| 2 | Protect | Strength | Keep it and extend the same criterion to every new role; review the GRANTs each quarter |
| 3 | Recover | Gap | Quarterly full restore test, timed, with the result documented. An untested backup is not a backup |
| 4 | Respond (and Govern) | Serious gap | One-page plan: who decides, phone numbers, how a system is isolated, what is communicated and to whom. Detail in 04-05 |
| 5 | Govern | Gap | Contract with a defined scope, named accounts, just-in-time access with an expiry date and session logging. Detail in 02-05 and 04-04 |
| 6 | Protect | Strength | Keep it; verify that no long-lived URLs are generated anywhere else in the code |
| 7 | Identify (and Protect) | Gap | Automated review of the cloud configuration in CI, failing the build if a 0.0.0.0/0 appears on administrative ports |
Reading the set as a whole: both strengths are in Protect, and the serious gaps are in Detect, Respond and Govern. Nimbus is a textbook case of the imbalance described in section 3: it knows how to build defences, but it does not know whether they are working or what to do when they fail.
Solution 2
| Domain | Owner | What they do in their 10 % | Outsourced |
|---|---|---|---|
| Networks | Lucía | Quarterly review of firewall rules and segmentation | Annual configuration audit |
| Applications | Iván | Security-focused code review on every PR; attend to dependency alerts | Annual penetration test |
| Data | Marta | Maintain the classification and the retention policy | — |
| Identity and access | Marta | Six-monthly access recertification; joiners and leavers | — |
| SecOps | Lucía | Review the alert channel daily (15 minutes); rotating on-call | Managed detection service if it grows |
| Cloud | Lucía | Automated configuration review; fix whatever it flags | Annual external review |
| Physical | Sara | Office access control, laptop inventory, paper destruction | — |
| Human factor | Sara (with content from Marta) | One simulation and one micro-lesson per quarter | Simulation platform |
| Continuity | Lucía | One restore test per quarter, documented | — |
| GRC | Marta | Maintain the risk register and the policies; answer customer questionnaires | Legal and compliance advice |
The hard decision. Ultimate responsibility should sit with Marta (CTO), not Lucía, for three reasons: (a) security involves accepting risks, and accepting a risk is a business decision that requires authority, not technical knowledge; (b) if the person responsible is the one who administers the systems, they are judging themselves — that breaks the separation of duties from 01-03; (c) the most important outstanding decisions (the consultancy's contract, budget, policy, customer communication) are not technical. Lucía is the operational owner; Marta, the ultimately accountable one. And it is worth writing down, because a responsibility that is not written down dissolves as soon as there is delivery pressure.
Solution 3
| Step | Kill Chain phase | Measure that would have broken it |
|---|---|---|
| 1. Configuration file in a public repository | Reconnaissance | Secret and sensitive file scanning in CI (02-04); private repository policy; rotation after any exposure |
| 2. Obsolete subdomain that still resolves | Reconnaissance | Quarterly DNS review looking for what is left over (01-04); withdrawing services when they are decommissioned |
| 3. Leaked passwords tried against the panel | Delivery (credential stuffing) | MFA on every administrative panel; attempt limits; checking against leaked-password lists (02-05) |
| 4. Account of an employee who left a year ago | Exploitation | Leaver process with immediate deactivation and six-monthly account recertification (02-05) |
| 5. Extraction of an API token with broad permissions | Installation / Credential Access | Tokens with expiry, narrow permissions and limited scope; never permanent tokens (a 01-04 finding) |
| 6. Export in small batches over three weeks | Actions on objectives | Rate limiting per token, alert on anomalous export volume, access audit actually reviewed (02-04, 05-02) |
(c) Where to break it:
- Cheapest: step 2. Deleting an obsolete DNS record takes a minute and needs no tooling at all. Without that subdomain, steps 3 to 6 do not exist. It is the perfect illustration of why reducing surface is the most cost-effective investment.
- Most likely to be detected: steps 3 and 6. A burst of failed authentication attempts against a panel is a very visible signal in any log; so is a sustained, anomalous export over three weeks, if somebody looks. The fact that the attack lasted three weeks does not indicate a sophisticated attacker: it indicates the absence of the Detect function.
Final observation: none of the six steps requires a software vulnerability or an exploit. The whole attack rests on hygiene: a file uploaded by mistake, a forgotten subdomain, reused passwords, a badly executed leaver process and a permanent token. That is the usual shape of real incidents, and the reason the basics pay off disproportionately.
Conclusion
You now know what ground you are standing on. Cybersecurity is distinguished by its object: an adversary who adapts, and hence a discipline that is adversarial and evolving rather than a state you reach. You have seen that it is organised into domains — networks, applications, data, identity, operations, cloud, physical, human factor, continuity and governance — and that in a 38-person company each domain is not a team but a responsibility with a name attached; what must not happen is for a domain to be left without an owner. The NIST Cybersecurity Framework has given you the table of contents with its six functions — Govern, Identify, Protect, Detect, Respond and Recover — and, applied to Nimbus, it has produced an uncomfortable but useful diagnosis: what is missing is not better defences but the ability to know whether they are working and to react when they fail. Alongside it you have placed CIS Controls as the task list, ATT&CK as the detection exam and ISO 27001 as the proof you show third parties.
You have learned the vocabulary of teams — Blue, Red, Purple, SOC and CSIRT — and, more importantly, its realistic translation: you do not need an operations centre, you need none of those functions to be at zero. And you have taken on board the model that structures everything that follows: the life cycle of an attack, with its seven Kill Chain phases and its mapping to the ATT&CK tactics, together with the idea that makes it valuable for the defender: you do not need to win at every phase, breaking one is enough, and the earlier you break it, the cheaper it is. Finally you have dismantled the three myths that leave specific gaps: that security is IT's job, that an antivirus and a firewall are enough, and that nobody attacks a small company — when the right question is not whether you are interesting, but whether you are reachable.
With the map complete, it is time to look closely at the adversary. In the next lesson, Types of Cyber Attacks (02-02), we will work through the technical attacks ordered by the phases of the chain you have just learned: reconnaissance, network attacks, credential attacks, the ten most frequent web application flaws — including the IDOR you already fixed in 01-01 — ransomware with double extortion, supply chain and API abuse. Each one with its minimal example on the Nimbus architecture, its detection signal and the defence that neutralises it.
Fundamentals of Information Security Course
Module 1: Introduction to Information Security
- Basic Concepts of Information Security
- Types of Threats and Vulnerabilities
- Principles of Information Security
- Assets, Attack Surface and Threat Actors
Module 2: Cybersecurity
- Definition and Scope of Cybersecurity
- Types of Cyber Attacks
- Social Engineering and Phishing
- Protection Measures in Cybersecurity
- Identity, Authentication and Access Control
- Cybersecurity Incident Case Studies
Module 3: Cryptography
- Introduction to Cryptography
- Symmetric Cryptography
- Asymmetric Cryptography
- Hash Functions, HMAC and Password Storage
- Cryptographic Protocols
- Key Management, Certificates and PKI
- Applications of Cryptography
Module 4: Risk Management and Protection Measures
- Risk Assessment
- Security Policies
- Security Controls
- Third-Party and Supply Chain Risk
- Incident Response Plan
- Disaster Recovery and Business Continuity
Module 5: Security Tools and Techniques
- Vulnerability Analysis Tools
- Monitoring and Detection Techniques
- Penetration Testing
- Network Security
- Application Security
- System Hardening and Endpoint Security
- Cloud and Container Security
Module 6: Best Practices and Regulations
- Best Practices in Information Security
- Security Regulations and Standards
- Personal Data Protection and GDPR in Practice
- Compliance and Auditing
- Training and Awareness
- Ethics, Legal Aspects and Responsible Disclosure
