<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
---
name: performing-cloud-memory-forensics
description: >-
  Capture and analyze cloud instance memory for malware, credentials, and indicators of compromise.
domain: cybersecurity
subdomain: cloud-forensics
tags:
  - memory-forensics
  - volatility
  - cloud-security
  - forensics
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1003"]
---

# Performing Cloud Memory Forensics

## Overview

Capture and analyze cloud instance memory for malware, credentials, and indicators of compromise.

## Prerequisites

| Requirement | Install |
|---|---|
| Volatility3 | `pip install volatility3` |
| LiME | Linux memory extractor |
| Python 3.10+ | For agent tooling |

## Key Concepts

Cloud memory forensics captures volatile data from running instances.
Analysis reveals running processes, network connections, injected code,
and in-memory credentials.

## Quick Reference

```bash
node agent.js capture --instance i-12345 --region us-east-1
node agent.js analyze --dump memory.raw --profile linux
node agent.js scan --dump memory.raw --check malware,credentials
node agent.js report --investigation MEM-2026-001
```

## Workflow

1. Identify target instances
2. Capture memory
3. Analyze processes
4. Scan for malware
5. Extract credentials
6. Map network connections
7. Document findings

## Detection

```yaml
title: Cloud Memory Forensics Detection
id: 6a6705a5-cf1b-4429-a5e5-5dffcb3a089b
status: experimental
description: Detects suspicious activity related to performing cloud memory forensics techniques in cloud forensics context
logsource:
  product: aws
  service: cloudtrail
detection:
  selection:
    eventName: "*Unauthorized*"
  condition: selection
level: high
tags:
  - attack.t1003
  - attack.collection
falsepositives:
  - Scheduled compliance scanning by authorized security tools
```

## Verification

- Verify memory capture
- Confirm process analysis
- Validate malware scanning
- Check credential extraction
- Verify evidence integrity

## 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/
