Skip to main content
skill CX Codex

cloud-defense — Claude Code skill: detection and install

cloud-defense maps post-compromise cloud attack stages to log signals and preventive controls. Use it for AWS, Azure, and GCP detection work or posture reviews.

MIT 133 installs ★ 632 updated 2026-07-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add transilienceai/communitytools --skill cloud-defense -a claude-code
Open on GitHub

What cloud-defense does

This skill breaks a post-compromise cloud attack chain into lateral movement, privilege escalation, data exfiltration, and defense evasion. For every stage, it connects an event in CloudTrail, Activity-Log, or Audit-Log with one preventive control that removes the technique.

Its workflow first checks organisation-wide logging, data events, and threat detection. It then maps attacker stages through reference/detection-signals.md, applies controls from reference/hardening-controls.md, and reruns the matching technique from cloud-containers to verify the control or alert.

Without an org-wide trail, data events, and threat detection, the signals will not be visible.

What it helps with

  • map a post-compromise attack chain
  • tie each attack stage to a log event
  • choose a control that blocks the technique
  • write cloud pentest remediation steps
  • review an AWS, Azure, or GCP account

Example prompts for the agent

  • Map the post-compromise chain in our AWS account and list the alert signals for each stage.
  • Match privilege escalation and data exfiltration to CloudTrail events, then suggest controls from reference/hardening-controls.md.
  • Check the logging prerequisites before we rerun the matching technique from cloud-containers.

How to install cloud-defense

1Skills CLI (Vercel)

npx skills add transilienceai/communitytools --skill cloud-defense -a claude-code

2Manually: put the files in place

~/.claude/skills/cloud-defense/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cloud-defense/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cloud-defense

How do I install cloud-defense in Claude Code?

Run npx skills add transilienceai/communitytools --skill cloud-defense -a claude-code. Then check ~/.claude/skills/cloud-defense/SKILL.md.

What does cloud-defense do?

It maps post-compromise stages in AWS, Azure, and GCP to log events and preventive controls. The result can support detection work, hardening, and remediation writing.

What does cloud-defense require before it can detect these stages?

The account needs an org-wide trail, data events, and threat detection enabled. Without them, the skill’s detection signals remain invisible.

Source text

SKILL.md · MIT
---
name: cloud-defense
description: Detect and break the cloud post-compromise attack chain (AWS / Azure / GCP) — per-stage CloudTrail / Activity-Log / Audit-Log detection signals and the preventive controls that close each step. Use for cloud detection engineering, hardening, remediation write-ups, or blue-team posture review of the lateral-movement -> privilege-escalation -> exfiltration -> evasion chain.
---

# Cloud Defense

The blue-team counterpart to [`cloud-containers`](../cloud-containers/SKILL.md). For each attacker move — lateral movement, privilege escalation, data exfiltration, defense evasion — this skill gives the log event to alert on and the single control that removes the technique. Use it to turn an offensive cloud finding into a concrete detection and remediation.

## When to use

- Writing the remediation / hardening section of a cloud pentest report.
- Cloud detection engineering: deciding which control-plane events to alert on.
- Reviewing an AWS / Azure / GCP account's posture against the post-compromise chain.

## Workflow

1. Confirm the logging prerequisites are in place (org-wide trail, data events, threat detection on) — without them the signals below are invisible.
2. Map each attacker stage to its detection signal — see [reference/detection-signals.md](reference/detection-signals.md).
3. Apply the preventive control that breaks each stage — see [reference/hardening-controls.md](reference/hardening-controls.md).
4. Re-run the matching offensive technique from [`cloud-containers`](../cloud-containers/SKILL.md) to confirm the control holds or the alert fires.

## References

- [reference/INDEX.md](reference/INDEX.md) — router
- [reference/detection-signals.md](reference/detection-signals.md) — per-stage log signals + logging prerequisites
- [reference/hardening-controls.md](reference/hardening-controls.md) — the control that breaks each stage

© transilienceai · MIT · transilienceai/communitytools

Similar skills

All skills for Security →

From the same set42

The whole set →
pentest-engagement pentest-engagement runs scoped penetration tests on web applications or networks, verifies findings immediately, and produces a structured PDF report. CX Codex +1 157installs regression-sweep regression-sweep is a Claude Code skill that rechecks confirmed vulnerabilities weekly for patches, mitigations, and re-introductions. It runs on Mondays or manually after major deployments. CX Codex +1 149installs ti-ingest ti-ingest parses threat-intel payloads with CVEs and affected assets into queue files for validation agents. CX Codex +1 147installs pci-secure-software Checks an app against PCI Secure Software Standard v2.0 and returns a status for every Test Requirement, tied to a cited line of code or docs. CX Codex +1 141installs transilience-report-style transilience-report-style is a Claude Code skill that defines styling for Threat Intelligence reports generated as A4 PDFs with ReportLab. Light theme is the default. CX Codex +1 133installs authenticated-session-acquisition The authenticated-session-acquisition skill obtains a legitimate MFA/OTP session and saves reusable artifacts for browser and post-auth API testing. CX Codex +1 126installs network-appliance-offensive network-appliance-offensive — a skill for active security testing of firewalls, VPN endpoints, and network appliances. CX Codex +1 120installs protect-with-password protect-with-password — a skill for Claude Code produces a secure password and locks specified files using AES-256. Triggers when encrypting deliverable documents prior to sharing. CX Codex +1 115installs

Project sponsors

Companies that keep this analytics open