The Board Question

A red-team report notes that "eng build" Kubernetes nodes can break out to the host via a poorly confined privileged container. Finance laptops show policy drift — host firewalls off, HIPS stale, FIM baselines missing. Sales are syncing PII to a shadow SaaS app.

The board just asked: "Are we safe in the cloud?"

Anya's answer: "We need one map that ties all of this together."

Modern enterprises don't run on one computer or one tidy app. They run on layers: hypervisors, containers, microservices, SaaS, mobiles, and clients scattered across countries. Each layer adds power and new places to fail. Your job isn't just to "turn on controls." It's to understand where isolation breaks, where defaults leak, and where shared responsibility is silently handing you the knife by the blade.

Virtualization vs Containers vs Microservices

Virtualization and Containers security comparison diagram
VMs vs Containers — isolation model, risks, and controls

Virtual Machines (VMs)

Containers

Microservices

Rule of thumb

As you move "up" the stack (VMs → containers → microservices), speed increases and implicit boundaries weaken. You must add strong identity, policy, and runtime controls to compensate.

Top Threat Actions and Mitigations

Threat Action Where It Bites Why It Works Mitigations That Matter
Breakout / Escape
VM → host; container → host
Hypervisor, container runtime Weak confinement; kernel bugs; privileged flags Patch hypervisor/runtime; disallow privileged containers; enable SELinux/AppArmor/seccomp; strict syscall allowlists
Shadow IT / SaaS exfil Cloud apps Unmonitored data flows, no DLP CASB for discovery/DLP; per-app OAuth governance; least-privilege scopes; data classification and policy
Config Drift Endpoints, servers "Temporary" tweaks that stick Config and policy monitor; CIS baselines; immutable infrastructure; drift alerts with auto-remediation
Credential Stuffing / Phishing Users, service accounts Weak MFA, token sprawl Phishing-resistant MFA; scoped tokens; JIT access; secrets rotation; device posture checks
Eavesdropping / MITM Mobile, Wi-Fi Open or rogue networks VPN + TLS everywhere; HSTS; Wi-Fi EAP-TLS; disable legacy ciphers; MDM to kill promiscuous network joining

Host Protection Stack

Host protection stack and client/mobile mitigations
Host protection, client/mobile mitigations, and cloud controls at a glance

Client and Mobile Risks and Controls

Client risks: physical loss, misuse, unapproved software, phishing clicks, locally stored secrets.

Mobile risks: loss/theft, weak access controls, unencrypted data, eavesdropping via MITM/fake APs, limited onboard security enforcement.

Controls That Actually Move Risk

Cloud Security — NIST, Models, and Reality

NIST Essential Characteristics of Cloud

Cloud Service Models and Shared Responsibility

Cloud service models shared responsibility matrix — IaaS, PaaS, SaaS
IaaS / PaaS / SaaS — who owns what

Cloud Deployment Models

Cloud deployment models — Private, Community, Public, Hybrid
Private / Community / Public / Hybrid — match sensitivity with control and cost

CASB — Cloud Access Security Broker

CASB is your visibility and policy engine sitting between users/devices and cloud services.

CASB in one sentence

You can't govern what you can't see. CASB is your cloud flashlight.

Neuromesh — Putting It Together

Virtualization and Containers

Microservices

Endpoints

Cloud and CASB

Cheat Sheet

Domain 3 cheat sheet — isolation, egress, CASB, drift, microservices identity
Domain 3 — five things that actually matter

Brain Ticklers

Practice Questions — Domain 3

Q1. Red team shows a container can start with --privileged on Neuromesh's CI runners. What is the most effective first mitigation?

  1. Add more AV signatures to runner hosts
  2. Remove privileged container capability; enforce seccomp/AppArmor; read-only rootfs
  3. Move CI runners to a bigger VM
  4. Enable HSTS on the corporate website

Q2. Finance laptops show host firewalls disabled and FIM baselines missing after a "temporary" troubleshooting change. Which control best prevents recurrence?

  1. Annual security awareness training
  2. Config/policy monitor with auto-revert to hardened baselines
  3. New laptop model with faster CPUs
  4. Weekly manual checklist by helpdesk

Q3. Sales is using an unsanctioned cloud storage app to share prospect data. What provides visibility and enforcement with least friction?

  1. Block all internet access except corporate site
  2. CASB discovery + DLP policies + OAuth scope governance
  3. Move Sales to private cloud VMs
  4. Ask users to email files instead

Q4. An incident shows lateral movement via over-permissive service tokens in a payment microservice architecture. Best architectural fix?

  1. Increase pod CPU limits
  2. Centralise all services into a monolith
  3. Mutual TLS identities (SPIFFE), least-privilege tokens, and per-service ABAC
  4. Replace Kubernetes with bare-metal servers

Q5. Sales team members work from airports and cafés. What policy set most reduces mobile eavesdropping risk without breaking workflows?

  1. Disable Wi-Fi globally on mobiles
  2. Require VPN; enforce TLS; MDM-pushed Wi-Fi profiles; block open SSIDs; screen lock + remote wipe
  3. Ask employees to be careful with Wi-Fi
  4. Move all apps to on-prem only
Key Takeaways
  • Isolation ≠ immunity — hypervisor or kernel CVEs flatten virtual walls fast if basics lag
  • VMs: strong isolation via hypervisor. Containers: moderate via namespaces/cgroups. Microservices: logical API boundary only
  • Default-deny egress on endpoints is underrated — it breaks C2 quietly and reliably
  • CASB is your cloud flashlight — you can't govern what you can't see
  • Drift is entropy made visible — treat hardened baselines as living code, not PDFs
  • Microservices need identity first — mTLS + scoped tokens + explicit contracts, or it's just a distributed monolith with distributed risk
  • NIST cloud: 5 characteristics, 3 service models, 4 deployment models
  • IaaS = most control + most responsibility; SaaS = least control + least responsibility