mcpField
D
detecting-azure-storage-account-misconfigurations

detecting-azure-storage-account-misconfigurations

github.com/mukul975Security35.2k63 installsUpdated 8w ago
Repository

About detecting-azure-storage-account-misconfigurations

A security skill for analysts and SOC teams auditing Azure Storage accounts. It enumerates accounts and containers in a subscription, then produces a risk-scored report with severity ratings and remediation guidance.

Key features

  1. 01Enumerates subscription storage accounts
  2. 02Checks public access and container permissions
  3. 03Detects HTTPS, TLS, and encryption settings
  4. 04Reviews network rules and SAS risks
  5. 05Generates JSON findings with severity and remediation

Use cases

  1. 01Investigating Azure Storage security incidents
  2. 02Hunting for storage account misconfigurations
  3. 03Validating security monitoring coverage

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mukul975/anthropic-cybersecurity-skills --skill detecting-azure-storage-account-misconfigurations

After installing, type/detecting-azure-storage-account-misconfigurationsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE
references/
api-reference.md
scripts/
agent.py

Details

From the project README

Detecting Azure Storage Account Misconfigurations

Overview

Azure Storage accounts are a frequent target for attackers due to misconfigured public access, long-lived SAS tokens, missing encryption, and outdated TLS versions. This skill uses the azure-mgmt-storage Python SDK with StorageManagementClient to enumerate all storage accounts in a subscription, inspect their security properties, list blob containers for public access settings, and generate a risk-scored audit report identifying critical misconfigurations.

When to Use

  • When investigating security incidents that require detecting azure storage account misconfigurations
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.9+ with azure-mgmt-storage, azure-identity
  • Azure service principal with Reader role on target subscription
  • Environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID

Key Detection Areas

  1. Public blob access — allow_blob_public_access enabled on storage account or individual containers set to Blob/Container access level
  2. HTTPS enforcement — enable_https_traffic_only disabled, allowing unencrypted HTTP traffic
  3. Minimum TLS version — accounts accepting TLS 1.0 or TLS 1.1 instead of minimum TLS 1.2
  4. Encryption at rest — storage service encryption not enabled or missing customer-managed keys
  5. Network rules — default action set to Allow instead of Deny, exposing storage to all networks
  6. SAS token risks — account-level SAS with overly broad permissions or excessive lifetime

Output

JSON report with per-account findings, severity ratings (Critical/High/Medium/Low), and remediation recommendations aligned with CIS Azure Benchmark controls.

Comments

Markdown supported