Cloud security and CASB: how to control SaaS applications and data

In short: when data and applications move to the cloud, the traditional perimeter stops being enough. CASB (Cloud Access Security Broker) is a layer that gives visibility and control over which cloud services employees use, who has access to what data, and where that data goes. Below we explain how it works, when it is effective and how to approach deployment.

The cloud changes the rules: the shared responsibility model

The cloud provider is responsible for the security of the cloud: the data centre, hardware and platform. The customer is responsible for the security of what it puts in it: data, identities, configuration and the way services are used. The scope on the customer’s side depends on the model (IaaS, PaaS, SaaS), but data, accounts and permissions always remain.

In practice most incidents in the cloud do not result from a break-in at the provider but from mistakes on the customer’s side: overly broad permissions, publicly exposed resources, compromised accounts, uncontrolled sharing of files, and applications the IT department does not know about.

The problem: shadow IT and invisible data

Employees independently use applications for collaboration, file storage, note-taking or AI-based tools. This is shadow IT. Each such service can store company data outside any control: without multi-factor authentication, without event logging and without a contract with the provider. Added to this is the risk of data leaks through sharing files externally and using services on personal devices.

A firewall and ordinary address filtering will not solve this, because traffic to the cloud is encrypted and looks similar for business and personal services.

What CASB is

CASB is a control point between users and cloud services that enforces the company’s security policy. The term was introduced by the analyst firm Gartner. CASB solutions usually perform four groups of tasks:

Area What it covers
Visibility discovery of all cloud applications in use (including unauthorised ones), assessment of application risk, showing who uses them and how
Data protection detection of sensitive data in SaaS services, control of sharing, encryption, data loss prevention (DLP)
Threat protection detection of anomalies (e.g. unusual logins, mass file downloads), compromised accounts, malicious files and applications
Compliance enforcement of policies, reports and evidence for the auditor, control of data location

How CASB works: deployment modes

  • API mode (out of the traffic path). CASB connects to the SaaS service through its API (e.g. Microsoft 365, Google Workspace, Salesforce, Box) and analyses data and configuration already stored in the service. Advantage: no impact on performance and it also works for unmanaged devices. Drawback: the response comes after the fact, and the scope depends on the API capabilities of the given application.
  • Forward proxy. The user’s traffic to the cloud passes through CASB, usually thanks to an agent on the device or network rules. It allows actions to be blocked in real time, but requires control over the device or the traffic.
  • Reverse proxy. Access to a SaaS application is redirected through CASB after authentication, which allows sessions to be controlled also from personal devices without an agent. Not every application supports this.
  • Log analysis. Detecting shadow IT from firewall, proxy or SWG logs. A quick way to get a first picture of the situation.

In practice a combination of several modes works best: log analysis to start, API for key applications, and inline mode where real-time control is needed.

CASB compared with other solutions

CASB does not replace other safeguards but complements them. Below is a simplified comparison:

Solution Focuses on
CASB the use of SaaS applications and the data in them: who, what, with what data
SWG (Secure Web Gateway) filtering Internet traffic and protecting against malicious sites
ZTNA access to specific private applications without broad network access
DLP detecting and blocking data leaks (in CASB, SWG and in SaaS services)
CSPM / CNAPP the configuration and risk of your own infrastructure in the public cloud (AWS, Azure, GCP)
SSPM the correctness of the configuration of the SaaS applications themselves
IAM and MFA identities, authentication and permissions, on which each of the above layers relies

The boundaries between these categories are blurring: vendors combine them into platforms. More important than the name is whether the solution really covers your risks.

CASB in the SASE and Zero Trust architecture

CASB is one of the components of SSE (Security Service Edge), that is the security layer of SASE, alongside SWG, ZTNA and firewall as a service. Combined with SD-WAN, user traffic reaches the nearest point of presence, where it is inspected and at the same time directed to the application. Thanks to one policy you do not need to maintain separate tools for the office, remote work and branches.

From the perspective of the Zero Trust model, CASB helps implement the principle of “never trust, always verify” for cloud applications: the access decision takes into account identity, device state, location and data sensitivity, not merely possession of a valid password.

Regulatory requirements and the cloud

  • NIS2 and KSC: require risk management, access control, supply chain security and incident management. Cloud service providers are part of the supply chain. More in the article on the NIS2 directive.
  • DORA: in the financial sector it requires management of the risk of ICT service providers, including cloud ones.
  • PCI DSS: if card data goes to the cloud, the division of responsibility with the provider must be clearly defined. See PCI DSS and infrastructure.
  • GDPR: control of the location and sharing of personal data, and the ability to show who had access to it.

CASB provides the evidence auditors ask for: an inventory of services in use, an access record, and reports on sensitive data and enforced policies.

How to deploy CASB step by step

  1. Inventory. Establish which cloud services the organisation actually uses (firewall and proxy logs, identity data). The first shadow IT report is usually a surprise.
  2. Data and risk classification. Indicate which data is sensitive and in which applications it may appear.
  3. Policies. Decide which applications are permitted, tolerated and blocked, and which actions are unacceptable (e.g. sharing data outside the organisation).
  4. Pilot. Start with one or two key applications (e.g. email and file sharing) and a monitoring mode without blocking.
  5. Enforcement. After tuning the rules, enable blocking, encryption and automatic responses.
  6. Integration. Connect CASB with identity (SSO, MFA), SIEM and the incident handling process.
  7. Maintenance. Regularly review policies, new applications and results.

What to watch out for

  • Coverage. Not all applications have a full API or support a proxy. Check whether the solution supports the applications you really use.
  • Encryption and certificates. Inline traffic inspection requires TLS handling, and some applications use certificate pinning.
  • Personal devices. Without an agent, control is limited, so reverse proxy or API mode is often chosen.
  • False alarms. DLP rules need tuning, otherwise they will block normal work.
  • Privacy and data location. Traffic is analysed in the CASB provider’s cloud, so legal and contractual requirements must be verified.
  • Change management. Users should know what is monitored and why. Without communication, resistance appears.
  • Vendor lock-in. Choose a solution with a clear integration plan and the ability to export policies.

How NetContractor can help

Audit and assessment

  • an inventory of cloud services in use and shadow IT based on existing logs,
  • a review of the configuration of identity, remote access and traffic to the cloud,
  • an assessment of risk and compliance requirements (NIS2, KSC, DORA, PCI DSS, GDPR).

Recommendations

  • choice of model: CASB alone, SSE or full SASE, without tying to a single vendor,
  • design of policies, data classification and identity integration,
  • a phased implementation plan and a business case.

Implementation

  • a pilot and policy tuning, integration with SIEM and the incident handling process,
  • documentation and evidence for the auditor, team training.

See also: IT security, Governance and risk management, Network audit.

See also: SWG (Secure Web Gateway), the control of users’ web traffic that complements CASB.

See also: SASE: what it is, what it consists of and how to deploy it in stages.

Let’s talk

Book a free 30-minute consultation or write to nc@netcontractor.pl. We will establish which cloud services you use and what a sensible first step is.

This article is for information purposes. The description is simplified, and the capabilities of solutions differ by vendor. Regulatory requirements should be verified in the current texts of the regulations.

Previous PostNext Post

Leave a Reply

Your email address will not be published. Required fields are marked *