Hunting For Living Off The Cloud Techniques
Overview
Cybersecurity skill for hunting for living off the cloud techniques. Follows industry best practices and security standards.
When to Use
Trigger phrases:
"hunting for living off the cloud techniques"
"When proactively hunting for indicators of hunting for living off the cloud tech"
"After threat intelligence indicates active campaigns using these techniques"
"During incident response to scope compromise related to these techniques"
When proactively hunting for indicators of hunting for living off the cloud techniques in the environment
After threat intelligence indicates active campaigns using these techniques
During incident response to scope compromise related to these techniques
When EDR or SIEM alerts trigger on related indicators
During periodic security assessments and purple team exercises
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
- EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)
- SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)
- Sysmon deployed with comprehensive configuration
- Windows Security Event Log forwarding enabled
- Threat intelligence feeds for IOC correlation
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()}
- Define Detection Scope — Identify the specific techniques or indicators to hunt. Map to MITRE ATT&CK tactics/techniques where applicable.
- Collect Baseline Data — Gather historical logs and establish normal behavior patterns for .
- Build Detection Queries — Write living off the cloud techniques queries targeting indicators. Use platform-specific query language for optimal performance.
- Execute Hunts — Run queries against the collected data, starting with broad filters and narrowing down.
- Triage Results — Investigate alerts, filter false positives, and validate findings against known-good behavior.
- Document Findings — Record confirmed detections, IOCs, and affected systems. Update detection rules based on findings.
Tools
- living off the cloud techniques — Primary tool for this skill
- SIEM Platform — Central log aggregation and query execution
- Sigma Rules — Vendor-agnostic detection rule format
- MITRE ATT&CK Navigator — Technique mapping and coverage analysis
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: hunting-for-living-off-the-cloud-techniques3description: Use when hunt for adversary abuse of legitimate cloud services for C2,4 data staging, and exfiltration including abuse of Azure, AWS, GCP services, and5 SaaS platforms. Use when hunting for adversary abuse of legitimate cloud services6 for c2,.7domain: cybersecurity8tags:9- threat-hunting10- mitre-attack11- cloud-abuse12- c213- lotc14- saas15- proactive-detection16subdomain: threat-hunting17version: '1.0'18author: oyi7719license: Apache-2.020d3fend_techniques:21- Application Protocol Command Analysis22- Network Isolation23- Network Traffic Analysis24- Client-server Payload Profiling25- Network Traffic Community Deviation26nist_csf:27- DE.CM-0128- DE.AE-0229- DE.AE-0730- ID.RA-0531category: cybersecurity32metadata:33 source: https://skillmd.com/skills/oyi77/hunting-for-living-off-the-cloud-techniques34---3536# Hunting For Living Off The Cloud Techniques3738## Overview3940Cybersecurity skill for hunting for living off the cloud techniques. Follows industry best practices and security standards.4142## When to Use4344**Trigger phrases:**45- "hunting for living off the cloud techniques"46- "When proactively hunting for indicators of hunting for living off the cloud tech"47- "After threat intelligence indicates active campaigns using these techniques"48- "During incident response to scope compromise related to these techniques"495051- When proactively hunting for indicators of hunting for living off the cloud techniques in the environment52- After threat intelligence indicates active campaigns using these techniques53- During incident response to scope compromise related to these techniques54- When EDR or SIEM alerts trigger on related indicators55- During periodic security assessments and purple team exercises565758## When NOT to Use5960- When you lack proper authorization for testing61- For production systems without change management62- When the task requires legal or compliance expertise beyond technical scope636465## Prerequisites6667- EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)68- SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)69- Sysmon deployed with comprehensive configuration70- Windows Security Event Log forwarding enabled71- Threat intelligence feeds for IOC correlation7273## Workflow7475```python76# Example: IOC detection77import re7879IOC_PATTERNS = {80 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",81 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",82 "hash_md5": r"\b[a-f0-9]{32}\b",83 "hash_sha256": r"\b[a-f0-9]{64}\b",84}8586def extract_iocs(text: str) -> dict:87 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}88```89901. **Define Detection Scope** — Identify the specific techniques or indicators to hunt. Map to MITRE ATT&CK tactics/techniques where applicable.912. **Collect Baseline Data** — Gather historical logs and establish normal behavior patterns for .923. **Build Detection Queries** — Write living off the cloud techniques queries targeting indicators. Use platform-specific query language for optimal performance.934. **Execute Hunts** — Run queries against the collected data, starting with broad filters and narrowing down.945. **Triage Results** — Investigate alerts, filter false positives, and validate findings against known-good behavior.956. **Document Findings** — Record confirmed detections, IOCs, and affected systems. Update detection rules based on findings.9697## Tools9899- **living off the cloud techniques** — Primary tool for this skill100- **SIEM Platform** — Central log aggregation and query execution101- **Sigma Rules** — Vendor-agnostic detection rule format102- **MITRE ATT&CK Navigator** — Technique mapping and coverage analysis103104105## Process1061071. **Reconnaissance** — Gather target information, identify attack surface, enumerate services1081. **Analysis/Exploitation** — Execute the technique, analyze results, document findings1091. **Reporting** — Document IOCs, write findings, provide remediation recommendations110111## Verification112113- [ ] All procedures executed completely and documented114- [ ] Findings validated against multiple data sources115- [ ] False positives identified and filtered116- [ ] Results documented with evidence and timestamps117- [ ] Recommendations provided with risk-based prioritization118119## Anti-Rationalization Table120121| Rationalization | Reality |122|---|---|123| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |124| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |125| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |