Skip to main content

implementing-cloud-workload-protection

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 crypto...

معلومات المصدر

المستودع
GrayCodeAI/starling
آخر نشاط في المصدر
١٣ يوليو ٢٠٢٦ في ٠٩:٢٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
4 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
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 crypto...
license
MIT
tags
["implementing","cloud","workload","protection"]
domain
cybersecurity
subdomain
cloud-security
version
1
author
mahipal
# Implementing Cloud Workload Protection ## 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"]}, ) ``` @ref(api-reference.md)
عرض على GitHub