On 20 October 2028, at 17:12, an administrative worker at the Valencia warehouse called 017 because he could not open a delivery note. It was the start of the recovery drill, and the scenario chosen was not a phishing email or a MiRutalia vulnerability. It was this: the ERP supplier is compromised and its standing remote access is used to encrypt fs01 and the ERP itself.
It was not chosen for drama. It was chosen because it is the scenario with the highest real likelihood and the weakest control coverage at Rutalia: Tecnosur Sistemas, S.L. has had an open connection into VLAN 20 since 2019, with an account shared between three technicians, no MFA, no time window and no session logging. Hypothesis H5 —compromise through the ERP supplier— has been open since the threat model in module 1, has a formal exception associated with it (EXC-2027-014, for the legacy TLS) and is, as of January 2029, the only critical risk on the map that has not been treated.
That is what this lesson is about: your company's perimeter no longer coincides with its walls. You have hardened the systems, segmented the network, rolled out MFA and tested the backups. And you still have fourteen companies with access to your data, your systems or your premises, over which you exercise no direct technical control and whose level of security you have never checked. You are going to build the inventory, the questionnaire, the clauses, the temporary access procedure that replaces standing access, the monitoring and the exit. And you are going to look at yourself from the other side of the mirror, because for Alventa, the supplier is you.
Important notice. This content is for training purposes and does not constitute legal advice. The contractual clauses reproduced here are teaching examples and not ready-to-use models: their wording, how they fit with the main contract, the liability regime and the consequences of breach must always be reviewed with a legal professional. The obligations deriving from Article 28 of the GDPR must also be validated with the data protection officer. The companies, people, contracts and amounts of Rutalia Logística are fictitious.
- Why the weakest link is no longer inside
There has been a structural change over the last decade that is worth understanding before looking at any table: attacking a supplier is more profitable than attacking its customers one by one.
If an attacker wants to get into 200 medium-sized companies, they have two options. Attack 200 times, with 200 reconnaissance efforts, 200 phishing emails and 200 chances of being detected. Or attack just once the company that sells them their management software, and get into all 200 through a signed update that they will all install without suspicion.
The economics of the attack explain the rest:
| Dimension | Direct attack | Supply chain attack |
|---|---|---|
| Effort per victim | High: each company requires its own reconnaissance | Very low: one compromise, many victims |
| Likelihood of detection | Medium: each attempt generates signals | Low: it arrives through a trusted channel |
| Initial privilege | Usually that of an ordinary user | Usually administrative: the supplier needs privileges to do its job |
| Controls that stop it | Training, filtering, EDR, segmentation | Far fewer: the access is authorised and legitimate |
| Reversibility | It is contained and closed | Difficult: everything the supplier touched has to be audited |
The third row is the decisive one and the one that is almost never thought about. An IT supplier comes in through the front door. Tecnosur does not have a warehouse user account: it has an account that can modify the ERP database, and that for years had domain administrator credentials «because the installer asked for them». When you compromise a supplier, you do not start from outside: you start from the centre.
And there is an additional effect: obligations flow down the chain. This is the fourth question in the method from 06-01. Even if NIS2 did not reach Rutalia directly, its customers within the scope of NIS2 have the express obligation under Article 21(2)(d) to manage supply chain security, including the security of relationships with their direct suppliers. Rutalia is a direct supplier. The requirement arrives anyway, by contract, and it arrived on 9 January 2029 in the form of a letter from Alventa.
- Types of third-party dependency
Before taking inventory you need to know what you are looking for. The usual mistake is to think only of «IT suppliers» and leave out half the risk.
| Type of dependency | What it is | Characteristic risk | Examples at Rutalia |
|---|---|---|---|
| IT service providers with access | They maintain your systems and need to get into them | Standing privileged access; shared credentials | Tecnosur (ERP), network support |
| SaaS and cloud services | Your data lives on their platform | Concentration: a failure on their side leaves you with nothing; misunderstood shared configuration | AWS, Microsoft 365, FleetTrack, payment gateway |
| Maintenance with remote access | Industrial equipment, facilities, hardware | Permanent tunnels nobody remembers; equipment that «phones home» | Maintenance of the cold stores, CCTV |
| Outsourced development | They write code that you run | They introduce vulnerabilities or dependencies; they access environments | One-off developments on MiRutalia |
| Software components and libraries | 80 % of your application was not written by you | Inherited vulnerability; compromised package | Flask dependencies, PostgreSQL libraries |
| Hardware and firmware | Devices with software you do not control | End of support; embedded credentials; backdoors | A006 IoT sensors, tablets, firewalls |
| Professional services with access to data | They do not touch systems, but they process data | A breach on their side; undeclared sub-processors | Payroll bureau, legal advisers, DPO |
| Logistics services that process data | Transport subcontractors | Sub-processors of a processing engagement: the chain gets longer | Extra hauliers at peak times |
| Physical access | They come onto your premises | Access to unattended workstations, papers, cabinets, the server room | Cleaning, maintenance, security, document destruction |
| Utilities and connectivity | Without them you cannot operate | Unavailability; single point of failure | Telecoms operator, electricity supply |
The last three rows are the ones that are systematically forgotten. Cleaning staff come into the offices at night, where there are workstations that may not be locked and papers that may not have been put away —that is why POL-RUT-13, clear desk and clear screen, exists—. And the telecoms operator is, in continuity terms, as critical as the ERP.
- Rutalia's third-party inventory
This is the first deliverable, and in most SMEs it does not exist. Do not confuse it with purchasing's supplier list: that also includes whoever supplies the paper. What is needed is the inventory of third parties with access to systems, data or premises.
| Id | Supplier | Service | Data accessed | Access level | Criticality | Art. 28 processor? | Contract | Status |
|---|---|---|---|---|---|---|---|---|
| TR-01 | Tecnosur Sistemas, S.L. | ERP maintenance and support (A002) | The whole ERP database: customers, invoicing, shipments | Standing remote, privileged | CRITICAL | Yes | 2019 maintenance contract, no security annex | NON-COMPLIANT |
| TR-02 | AWS (Amazon Web Services EMEA) | IaaS: rutalia-backups-clientes backups, static website, logs, MiRutalia hosting |
Customer and employee backups; MiRutalia data | Platform | CRITICAL | Yes | Service terms + data addendum | Compliant, transfer assessment pending |
| TR-03 | Microsoft (Microsoft 365) | Email, files, collaboration, hybrid directory | Practically everything that goes through email | Platform | CRITICAL | Yes | Terms + data addendum | Compliant, transfer assessment pending |
| TR-04 | FleetTrack Ibérica, S.L. | Fleet telematics (A007 and T-05) | Geolocation of 60 drivers | Platform | HIGH | Yes | Signed 2029-04-02 | Compliant |
| TR-05 | Gestoría Ebro Asesores, S.L. | Payroll and employment obligations | Data on 180 employees, including special categories | Receives files | HIGH | Yes | 2017 contract, no breach notice deadline clause | NON-COMPLIANT |
| TR-06 | Sentinela MDR, S.L. | Managed EDR and 24×7 monitoring | Telemetry from the 140 computers and servers; can isolate machines | Privileged agent on every endpoint | CRITICAL | Yes | 2028, with security annex | Compliant |
| TR-07 | CiberTest, S.L. | Annual pentest and incident response retainer | During an engagement, broad access to logs and systems | Just-in-time | HIGH | Yes | 2027, with NDA and annex | Compliant |
| TR-08 | PagaTic | MiRutalia payment gateway | No card data passes through Rutalia | Redirect | MEDIUM | No (controller in its own right) | Terms + PCI DSS AOC | Compliant |
| TR-09 | Seguridad Pilar, S.A. | CCTV and alarm maintenance (T-04) | Images from the three warehouses | Remote access to the recorder | HIGH | Yes | 2021, no annex | NON-COMPLIANT |
| TR-10 | Movilia MDM, S.L. | Management of the 60 fleet tablets | Inventory, location and managed content of the tablets | Privileged console | MEDIUM | Yes | 2026, with annex | Compliant |
| TR-11 | Datalex Compliance, S.L. | External data protection officer | Access to documentation and records of processing | Documentary | MEDIUM | No (Art. 37 role) | 2029, with confidentiality | Compliant |
| TR-12 | Bretón & Aguilar Abogados | Legal and employment advice | Case files, contracts, personnel data in litigation | Documentary | MEDIUM | Yes (depending on the engagement) | Engagement letter | To be reviewed |
| TR-13 | Conecta Aragón Telecom | Connectivity for the four sites and MPLS | Data in transit (encrypted) | Network | HIGH (continuity) | No | Contract with SLA | Compliant |
| TR-14 | SensorTech (A006 manufacturer) | IoT temperature sensors | Temperature telemetry | Unsupported product | MEDIUM | No | Unsupported since 2027 | EXC-2028-003 |
| TR-15 | Extra hauliers (4 companies) | Subcontracting at peak times | Recipient data, including customers' data | Receive lists | HIGH | Yes, and they are SUB-PROCESSORS | Commercial contract with no data annex | NON-COMPLIANT |
| TR-16 | Limpieza Ebro Servicios, S.L. | Cleaning of offices and warehouses | Out-of-hours physical access | Physical | MEDIUM | No | Contract with no confidentiality clause | NON-COMPLIANT |
| TR-17 | Reciclatec Documentos, S.L. | Certified document destruction | Paper documentation at every level | Physical collection | MEDIUM | Yes | With destruction certificates | Compliant |
What the inventory reveals the first time it is done. Seventeen third parties, not the «four or five» people quote from memory. Six non-compliant. And three findings that no technical tool would have detected:
- TR-15, the extra hauliers. They receive lists of recipients who, to a large extent, belong to customers. Rutalia is the processor of that data and is subcontracting it without the express authorisation of the controller, which infringes Article 28(2) of the GDPR and, almost certainly, the contract with Alventa itself. It is the most serious finding in the inventory and it has nothing to do with IT.
- TR-09, the CCTV maintainer. It has remote access to the recorder at all three warehouses, in other words to the images of everyone who works there, and there is no data processing agreement and no log of its access.
- TR-16, the cleaners. Night-time physical access with no confidentiality clause and without having been given the security rules.
The terceros.csv file
id,supplier,service,criticality,access,data,art28_processor,contract,security_annex,contract_date,last_review,next_review,certifications,security_contact,breach_notice_deadline,status
TR-01,"Tecnosur Sistemas S.L.","ERP maintenance",CRITICAL,"Standing remote privileged","Full ERP",yes,"Maintenance 2019",no,2019-03-01,,2029-06-30,"none declared","[email protected]","not agreed",NON_COMPLIANT
TR-02,"AWS EMEA SARL","IaaS and backups",CRITICAL,"Platform","Customer and employee backups",yes,"Service terms",yes,2023-05-10,2029-02-14,2030-02-14,"ISO 27001;ISO 27017;ISO 27018;SOC 2 type II;ENS","via console","without undue delay",COMPLIANT
TR-03,"Microsoft Ireland","Microsoft 365",CRITICAL,"Platform","Email and files",yes,"Service terms",yes,2022-09-01,2029-02-14,2030-02-14,"ISO 27001;SOC 2 type II;ENS","via console","without undue delay",COMPLIANT
TR-04,"FleetTrack Iberica S.L.","Fleet telematics",HIGH,"Platform","Driver geolocation",yes,"Services 2029",yes,2029-04-02,2029-04-02,2030-04-02,"ISO 27001","[email protected]","24 h",COMPLIANT
TR-05,"Gestoria Ebro Asesores S.L.","Payroll",HIGH,"Receives files","Employee data and special categories",yes,"Services 2017",no,2017-01-15,,2029-05-31,"none declared","[email protected]","not agreed",NON_COMPLIANT
TR-06,"Sentinela MDR S.L.","Managed EDR",CRITICAL,"Privileged agent","Telemetry from all computers",yes,"Services 2028",yes,2028-08-20,2029-02-14,2030-02-14,"ISO 27001;SOC 2 type II","[email protected]","4 h",COMPLIANT
TR-07,"CiberTest S.L.","Pentest and response",HIGH,"Just-in-time","Logs and systems during engagement",yes,"Retainer 2027",yes,2027-11-03,2029-01-20,2030-01-20,"ISO 27001;CREST","[email protected]","24 h",COMPLIANT
TR-09,"Seguridad Pilar S.A.","CCTV and alarms",HIGH,"Remote to recorder","Images from three warehouses",yes,"Maintenance 2021",no,2021-06-01,,2029-04-30,"none declared","[email protected]","not agreed",NON_COMPLIANT
TR-15,"Extra hauliers (4)","Route subcontracting",HIGH,"Receive lists","Customers' recipients",yes,"Commercial, no annex",no,2020-01-01,,2029-05-31,"none","various","not agreed",NON_COMPLIANT
TR-16,"Limpieza Ebro Servicios S.L.","Cleaning",MEDIUM,"Physical at night","Access to workstations and papers",no,"Services 2022",no,2022-04-01,,2029-06-30,"none","[email protected]","not applicable",NON_COMPLIANT
- Six supply chain attack patterns
No names or headlines are needed: what is useful are the patterns, because they repeat and because each one has its countermeasure.
Pattern 1 — Compromise of the software vendor and a malicious update
An attacker compromises a software manufacturer's build or distribution infrastructure and introduces malicious code into a legitimate release, signed with the manufacturer's genuine certificate. Every customer that updates is compromised at the same time, with maximum privilege, and with no warning sign at all: the update is authentic.
- Why it works: the update channel is a channel of maximum trust, run with privileges and explicitly excluded from the controls that block unknown software.
- Realistic countermeasures in an SME: do not update every system on the same day (staggered windows), segment so that the supplier's server does not talk to everything, monitor behaviour after an update with the EDR (not the signature, but what the binary does afterwards), and require the supplier contractually to notify compromises of its own infrastructure.
Pattern 2 — The supplier's standing remote access
The supplier has a permanently open connection, often with an account shared between several technicians, without MFA and with no expiry. All it takes is compromising one of the supplier's laptops —or one of its employees leaving while their credential stays live— to get into the customer.
- Why it works: it has been the default model for IT maintenance for thirty years, and nobody questions it because «otherwise they can't work».
- Countermeasure: it is exactly section 12 of this lesson, and the Tecnosur case.
Pattern 3 — Shared and reused credentials
The supplier uses the same password at several customers, or the installer creates a service account with a password documented in its public manual, or the technician notes down the credentials of all their customers in a spreadsheet.
- Countermeasure: named accounts for each individual at the supplier, never generic ones; credentials generated by the customer, not by the supplier; rotation when the supplier's staff change.
Pattern 4 — Compromised library or dependency
A widely used open source package incorporates malicious code —through compromise of the maintainer's account, a malicious contribution or a package that impersonates another's name— and reaches thousands of applications that include it as a transitive dependency.
- Why it works: nobody knows what is really inside their application. MiRutalia is a Flask application with a handful of direct dependencies and, almost certainly, more than a hundred transitive ones.
- Countermeasure: a dependency inventory (SBOM), pinning exact versions with integrity verification, automatic vulnerability scanning and human review before adding a new dependency. From the engineering side, this is 08-01; here it is a requirement written into the contract.
Pattern 5 — Mass inherited vulnerability
There is no malice: a widely used library turns out to have a critical vulnerability that is trivially exploitable. Everyone who includes it —often without knowing it, three levels down the dependency tree— is exposed within hours. The case that set the pattern was the remote code execution vulnerability in a Java logging library in December 2021, known as Log4Shell.
- What it taught: that the urgent question was not «how do I patch it?», but «where do I have it?». Organisations with a software inventory and SBOMs answered in hours; the rest took weeks to find out whether they were affected.
- Countermeasure: inventory. CIS Control 2 —inventory of software assets— which 06-01 marked as absent at Rutalia.
Pattern 6 — Compromise of the managed service provider
An attacker compromises a provider that manages the systems of dozens of customers, and uses its legitimate remote administration tools to deploy ransomware at all of them simultaneously.
- Why it is devastating: the deployment tool is the same one used to install patches, it is authorised on every endpoint and it runs with system privileges.
- Countermeasure: require the provider to have mandatory MFA on its own platform, segmentation between customers, logging of deployment actions and immediate notification of any compromise of its own. And, on the customer's side, make sure the backup server is not in the domain or within reach of the management tool, which is exactly the pull architecture from 05-05.
- The third-party management lifecycle
Supplier management is not a questionnaire filled in once: it is a cycle with five phases, each with its deliverable.
flowchart TD
A["<b>1. IDENTIFICATION AND CLASSIFICATION</b><br/>Added to the inventory<br/>What data, what access, what impact if it fails<br/>Criticality: CRITICAL / HIGH / MEDIUM / LOW"]
B["<b>2. PRIOR DUE DILIGENCE</b><br/>Questionnaire proportionate to criticality<br/>Certifications and reports<br/>Score and decision: accept, make conditional or reject"]
C["<b>3. CONTRACTING</b><br/>Security annex<br/>Art. 28 data processing agreement<br/>Confidentiality agreement<br/>Service levels and exit plan"]
D["<b>4. OPERATION AND MONITORING</b><br/>Just-in-time access and quarterly review<br/>Annual supplier review<br/>Security advisories and incident management<br/>Session logging"]
E["<b>5. EXIT</b><br/>Recovery of data in a usable format<br/>Revocation of all access<br/>Certificate of erasure<br/>Removal from the inventory"]
A --> B --> C --> D
D -->|"Renewal"| B
D --> E
E -.->|"Replacement"| A
F["<b>TRIGGERS FOR AN EXTRAORDINARY REVIEW</b><br/>Incident at the supplier - Change of ownership<br/>Change of sub-processors - Change of scope<br/>Serious security advisory - End of support"]
F -.-> D
style A fill:#1a237e,color:#fff
style B fill:#283593,color:#fff
style C fill:#3949ab,color:#fff
style D fill:#5c6bc0,color:#fff
style E fill:#9fa8da,color:#000
style F fill:#b71c1c,color:#fff
The arrow most often forgotten is renewal: a supplier contracted in 2017 and tacitly renewed twelve times has never been back through phase 2. That is exactly the case of Rutalia's payroll bureau.
- Classification by criticality: not all deserve the same effort
An expensive mistake is applying the same 78-question questionnaire to AWS and to the cleaning company. It makes no sense and it is not sustainable in an SME with ten people in IT.
Criticality is decided with three questions, and the highest answer wins:
| Question | CRITICAL | HIGH | MEDIUM | LOW |
|---|---|---|---|---|
| What access does it have? | Privileged access to production systems, or it is the platform where the data lives | Access to personal data or to a relevant system | Limited or physical-only access | None |
| What data does it process? | Special categories, or a high volume of customer/employee data | Identifying personal data | Professional contact details | None |
| What happens if it fails or goes down? | Business stops in under 4 h | Significant degradation | Manageable inconvenience | Irrelevant |
And the effort is sized accordingly:
| Criticality | Questionnaire | Evidence required | Review | Clauses |
|---|---|---|---|---|
| CRITICAL | Full (25 questions) + interview | Current certification or audit report, plus a recent pentest, plus a continuity plan | Annual, with minutes | Full annex, audit, notification within 24 h, exit plan |
| HIGH | Full (25 questions) | Certification or documented answers + evidence of two key controls | Annual | Full annex |
| MEDIUM | Short (10 questions) | Self-declaration | Every two years | Confidentiality + basic clauses + Art. 28 where applicable |
| LOW | No | — | On renewal | Confidentiality |
For Rutalia this means five suppliers with the full treatment (TR-01, TR-02, TR-03, TR-06 and, for continuity, TR-13), six at the high level and the rest under a light regime. It is weeks of work, not years.
- Prior due diligence: the questionnaire that really matters
Supplier questionnaires have a deserved bad reputation: there are 300-question forms that nobody reads and that the supplier answers by copying and pasting. A useful questionnaire for an SME has between 20 and 25 questions, all with verifiable answers, and each one exists because its answer changes a decision.
# cuestionario_proveedores.yaml - Rutalia Logistica, S.L. - v1.0 - 2029
# Applies to suppliers of CRITICAL and HIGH criticality.
# Scoring: each question scores 0, 1 or 2 points. Those marked as KNOCKOUT
# with an answer of 0 prevent contracting unless expressly approved by senior management.
metadata:
supplier: ""
service: ""
date: ""
answered_by: "" # name, position and email
attached_evidence: []
blocks:
A_governance:
- id: A1
question: "Do you have an information security policy approved by your
senior management? State the date of the last review and attach
it or provide its table of contents."
evidence: "Document or table of contents with approval date"
criterion: "2 if it exists and was reviewed less than 24 months ago; 1 if it
exists without a recent review; 0 if it does not exist"
- id: A2
question: "Is there a person or team responsible for security? State the
name, position and security contact email."
evidence: "Named contact"
criterion: "0 if the answer is a generic support mailbox"
- id: A3
question: "Do you hold ISO/IEC 27001 certification, ENS conformity, a
SOC 2 type II report or another equivalent that is current? State
the scope and expiry date and attach the certificate."
evidence: "Certificate with a legible SCOPE"
criterion: "2 with a certification whose scope covers the contracted service;
1 if the certification does not cover that scope; 0 if there is none"
B_people:
- id: B1
question: "Do your staff sign confidentiality agreements and receive security
training? Frequency and most recent session."
criterion: "2 if there is documented annual training"
- id: B2
question: "What procedure do you follow when an employee with access to our
systems leaves? Within what time is their access revoked?"
evidence: "Written procedure"
knockout: true
criterion: "2 if on the same day; 1 if within 72 h; 0 if there is no
procedure or the time is undefined"
C_access:
- id: C1
question: "Which specific people will access our systems or data?
Do they use named or shared accounts?"
knockout: true
criterion: "0 if they use shared accounts"
- id: C2
question: "Do you require multi-factor authentication for access to our
systems and to your own administration tools?"
knockout: true
criterion: "2 for both; 1 for only one; 0 for neither"
- id: C3
question: "From which devices do you connect? Are they managed by the company,
encrypted and protected by endpoint security?"
criterion: "0 if they connect from unmanaged personal devices"
- id: C4
question: "Do you accept a JUST-IN-TIME access model, activated on
request, with a limited time window and session logging,
instead of standing access?"
knockout: true
criterion: "2 if accepted without conditions; 0 if you require standing access"
D_data:
- id: D1
question: "Where is our data stored? State the country and infrastructure
provider."
- id: D2
question: "FROM WHICH COUNTRIES is the data accessed for support,
administration or development?"
note: "Key question: detects undeclared international transfers"
- id: D3
question: "Complete list of sub-processors with country and service. How, and
with how much notice, do you notify additions and removals?"
knockout: true
criterion: "0 if you cannot provide the list"
- id: D4
question: "Is the data encrypted in transit and at rest? Who holds the
keys?"
- id: D5
question: "What happens to our data when the contract ends? In what
format is it returned, within what time, and do you prove erasure?"
knockout: true
E_operations:
- id: E1
question: "How often do you apply security patches, and within what time
the critical ones?"
criterion: "2 if there is a written policy with deadlines by severity"
- id: E2
question: "Do you carry out vulnerability scanning and penetration testing?
Date and scope of the most recent one and executive summary."
evidence: "Executive summary of the most recent pentest"
criterion: "2 if there is an external pentest less than 18 months old"
- id: E3
question: "What backups do you make of our data, with what retention,
and when did you last test a restore?"
criterion: "0 if you have never tested a restore"
- id: E4
question: "Do you have a business continuity and disaster recovery plan?
When did you last test it? Committed RTO and RPO."
- id: E5
question: "Do you log and retain your staff's access to our systems
or data? For how long? Can we request those logs?"
F_incidents:
- id: F1
question: "Do you have an incident management procedure? Who
coordinates, and through what contact channel out of hours?"
evidence: "24x7 on-call contact"
- id: F2
question: "Within what time do you commit to notifying us of an incident
affecting our data or services?"
knockout: true
criterion: "2 if you accept 24 h or less by contract; 0 if you do not accept it"
- id: F3
question: "Have you suffered any significant security incident in the
last 24 months? If so, describe the impact and the
measures taken."
note: "A well-explained 'yes' scores MORE than a flat 'no'
with no demonstrated detection capability"
G_compliance:
- id: G1
question: "Do you agree to sign the data processing annex under Article
28 GDPR on Rutalia's terms?"
knockout: true
- id: G2
question: "Do you accept the right to audit with 15 days' notice, or the
annual provision of an equivalent independent report?"
- id: G3
question: "Do you have liability insurance covering damage from
security incidents? State the limit and provide a certificate."
- id: G4
question: "How do you manage the security of YOUR suppliers? Do you have
a third-party inventory and do you assess them?"
note: "The question almost nobody asks, and the one that measures real maturity"
scoring:
maximum: 50
thresholds:
- "40-50: SUITABLE. Normal contracting."
- "30-39: SUITABLE WITH CONDITIONS. Improvement plan with milestones in the contract."
- "20-29: NOT SUITABLE unless expressly approved by senior management with the
accepted risk documented and compensating controls."
- "under 20: NOT SUITABLE."
knockout_rule: >
Any question marked as KNOCKOUT that scores 0 requires handling as an
exception under POL-RUT-12, with approval by the Managing Director,
compensating controls and a closure date.
- How to interpret the answers and what evidence to ask for
A completed questionnaire is not evidence: it is a declaration. These are the five reading rules that turn the exercise into something useful.
Rule 1: be wary of the perfect questionnaire. A supplier that answers «yes» to all 25 questions without providing a single piece of evidence and without qualifying anything has either not read the questionnaire or had it answered by sales rather than technical staff. A mature answer contains nuances: «yes, but the pentest covers the platform and not the administration portal», «yes, except for three customers' legacy environment».
Rule 2: question F3 is scored the opposite way to what you might expect. «We have never had an incident» at a company of a hundred people with fifteen years of history means one of two things: that they do not detect them, or that they do not disclose them. A supplier that describes an incident, its impact and what changed afterwards shows that it has detection capability and a culture of improvement. It is the best signal in the questionnaire.
Rule 3: look at the scope of the certificate, not the certificate. An ISO 27001 certification whose scope is «consultancy services at the Madrid office» does not cover the platform you are going to use. The scope is written on the certificate itself and almost nobody reads it.
Rule 4: ask for evidence of two controls, not all of them. Checking everything is impossible. Choose the two controls whose failure would hurt you most and ask for specific proof: for example, a screenshot of the platform's MFA dashboard showing coverage, and the dated report of the most recent restore test. If the supplier cannot produce that within a week, you know what the rest looks like.
Rule 5: question G4 measures real maturity. Asking a supplier how it manages its suppliers separates those who have a programme from those who have a PDF. And it is also the question Alventa will ask Rutalia.
- Certifications and reports: what each one proves
| Evidence | What it really proves | What it does not prove | Value |
|---|---|---|---|
| ISO/IEC 27001 | That there is a management system audited by an accredited third party, with its declared scope | That they will not have an incident; that the scope covers your service | High, if the scope fits |
| ENS conformity (the Spanish National Security Framework, Royal Decree 311/2022) | Category (basic, medium or high) and Annex II measures applied. At basic level it is a self-declaration; at medium and high, a certification | The same as above | High at medium/high; medium at basic |
| SOC 2 type II | That an independent auditor has tested the operating effectiveness of the controls over a period (usually 6-12 months). It includes the exceptions found | GDPR compliance | Very high: it is the one that provides the most real information, because it includes the failures detected |
| SOC 2 type I | That the controls were suitably designed on a given date | That they work over time | Medium-low |
| Recent pentest report | That someone has tried to break it and what they found | That there are no longer any vulnerabilities | High if it is external, less than 18 months old and the summary with findings and their remediation status is provided |
| Product certification | That a specific product meets a scheme | That the organisation is secure | Medium |
| Self-declaration | That someone has signed it | Nothing more | Low, but it is what is reasonable for medium criticality |
The most valuable item in the table, and the least well understood, is the SOC 2 type II: unlike a certificate, it does not say «compliant», but describes the controls, how they were tested and what exceptions were found. A report with documented exceptions and a remediation plan is worth more than a spotless certificate.
And a practical warning: SOC 2 reports are provided under a confidentiality agreement and you have to read them, at least the exceptions section and the complementary user entity controls section. The latter is the one that tells you what you have to do for the supplier's controls to work; ignoring it is the cause of half of all cloud incidents.
- Contractual security clauses, commented
Rutalia's security annex has nine clauses. Each one exists because its absence caused a real problem at some company.
ANNEX III - INFORMATION SECURITY CONDITIONS
Contract: [reference] - Supplier: [name] - Criticality assigned: [level]
1. SECURITY MEASURES
1.1. The Supplier shall maintain, throughout the term of the contract,
technical and organisational measures appropriate to the risk, which shall
include as a minimum: access control with named accounts and multi-factor
authentication, encryption in transit and at rest, patch management with
deadlines defined by severity, protection against malicious code, activity
logging, backups with restore verification and training
of its staff.
1.2. The Supplier may not downgrade these measures during the term of the
contract without prior written notice to the Customer.
2. PERSONNEL
2.1. The Supplier shall maintain an up-to-date named list of the people with
access to the Customer's systems or data, and shall communicate any
change to it within a maximum of 48 hours.
2.2. The Supplier shall revoke its staff's access on the same day on which
their need or their employment ends, and shall inform the Customer.
2.3. The Supplier's staff shall be subject to a duty of confidentiality that
shall survive the termination of the contract.
3. ACCESS TO THE CUSTOMER'S SYSTEMS
3.1. Access shall take place EXCLUSIVELY through the Customer's just-in-time
access procedure, via the bastion host, with named accounts,
multi-factor authentication and a limited time window.
3.2. NO standing access, persistent tunnels or remote access tools of the
Supplier's own shall be established without the express written
authorisation of the Customer.
3.3. The Customer shall log and may record access sessions. The Supplier
shall inform its staff of this and shall provide evidence of having done so.
4. SUBCONTRACTING
4.1. The Supplier shall not subcontract all or part of the services without
the prior written authorisation of the Customer.
4.2. Annex IV contains the list of subcontractors authorised as at the date
of signature. Any addition shall be notified with a minimum of 30 days'
notice, during which the Customer may object on reasoned grounds.
4.3. The Supplier shall impose contractually on its subcontractors obligations
no less demanding than those of this Annex and shall be fully liable for
their compliance.
5. INCIDENT NOTIFICATION
5.1. The Supplier shall notify the Customer, at [email protected] and
the designated contact, of any security incident that affects or may
affect the Customer's systems, services or data, within a maximum of
TWENTY-FOUR (24) HOURS of becoming aware of it.
5.2. The notification shall include: a description of the facts, the date and
time of onset and of detection, the systems and data affected or
potentially affected, the measures taken and a contact person.
5.3. The Supplier shall likewise notify, within the same deadline, any incident
affecting ITS OWN infrastructure that may compromise the security of the
services, even where no impact on the Customer has been
established.
5.4. The Supplier shall cooperate with the Customer during the investigation,
providing logs, information and access to its technical staff.
6. VULNERABILITIES AND UPDATES
6.1. The Supplier shall inform the Customer of known vulnerabilities affecting
the products or services supplied, and of the availability of
fixes.
6.2. The Supplier shall give at least SIX (6) MONTHS' notice of the date on
which security support ends for any product supplied.
6.3. Where software is supplied, the Supplier shall deliver, and keep up to
date, a list of components (SBOM) in a machine-readable
format.
7. AUDIT AND VERIFICATION
7.1. The Customer may audit compliance with this Annex, itself or through a
designated third party, with a minimum of FIFTEEN (15) DAYS' notice and at
most once a year, unless there is an incident, in which case the notice
shall be 48 hours.
7.2. The Supplier may replace the audit by providing a current independent
audit report whose scope covers the services, without prejudice to the
Customer's right to carry out additional checks on reasoned
grounds.
7.3. The Supplier shall answer the Customer's annual security questionnaire
within 30 days.
8. RETURN AND ERASURE
8.1. On termination of the contract, for any reason, the Supplier shall return
all of the Customer's information in a structured, commonly used and
machine-readable format, within a maximum of 30 days, at no additional
cost.
8.2. Once that period has elapsed, the Supplier shall erase the information,
including backups, within a maximum of 90 days, unless there is a legal
obligation to retain it, which it must prove.
8.3. The Supplier shall issue a signed CERTIFICATE OF ERASURE, stating the
scope, the systems concerned, the date and the person responsible.
9. LIABILITY AND INSURANCE
9.1. The Supplier shall maintain in force a liability insurance policy
covering damage arising from security incidents, with a minimum limit of
[amount], and shall provide evidence that it is in force every year.
9.2. [Liability and indemnity regime - to be drafted by the legal advisers,
including its relationship with the limits in the main contract.]The clauses that get forgotten and why they matter
- 5.3 — incidents in the supplier's own infrastructure. Without this clause, a supplier can suffer a complete intrusion and tell you nothing as long as it «has not established any impact on your environment». In patterns 1 and 6, the impact is established weeks later. This clause is the one that lets you react in time.
- 6.2 — six months' notice of end of support. This is exactly what Rutalia lacked with the A006 sensors: the manufacturer stopped providing support and they found out when they went looking for a patch that no longer existed. Six months is the minimum time needed to budget and plan a replacement.
- 7.2 — an independent report as an alternative to audit. Without this safety valve, large suppliers do not sign the right to audit, and small ones sign it but do not honour it. With it, the right is realistic.
- 8.3 — certificate of erasure. «The data will be erased» is a promise; a signed certificate with scope, systems and date is evidence. And it is what you show in an audit when they ask what happened to the previous supplier's data.
- 2.2 — revocation on the same day. It is the same clause that POL-RUT-03 applies internally. Without it, a technician who leaves the supplier keeps access to your systems indefinitely, and neither the supplier nor you find out.
- The data processing agreement
When the supplier processes personal data on Rutalia's behalf, the security annex is not enough: the Article 28 GDPR contract is also needed, whose minimum content is set out exhaustively and which you have already seen in detail in 06-03.
The relationship between the two documents, so that there is no doubt:
| Security annex | Article 28 contract | |
|---|---|---|
| When it is mandatory | When you decide (good practice) | Always, whenever the supplier processes personal data on your behalf |
| What it governs | Technical measures, access, incidents, audit, exit | Instructions, confidentiality, sub-processors, rights, assistance, erasure |
| Who requires it | The customer | The law |
| Consequence of not having it | Unmanaged risk | Infringement of Article 28, punishable under the Article 83(4) tier |
They overlap on three points —security, sub-processors and breach notification— and that overlap must be consistent: if the security annex sets 24 hours for notifying incidents and the Article 28 contract says «without undue delay», the stricter deadline prevails, but it is better to write the same number in both places.
A detail that matters in logistics: when Rutalia subcontracts routes to a haulier (TR-15), that haulier is a sub-processor of the data of Rutalia's customers. And to be able to subcontract it, Rutalia needs the controller's authorisation, the controller being its customer. That authorisation does not exist today, and it is the most serious finding in the inventory.
- Supplier access: from standing to just-in-time
We have reached the operational core of the lesson and the correction of hypothesis H5.
The inherited situation
This was the state of Tecnosur Sistemas' access as of January 2029:
| Characteristic | Status | Risk |
|---|---|---|
| Type of access | Permanent site-to-site VPN from Tecnosur's network into VLAN 20 | A compromise in the supplier's network is a compromise in Rutalia's network |
| Account | soporte_tecnosur, shared between three technicians |
No individual traceability. Impossible to know who did what |
| Authentication | Password, no MFA, no expiry, unchanged since 2021 | Reuse, leakage, persistence |
| Privileges | Local administrator on srv-erp01 and owner of the database |
Full control of asset A002 |
| Hours | Unrestricted: 24×7, 365 days a year | Night-time activity indistinguishable from legitimate activity |
| Logging | Operating system logs, no session recording | Limited forensic analysis |
| Review | None since 2019 | Nobody knows whether the three technicians still work for the company |
And exception EXC-2027-014 on top of that, which also opens a port with legacy TLS.
The target model
Seven changes, all of them achievable in an SME:
| Principle | Implementation at Rutalia |
|---|---|
| 1. Zero standing access | The firewall rule that lets the supplier in does not exist by default. It is created when the request is opened and removed when it is closed |
| 2. Named accounts | ext-tecnosur-jmarin, ext-tecnosur-amoreno, ext-tecnosur-rperez. One per individual, never shared |
| 3. Accounts disabled by default | They exist, but disabled and with an expiry date. They are enabled for the specific window |
| 4. Mandatory MFA | No exceptions, even for emergency access |
| 5. Mandatory passage through the bastion host | bastion01 is the only point from which VLAN 20 can be reached. No direct connections |
| 6. Session recording | All third-party sessions are recorded. Disclosed contractually (clause 3.3) and to the supplier's own staff |
| 7. Time window and review | Maximum 4 hours per request, extendable with a new approval. Quarterly review of all third-party access at the security committee |
sequenceDiagram
participant P as Tecnosur (technician)
participant S as [email protected]
participant D as Diego (sysadmin)
participant B as bastion01
participant E as srv-erp01
P->>S: Access request: reason, task,<br/>estimated duration, named technician
S->>D: Ticket ACC-2029-0147<br/>(approval: Laura or Diego)
D->>D: Checks: is the technician on the current<br/>named list? is the task justified?
D->>B: Enables ext-tecnosur-jmarin<br/>expiring in +4 h
D->>B: Opens temporary nftables rule<br/>from the declared IP
D->>P: Notifies window: 10:00-14:00<br/>and reminds of session recording
P->>B: SSH connection with key + MFA
B->>B: Starts session recording
B->>E: Hop to the ERP (the only possible route)
P->>E: Carries out the task
Note over B: When the window expires:<br/>session closed automatically,<br/>account disabled,<br/>rule removed
B->>D: Session report: duration,<br/>commands, files, log hash
D->>S: Ticket closed with a link<br/>to the session log
The real cost of this model, because it is the objection that always comes up: a properly handled request takes between five and ten minutes to approve and open. Tecnosur connects on average twice a month. That is twenty minutes a month of Diego's time in exchange for eliminating the critical risk that had been open since 2019. And for emergencies there is a fast-track procedure: verbal approval with a record made within two hours afterwards, available 24×7.
PRO-RUT-11: the procedure with its commands
PRO-RUT-11: the procedure with its commandsThis is the complete procedure, with the real commands. The specific tools do not matter: what matters is that every step leaves a trail and that reversal is automatic.
#!/usr/bin/env bash
# acceso_proveedor.sh - PRO-RUT-11, temporary third-party access.
# Run on bastion01 as an authorised operator.
#
# Open: ./acceso_proveedor.sh open ACC-2029-0147 ext-tecnosur-jmarin 203.0.113.45 4
# Close: ./acceso_proveedor.sh close ACC-2029-0147 ext-tecnosur-jmarin
#
# Everything is logged in /var/log/acceso_terceros/ and in the ticket.
set -euo pipefail
ACTION="${1:?open|close}"
TICKET="${2:?ticket ACC-YYYY-NNNN}"
ACCOUNT="${3:?account ext-<supplier>-<user>}"
LOGDIR="/var/log/acceso_terceros"
RECORD="${LOGDIR}/${TICKET}.log"
mkdir -p "$LOGDIR"
note() { printf '%s | %s | %s\n' "$(date -Is)" "$(id -un)" "$*" | tee -a "$RECORD"; }
# --- Prior check: the account must still be on the current named list
# that the supplier is obliged to keep up to date (clause 2.1).
check_named_list() {
if ! grep -qx "$ACCOUNT" /etc/rutalia/terceros_autorizados.txt; then
note "REJECTED: ${ACCOUNT} is not on the current named list"
echo "The account is not authorised. Ask the supplier for the up-to-date" >&2
echo "named list before granting any access." >&2
exit 1
fi
}
open_access() {
local IP="${4:?declared source IP}" HOURS="${5:-4}"
check_named_list
local END_EPOCH END_READABLE
END_EPOCH=$(date -d "+${HOURS} hours" +%s)
END_READABLE=$(date -d "@${END_EPOCH}" -Is)
note "OPEN ticket=${TICKET} account=${ACCOUNT} source=${IP} window=${HOURS}h end=${END_READABLE}"
# 1. Enable the account and set its expiry date in the system itself.
# Expiry in the system is the safety net: even if everything else
# fails, the account expires on its own.
sudo usermod --expiredate "$(date -d "+${HOURS} hours" +%F)" --unlock "$ACCOUNT"
note "Account enabled, expiring $(date -d "+${HOURS} hours" +%F)"
# 2. Temporary firewall rule, ONLY from the IP declared by the
# supplier and ONLY towards the bastion host. Never towards the final service.
sudo nft add element inet filter acceso_terceros \
"{ ${IP} timeout $((HOURS * 3600))s }"
note "nftables rule added for ${IP} with a ${HOURS}h timeout"
# 3. Force this account's session to be recorded. This example uses
# tlog, which records the complete session in a replayable form.
sudo install -d -m 0750 "/var/log/sesiones/${TICKET}"
note "Session recording directory prepared"
# 4. Schedule the automatic close. We do NOT rely on someone remembering.
echo "/usr/local/sbin/acceso_proveedor.sh close ${TICKET} ${ACCOUNT}" \
| sudo at -t "$(date -d "@${END_EPOCH}" +%Y%m%d%H%M)"
note "Automatic close scheduled for ${END_READABLE}"
# 5. Send notice. Transparency is part of the control: if someone opens supplier
# access at 3 in the morning, security finds out at that moment.
printf 'Access opened\nTicket: %s\nAccount: %s\nSource: %s\nUntil: %s\n' \
"$TICKET" "$ACCOUNT" "$IP" "$END_READABLE" \
| mail -s "[THIRD-PARTY ACCESS] Opened ${TICKET}" [email protected]
}
close_access() {
note "CLOSE ticket=${TICKET} account=${ACCOUNT}"
# 1. Terminate the account's active sessions. Without this, an open session
# survives the closing of the window, which is the most common failure.
sudo pkill -KILL -u "$ACCOUNT" 2>/dev/null || true
note "Active sessions terminated"
# 2. Disable the account.
sudo usermod --expiredate 1 --lock "$ACCOUNT"
note "Account disabled"
# 3. Remove the firewall rule (if the timeout has not already removed it).
sudo nft delete element inet filter acceso_terceros \
"{ $(grep -oP 'source=\K[0-9.]+' "$RECORD" | tail -1) }" 2>/dev/null || true
note "nftables rule removed"
# 4. Seal the session log: a hash of everything recorded, so that the
# log can be verified later (mechanism from 02-05).
if [[ -d "/var/log/sesiones/${TICKET}" ]]; then
find "/var/log/sesiones/${TICKET}" -type f -print0 \
| sort -z | xargs -0 sha256sum > "${LOGDIR}/${TICKET}.sha256"
note "Session sealed: $(wc -l < "${LOGDIR}/${TICKET}.sha256") files"
fi
# 5. Closure report.
printf 'Access closed\nTicket: %s\nAccount: %s\nLog: %s\n' \
"$TICKET" "$ACCOUNT" "$RECORD" \
| mail -s "[THIRD-PARTY ACCESS] Closed ${TICKET}" [email protected]
}
case "$ACTION" in
open) open_access "$@" ;;
close) close_access ;;
*) echo "Unrecognised action: ${ACTION}" >&2; exit 2 ;;
esacThe four design decisions that make this work:
- Expiry is set in three places at once: on the system account, in the
timeoutof thenftableselement and in a scheduled closing task. Any one of the three is enough to reverse the access. A control that depends on a single mechanism ends up failing. - Checking against the named list is a blocking step. It is what turns contractual clause 2.1 into an effective control: if the supplier does not keep its list up to date, its technicians do not get in.
- Active sessions are killed on closing. Disabling an account does not close a session that is already established, and that is the most frequent failure in revocation procedures, both with suppliers and with employees who leave.
- The session log is sealed with a hash. A log that can be modified afterwards is no use as evidence. This links directly to 02-05 and to the chain of custody in 05-02.
The quarterly record taken to the committee
quarter,supplier,accesses,total_hours,out_of_hours,requests_rejected,issues,active_accounts,reviewed_by
2029-Q1,"Tecnosur Sistemas S.L.",6,17.5,1,0,"None",3,"D. Salas"
2029-Q1,"Seguridad Pilar S.A.",2,3.0,0,1,"Request rejected: technician not on the named list",2,"D. Salas"
2029-Q1,"Sentinela MDR S.L.","n/a (agent)","n/a",0,0,"None","n/a","D. Salas"
2029-Q1,"CiberTest S.L.",1,6.0,0,0,"Scheduled annual pentest",2,"L. Mendez"
2029-Q2,"Tecnosur Sistemas S.L.",5,12.0,0,1,"Request rejected: technician had left the supplier and this had not been notified. Issue opened with the supplier (breach of clause 2.2)",3,"D. Salas"Look at the last row: the second-quarter issue is the entire value of the control. A technician who no longer worked at Tecnosur tried to get in, the procedure rejected them automatically, and that generated a documented contractual issue. Without the procedure, that access would have worked and nobody would ever have known.
- Continuous monitoring and supplier advisories
A supplier assessed in 2029 is not a secure supplier in 2031. Between annual reviews, light, continuous monitoring is needed.
| Mechanism | Frequency | Who | What it produces |
|---|---|---|---|
| Formal supplier review | Annual (critical and high) | Laura + Nuria | Minutes with the status of the questionnaire, current certifications, the year's issues and the improvement plan |
| Review of third-party access | Quarterly | Diego, to the committee | The CSV from the previous section |
| Subscription to the supplier's security advisories | Continuous | Diego | Signing up to the security bulletins for each critical product. If the supplier has no bulletin, that is a finding |
| Monitoring of product vulnerabilities | Continuous | Diego | Bulletins from INCIBE-CERT and CCN-CERT (the Spanish national CERTs); catalogue of known exploited vulnerabilities |
| Checking certifications are current | Every six months | Nuria | An expired certificate is a very common silent finding |
| Watching news about the supplier | Continuous, light | Anyone | Change of owner, insolvency proceedings, public incident |
| Checking sub-processors | Every six months | Laura | Comparing the published list with the one authorised in the contract |
The last two look minor and are not. A change of ownership at the supplier can mean a new country of administration, new sub-processors and a new data policy. And the list of sub-processors of the big cloud providers changes several times a year: if you have a contractual right to object, someone has to be watching.
- When your supplier suffers an incident
The email arrives on a Tuesday at 08:40: «Dear customer, we wish to inform you that we have detected unauthorised access to our systems…». From that point there are forty-eight hours in which almost everything is decided, and it is worth having it written down beforehand.
flowchart TD
A["Incident notice from the supplier<br/>(or we detect it ourselves)"] --> B["<b>HOUR 0</b><br/>Log the notice: date, time, channel,<br/>literal content. Open an internal incident"]
B --> C["<b>CONTAIN WHAT WE CONTROL</b><br/>Suspend the supplier's access<br/>Block its IPs if appropriate<br/>It is NOT an accusation: it is prudence"]
C --> D["<b>ASSESS EXPOSURE</b><br/>Check the inventory: what data,<br/>what systems, what access it had"]
D --> E{"Does it affect<br/>our personal data?"}
E -->|Yes| F["The Art. 33 clock starts<br/>from OUR awareness<br/>Alert the DPO (see 06-03)"]
E -->|No| G["Continue as a security<br/>and service incident"]
F --> H
G --> H["<b>DEMAND SPECIFIC INFORMATION</b><br/>See the list of 8 questions"]
H --> I{"Does the supplier respond<br/>competently and on time?"}
I -->|No| J["Escalate: senior management to senior management<br/>Record the breach of contract<br/>Consider activating the exit plan"]
I -->|Yes| K["<b>LOOK AT HOME</b><br/>Review the logs of its access<br/>in OUR environment during the period"]
J --> K
K --> L{"Are there signs<br/>of impact on us?"}
L -->|Yes| M["Activate PRI-RUT-2028<br/>as our own incident"]
L -->|No| N["Document the conclusion<br/>and the analysis carried out"]
M --> O["<b>SUBSEQUENT DECISIONS</b><br/>Rotate related credentials<br/>Review and harden the access<br/>Extraordinary supplier review<br/>Update the risk matrix"]
N --> O
style B fill:#1a237e,color:#fff
style C fill:#b71c1c,color:#fff
style F fill:#e65100,color:#fff
style O fill:#1b5e20,color:#fff
The eight questions sent to the supplier, in writing
Subject: [URGENT] Security incident - request for information Contractual reference: Annex III, clause 5.4 With reference to the incident notified on [date] at [time], and in accordance with the duty to cooperate under the contract, we request the following information as a matter of the utmost urgency and, in any event, within 48 hours: 1. Date and time the incident began and date and time it was detected. 2. Nature of the incident and entry vector, insofar as it is known. 3. Systems and services affected. Do they include those that support the services provided to us? 4. Has Rutalia Logistica's information been affected? If so: what information, in what volume and whether there has been access, copying or alteration. 5. Have any credentials been compromised that would allow access to our systems, including those of your technical staff? 6. Containment measures taken and their date. Is the incident contained? 7. Have you notified any supervisory authority or any other competent authority? On what date? 8. Indicators of compromise available (IP addresses, domains, file hashes) so that we can search for them in our environment. Please note that, as a preventive measure and until this information is available, we have suspended your staff's access to our systems. Contact person: [name], [telephone], [email protected]
Questions 5 and 8 are the ones that make it possible to act. Question 5 decides whether credentials have to be rotated today. Question 8 is the one that turns someone else's incident into a specific search in your own logs; without indicators, «checking just in case» means nothing.
And the final sentence —the preventive suspension of access— is worth having agreed in the contract, precisely so that it is not interpreted as an accusation but as the application of an agreed procedure.
- Exit: recovery, revocation and proof of erasure
The phase nobody plans and that decides whether a change of supplier is a two-week project or a year of pain.
The exit plan is written when signing, not when breaking up. When the relationship breaks down, the customer's negotiating position is the worst possible.
Exit checklist:
## SUPPLIER EXIT CHECKLIST - PRO-RUT-12
Supplier: ____________ Contract: ____________ End date: ____________
Person responsible for the exit: ____________
### BEFORE (30-90 days before the effective date)
[ ] Review the exit clauses in the contract: deadlines, formats, costs.
[ ] Request the return of data in writing, with format and date.
[ ] Verify that the format delivered is REALLY usable: open it,
import it into the destination and check integrity and volume.
[ ] Inventory EVERYTHING the supplier holds: data, credentials, source
code, documentation, configurations, certificates, domains, licences.
[ ] Identify hidden dependencies: are there integrations, scheduled tasks,
DNS records or certificates in its name?
[ ] Plan the overlap with the incoming supplier, if there is one.
[ ] Collect and archive the operational documentation only the supplier holds.
### DURING (exit day)
[ ] Revoke ALL access: named accounts, service accounts,
SSH keys, client certificates, API tokens, access to the cloud
console, physical access, cards, keys.
[ ] Terminate active sessions (disabling does not close what is already open).
[ ] Remove the associated firewall rules and VPNs.
[ ] Rotate the credentials the supplier may have known, even if they
were not its own: service passwords, API keys, shared secrets.
[ ] Remove its contacts from distribution lists and alerts.
[ ] Remove the supplier from the third-party inventory and from the RoPA if it
was a processor.
### AFTER (30-120 days)
[ ] Demand the signed CERTIFICATE OF ERASURE, with scope, systems, date
and person responsible. Expressly include backups.
[ ] Check that the certificate covers EVERYTHING inventoried, not just "the
service data".
[ ] Archive the certificate as evidence (it will be asked for in audits).
[ ] Review the logs for 90 days looking for access attempts
from the outgoing supplier.
[ ] Document the lessons learned from the exit.The three exit traps, in order of frequency:
- The data is returned in a useless format. A dump in the supplier's proprietary format, with no schema or documentation, meets the letter of the contract and is no use at all. That is why clause 8.1 says «structured, commonly used and machine-readable format», and why you have to test it before the exit date.
- The credentials the supplier knew but that were not its own. The password of the ERP service account, the certificate key, the integration secret. Revoking the supplier's accounts without rotating these leaves the door open.
- Hidden dependencies. The domain registered in the supplier's name, the certificate it used to renew, the scheduled task on one of its servers that feeds a report. They turn up three months later, when something stops working and nobody knows why.
- The software supply chain from the buyer's point of view
So far we have talked about companies. Now let us talk about code, because 80 % of the software you run was not written by whoever sells it to you.
MiRutalia is a Flask application with PostgreSQL. Marta Ruiz has written, let us say, 20,000 lines. But the system running in production includes the interpreter, the application server, dozens of direct dependencies and hundreds of transitive ones, plus the operating system and its packages. Millions of lines written by thousands of people Rutalia does not know.
The question pattern 5 made famous is not «how do I patch it?». It is «do I have it?». And answering it in hours rather than weeks depends entirely on whether an inventory exists.
The buyer's three questions
| Question | What you need | Who gives it to you |
|---|---|---|
| What components does the software I run contain? | An SBOM per product and version | The supplier, by contract (clause 6.3) |
| Do any of them have a known vulnerability? | Automatic matching of the SBOM against vulnerability databases | Your own tools or the supplier's |
| Is the update I am about to install authentic? | Artefact signature and verification before installing | The supplier must sign; you must verify |
- SBOM, artefact signing and update verification
SBOM: exactly what to ask for
An SBOM (Software Bill of Materials) is the inventory of a product's components: name, version, origin, licence and dependency relationships. The two standardised formats in general use are SPDX and CycloneDX.
What to ask for in the contract, worded so that it is enforceable:
6.3. SBOM. For each release of the software supplied and before it is
deployed, the Supplier shall deliver a list of components (SBOM) that
meets the following requirements:
a) SPDX or CycloneDX format, machine-readable;
b) it shall include direct AND TRANSITIVE dependencies, with name, version,
unique package identifier and licence;
c) it shall be delivered updated with each release, including fixes;
d) the Supplier shall report, within 72 hours of becoming aware of it,
any high or critical severity vulnerability affecting a component
included in the SBOM of the software deployed at the Customer,
stating whether it is exploitable in the configuration supplied
and when the fix will be available.Point d) is the one that makes the SBOM useful. A JSON file with 340 components and nobody to tell you when one of them becomes vulnerable is an archive document. The obligation to give notice with an assessment of exploitability in the specific configuration is what saves you the nights of panic.
And a check that can be done in five minutes with the SBOM already to hand:
# Does a specific component appear in any of the SBOMs of the deployed
# products? This is the question you must be able to answer in minutes.
COMPONENT="${1:?name of the component to search for}"
for f in /opt/cumplimiento/sbom/*.json; do
if jq -e --arg c "$COMPONENT" \
'[.components[]? | select(.name | test($c; "i"))] | length > 0' \
"$f" >/dev/null 2>&1; then
echo "=== $(basename "$f") ==="
jq -r --arg c "$COMPONENT" \
'.components[]? | select(.name | test($c; "i"))
| " \(.name) \(.version) [\(.licenses[0].license.id // "no licence")]"' \
"$f"
fi
done
# Example of use on the day a critical vulnerability appears in a library:
# ./buscar_componente.sh log4j
# ./buscar_componente.sh opensslSigning and verifying updates
There is no point demanding an SBOM if a package downloaded from anywhere is then installed. The rule is:
| Step | What to do | What it prevents |
|---|---|---|
| Defined source | Each product has one authorised download source, documented in its technical instruction | Downloads from a link received by email |
| Signature verification | Check the package signature with the manufacturer's public key, obtained through a different channel from the download | A package modified in transit or an impersonated website |
| Hash verification | Compare against the published hash | A corrupt or partial download |
| Staggered deployment | First on one computer or server, observe, then the rest | A malicious or faulty update reaching your whole estate |
| Subsequent monitoring | The EDR observes behaviour after the update | Pattern 1: legitimate signature, malicious behaviour |
The last row is the only realistic defence against a malicious update signed with the manufacturer's genuine certificate: the signature will be valid, so what you have to watch is what the program does afterwards: new connections, unexpected child processes, persistence. That is exactly what the EDR from 04-02 is for.
- The unsupported ERP and the A006 sensor firmware
Two open cases at Rutalia that illustrate the end-of-life problem, with different solutions.
The ERP (A002)
A product with no manufacturer support means: there are no security patches, no vulnerability advisories, no SBOM, and the vulnerabilities discovered from now on will never be fixed. It is a debt that only grows.
The options, with their cost and their honesty:
| Option | Cost | Residual risk | Assessment |
|---|---|---|---|
| Migrate to a supported ERP | High (a 9-18 month project) | Low | The only real solution. It must be in the security master plan |
| Buy extended support, if it exists | Medium, if the manufacturer offers it | Medium | It buys time. It is not always available |
| Isolate and compensate | Low | Medium-high, and growing over time | What Rutalia does today: VLAN 20, access only from the bastion host, no internet egress, stepped-up monitoring, specific backups |
| Do nothing | Zero | Unacceptable | — |
The key is that the third option is an exception, not a solution: that is why it is documented as EXC-2027-014, with an expiry date, compensating controls and a closure condition, and that is why minutes CSI-2029-02 established that the extension was the last one.
The A006 sensors
Here the problem is different: it is not software that can be isolated, but fourteen devices with credentials embedded in the firmware and no possible update. The agreed solution is replacement, with €11,200 approved at the May committee and implementation in the third quarter of 2029.
But the most valuable part of the case is what Rutalia changes in the way it buys:
SECURITY REQUIREMENTS FOR THE PURCHASE OF CONNECTED DEVICES (Mandatory annex to every purchase of hardware with connectivity) 1. The manufacturer shall declare in writing the SECURITY SUPPORT PERIOD of the product, with an end date, and shall publish it in an accessible form. 2. The support period shall be no less than [5] years from the date of purchase. 3. The manufacturer shall publish a security advisory channel for the product and a vulnerability disclosure procedure. 4. The product shall NOT include default credentials common to all units, and shall force them to be changed on first configuration. 5. Firmware updates shall be signed and the device shall verify the signature before applying them. 6. The product shall allow unnecessary services to be disabled and shall not require direct internet connectivity for local operation. 7. The manufacturer shall give at least SIX (6) MONTHS' notice of the end of support. 8. An SBOM of the firmware shall be provided where the manufacturer has one.
This is not an unattainable ideal: it is, to a large extent, what the Cyber Resilience Act is going to require of manufacturers placing products on the EU market. Rutalia is simply anticipating it in its purchasing specifications. And point 7 is exactly the clause it lacked with SensorTech.
The advice that sums up the section: the time to manage a product's end of life is the day you buy it, not the day you find out there are no more patches. One more column in the inventory —«declared end of support»— and an annual review of that column prevent 90 % of these cases.
- The other side of the mirror: Rutalia as a supplier
Everything above, read from the outside, is what Alventa is doing with Rutalia. The 78-question questionnaire with a deadline of 28 February 2029 is phase 2 of the cycle, applied to Rutalia as a critical supplier.
And this changes the nature of the problem: compliance stops being a cost and becomes a condition for invoicing. 22 % of Rutalia's turnover depends on answering that questionnaire well.
How to answer a customer questionnaire
Rule 1: always tell the truth. A false answer in a supplier approval questionnaire is a breach of contract with consequences far greater than those of an honest «no». And it comes out: the day there is an incident, the customer will reread the questionnaire.
Rule 2: a «no» with a date is worth far more than a doubtful «yes». Compare these two answers to «do you hold ISO 27001 certification?»:
WEAK ANSWER
No.
STRONG ANSWER
We do not hold ISO/IEC 27001 certification as at the date of this answer.
We have a documented security programme approved by our Managing
Director, with the following evidence, which we attach:
- Body of 14 policies approved on 06/03/2029 (table of contents attached).
- Gap analysis against Annex A of ISO/IEC 27001:2022 and against
CIS Controls v8 IG1, dated 31/03/2029, with a 24-month closure plan.
- Incident response plan PRI-RUT-2028, tested through a full recovery
drill on 20/10/2028 (report attached).
- External penetration test report from 11/2027 and the remediation
status of its findings.
- Quarterly verification of backup restores.
Commitment: presentation of the decision on certification at the
January 2030 committee, with the milestones of the attached plan.The second answer turns a shortcoming into a programme with evidence and dates. It is exactly what point b) of Alventa's letter allowed for.
Rule 3: prepare a reusable dossier. 80 % of the questions are repeated across customers. Rutalia keeps a folder with: policies, the security organisation chart, the high-level network architecture (without exploitable details), the response plan, the drill report, pentest results, MFA coverage, the backup and verification policy, the inventory of sub-processors, the template Article 28 contract and the insurance certificate. Answering the second questionnaire costs a quarter of the effort of the first.
Rule 4: be careful what you send. A detailed network diagram, a list of software versions or a complete pentest report in the hands of a third party is extremely valuable information for an attacker. Executive summaries are provided, under a confidentiality agreement, and marked with the corresponding classification level. The full pentest report does not leave Rutalia: the summary with findings, severity and remediation status does.
Rule 5: turn it into a commercial argument. This is the twist to take to the management committee. If Rutalia answers well and its competitors do not, compliance stops being an expense:
| Situation | Commercial effect |
|---|---|
| Answering on time, with evidence, and being the only one of three suppliers to do so | A measurable competitive advantage |
| Being able to prove a documented recovery drill | A differentiator almost no SME in the sector has |
| Having the Article 28 contract already drafted and agreeing to sign it without negotiation | Speeds up contracting by weeks |
| Accepting incident notification within 24 h with a tested procedure | Removes the main objection from the customer's purchasing department |
| Being unable to answer, or answering late | Exclusion from supplier approval |
Laura summed it up at the February committee with a sentence worth remembering: «For two years we have been presenting security as what it costs us. From this questionnaire onwards, it is what allows us to keep invoicing the 22 %».
The third-party risk matrix
The final deliverable, taken to the committee every quarter:
| Supplier | Likelihood of an incident | Impact on Rutalia | Risk | Control status | Action |
|---|---|---|---|---|---|
| Tecnosur (TR-01) | High (standing access, no MFA, shared account, small company with no certifications) | Critical (control of the ERP and a door into VLAN 20) | CRITICAL | Being corrected | PRO-RUT-11 operational before 30/06/2029; security annex signed; closure of EXC-2027-014 on 31/12/2029 |
| Sentinela MDR (TR-06) | Low (certified, mature) | Critical (privileged agent on 140 computers) | HIGH | Compliant | Annual review; require an updated SOC 2 type II report |
| AWS (TR-02) | Very low | Critical (backups and MiRutalia) | MEDIUM | Compliant | Complete the transfer assessment; review complementary user entity controls |
| Microsoft (TR-03) | Very low | Critical (the whole company's email) | MEDIUM | Compliant | Idem |
| Payroll bureau (TR-05) | Medium (SME with no certifications, processes special categories) | High (data on 180 employees) | HIGH | Non-compliant | Updated Art. 28 contract with a 24 h deadline; questionnaire; deadline 31/05/2029 |
| Seguridad Pilar (TR-09) | Medium (remote access to the recorder, no annex) | High (images from three warehouses) | HIGH | Non-compliant | Annex + just-in-time access + access logging; deadline 30/04/2029 |
| Hauliers (TR-15) | Medium | High (unauthorised sub-processing) | HIGH | Non-compliant | Sub-processing contracts + authorisation from the customers who are controllers; deadline 31/05/2029 |
| FleetTrack (TR-04) | Low | High (geolocation of people) | MEDIUM | Compliant | Follow-up of the measures in EIPD-2029-01 |
| Conecta Aragón (TR-13) | Medium | High (continuity of 4 sites) | MEDIUM | Compliant | Verify connectivity backup in the BCP |
| SensorTech (TR-14) | High (unsupported product) | Medium (isolated VLAN 60) | MEDIUM | Exception EXC-2028-003 |
Replacement in Q3 2029 (€11,200 approved) |
| Cleaning (TR-16) | Low | Medium (night-time physical access) | LOW | Non-compliant | Confidentiality clause + provision of the rules; deadline 30/06/2029 |
Common Mistakes and Tips
Mistake 1: believing you have four suppliers. Almost every SME can name from memory only half of those that actually have access. Tip: build the inventory by cross-checking three sources: supplier invoices, the firewall rules and the list of accounts in the directory. Third parties nobody remembered will turn up.
Mistake 2: applying the same effort to all of them. A 78-question questionnaire for the cleaning company guarantees that the programme dies of exhaustion. Tip: classify by criticality and size the effort; five suppliers in depth are worth more than seventeen on the surface.
Mistake 3: accepting standing remote access because «that's how it's always been done». It is pattern 2, the scenario of the October drill and hypothesis H5. Tip: the supplier's objection («we need continuous access to provide the service») almost never survives analysis: look at how many times it actually connected last year. For Tecnosur it was twenty-three.
Mistake 4: confusing the certificate with the scope. An ISO 27001 whose scope does not cover the service you are buying proves nothing about that service. Tip: read the scope written on the certificate and compare it with what you have contracted. And check the expiry date.
Mistake 5: signing the data processing agreement and not reading it. Article 28 is not complied with by signing the supplier's template: it is complied with by checking that it contains what it must, in particular sub-processors and the breach notice deadline. Tip: if the deadline says «without undue delay», negotiate a number. If they say they cannot, ask yourself why.
Mistake 6: having no exit plan. You discover it on the day you have to leave, which is the day you have least negotiating power. Tip: write the exit checklist when signing and test the data export once a year, just as you test backups.
Mistake 7: treating the supplier's incident as closed without looking at home. The fact that it has contained it does not mean you have nothing. Tip: always ask for indicators of compromise and search for them in your own logs for the affected period. And rotate the credentials it might have known.
Mistake 8: ignoring third parties that do not touch systems. Cleaning, maintenance, document destruction and subcontracted hauliers generate real risks —and, in the case of the hauliers, formal GDPR infringements. Tip: the criterion for entering the inventory is not «does it have a user account?», it is «can it access information or our premises?».
Tip 9: start with the five critical suppliers and a single action. If you could only do one thing this quarter, do this: eliminate the standing access of your most privileged supplier. It is the control with the greatest risk reduction per euro invested in the whole lesson.
Tip 10: prepare the customer dossier before you are asked for it. The first questionnaire will arrive without warning and with a two-week deadline. Having the evidence gathered turns an emergency into a formality, and turns compliance into a sales argument.
Exercises
Exercise 1 — Classifying and deciding the effort
Rutalia is going to contract four new services. For each one: (a) assign a criticality, justifying it with the three questions from section 6; (b) state whether there is a processing engagement; (c) say which questionnaire and what evidence you would require; (d) point out the two clauses of the security annex that would be essential in that specific case.
- A cloud document management platform to replace part of
\\fs01\comun, where contracts, personnel files and customer documentation will be stored. - A maintenance company for the forklift trucks at the three warehouses, whose technicians come on site and plug their own laptop into a network port in the warehouse to download data from the forklift.
- An intern from a business school who will work for three months at the Zaragoza office, on a Rutalia computer, on a route analysis project using fleet data.
- An artificial intelligence tool for drafting customer service replies, contracted by the customer service manager with a company card, which would process customers' incoming emails.
Exercise 2 — Assessing a supplier's answers
Tecnosur Sistemas finally answers the questionnaire. These are five of its answers. For each one: score it (0, 1 or 2), say what additional evidence you would ask for and what compensating control you would impose if the answer does not improve.
A3. Certifications: "We are working towards ISO 27001. We expect to
become certified during 2030."
B2. Staff leavers: "When a technician leaves, their access to our internal
systems is removed. As for access to customers, it is
reviewed at the next visit."
C1. Accounts: "We use a support account shared by the maintenance team
(3 people) because customers do not usually accept the
creation of individual accounts."
E3. Backups: "We make daily backups of our systems. We have never
needed to restore."
F3. Incidents: "We have not suffered any security incident in our
18 years of history."Exercise 3 — Managing a supplier's incident
On 8 October 2029 at 07:15, Sentinela MDR (TR-06, the managed EDR provider) sends an email: it has detected unauthorised access to its management platform on 5 October; the attacker accessed the administration console from which its customers' agents are managed; it is investigating; it recommends «staying calm» and says it will report back within 72 hours.
Remember that Sentinela's agent is installed with system privileges on Rutalia's 140 computers and all its servers, and that the console makes it possible to run remote actions and isolate machines.
(a) List, in order, Rutalia's first six actions in the first two hours, with a one-line justification for each. (b) Can Rutalia «uninstall the agent as a precaution»? Reason through the dilemma. (c) Must the AEPD (the Spanish Data Protection Agency) be notified? When does the clock start? (d) Draft the three key paragraphs of the email replying to Sentinela.
Solutions
Solution 1
1. Cloud document management platform
- (a) Criticality: CRITICAL. Access: it is the platform where the data lives. Data: contracts, personnel files (with special categories) and customer documentation. Impact if it goes down: high, although not immediate if there are backups.
- (b) Yes, a data processor. An Article 28 contract is mandatory, and it must be added to the RoPA as a processor for T-01, T-06 and others.
- (c) Full questionnaire plus interview. Evidence: certification with a scope covering the contracted platform, SOC 2 type II report, data location and countries from which support accesses it, encryption and key custody, result of the most recent restore test.
- (d) Two essential clauses: 8 (return and erasure with a certificate) —because migrating back out of a document management system is the case where lock-in does the most damage— and 4 (subcontracting), because cloud platforms chain sub-processors together. Close behind, 5.1 with its 24 h deadline.
2. Forklift maintenance with their own laptop connected to the network
- (a) Criticality: HIGH, and it is counter-intuitive. Access: they connect an unmanaged device to the network in VLAN 50 WAREHOUSE. Data: nothing relevant. Impact: a compromised laptop inside your network is a foothold.
- (b) There is no processing engagement: they do not process personal data on Rutalia's behalf.
- (c) Short questionnaire; what matters here is not documentary but technical: the correct solution is architectural, not contractual. A dedicated port on an isolated maintenance VLAN, with no access to the corporate network and with connection logging; or the guest wireless network.
- (d) Clauses 2 (personnel and confidentiality) and 3.2 (prohibition of the supplier's own remote access tools). This exercise teaches that a supplier with no data can be a high risk: classification by «data processed» is not enough.
3. Intern with access to fleet data
- (a) Criticality: MEDIUM-HIGH depending on the data used. If they work with identifiable geolocation data, it is HIGH: it is data about workers and is subject to
EIPD-2029-01. - (b) Here the correct answer is surprising: the intern is not a third-party processor, but a person processing data under the authority of the controller (Art. 29 GDPR). No Article 28 contract is needed; what is needed is instructions, confidentiality, training and access control, as with any employee. The business school, on the other hand, is a third party with its own agreement.
- (c) No supplier questionnaire applies. What applies is: enrolment in the identity lifecycle (
PRO-RUT-03), a specific role with least privilege, signature of the body of policies and a leaving date scheduled from day one. - (d) The security annex does not apply. What is essential is: aggregated or pseudonymised data for the analysis wherever possible —as required by the data minimisation principle and by the DPIA itself— and automatic deactivation when the internship ends.
4. AI tool bought with a company card
- (a) Criticality: HIGH. It would process customers' incoming emails, in other words personal data of contacts and, potentially, anything a customer writes in an email.
- (b) Yes, a data processor. And there are two problems before any technical analysis: it was contracted without going through the cycle (it is shadow IT) and there may be no Article 28 contract, nor any knowledge of where the data is processed.
- (c) The first action is not the questionnaire: it is to stop its use until the assessment is complete. Then: full questionnaire, paying particular attention to where the data is processed, whether it is used to train models, what sub-processors there are, and what retention applies to the data sent.
- (d) Clauses 4 (subcontracting) and 8 (erasure), plus a specific one that is not in the generic annex: an express prohibition on using the Customer's information to train or improve models. And internally, it is exactly the situation that POL-RUT-14 (use of generative AI) exists to govern.
Solution 2
| Ans. | Score | Additional evidence I would ask for | Compensating control if it does not improve |
|---|---|---|---|
| A3 | 1 | A certification plan with milestones and dates signed by its senior management; in the meantime, the security policy and the index of its procedures | Require the full questionnaire with documentary evidence and an annual on-site review. It is not a knockout: many SMEs are not certified |
| B2 | 0 (KNOCKOUT) | A written staff leavers procedure with a deadline | It is the most serious failing of the five. «Reviewed at the next visit» means that a technician who left in March keeps access until September. Compensation: the PRO-RUT-11 just-in-time access model, which requires the named list to be checked on every access, neutralises this failing completely. Plus contractual clauses 2.1-2.2 with notice within 48 h |
| C1 | 0 (KNOCKOUT) | — | The excuse («customers do not usually accept individual accounts») is revealing: it means the practice is widespread. Non-negotiable: three named accounts ext-tecnosur-*. If the supplier refuses, it is a formal exception approved by senior management, with mandatory session recording to compensate for the lack of traceability |
| E3 | 0 | Report of the most recent restore test | «We have never needed to restore» is exactly the finding from 05-05: a backup without a tested restore is not a backup. Require a documented restore test within 90 days as a contractual condition. Compensation in the meantime: Rutalia keeps its own backup of the ERP, without depending on the supplier's |
| F3 | 1, with reservations | Ask explicitly: «do you have detection capability? what logging and monitoring systems do you have? how would you know you had suffered an incident?» | «Never in 18 years» with no demonstrated detection capability almost certainly means «we would not know». Compensation: clause 5.3 (notification of incidents in its own infrastructure) and stepped-up monitoring of its access from Rutalia's side |
Sample score: 2 out of 10, with two knockouts at zero. Conclusion: Tecnosur would be NOT SUITABLE for a new contract. As it is an existing, critical supplier, the route is the one in section 12: you do not change the supplier, you change the access model, which is quicker, cheaper and removes most of the risk without depending on Tecnosur improving.
That is the most important practical conclusion of the exercise: when you cannot improve the supplier, change the architecture of the relationship.
Solution 3
(a) The first six actions in two hours
| # | Action | Justification |
|---|---|---|
| 1 | Log the notice with date, time, channel and literal text, and open an internal incident under PRI-RUT-2028 |
This is the moment of awareness and every clock depends on it |
| 2 | Convene the response team and provisionally classify it as S1 | A compromise of the EDR console is potentially a compromise of all 140 computers: it cannot be treated as routine |
| 3 | Suspend Sentinela's access to Rutalia's infrastructure and check whether there is any inbound connection from its platform | Contain what you control. It is not an accusation: it is the agreed procedure |
| 4 | Review in our own logs all the agent's activity since 5 October: remote actions executed, isolations, deployments, policy changes, scripts launched | It is the only way to know whether the compromise of the console was used against Rutalia. This is the action that provides the most information |
| 5 | Alert the DPO and note the time, without yet deciding whether there is a breach | The Article 33 clock may have started; the DPO must be part of the decision from the outset |
| 6 | Send the request for information in writing with the eight questions, demanding an answer within 24 hours and not 72, in accordance with clause 5 of the annex | The 72 h deadline proposed by the supplier is not the agreed one: the contract says 4 hours to notify and immediate cooperation. It has to be said in writing on day one |
(b) Uninstall the agent as a precaution?
This is the central dilemma of the exercise and it has no obvious answer.
- In favour of uninstalling: the agent has system privileges across the entire estate and responds to commands from a console potentially controlled by an attacker. It is, literally, a legitimate backdoor.
- Against: uninstalling it leaves Rutalia with no detection capability at all on the 140 computers, just at the moment of greatest risk. And if the attacker is already inside, uninstalling the EDR is exactly what they would want.
Balanced decision: do not uninstall, and instead (1) cut the agents' outbound communication to the console at the perimeter firewall, which leaves the agent detecting locally but cancels the remote command channel; (2) demand from Sentinela the list of actions executed against Rutalia's environment; (3) maintain monitoring with Rutalia's own resources —Suricata on sec-sensor01, centralised logs, canaries—; and (4) have the mass uninstallation procedure ready in case malicious use is confirmed.
The underlying lesson: a security tool with privileged remote control is also a supply chain risk, and the question «what do I do if my security provider is compromised?» must be answered before it happens.
(c) Notify the AEPD?
It cannot be decided yet, and that is the correct answer. There is awareness of an incident at the supplier, but not that it has affected Rutalia's personal data. The Article 33 clock starts when Rutalia becomes aware of a personal data breach of its own, not when its supplier informs it of an incident on its platform.
That said: if the review in action 4 reveals unauthorised actions executed on Rutalia's computers, awareness occurs at that moment and the 72-hour deadline starts to run. That is why action 4 is urgent: the sooner that question is answered, the more margin remains.
In any event, everything is documented in REG-RUT-15 even if the conclusion is that there was no breach.
(d) Three key paragraphs of the reply to Sentinela
1. CONTRACTUAL DEADLINES We remind you that Annex III of our contract sets a maximum deadline of FOUR (4) HOURS for notifying incidents that affect or may affect our systems or data, and requires immediate cooperation during the investigation. The incident occurred on 5 October and we were informed on 8 October at 07:15, which constitutes a breach of that clause and is hereby formally recorded. The 72-hour deadline stated in your communication is not the agreed one. 2. INFORMATION REQUIRED WITHIN 24 HOURS We require, within a maximum of 24 hours: (a) the complete list of actions executed from your administration console on the agents deployed at Rutalia Logistica between 1 and 8 October, with timestamp, executing account and result; (b) confirmation of whether the compromised account or accounts had permissions over our tenant; (c) the indicators of compromise available; (d) confirmation of whether information from our systems has been affected; and (e) whether you have notified any supervisory authority. 3. MEASURES TAKEN BY RUTALIA Please note that, as a preventive measure and until the above information is available, we have suspended your staff's access to our infrastructure and have restricted the agents' communication with your management platform, while keeping their local detection functionality. These measures apply the agreed procedure and do not prejudge the scope of the incident. Our single point of contact for this matter is [email protected] and [telephone], available 24x7.
Conclusion
You have stepped outside the perimeter. And the first thing this lesson teaches is an uncomfortable realisation: you can do everything right inside and still have seventeen doors you do not control.
You know why a supply chain attack is economically rational for the attacker —one compromise, many victims, through a trusted channel and with elevated privileges from the very first second— and you know that obligations flow down that same chain, because Article 21(2)(d) of NIS2 requires your customers to manage you.
You have the inventory, which is the deliverable that does not exist in most SMEs, and you know that its entry criterion is not «does it have a user account?» but «can it access information or our premises?». That is why the cleaners, the CCTV maintainer and the extra hauliers are in it. Rutalia's first inventory produced seventeen third parties, six non-compliant and three findings no technical tool would have found, starting with the most serious: customers' recipient data subcontracted to hauliers without the controller's authorisation, which is an infringement of Article 28(2) of the GDPR and of the contract with Alventa at the same time.
You know the six patterns —signed malicious update, standing remote access, shared credentials, compromised library, mass inherited vulnerability and compromise of the managed service provider— and the countermeasure for each one. And you know that against the first, the only realistic defence is not the signature, which will be valid, but watching what the program does afterwards.
You have the lifecycle with its five phases and its forgotten arrow, renewal, which is what explains why a payroll bureau contracted in 2017 has never been through an assessment again. And you have the criterion for not dying of exhaustion: classify by criticality and size the effort, five suppliers in depth rather than seventeen on the surface.
You have the twenty-five-question questionnaire with its scoring and its knockouts, and —more importantly— the five rules for reading it: be wary of the perfect questionnaire, score the question about past incidents the opposite way round, read the scope and not the certificate, ask for evidence of two controls instead of all of them, and use the question about your supplier's suppliers to measure its real maturity. You know what each piece of evidence proves, and that the most valuable document is not a spotless certificate but a SOC 2 type II with its documented exceptions and its complementary user entity controls section, which is the one that tells you what you have to do.
You have the nine clauses of the security annex and, among them, the five nobody writes and that matter: notification of incidents in the supplier's own infrastructure even with no established impact, six months' notice of end of support, an independent report as a realistic alternative to the right to audit, a signed certificate of erasure with scope and date, and revocation of access on the same day a technician leaves the supplier. And you know how the security annex, which you decide on, relates to the Article 28 contract, which the law requires.
And you have the correction of H5, which was the operational objective of the lesson. From Tecnosur's standing access —an account shared between three technicians, no MFA, no expiry, no logging, since 2019— to the just-in-time access model: named accounts disabled by default, MFA without exceptions, mandatory passage through bastion01, a four-hour window, session recording sealed with a hash and quarterly review at the committee. With a procedure whose design rests on four decisions: redundant expiry across three mechanisms, a blocking check against the named list, termination of active sessions on closing —because disabling does not close— and sealing of the log so that it serves as evidence. Twenty minutes a month of Diego's time. And it has already produced its first result: a technician who had left the supplier without this being notified, rejected automatically, with a documented contractual issue.
You know how to monitor between reviews, you know what to do in the first forty-eight hours when a supplier warns you of an incident —contain what you control, assess the exposure with the inventory in hand, demand the eight questions in writing and, above all, search for its indicators in your own logs—, and you know how to exit: recovery of data in a tested format, total revocation including the credentials it knew that were not its own, a certificate of erasure and ninety days of subsequent monitoring.
On the software side, you have the buyer's three questions and you know that the urgent one is not «how do I patch it?» but «do I have it?»; you have the SBOM drafted as an enforceable clause, with the point that makes it useful —the obligation to give notice within 72 hours of high or critical vulnerabilities with an assessment of exploitability in your configuration—, and you have the eight purchasing requirements for connected devices that anticipate what the Cyber Resilience Act will require, and that Rutalia lacked with the A006 sensors. With the rule that sums up the section: a product's end of life is managed on the day you buy it.
And you have looked at the other side of the mirror. For Alventa, the supplier is you. The 78-question questionnaire with a deadline of 28 February, the five rules for answering it —always the truth, a «no» with a date is worth more than a doubtful «yes», the reusable dossier, be careful what you send, and turn it into a commercial argument—, and the sentence that changes the conversation in a management committee: security stopped being what it costs and became what allows us to keep invoicing the 22 %.
But notice what underpins everything you have done so far in this module. The obligations map says there are seventeen things to comply with. The policies say who decides and what is permitted. The record of processing activities says what data there is and on what basis. The third-party inventory says who can access and under what contract. All of them assert things. None of those documents, on its own, proves that what it asserts is true.
The quarterly access review: was it done at all three warehouses or only in Zaragoza? The deletion of geolocation data after ninety days: does it really happen? The fourteen approved policies: does anyone on the Seville night shift know about them? The previous supplier's certificate of erasure: is it on file, or was it taken for granted? And when Alventa, as the customer, comes to check —because its contract gives it a right to audit with fifteen days' notice—, what do you show it?
That is what closes the module, in Audits and Compliance Assessments: the types of assessment and what each one answers, the concept of evidence and the distance between «we do it» and «I can prove we do it», the gap analysis carried out on Rutalia, how an audit is prepared for and passed, the findings of the first internal audit in January 2029 and how they were handled, what happens in a regulatory inspection and how evidence collection is automated so that compliance stops being an annual snapshot.
You now know how to build the defence, test it, respond when it fails, recover when it falls, comply with what binds you, write the rules, protect people's data and control who holds the keys to your house. Now it is time to prove it.
