A cloud offers great convenience, but sharing resources and giving access over the internet create special risks. A threat is a possible cause of harm, and a vulnerability is a weakness that a threat can exploit.

The Shared Responsibility Model

Security in the cloud is shared between the provider and the customer. The provider is responsible for security of the cloud, which is the physical data centres, the hardware, the hypervisor and the core network. The customer is responsible for security in the cloud, which is its data, its accounts and identities, its applications, and the configuration of its services. The split depends on the model. In IaaS, the customer looks after the operating system and above. In SaaS, the provider looks after nearly all except data and access. Many breaches occur because customers wrongly assume that the provider secures everything.

Definition: Shared responsibility model. The division of security duties between a cloud provider, who secures the underlying infrastructure, and the customer, who secures its own data, identities, applications and configuration.

Common Threats

Data breaches expose confidential data to unauthorised people. Misconfiguration, such as a storage bucket left open to the public, is the most common cause of cloud leaks. Account hijacking takes place when an attacker steals credentials by phishing or weak passwords. Insecure interfaces and APIs give attackers a way in. Insider threats come from staff who misuse their access. Denial of service (DoS and DDoS) attacks flood a service with traffic to make it unavailable. Malware and ransomware may encrypt data for a ransom. Data loss may come from deletion, failure or disaster without backup. Advanced persistent threats are long, hidden attacks. Shadow IT is the use of cloud services without the approval of the IT department.

Vulnerabilities Special to the Cloud

Multi-tenancy means that customers share hardware, so a weakness in isolation may let one tenant reach another, for example by a VM escape attack, which breaks out of a virtual machine to the hypervisor. Side-channel attacks use shared processors and caches to leak information. Loss of control means that the customer cannot see the physical layer. Vendor lock-in makes it hard to leave. Weak identity management and unpatched software add to the risk. Data remnants may remain on shared storage after deletion.

Table 3.1: Common cloud threats

Threat Cause Defence
Data breach Weak access or encryption Encrypt, restrict access
Misconfiguration Human error Automated checks, policies
Account hijacking Stolen credentials Multi-factor authentication
DDoS Traffic floods Load balancing, DDoS protection
Insider threat Misuse of access Least privilege, logging

Example 3.1: Who is responsible?

Problem: State whether the provider or the customer is responsible for (a) the physical security of the data centre, (b) the patching of the operating system on an IaaS virtual machine, (c) the strong passwords of the user accounts.

Solution:

  1. The data centre belongs to the provider.
  2. In IaaS the customer manages the operating system, so patching is the customer's task.
  3. User accounts and passwords are the customer's.

Result: (a) provider, (b) customer, (c) customer.

Common mistakes

  • Assuming that the provider secures everything, including the customer's data and accounts.
  • Leaving storage buckets and databases open to the public.
  • Ignoring the risk of insiders, who already have access.

Key takeaways

  • Security is shared: the provider secures the cloud, the customer secures what is in it.
  • Misconfiguration and weak credentials cause most breaches.
  • Multi-tenancy brings risks such as VM escape and side-channel attacks.
  • Common defences are least privilege, multi-factor authentication and monitoring.

Practice questions

  1. What is the shared responsibility model?
  2. Name three cloud threats.
  3. What is a VM escape attack?

Answers to the practice questions

  1. A division of duties in which the provider secures the infrastructure and the customer secures its data, access and configuration.
  2. Data breach, account hijacking and denial of service (also misconfiguration, insider threats).
  3. An attack that breaks out of a virtual machine to reach the hypervisor or other tenants.

Sources

  • Official BCA syllabus Cloud Computing, course code 25BCA405DS03, Unit III