implementing-cloud-workload-protection

$npx mdskill add mukul975/Anthropic-Cybersecurity-Skills/implementing-cloud-workload-protection

Monitor cloud instances for cryptomining and unauthorized binaries.

  • Detects cryptomining, reverse shells, and suspicious processes.
  • Integrates with boto3 and Google Cloud APIs for security checks.
  • Analyzes process lists, network connections, and file integrity.
  • Reports findings through command execution results and logs.

SKILL.md

.github/skills/implementing-cloud-workload-protectionView on GitHub ↗
---
name: implementing-cloud-workload-protection
description: >
  Implements cloud workload protection using boto3 and google-cloud APIs for runtime
  security monitoring, process anomaly detection, and file integrity checking on EC2/GCE
  instances. Scans for cryptomining, reverse shells, and unauthorized binaries.
  Use when building runtime security controls for cloud compute workloads.
domain: cybersecurity
subdomain: cloud-security
tags: [implementing, cloud, workload, protection]
version: "1.0"
author: mahipal
license: Apache-2.0
---

# Implementing Cloud Workload Protection


## When to Use

- When deploying or configuring implementing cloud workload protection capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation

## Prerequisites

- Familiarity with cloud security concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities

## Instructions

Monitor cloud workloads for runtime threats by checking process lists, network
connections, file integrity, and resource utilization anomalies.

```python
import boto3

ssm = boto3.client("ssm")
# Run command on EC2 instances to check for suspicious processes
response = ssm.send_command(
    InstanceIds=["i-1234567890abcdef0"],
    DocumentName="AWS-RunShellScript",
    Parameters={"commands": ["ps aux | grep -E 'xmrig|minerd|cryptonight'"]},
)
```

Key protection areas:
1. Process monitoring for cryptominers and reverse shells
2. File integrity monitoring on critical system files
3. Network connection auditing for C2 callbacks
4. Resource utilization anomaly detection (CPU spikes)
5. Unauthorized binary detection via hash comparison

## Examples

```python
# Check for unauthorized outbound connections
ssm.send_command(
    InstanceIds=instances,
    DocumentName="AWS-RunShellScript",
    Parameters={"commands": ["ss -tlnp | grep ESTABLISHED"]},
)
```

More from mukul975/Anthropic-Cybersecurity-Skills

SkillDescription
acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.
analyzing-active-directory-acl-abuseDetect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths
analyzing-android-malware-with-apktoolPerform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.
analyzing-api-gateway-access-logs>
analyzing-apt-group-with-mitre-navigatorAnalyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.
analyzing-azure-activity-logs-for-threats>
analyzing-bootkit-and-rootkit-samples>
analyzing-browser-forensics-with-hindsightAnalyze Chromium-based browser artifacts using Hindsight to extract browsing history, downloads, cookies, cached content, autofill data, saved passwords, and browser extensions from Chrome, Edge, Brave, and Opera for forensic investigation.
analyzing-campaign-attribution-evidenceCampaign attribution analysis involves systematically evaluating evidence to determine which threat actor or group is responsible for a cyber operation. This skill covers collecting and weighting attr
analyzing-certificate-transparency-for-phishingMonitor Certificate Transparency logs using crt.sh and Certstream to detect phishing domains, lookalike certificates, and unauthorized certificate issuance targeting your organization.