Identity and cloud misconfiguration: baselines and drift checks

Misconfiguration is the gap between a secure baseline and what is deployed. How to pick a baseline such as the CIS benchmarks, scan accounts with Prowler or ScoutSuite, and keep drift from coming back.

Lesson 11 of 29 · 10 min read · practice only with authorization

Diagram

From baseline to findings

Follow the path. One example at a time.

Step 1 of 4

Baseline

Pick a benchmark that fits: CIS for cloud providers and Microsoft 365, vendor secure-score recommendations.

Illustration: Baseline
# Baseline
# Pick a benchmark that fits: CIS for cloud providers and
# Microsoft 365, vendor secure-score recommendations.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Root and break-glass

    What fails
    Root or global admin accounts without MFA or with daily use.
    Who is affected
    The whole tenant.
    What you would notice
    Root sign-ins in audit logs or no MFA on root.
    What you change
    Hardware MFA on root, stored securely, with alerts on any use.
  2. Defaults left on

    What fails
    Services start with settings meant for convenience.
    Who is affected
    Data in those services.
    What you would notice
    Scanner findings on public access, encryption, or logging.
    What you change
    Apply organization-level guardrails before accounts are handed out.
  3. Drift

    What fails
    Fixed settings come back after a manual change.
    Who is affected
    Everything the setting protects.
    What you would notice
    The same finding reappearing in weekly scans.
    What you change
    Use preventive policy and infrastructure as code.

Read-only scanners

Prowler, ScoutSuite, and the providers’ own tools (AWS Security Hub, Microsoft Defender for Cloud, Google Security Command Center) compare accounts to benchmarks. Use a read-only role and keep reports as evidence.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

The same public-bucket finding reappears every week. What fixes it for good?

Sibling techniques

Pages at the same depth, plus a lab and a glossary card for this one.

This page stands on its own. The lab and the glossary card are the next reading.

Practice

  1. LabTerminal mission: server-status open to everyoneApache’s server-status page lists every request in flight, query strings included. Find the config that exposes it, what it leaks, and the version banner it gives away.

Glossary

  1. CardSecurity misconfigurationDefault accounts, open storage, verbose errors, or unused admin ports expose more than the product needs.