---
title: "Cloud and SaaS: who protects what?"
description: "Shared responsibility, misconfigurations, identities and MFA, logging and sovereignty: how to secure your use of cloud and SaaS, with real cases."
url: https://krakenshield.eu/knowledge/a-to-z/10-cloud-and-saas/
lang: en
updated: 2026-10-02
publisher: KrakenShield (KRAKEN HOLDING SAS)
overview: https://krakenshield.eu/llms.txt
---
# 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.

Protecting your systems Chapter 10

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

## 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.

> **Nestor Former hacker turned defender:** I never needed to drill through a data centre wall. The doors I found open had been left that way by the customer, in their own settings.

## 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)](https://krakenshield.eu/knowledge/glossary/mfa/) , 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 [secrets](https://krakenshield.eu/knowledge/glossary/secrets-management/) out of your code.

### Identities with too much power

> **Real case**
> 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.

> **Nestor Former hacker turned defender:** An attacker isn’t necessarily after your company. They sweep thousands of accounts looking for the shaky setting, and the first one that answers wins a visit. It’s not personal, it’s statistics.

The answer fits in a single rule: [least privilege](https://krakenshield.eu/knowledge/glossary/least-privilege/). 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)](https://krakenshield.eu/knowledge/glossary/iam/) 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 malware](https://krakenshield.eu/knowledge/glossary/infostealer/). 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.

> **Belinda PhD in cryptography:** A log you didn’t switch on before the incident is a witness you never summoned: you can’t question it afterwards. Turn it on from day one, not on the day of the crisis.

In practice:

- switch on administration logs **and** access logs for sensitive data;
- send them to a separate location that the administrators of the monitored account cannot erase, ideally a [SIEM](https://krakenshield.eu/knowledge/glossary/siem/) ;
- set simple alerts: an administrator signing in without MFA, an access key being created, storage made public, a log being switched off;
- set a retention period that matches your obligations, and check it: intrusions are often discovered months after the fact.

## 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**
> What the law says
> 
> **GDPR and the contract.** A cloud provider that processes personal data on your behalf is a processor under the [GDPR](https://krakenshield.eu/knowledge/glossary/gdpr/) (Article 28): the contract must set out the security measures, data location, sub-processors and assistance in the event of a breach. The [NIS2](https://krakenshield.eu/knowledge/glossary/nis2/) 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 rule](https://krakenshield.eu/knowledge/glossary/backup-3-2-1/) ), 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.

> **Nestor Former hacker turned defender:** A cloud account with MFA, tight permissions and logs shipped elsewhere is the kind of target I used to drop after five minutes. Today’s attackers do the same: they go and try next door.

## 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.

## Sources

- [ANSSI, FAQ on SecNumCloud qualification (in French)](https://cyber.gouv.fr/enjeux-technologiques/cloud/faq-qualification-secnumcloud/)
- [Regulation (EU) 2023/2854 (Data Act), EUR-Lex](https://eur-lex.europa.eu/eli/reg/2023/2854/oj)
- [European Commission, Data Act explained](https://digital-strategy.ec.europa.eu/en/factpages/data-act-explained)
- [CISA and FBI, advisory AA23-193A on detecting activity in Outlook Online (July 2023)](https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-193a)
- [OCC, $80 million civil money penalty against Capital One (August 2020)](https://www.occ.gov/news-issuances/news-releases/2020/nr-occ-2020-101.html)
- [U.S. Department of Justice, conviction in the Capital One case (June 2022)](https://www.justice.gov/usao-wdwa/pr/former-seattle-tech-worker-convicted-wire-fraud-and-computer-intrusions)
- [U.S. Department of Justice, CLOUD Act Resources](https://www.justice.gov/criminal/cloud-act-resources)
- [Mandiant (Google Cloud), UNC5537 targets Snowflake customer instances (June 2024)](https://cloud.google.com/blog/topics/threat-intelligence/unc5537-snowflake-data-theft-extortion)
- [Microsoft Learn, Shared responsibility in the cloud](https://learn.microsoft.com/en-us/azure/security/fundamentals/shared-responsibility)
- [Microsoft Learn, Mandatory MFA for Azure](https://learn.microsoft.com/en-us/entra/identity/authentication/concept-mandatory-multifactor-authentication)
- [Microsoft, Expanding cloud logging to give customers deeper security visibility (July 2023)](https://www.microsoft.com/en-us/security/blog/2023/07/19/expanding-cloud-logging-to-give-customers-deeper-security-visibility/)
- [Microsoft Security Response Center, overly permissive SAS token (September 2023)](https://www.microsoft.com/en-us/msrc/blog/2023/09/microsoft-mitigated-exposure-of-internal-information-in-a-storage-account-due-to-overly-permissive-sas-token)
- [AWS, Shared Responsibility Model](https://aws.amazon.com/compliance/shared-responsibility-model/)
- [AWS, S3 Block Public Access enabled by default for new buckets (April 2023)](https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/)
- [AWS, CloudTrail documentation: event history](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html)

## Preparing for the CISSP?

This chapter is a foundation for domains 2, 3, 4 and 5 of our CISSP preparation, which adds everything else the exam asks for.

[All chapters](https://krakenshield.eu/knowledge/a-to-z/)
