<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: analyzing-cloud-privilege-escalation
description: >-
  Analyze privilege escalation paths and evidence in cloud IAM policies and role assumptions.
domain: cybersecurity
subdomain: cloud-forensics
tags:
  - cloud-security
  - privilege-escalation
  - iam
  - forensics
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1548"]
---

# Analyzing Cloud Privilege Escalation

## Overview

Analyze privilege escalation paths and evidence in cloud IAM policies and role assumptions.

## Prerequisites

| Requirement | Install |
|---|---|
| Python 3.10+ | For agent tooling |
| Cloud CLI tools | Provider-specific CLIs |

## Key Concepts

Analyzing Cloud Privilege Escalation involves systematic analysis and investigation
of security events in the target environment.

## Quick Reference

```bash
node scripts/agent.js discover --target <TARGET>
node scripts/agent.js analyze --target <TARGET> --depth full
node scripts/agent.js collect --target <TARGET> --output evidence.json
node scripts/agent.js report --investigation INV-001
```

## Workflow

1. Define investigation scope
2. Collect relevant artifacts
3. Analyze evidence
4. Correlate findings
5. Identify indicators
6. Document chain of custody
7. Generate report

## Detection

```yaml
title: Cloud Privilege Escalation Detection
id: 05b6c6ee-82ca-4973-87ab-b77856672f4a
status: experimental
description: Detects suspicious activity related to analyzing cloud privilege escalation techniques in cloud forensics context
logsource:
  product: aws
  service: cloudtrail
detection:
  selection:
    eventName: "*Unauthorized*"
  condition: selection
level: high
tags:
  - attack.t1548
  - attack.collection
falsepositives:
  - Scheduled compliance scanning by authorized security tools
```

## Verification

- Verify evidence integrity
- Confirm analysis results
- Validate indicator extraction
- Check correlation accuracy
- Verify report completeness

## References

- OWASP Testing Guide — https://owasp.org/www-project-web-security-testing-guide/
- MITRE ATT&CK — https://attack.mitre.org/
- NIST SP 800-53 — https://csf.tools/reference/nist-sp-800-53/
