Protecting your systemsChapter 10

Cloud and SaaS: who protects what?

Shared responsibility, misconfigurations, identities and MFA, logging and sovereignty: how to secure your use of cloud and SaaS, with real cases.

Nestor
Presented byNestor
10 min readUpdated on 2 October 2026

What you will learn

  • Understand the shared responsibility model across IaaS, PaaS and SaaS
  • Recognise the misconfigurations behind the biggest cloud data leaks
  • Protect cloud identities with MFA and least privilege
  • Switch on and retain the logs that reveal an intrusion
  • Place SecNumCloud, the CLOUD Act and the Data Act in your choice of provider

Renting is not delegating

Your email, shared files, CRM, accounting and perhaps your servers: much of your IT now runs at a cloud provider. That is often good news for security. The big providers protect their data centres far better than a small company’s server room ever will, patch their infrastructure continuously and employ entire security teams.

Yet one misunderstanding keeps coming back: “it’s in the cloud, so the provider takes care of it.” It does not. The cloud is like an office rented in a very well-guarded building. The landlord looks after the walls, the reception desk and the cameras in the lobby. You decide who gets a key to your office, and you are the one who locks the door at night.

The shared responsibility model

All the major providers describe the same rule, known as the shared responsibility model. AWS sums it up in two phrases: the provider is responsible for security “of” the cloud (buildings, hardware, network, virtualisation), while the customer is responsible for security “in” the cloud (its data, applications, settings and access).

The dividing line moves with the type of service:

  • IaaS (infrastructure as a service): you rent virtual machines, storage and networking. You manage the operating system and its patches, the applications and the filtering rules.
  • PaaS (platform as a service): you deploy your application on a managed platform without handling servers. You remain responsible for your code, its configuration and its access rights.
  • SaaS (software as a service): you use a ready-made application, such as email or a CRM. The provider manages almost everything, except the essentials: who can access what, and how.
Area On-premises IaaS PaaS SaaS
Data Customer Customer Customer Customer
Configuration and settings Customer Customer Customer Customer
Identities and accounts Customer Customer Customer Customer
Applications Customer Customer Shared Shared
Operating system Customer Customer Provider Provider
Hardware and data centre Customer Provider Provider Provider

This table simplifies the matrix published by Microsoft. Other providers follow the same logic.

What you can never hand over

Microsoft puts it in black and white: whatever the deployment type, the customer owns its data and identities, and is therefore responsible for protecting them. Four things always stay with you:

  1. Your data: its classification, encryption and backups.
  2. Your accounts: creating them, removing leavers, managing administrator accounts.
  3. Your access rights: the permissions granted, multi-factor authentication (MFA)Multi-factor authentication (MFA)A login that requires at least two proofs of identity of different kinds (something you know, something you have, something you are), so that a stolen password is no longer enough., conditional access rules.
  4. Your devices: an infected laptop opens the door to the cloud as surely as a stolen password.

Misconfiguration, the number one way in

The biggest cloud leaks rarely come from a technical feat against the provider. They nearly always come from a customer setting. Three families keep recurring.

Storage open to the whole internet

A storage space (a “bucket”) created for a test, shared “temporarily” with public read access, then forgotten: that is the classic scenario. The problem was so widespread that AWS changed its defaults: since April 2023, Block Public Access has been switched on automatically for every new S3 bucket. That is progress, but it does not fix buckets created earlier, nor those an administrator reopens “just to sort something out”.

Keys and tokens published by accident

A cloud access key is worth a password, often with far broader rights. In 2023, a Microsoft researcher published, in a public GitHub repository, an Azure storage sharing link (a SAS token) that was far too permissive. Among other things, it exposed backups of two former employees’ workstations and internal Teams messages. Reported on 22 June 2023 by the security firm Wiz, the exposure was closed two days later; Microsoft states that no customer data was exposed. If it can happen at Microsoft, it can happen to you. Chapter 12 explains how to get secretsSecrets managementThe way technical passwords, API keys, tokens and certificates used by applications are stored, distributed and renewed, without ever writing them in plain text in the code. out of your code.

Identities with too much power

Real case

Capital One, 2019. The US bank suffered the theft of data relating to about 100 million people in the United States and 6 million in Canada. The attacker exploited a misconfigured web application firewall, then the far-too-broad rights of a cloud role, to read storage buckets. According to the US Department of Justice, which secured her conviction in 2022, she had built a tool to find misconfigured cloud accounts and targeted at least thirty organisations. In August 2020, the US banking regulator (OCC) fined the bank $80 million, notably for failing to assess risks properly before migrating to the public cloud.

The answer fits in a single rule: least privilegeLeast privilegeThe principle that every user, application or service receives only the rights strictly needed for its job, and only for as long as it needs them.. Every account, human or machine, gets only the rights its task requires, and nothing more. A web server has no reason to be able to read every backup the company owns.

Cloud identities: the new perimeter

In an office, an attacker first has to get through the network. In the cloud, the administration console is reachable from any browser in the world. The only rampart is identity: the username, the password, and whatever backs them up. Identity and access management (IAM)Identity and access management (IAM)The processes and tools that ensure every person or machine has the right access, to the right resources, at the right time, and loses it as soon as it is no longer justified. becomes the heart of cloud security.

165
Snowflake customer organisations potentially exposed in 2024, through accounts without MFA
Source: Mandiant (Google Cloud), June 2024

The Snowflake affair in 2024 proved the point. Mandiant and Snowflake notified around 165 potentially exposed organisations. The investigation found no breach of Snowflake’s own environment: every incident traced back to customer credentials stolen by infostealer malwareInfostealerMalware built to quickly steal saved passwords, session cookies, cryptocurrency wallets and browser data, which are then sold on criminal marketplaces.. Three weaknesses, all on the customer side, made the campaign possible: accounts without MFA, passwords never changed (some since November 2020) and no restriction on the network addresses allowed to connect. That is shared responsibility in action.

Providers have learned the lesson. Microsoft has required MFA to sign in to the Azure portal since October 2024, then for command-line tools and management APIs from 1 October 2025. AWS has required it since mid-2024 for the root user of management accounts. But these rules only cover administration of the platform itself: the users of your email, CRM or payroll remain your responsibility.

Good habits:

  • MFA everywhere, and phishing-resistant MFA (security keys, passkeys) for administrators.
  • No day-to-day use of super-accounts (root user, global administrator): keep them for emergencies, with two well-protected “break-glass” accounts.
  • Workload identities for machines: a script or deployment pipeline uses a dedicated identity with short-lived, automatically renewed credentials, never an employee’s account.
  • Regular access reviews: every quarter, remove unused rights and the accounts of people who have left.

Logs: seeing what happens

A cloud service can record everything: every sign-in, every change of permissions, every file read. You still have to switch it on and keep the records. By default, AWS keeps 90 days of history of administrative actions; to go further, or to trace access to the data itself, you need to create a dedicated trail.

An episode from 2023 speaks volumes. In mid-June, a US federal agency spotted an intrusion into its Microsoft cloud email thanks to one specific log: the record of access to mailbox items (“MailItemsAccessed”). At the time, that log was only included in the most expensive licences. After the affair, and working with the US cybersecurity agency (CISA), Microsoft extended it to all customers from September 2023 and raised the standard retention period from 90 to 180 days.

In practice:

Sovereignty: where is your data, and which law applies?

Server location does not tell the whole story. Data stored in Paris by a provider subject to US law may fall under the 2018 CLOUD Act, which allows US authorities to require a provider within their jurisdiction to hand over data it controls, wherever that data is stored. So the real question has two parts: where is the data, and which law does its holder answer to?

SecNumCloud

In France, ANSSI, the national cybersecurity agency, awards the SecNumCloud qualification to cloud offerings that meet a demanding framework. Version 3.2 added criteria for protection against non-European law: the provider’s head office and ownership, operational autonomy, and location within the European Union of customer data, administration directories and technical logs. For the French state, the “cloud at the centre” doctrine (“cloud au centre”, circular of 5 July 2021) steers sensitive data towards such offerings. For a private company it is not a general obligation, but it is a solid benchmark for the most sensitive data.

Data Act: switching providers gets easier

The EU Data Act, applicable since 12 September 2025, tackles lock-in. Providers must make switching easier: export in machine-readable formats, a notice period of no more than two months, and a 30-day transition period. Switching and data egress charges are limited to actual costs during the transitional period, then banned from 12 January 2027. The regulation also sets safeguards against unlawful access by foreign authorities to non-personal data.

What the law says

GDPR and the contract. A cloud provider that processes personal data on your behalf is a processor under the GDPRGDPRThe EU regulation, applicable since 25 May 2018, that governs the use of personal data and requires every organisation to protect it with security measures appropriate to the risk. (Article 28): the contract must set out the security measures, data location, sub-processors and assistance in the event of a breach. The NIS2NIS2 DirectiveA 2022 EU directive that requires thousands of organisations in 18 sectors to take cybersecurity measures, report significant incidents and hold their management directly accountable. directive, still being transposed in France, adds supply chain security to the measures expected of the organisations it covers.

The cloud and SaaS checklist

  1. Inventory: list all your cloud and SaaS services, including those paid for by credit card without going through IT.
  2. MFA: required for every account, phishing-resistant for administrators.
  3. Super-accounts: root user and global administrators kept for emergencies, with two protected break-glass accounts.
  4. Least privilege: roles reviewed every quarter, workload identities for automation.
  5. Storage: public access blocked by default, exceptions documented and checked.
  6. Secrets: no keys in code or in a shared document; a secrets vault and regular rotation.
  7. Logs: switched on, centralised outside the monitored account, retained long enough, with alerts.
  8. Backups: a copy of your SaaS data outside the provider (the 3-2-1 rule3-2-1 backup ruleA simple backup rule: 3 copies of your data, on 2 different types of media, with 1 kept off-site.), because an online service’s recycle bin is not a backup.
  9. Posture: use your provider’s configuration checking tools (secure score, recommendations) and act on their alerts.
  10. Contract and exit: location, applicable law, incident notification, reversibility and exit costs.

Key takeaways

  1. The provider secures the infrastructure; your data, identities, access rights and settings always remain your responsibility.
  2. Most cloud leaks come from a customer mistake: storage left open, a key published by accident or a role with far too much power.
  3. In the cloud, identity is the new perimeter: MFA for everyone, and phishing-resistant MFA for administrator accounts.
  4. Without logs that are switched on, centralised and kept long enough, an intrusion in the cloud goes unnoticed.
  5. Data location is not enough: check which law applies to the provider, how you can leave, and what the contract says.

Were you paying attention?

Three questions to check, no score, no account.

1. Your company uses a SaaS email service. Who is responsible for managing user accounts and turning on MFA?
2. In 2024, around 165 Snowflake customer organisations were exposed. What was the main cause according to Mandiant?
3. What does ANSSI’s SecNumCloud qualification add compared with simply hosting data in France?

Sources

From theory to practice

So how does your system measure up?

Create your account and get an A+ to F grade for your domains’ encryption in minutes, with every finding explained and the fix to apply.

Run the audit from your account: an A+ to F grade for your domains’ encryption in minutes, with every finding explained and the fix to apply.

Contact us

A question, a project, a partnership? Write to us: the team answers by email, usually within one business day.

Your details are only used to answer you. Do not include passwords or vulnerability details.