Skip to content

Methodology: add org-guardrails and security-services checks - #399

Merged
carlospolop merged 1 commit into
masterfrom
methodology/org-guardrails-and-security-services
Sep 17, 2026
Merged

carlospolop merged 1 commit into
masterfrom
methodology/org-guardrails-and-security-services

Conversation

@carlospolop

Copy link
Copy Markdown
Collaborator

What

Adds two steps to the Basic Methodology of the Pentesting Cloud Methodology page. They round out the existing benchmark → services → exposure → permissions → integrations flow with two checks every cloud assessment should perform but that were previously only implicit:

  1. Check organization-wide guardrails — the org-level controls that cap what every account/project/subscription below can do (they set the ceiling for everything else and are frequently missing or left in audit rather than deny mode):

    • AWS: SCPs / RCPs, clean management account.
    • GCP: key Organization Policy constraints, sane folder/project hierarchy.
    • Azure: Management Group hierarchy + Azure Policy with deny effects.
    • Plus who can weaken those guardrails.
  2. Check security services are properly enabled — every finding is only detectable and recoverable if the cloud's detective/preventive services are on, protected and centralized (an attacker's first move is to blind them):

    • AWS: CloudTrail (multi-region org trail, log-file validation, immutable bucket in a separate logging account), GuardDuty, Config, Security Hub, IAM Access Analyzer.
    • GCP: Data Access audit logs (off by default), aggregated org log sink, Security Command Center, VPC Service Controls.
    • Azure: Defender for Cloud plans, centralized Activity + Entra ID diagnostic logs, Microsoft Sentinel.

Why

These are exactly the two additional steps now taught in the HackTricks Training white-box methodology lessons; this brings the public methodology in line with them.

Notes

  • Only the Basic Methodology bullet list is touched; no <sup> reference markers were added or renumbered, so the numbered reference system is untouched.

🤖 Generated with Claude Code

Extend the Basic Methodology with two steps every cloud assessment should
cover but that were previously implicit:

- Check organization-wide guardrails (AWS SCP/RCP, GCP Org Policies,
  Azure Management Groups + Azure Policy) and who can weaken them.
- Check that detective/preventive security services are enabled, protected
  and centralized (CloudTrail/GuardDuty/Config/Security Hub, GCP Data Access
  logs/SCC/VPC-SC, Azure Defender for Cloud/Sentinel/centralized logs).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@carlospolop
carlospolop merged commit e11925a into master Sep 17, 2026
1 check passed
@carlospolop
carlospolop deleted the methodology/org-guardrails-and-security-services branch September 17, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant