Performing Cloud Forensics Investigation
Overview
Cybersecurity skill for performing cloud forensics investigation. Follows industry best practices and security standards.
When to Use
Trigger phrases:
"performing cloud forensics investigation"
"Conduct forensic investigations in cloud environments by collecting and analyzin"
When investigating a security breach in AWS, Azure, or GCP cloud environments
For collecting volatile and non-volatile evidence from cloud infrastructure
When tracing unauthorized access through cloud service API logs
During incident response requiring preservation of cloud-based evidence
For analyzing compromised virtual machines, containers, or serverless functions
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Administrative access to the cloud account under investigation
- AWS CLI, Azure CLI, or gcloud CLI configured with appropriate permissions
- Understanding of cloud-native logging (CloudTrail, Activity Log, Audit Log)
- Forensic workstation with cloud SDKs installed
- Knowledge of IAM, networking, and compute services in target cloud
- Evidence preservation procedures for cloud environments
Workflow
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Plan Operations — Define objectives, scope, and success criteria for cloud forensics investigation operations.
- Prepare Environment — Set up tools, access, and data sources required for cloud forensics investigation.
- Execute Core Workflow — Perform the cloud forensics investigation operations following established procedures.
- Validate Results — Verify that results meet quality standards and objectives.
- Report Findings — Document results, observations, and recommendations.
- Follow Up — Track remediation actions and verify fixes where applicable.
Tools
- Analysis Platform — Data processing and visualization
- Collaboration Tools — Team coordination and knowledge sharing
Process
- Reconnaissance — Gather target information, identify attack surface, enumerate services
- Analysis/Exploitation — Execute the technique, analyze results, document findings
- Reporting — Document IOCs, write findings, provide remediation recommendations
Verification
Anti-Rationalization Table
| Rationalization |
Reality |
| "We are too small to be targeted" |
Automated attacks target everyone. Size does not matter. |
| "Security slows us down" |
A breach slows you down 100x more. Build security in from the start. |
| "We will fix it after launch" |
Vulnerabilities in production are exploited within hours. Fix before deploy. |
1---2name: performing-cloud-forensics-investigation3description: Use when conduct forensic investigations in cloud environments by collecting4 and analyzing logs, snapshots, and metadata from AWS, Azure, and GCP services. Use5 when conducting forensic investigations in cloud environments by collecting and6 analyzing.7domain: cybersecurity8tags:9- forensics10- cloud-forensics11- aws12- azure13- gcp14- incident-response15- log-analysis16subdomain: digital-forensics17version: '1.0'18author: oyi7719license: Apache-2.020nist_csf:21- RS.AN-0122- RS.AN-0323- DE.AE-0224- RS.MA-0125category: cybersecurity26metadata:27 source: https://skillmd.com/skills/oyi77/performing-cloud-forensics-investigation28---2930# Performing Cloud Forensics Investigation3132## Overview3334Cybersecurity skill for performing cloud forensics investigation. Follows industry best practices and security standards.3536## When to Use37**Trigger phrases:**38- "performing cloud forensics investigation"39- "Conduct forensic investigations in cloud environments by collecting and analyzin"4041- When investigating a security breach in AWS, Azure, or GCP cloud environments42- For collecting volatile and non-volatile evidence from cloud infrastructure43- When tracing unauthorized access through cloud service API logs44- During incident response requiring preservation of cloud-based evidence45- For analyzing compromised virtual machines, containers, or serverless functions464748## When NOT to Use4950- When you lack proper authorization for testing51- For production systems without change management52- When the task requires legal or compliance expertise beyond technical scope535455## Prerequisites56- Administrative access to the cloud account under investigation57- AWS CLI, Azure CLI, or gcloud CLI configured with appropriate permissions58- Understanding of cloud-native logging (CloudTrail, Activity Log, Audit Log)59- Forensic workstation with cloud SDKs installed60- Knowledge of IAM, networking, and compute services in target cloud61- Evidence preservation procedures for cloud environments6263## Workflow6465```python66# Example: IOC detection67import re6869IOC_PATTERNS = {70 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",71 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",72 "hash_md5": r"\b[a-f0-9]{32}\b",73 "hash_sha256": r"\b[a-f0-9]{64}\b",74}7576def extract_iocs(text: str) -> dict:77 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}78```79801. **Plan Operations** — Define objectives, scope, and success criteria for cloud forensics investigation operations.812. **Prepare Environment** — Set up tools, access, and data sources required for cloud forensics investigation.823. **Execute Core Workflow** — Perform the cloud forensics investigation operations following established procedures.834. **Validate Results** — Verify that results meet quality standards and objectives.845. **Report Findings** — Document results, observations, and recommendations.856. **Follow Up** — Track remediation actions and verify fixes where applicable.8687## Tools8889- **Analysis Platform** — Data processing and visualization90- **Collaboration Tools** — Team coordination and knowledge sharing919293## Process94951. **Reconnaissance** — Gather target information, identify attack surface, enumerate services961. **Analysis/Exploitation** — Execute the technique, analyze results, document findings971. **Reporting** — Document IOCs, write findings, provide remediation recommendations9899## Verification100101- [ ] All cloud forensics investigation procedures executed completely and documented102- [ ] Findings validated against multiple data sources103- [ ] False positives identified and filtered104- [ ] Results documented with evidence and timestamps105- [ ] Recommendations provided with risk-based prioritization106107## Anti-Rationalization Table108109| Rationalization | Reality |110|---|---|111| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |112| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |113| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |