[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADXJZ404HPCNDE39Z57HVQ":3,"skill-same:01M6ADXJZ404HPCNDE39Z57HVQ":114},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":72,"ownerHtmlUrl":73,"ownerBlogUrl":74,"ownerDescription":75,"updatedAt":76,"install":77,"resources":90},"01M6ADXJZ404HPCNDE39Z57HVQ","building-automated-malware-submission-pipeline",null,"Builds an automated malware submission and analysis pipeline that collects suspicious files from endpoints and email gateways, submits them to sandbox environments and multi-engine scanners, and generates verdicts with IOCs for SIEM integration. Use when SOC teams need to scale malware analysis beyond manual sandbox submissions for high-volume alert triage.","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-automated-malware-submission-pipeline\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"building automated malware submission pipeline","malware","email","pipeline","any-run","Cuckoo","VirusTotal","soc","malware-analysis","malware analysis","suspicious","integration","gateways","run","teams","alert triage","automation","siem","cybersecurity","sandbox","2026-11-10 10:12:30",false,"---\nname: building-automated-malware-submission-pipeline\ndescription: 'Builds an automated malware submission and analysis pipeline that collects\n  suspicious files from endpoints and email gateways, submits them to sandbox environments\n  and multi-engine scanners, and generates verdicts with IOCs for SIEM integration.\n  Use when SOC teams need to scale malware analysis beyond manual sandbox submissions\n  for high-volume alert triage.\n\n  '\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- soc\n- malware-analysis\n- sandbox\n- automation\n- virustotal\n- cuckoo\n- any-run\n- pipeline\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\nmitre_attack:\n- T1204.002\n- T1566.001\n- T1027\n- T1055\n- T1497\n---\n# Building Automated Malware Submission Pipeline\n\n## When to Use\n\nUse this skill when:\n- SOC teams face high volume of suspicious file alerts requiring sandbox analysis\n- Manual sandbox submission creates bottlenecks in alert triage workflow\n- Endpoint and email security tools quarantine files needing automated verdict determination\n- Incident response requires rapid malware family identification and IOC extraction\n\n**Do not use** for analyzing live malware samples in production environments — always use isolated sandbox infrastructure.\n\n## Prerequisites\n\n- Sandbox environment: Cuckoo Sandbox, Joe Sandbox, Any.Run, or VMRay\n- VirusTotal API key (Enterprise for submission, free for lookup)\n- MalwareBazaar API access for known malware lookup\n- File collection mechanism: EDR quarantine API, email gateway export, network capture\n- Python 3.8+ with `requests`, `vt-py`, `pefile` libraries\n- Isolated analysis network with no production connectivity\n\n## Workflow\n\n### Step 1: Build File Collection Pipeline\n\nCollect suspicious files from multiple sources:\n\n```python\nimport requests\nimport hashlib\nimport os\nfrom pathlib import Path\nfrom datetime import datetime\n\nclass MalwareCollector:\n    def __init__(self, quarantine_dir=\"\u002Fopt\u002Fmalware_quarantine\"):\n        self.quarantine_dir = Path(quarantine_dir)\n        self.quarantine_dir.mkdir(exist_ok=True)\n\n    def collect_from_edr(self, edr_api_url, api_token):\n        \"\"\"Pull quarantined files from CrowdStrike Falcon\"\"\"\n        headers = {\"Authorization\": f\"Bearer {api_token}\"}\n\n        # Get recent quarantine events\n        response = requests.get(\n            f\"{edr_api_url}\u002Fquarantine\u002Fqueries\u002Fquarantined-files\u002Fv1\",\n            headers=headers,\n            params={\"filter\": \"state:'quarantined'\", \"limit\": 50}\n        )\n        file_ids = response.json()[\"resources\"]\n\n        for file_id in file_ids:\n            # Download quarantined file\n            dl_response = requests.get(\n                f\"{edr_api_url}\u002Fquarantine\u002Fentities\u002Fquarantined-files\u002Fv1\",\n                headers=headers,\n                params={\"ids\": file_id}\n            )\n            file_data = dl_response.content\n            sha256 = hashlib.sha256(file_data).hexdigest()\n\n            filepath = self.quarantine_dir \u002F f\"{sha256}.sample\"\n            filepath.write_bytes(file_data)\n            yield {\"sha256\": sha256, \"path\": str(filepath), \"source\": \"edr\"}\n\n    def collect_from_email_gateway(self, smtp_quarantine_path):\n        \"\"\"Pull attachments from email gateway quarantine\"\"\"\n        import email\n        from email import policy\n\n        for eml_file in Path(smtp_quarantine_path).glob(\"*.eml\"):\n            msg = email.message_from_binary_file(\n                eml_file.open(\"rb\"), policy=policy.default\n            )\n            for attachment in msg.iter_attachments():\n                content = attachment.get_content()\n                if isinstance(content, str):\n                    content = content.encode()\n                sha256 = hashlib.sha256(content).hexdigest()\n                filename = attachment.get_filename() or \"unknown\"\n\n                filepath = self.quarantine_dir \u002F f\"{sha256}.sample\"\n                filepath.write_bytes(content)\n                yield {\n                    \"sha256\": sha256,\n                    \"path\": str(filepath),\n                    \"source\": \"email\",\n                    \"original_filename\": filename,\n                    \"sender\": msg[\"From\"],\n                    \"subject\": msg[\"Subject\"]\n                }\n\n    def compute_hashes(self, filepath):\n        \"\"\"Calculate MD5, SHA1, SHA256 for a file\"\"\"\n        with open(filepath, \"rb\") as f:\n            content = f.read()\n        return {\n            \"md5\": hashlib.md5(content).hexdigest(),\n            \"sha1\": hashlib.sha1(content).hexdigest(),\n            \"sha256\": hashlib.sha256(content).hexdigest(),\n            \"size\": len(content)\n        }\n```\n\n### Step 2: Pre-Screen with Hash Lookups\n\nCheck if the file is already known before sandbox submission:\n\n```python\nimport vt\n\nclass MalwarePreScreener:\n    def __init__(self, vt_api_key, mb_api_url=\"https:\u002F\u002Fmb-api.abuse.ch\u002Fapi\u002Fv1\u002F\"):\n        self.vt_client = vt.Client(vt_api_key)\n        self.mb_api_url = mb_api_url\n\n    def check_virustotal(self, sha256):\n        \"\"\"Lookup hash in VirusTotal\"\"\"\n        try:\n            file_obj = self.vt_client.get_object(f\"\u002Ffiles\u002F{sha256}\")\n            stats = file_obj.last_analysis_stats\n            return {\n                \"found\": True,\n                \"malicious\": stats.get(\"malicious\", 0),\n                \"suspicious\": stats.get(\"suspicious\", 0),\n                \"undetected\": stats.get(\"undetected\", 0),\n                \"total\": sum(stats.values()),\n                \"threat_label\": getattr(file_obj, \"popular_threat_classification\", {}).get(\n                    \"suggested_threat_label\", \"Unknown\"\n                ),\n                \"type\": getattr(file_obj, \"type_description\", \"Unknown\")\n            }\n        except vt.APIError:\n            return {\"found\": False}\n\n    def check_malwarebazaar(self, sha256):\n        \"\"\"Lookup hash in MalwareBazaar\"\"\"\n        response = requests.post(\n            self.mb_api_url,\n            data={\"query\": \"get_info\", \"hash\": sha256}\n        )\n        data = response.json()\n        if data[\"query_status\"] == \"ok\":\n            entry = data[\"data\"][0]\n            return {\n                \"found\": True,\n                \"signature\": entry.get(\"signature\", \"Unknown\"),\n                \"tags\": entry.get(\"tags\", []),\n                \"file_type\": entry.get(\"file_type\", \"Unknown\"),\n                \"first_seen\": entry.get(\"first_seen\", \"Unknown\")\n            }\n        return {\"found\": False}\n\n    def pre_screen(self, sha256):\n        \"\"\"Run all pre-screening checks\"\"\"\n        vt_result = self.check_virustotal(sha256)\n        mb_result = self.check_malwarebazaar(sha256)\n\n        verdict = \"UNKNOWN\"\n        if vt_result[\"found\"] and vt_result.get(\"malicious\", 0) > 10:\n            verdict = \"KNOWN_MALICIOUS\"\n        elif vt_result[\"found\"] and vt_result.get(\"malicious\", 0) == 0:\n            verdict = \"LIKELY_CLEAN\"\n\n        return {\n            \"sha256\": sha256,\n            \"virustotal\": vt_result,\n            \"malwarebazaar\": mb_result,\n            \"pre_screen_verdict\": verdict,\n            \"needs_sandbox\": verdict == \"UNKNOWN\"\n        }\n\n    def close(self):\n        self.vt_client.close()\n```\n\n### Step 3: Submit to Sandbox for Dynamic Analysis\n\n**Cuckoo Sandbox Submission:**\n\n```python\nclass SandboxSubmitter:\n    def __init__(self, cuckoo_url=\"http:\u002F\u002Fcuckoo.internal:8090\"):\n        self.cuckoo_url = cuckoo_url\n\n    def submit_to_cuckoo(self, filepath, timeout=300):\n        \"\"\"Submit file to Cuckoo Sandbox\"\"\"\n        with open(filepath, \"rb\") as f:\n            response = requests.post(\n                f\"{self.cuckoo_url}\u002Ftasks\u002Fcreate\u002Ffile\",\n                files={\"file\": f},\n                data={\n                    \"timeout\": timeout,\n                    \"options\": \"procmemdump=yes,route=none\",\n                    \"priority\": 2,\n                    \"machine\": \"win10_x64\"\n                }\n            )\n        task_id = response.json()[\"task_id\"]\n        return task_id\n\n    def wait_for_analysis(self, task_id, poll_interval=30, max_wait=600):\n        \"\"\"Wait for sandbox analysis to complete\"\"\"\n        import time\n        elapsed = 0\n        while elapsed \u003C max_wait:\n            response = requests.get(f\"{self.cuckoo_url}\u002Ftasks\u002Fview\u002F{task_id}\")\n            status = response.json()[\"task\"][\"status\"]\n            if status == \"reported\":\n                return self.get_report(task_id)\n            elif status == \"failed_analysis\":\n                return {\"error\": \"Analysis failed\"}\n            time.sleep(poll_interval)\n            elapsed += poll_interval\n        return {\"error\": \"Analysis timed out\"}\n\n    def get_report(self, task_id):\n        \"\"\"Retrieve analysis report\"\"\"\n        response = requests.get(f\"{self.cuckoo_url}\u002Ftasks\u002Freport\u002F{task_id}\")\n        report = response.json()\n\n        # Extract key indicators\n        return {\n            \"task_id\": task_id,\n            \"score\": report.get(\"info\", {}).get(\"score\", 0),\n            \"signatures\": [\n                {\"name\": s[\"name\"], \"severity\": s[\"severity\"], \"description\": s[\"description\"]}\n                for s in report.get(\"signatures\", [])\n            ],\n            \"network\": {\n                \"dns\": [d[\"request\"] for d in report.get(\"network\", {}).get(\"dns\", [])],\n                \"http\": [\n                    {\"url\": h[\"uri\"], \"method\": h[\"method\"]}\n                    for h in report.get(\"network\", {}).get(\"http\", [])\n                ],\n                \"hosts\": report.get(\"network\", {}).get(\"hosts\", [])\n            },\n            \"dropped_files\": [\n                {\"name\": f[\"name\"], \"sha256\": f[\"sha256\"], \"size\": f[\"size\"]}\n                for f in report.get(\"dropped\", [])\n            ],\n            \"processes\": [\n                {\"name\": p[\"process_name\"], \"pid\": p[\"pid\"], \"command_line\": p.get(\"command_line\", \"\")}\n                for p in report.get(\"behavior\", {}).get(\"processes\", [])\n            ],\n            \"registry_keys\": [\n                k for k in report.get(\"behavior\", {}).get(\"summary\", {}).get(\"regkey_written\", [])\n            ]\n        }\n\n    def submit_to_joesandbox(self, filepath, joe_api_key, joe_url=\"https:\u002F\u002Fjbxcloud.joesecurity.org\u002Fapi\"):\n        \"\"\"Submit to Joe Sandbox Cloud\"\"\"\n        with open(filepath, \"rb\") as f:\n            response = requests.post(\n                f\"{joe_url}\u002Fv2\u002Fsubmission\u002Fnew\",\n                headers={\"Authorization\": f\"Bearer {joe_api_key}\"},\n                files={\"sample\": f},\n                data={\n                    \"systems\": \"w10_64\",\n                    \"internet-access\": False,\n                    \"report-cache\": True\n                }\n            )\n        return response.json()[\"data\"][\"webid\"]\n```\n\n### Step 4: Extract IOCs and Generate Verdict\n\n```python\nclass VerdictGenerator:\n    def __init__(self):\n        self.malicious_threshold = 7  # Cuckoo score threshold\n\n    def generate_verdict(self, pre_screen, sandbox_report):\n        \"\"\"Combine pre-screening and sandbox results for final verdict\"\"\"\n        iocs = {\n            \"ips\": [],\n            \"domains\": [],\n            \"urls\": [],\n            \"hashes\": [],\n            \"registry_keys\": [],\n            \"files_dropped\": []\n        }\n\n        # Extract IOCs from sandbox report\n        if sandbox_report:\n            iocs[\"domains\"] = sandbox_report.get(\"network\", {}).get(\"dns\", [])\n            iocs[\"ips\"] = sandbox_report.get(\"network\", {}).get(\"hosts\", [])\n            iocs[\"urls\"] = [\n                h[\"url\"] for h in sandbox_report.get(\"network\", {}).get(\"http\", [])\n            ]\n            iocs[\"hashes\"] = [\n                f[\"sha256\"] for f in sandbox_report.get(\"dropped_files\", [])\n            ]\n            iocs[\"registry_keys\"] = sandbox_report.get(\"registry_keys\", [])[:10]\n            iocs[\"files_dropped\"] = sandbox_report.get(\"dropped_files\", [])\n\n        # Determine verdict\n        vt_malicious = pre_screen.get(\"virustotal\", {}).get(\"malicious\", 0)\n        sandbox_score = sandbox_report.get(\"score\", 0) if sandbox_report else 0\n        sig_count = len(sandbox_report.get(\"signatures\", [])) if sandbox_report else 0\n\n        combined_score = (vt_malicious * 2) + (sandbox_score * 10) + (sig_count * 5)\n\n        if combined_score >= 100:\n            verdict = \"MALICIOUS\"\n            confidence = \"HIGH\"\n        elif combined_score >= 50:\n            verdict = \"SUSPICIOUS\"\n            confidence = \"MEDIUM\"\n        elif combined_score >= 20:\n            verdict = \"POTENTIALLY_UNWANTED\"\n            confidence = \"LOW\"\n        else:\n            verdict = \"CLEAN\"\n            confidence = \"HIGH\"\n\n        return {\n            \"verdict\": verdict,\n            \"confidence\": confidence,\n            \"combined_score\": combined_score,\n            \"iocs\": iocs,\n            \"vt_detections\": vt_malicious,\n            \"sandbox_score\": sandbox_score,\n            \"signatures\": sandbox_report.get(\"signatures\", []) if sandbox_report else []\n        }\n```\n\n### Step 5: Push Results to SIEM\n\n```python\ndef push_to_splunk(verdict_result, splunk_url, splunk_token):\n    \"\"\"Send malware analysis verdict to Splunk HEC\"\"\"\n    import json\n\n    event = {\n        \"sourcetype\": \"malware_analysis\",\n        \"source\": \"malware_pipeline\",\n        \"event\": {\n            \"sha256\": verdict_result[\"sha256\"],\n            \"verdict\": verdict_result[\"verdict\"],\n            \"confidence\": verdict_result[\"confidence\"],\n            \"score\": verdict_result[\"combined_score\"],\n            \"vt_detections\": verdict_result[\"vt_detections\"],\n            \"sandbox_score\": verdict_result[\"sandbox_score\"],\n            \"malware_family\": verdict_result.get(\"threat_label\", \"Unknown\"),\n            \"iocs\": verdict_result[\"iocs\"],\n            \"signatures\": [s[\"name\"] for s in verdict_result[\"signatures\"]]\n        }\n    }\n\n    response = requests.post(\n        f\"{splunk_url}\u002Fservices\u002Fcollector\u002Fevent\",\n        headers={\n            \"Authorization\": f\"Splunk {splunk_token}\",\n            \"Content-Type\": \"application\u002Fjson\"\n        },\n        json=event,\n        verify=not os.environ.get(\"SKIP_TLS_VERIFY\", \"\").lower() == \"true\",  # Set SKIP_TLS_VERIFY=true for self-signed certs in lab environments\n    )\n    return response.status_code == 200\n\ndef push_iocs_to_blocklist(iocs, firewall_api):\n    \"\"\"Push extracted IOCs to blocking infrastructure\"\"\"\n    for ip in iocs.get(\"ips\", []):\n        requests.post(\n            f\"{firewall_api}\u002Fblock\",\n            json={\"type\": \"ip\", \"value\": ip, \"action\": \"block\", \"source\": \"malware_pipeline\"}\n        )\n    for domain in iocs.get(\"domains\", []):\n        requests.post(\n            f\"{firewall_api}\u002Fblock\",\n            json={\"type\": \"domain\", \"value\": domain, \"action\": \"sinkhole\", \"source\": \"malware_pipeline\"}\n        )\n```\n\n### Step 6: Orchestrate the Full Pipeline\n\n```python\ndef run_malware_pipeline(sample_path, config):\n    \"\"\"Execute full malware analysis pipeline\"\"\"\n    collector = MalwareCollector()\n    screener = MalwarePreScreener(config[\"vt_key\"])\n    submitter = SandboxSubmitter(config[\"cuckoo_url\"])\n    generator = VerdictGenerator()\n\n    # Step 1: Hash and pre-screen\n    hashes = collector.compute_hashes(sample_path)\n    pre_screen = screener.pre_screen(hashes[\"sha256\"])\n\n    # Step 2: Submit to sandbox if unknown\n    sandbox_report = None\n    if pre_screen[\"needs_sandbox\"]:\n        task_id = submitter.submit_to_cuckoo(sample_path)\n        sandbox_report = submitter.wait_for_analysis(task_id)\n\n    # Step 3: Generate verdict\n    verdict = generator.generate_verdict(pre_screen, sandbox_report)\n    verdict[\"sha256\"] = hashes[\"sha256\"]\n    verdict[\"threat_label\"] = pre_screen.get(\"virustotal\", {}).get(\"threat_label\", \"Unknown\")\n\n    # Step 4: Push to SIEM\n    push_to_splunk(verdict, config[\"splunk_url\"], config[\"splunk_token\"])\n\n    # Step 5: Block if malicious\n    if verdict[\"verdict\"] == \"MALICIOUS\":\n        push_iocs_to_blocklist(verdict[\"iocs\"], config[\"firewall_api\"])\n\n    screener.close()\n    return verdict\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Dynamic Analysis** | Executing malware in a sandbox to observe runtime behavior (process creation, network, file system changes) |\n| **Static Analysis** | Examining malware without execution (hash lookup, string analysis, PE header inspection) |\n| **Sandbox Evasion** | Techniques malware uses to detect sandbox environments and alter behavior to avoid analysis |\n| **IOC Extraction** | Automated process of identifying network indicators, file artifacts, and registry changes from sandbox reports |\n| **Multi-AV Scanning** | Submitting samples to multiple antivirus engines (VirusTotal) for consensus-based detection |\n| **Verdict** | Final classification of a sample: Malicious, Suspicious, Potentially Unwanted, or Clean |\n\n## Tools & Systems\n\n- **Cuckoo Sandbox**: Open-source automated malware analysis platform with behavioral analysis and network capture\n- **Joe Sandbox**: Commercial sandbox with deep behavioral analysis, YARA matching, and MITRE ATT&CK mapping\n- **Any.Run**: Interactive sandbox service allowing real-time manipulation during analysis for debugging evasive malware\n- **VirusTotal**: Multi-engine scanning service providing 70+ AV results and behavioral analysis reports\n- **CAPE Sandbox**: Community-maintained Cuckoo fork with enhanced payload extraction and configuration dumping\n\n## Common Scenarios\n\n- **Email Attachment Triage**: Auto-submit quarantined email attachments, generate verdict in \u003C5 minutes\n- **EDR Quarantine Processing**: Batch-process files quarantined by endpoint security for detailed analysis\n- **Incident Investigation**: Submit suspicious binaries found during IR for malware family identification and IOC extraction\n- **Threat Intel Enrichment**: Analyze samples from threat feeds to extract C2 infrastructure and update blocking\n- **Zero-Day Detection**: Sandbox catches novel malware missed by signature-based AV through behavioral analysis\n\n## Output Format\n\n```\nMALWARE ANALYSIS REPORT — Pipeline Submission\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nSample:       invoice_march.docx\nSHA256:       a1b2c3d4e5f6a7b8...\nFile Type:    Microsoft Word Document (macro-enabled)\n\nPre-Screening:\n  VirusTotal:    34\u002F72 malicious (Emotet.Downloader)\n  MalwareBazaar: Tags: emotet, macro, downloader\n\nSandbox Analysis (Cuckoo):\n  Score:         9.2\u002F10 (MALICIOUS)\n  Signatures:\n    - Macro executes PowerShell download cradle (severity: 8)\n    - Process injection into explorer.exe (severity: 9)\n    - Connects to known Emotet C2 server (severity: 9)\n\nExtracted IOCs:\n  C2 IPs:       185.234.218[.]50:8080, 45.77.123[.]45:443\n  Domains:       update-service[.]evil[.]com\n  Dropped Files: payload.dll (SHA256: b2c3d4e5...)\n  Registry:      HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\Update\n\nVERDICT: MALICIOUS (Emotet Downloader) — Confidence: HIGH\nACTIONS:\n  [DONE] IOCs pushed to Splunk threat intel\n  [DONE] C2 IPs blocked on firewall\n  [DONE] Domain sinkholed on DNS\n  [DONE] Hash blocked on endpoint\n```\n","# Building Automated Malware Submission Pipeline\n\n## When to Use\n\nUse this skill when:\n- SOC teams face high volume of suspicious file alerts requiring sandbox analysis\n- Manual sandbox submission creates bottlenecks in alert triage workflow\n- Endpoint and email security tools quarantine files needing automated verdict determination\n- Incident response requires rapid malware family identification and IOC extraction\n\n**Do not use** for analyzing live malware samples in production environments — always use isolated sandbox infrastructure.\n\n## Prerequisites\n\n- Sandbox environment: Cuckoo Sandbox, Joe Sandbox, Any.Run, or VMRay\n- VirusTotal API key (Enterprise for submission, free for lookup)\n- MalwareBazaar API access for known malware lookup\n- File collection mechanism: EDR quarantine API, email gateway export, network capture\n- Python 3.8+ with `requests`, `vt-py`, `pefile` libraries\n- Isolated analysis network with no production connectivity\n\n## Workflow\n\n### Step 1: Build File Collection Pipeline\n\nCollect suspicious files from multiple sources:\n\n```python\nimport requests\nimport hashlib\nimport os\nfrom pathlib import Path\nfrom datetime import datetime\n\nclass MalwareCollector:\n    def __init__(self, quarantine_dir=\"\u002Fopt\u002Fmalware_quarantine\"):\n        self.quarantine_dir = Path(quarantine_dir)\n        self.quarantine_dir.mkdir(exist_ok=True)\n\n    def collect_from_edr(self, edr_api_url, api_token):\n        \"\"\"Pull quarantined files from CrowdStrike Falcon\"\"\"\n        headers = {\"Authorization\": f\"Bearer {api_token}\"}\n\n        # Get recent quarantine events\n        response = requests.get(\n            f\"{edr_api_url}\u002Fquarantine\u002Fqueries\u002Fquarantined-files\u002Fv1\",\n            headers=headers,\n            params={\"filter\": \"state:'quarantined'\", \"limit\": 50}\n        )\n        file_ids = response.json()[\"resources\"]\n\n        for file_id in file_ids:\n            # Download quarantined file\n            dl_response = requests.get(\n                f\"{edr_api_url}\u002Fquarantine\u002Fentities\u002Fquarantined-files\u002Fv1\",\n                headers=headers,\n                params={\"ids\": file_id}\n            )\n            file_data = dl_response.content\n            sha256 = hashlib.sha256(file_data).hexdigest()\n\n            filepath = self.quarantine_dir \u002F f\"{sha256}.sample\"\n            filepath.write_bytes(file_data)\n            yield {\"sha256\": sha256, \"path\": str(filepath), \"source\": \"edr\"}\n\n    def collect_from_email_gateway(self, smtp_quarantine_path):\n        \"\"\"Pull attachments from email gateway quarantine\"\"\"\n        import email\n        from email import policy\n\n        for eml_file in Path(smtp_quarantine_path).glob(\"*.eml\"):\n            msg = email.message_from_binary_file(\n                eml_file.open(\"rb\"), policy=policy.default\n            )\n            for attachment in msg.iter_attachments():\n                content = attachment.get_content()\n                if isinstance(content, str):\n                    content = content.encode()\n                sha256 = hashlib.sha256(content).hexdigest()\n                filename = attachment.get_filename() or \"unknown\"\n\n                filepath = self.quarantine_dir \u002F f\"{sha256}.sample\"\n                filepath.write_bytes(content)\n                yield {\n                    \"sha256\": sha256,\n                    \"path\": str(filepath),\n                    \"source\": \"email\",\n                    \"original_filename\": filename,\n                    \"sender\": msg[\"From\"],\n                    \"subject\": msg[\"Subject\"]\n                }\n\n    def compute_hashes(self, filepath):\n        \"\"\"Calculate MD5, SHA1, SHA256 for a file\"\"\"\n        with open(filepath, \"rb\") as f:\n            content = f.read()\n        return {\n            \"md5\": hashlib.md5(content).hexdigest(),\n            \"sha1\": hashlib.sha1(content).hexdigest(),\n            \"sha256\": hashlib.sha256(content).hexdigest(),\n            \"size\": len(content)\n        }\n```\n\n### Step 2: Pre-Screen with Hash Lookups\n\nCheck if the file is already known before sandbox submission:\n\n```python\nimport vt\n\nclass MalwarePreScreener:\n    def __init__(self, vt_api_key, mb_api_url=\"https:\u002F\u002Fmb-api.abuse.ch\u002Fapi\u002Fv1\u002F\"):\n        self.vt_client = vt.Client(vt_api_key)\n        self.mb_api_url = mb_api_url\n\n    def check_virustotal(self, sha256):\n        \"\"\"Lookup hash in VirusTotal\"\"\"\n        try:\n            file_obj = self.vt_client.get_object(f\"\u002Ffiles\u002F{sha256}\")\n            stats = file_obj.last_analysis_stats\n            return {\n                \"found\": True,\n                \"malicious\": stats.get(\"malicious\", 0),\n                \"suspicious\": stats.get(\"suspicious\", 0),\n                \"undetected\": stats.get(\"undetected\", 0),\n                \"total\": sum(stats.values()),\n                \"threat_label\": getattr(file_obj, \"popular_threat_classification\", {}).get(\n                    \"suggested_threat_label\", \"Unknown\"\n                ),\n                \"type\": getattr(file_obj, \"type_description\", \"Unknown\")\n            }\n        except vt.APIError:\n            return {\"found\": False}\n\n    def check_malwarebazaar(self, sha256):\n        \"\"\"Lookup hash in MalwareBazaar\"\"\"\n        response = requests.post(\n            self.mb_api_url,\n            data={\"query\": \"get_info\", \"hash\": sha256}\n        )\n        data = response.json()\n        if data[\"query_status\"] == \"ok\":\n            entry = data[\"data\"][0]\n            return {\n                \"found\": True,\n                \"signature\": entry.get(\"signature\", \"Unknown\"),\n                \"tags\": entry.get(\"tags\", []),\n                \"file_type\": entry.get(\"file_type\", \"Unknown\"),\n                \"first_seen\": entry.get(\"first_seen\", \"Unknown\")\n            }\n        return {\"found\": False}\n\n    def pre_screen(self, sha256):\n        \"\"\"Run all pre-screening checks\"\"\"\n        vt_result = self.check_virustotal(sha256)\n        mb_result = self.check_malwarebazaar(sha256)\n\n        verdict = \"UNKNOWN\"\n        if vt_result[\"found\"] and vt_result.get(\"malicious\", 0) > 10:\n            verdict = \"KNOWN_MALICIOUS\"\n        elif vt_result[\"found\"] and vt_result.get(\"malicious\", 0) == 0:\n            verdict = \"LIKELY_CLEAN\"\n\n        return {\n            \"sha256\": sha256,\n            \"virustotal\": vt_result,\n            \"malwarebazaar\": mb_result,\n            \"pre_screen_verdict\": verdict,\n            \"needs_sandbox\": verdict == \"UNKNOWN\"\n        }\n\n    def close(self):\n        self.vt_client.close()\n```\n\n### Step 3: Submit to Sandbox for Dynamic Analysis\n\n**Cuckoo Sandbox Submission:**\n\n```python\nclass SandboxSubmitter:\n    def __init__(self, cuckoo_url=\"http:\u002F\u002Fcuckoo.internal:8090\"):\n        self.cuckoo_url = cuckoo_url\n\n    def submit_to_cuckoo(self, filepath, timeout=300):\n        \"\"\"Submit file to Cuckoo Sandbox\"\"\"\n        with open(filepath, \"rb\") as f:\n            response = requests.post(\n                f\"{self.cuckoo_url}\u002Ftasks\u002Fcreate\u002Ffile\",\n                files={\"file\": f},\n                data={\n                    \"timeout\": timeout,\n                    \"options\": \"procmemdump=yes,route=none\",\n                    \"priority\": 2,\n                    \"machine\": \"win10_x64\"\n                }\n            )\n        task_id = response.json()[\"task_id\"]\n        return task_id\n\n    def wait_for_analysis(self, task_id, poll_interval=30, max_wait=600):\n        \"\"\"Wait for sandbox analysis to complete\"\"\"\n        import time\n        elapsed = 0\n        while elapsed \u003C max_wait:\n            response = requests.get(f\"{self.cuckoo_url}\u002Ftasks\u002Fview\u002F{task_id}\")\n            status = response.json()[\"task\"][\"status\"]\n            if status == \"reported\":\n                return self.get_report(task_id)\n            elif status == \"failed_analysis\":\n                return {\"error\": \"Analysis failed\"}\n            time.sleep(poll_interval)\n            elapsed += poll_interval\n        return {\"error\": \"Analysis timed out\"}\n\n    def get_report(self, task_id):\n        \"\"\"Retrieve analysis report\"\"\"\n        response = requests.get(f\"{self.cuckoo_url}\u002Ftasks\u002Freport\u002F{task_id}\")\n        report = response.json()\n\n        # Extract key indicators\n        return {\n            \"task_id\": task_id,\n            \"score\": report.get(\"info\", {}).get(\"score\", 0),\n            \"signatures\": [\n                {\"name\": s[\"name\"], \"severity\": s[\"severity\"], \"description\": s[\"description\"]}\n                for s in report.get(\"signatures\", [])\n            ],\n            \"network\": {\n                \"dns\": [d[\"request\"] for d in report.get(\"network\", {}).get(\"dns\", [])],\n                \"http\": [\n                    {\"url\": h[\"uri\"], \"method\": h[\"method\"]}\n                    for h in report.get(\"network\", {}).get(\"http\", [])\n                ],\n                \"hosts\": report.get(\"network\", {}).get(\"hosts\", [])\n            },\n            \"dropped_files\": [\n                {\"name\": f[\"name\"], \"sha256\": f[\"sha256\"], \"size\": f[\"size\"]}\n                for f in report.get(\"dropped\", [])\n            ],\n            \"processes\": [\n                {\"name\": p[\"process_name\"], \"pid\": p[\"pid\"], \"command_line\": p.get(\"command_line\", \"\")}\n                for p in report.get(\"behavior\", {}).get(\"processes\", [])\n            ],\n            \"registry_keys\": [\n                k for k in report.get(\"behavior\", {}).get(\"summary\", {}).get(\"regkey_written\", [])\n            ]\n        }\n\n    def submit_to_joesandbox(self, filepath, joe_api_key, joe_url=\"https:\u002F\u002Fjbxcloud.joesecurity.org\u002Fapi\"):\n        \"\"\"Submit to Joe Sandbox Cloud\"\"\"\n        with open(filepath, \"rb\") as f:\n            response = requests.post(\n                f\"{joe_url}\u002Fv2\u002Fsubmission\u002Fnew\",\n                headers={\"Authorization\": f\"Bearer {joe_api_key}\"},\n                files={\"sample\": f},\n                data={\n                    \"systems\": \"w10_64\",\n                    \"internet-access\": False,\n                    \"report-cache\": True\n                }\n            )\n        return response.json()[\"data\"][\"webid\"]\n```\n\n### Step 4: Extract IOCs and Generate Verdict\n\n```python\nclass VerdictGenerator:\n    def __init__(self):\n        self.malicious_threshold = 7  # Cuckoo score threshold\n\n    def generate_verdict(self, pre_screen, sandbox_report):\n        \"\"\"Combine pre-screening and sandbox results for final verdict\"\"\"\n        iocs = {\n            \"ips\": [],\n            \"domains\": [],\n            \"urls\": [],\n            \"hashes\": [],\n            \"registry_keys\": [],\n            \"files_dropped\": []\n        }\n\n        # Extract IOCs from sandbox report\n        if sandbox_report:\n            iocs[\"domains\"] = sandbox_report.get(\"network\", {}).get(\"dns\", [])\n            iocs[\"ips\"] = sandbox_report.get(\"network\", {}).get(\"hosts\", [])\n            iocs[\"urls\"] = [\n                h[\"url\"] for h in sandbox_report.get(\"network\", {}).get(\"http\", [])\n            ]\n            iocs[\"hashes\"] = [\n                f[\"sha256\"] for f in sandbox_report.get(\"dropped_files\", [])\n            ]\n            iocs[\"registry_keys\"] = sandbox_report.get(\"registry_keys\", [])[:10]\n            iocs[\"files_dropped\"] = sandbox_report.get(\"dropped_files\", [])\n\n        # Determine verdict\n        vt_malicious = pre_screen.get(\"virustotal\", {}).get(\"malicious\", 0)\n        sandbox_score = sandbox_report.get(\"score\", 0) if sandbox_report else 0\n        sig_count = len(sandbox_report.get(\"signatures\", [])) if sandbox_report else 0\n\n        combined_score = (vt_malicious * 2) + (sandbox_score * 10) + (sig_count * 5)\n\n        if combined_score >= 100:\n            verdict = \"MALICIOUS\"\n            confidence = \"HIGH\"\n        elif combined_score >= 50:\n            verdict = \"SUSPICIOUS\"\n            confidence = \"MEDIUM\"\n        elif combined_score >= 20:\n            verdict = \"POTENTIALLY_UNWANTED\"\n            confidence = \"LOW\"\n        else:\n            verdict = \"CLEAN\"\n            confidence = \"HIGH\"\n\n        return {\n            \"verdict\": verdict,\n            \"confidence\": confidence,\n            \"combined_score\": combined_score,\n            \"iocs\": iocs,\n            \"vt_detections\": vt_malicious,\n            \"sandbox_score\": sandbox_score,\n            \"signatures\": sandbox_report.get(\"signatures\", []) if sandbox_report else []\n        }\n```\n\n### Step 5: Push Results to SIEM\n\n```python\ndef push_to_splunk(verdict_result, splunk_url, splunk_token):\n    \"\"\"Send malware analysis verdict to Splunk HEC\"\"\"\n    import json\n\n    event = {\n        \"sourcetype\": \"malware_analysis\",\n        \"source\": \"malware_pipeline\",\n        \"event\": {\n            \"sha256\": verdict_result[\"sha256\"],\n            \"verdict\": verdict_result[\"verdict\"],\n            \"confidence\": verdict_result[\"confidence\"],\n            \"score\": verdict_result[\"combined_score\"],\n            \"vt_detections\": verdict_result[\"vt_detections\"],\n            \"sandbox_score\": verdict_result[\"sandbox_score\"],\n            \"malware_family\": verdict_result.get(\"threat_label\", \"Unknown\"),\n            \"iocs\": verdict_result[\"iocs\"],\n            \"signatures\": [s[\"name\"] for s in verdict_result[\"signatures\"]]\n        }\n    }\n\n    response = requests.post(\n        f\"{splunk_url}\u002Fservices\u002Fcollector\u002Fevent\",\n        headers={\n            \"Authorization\": f\"Splunk {splunk_token}\",\n            \"Content-Type\": \"application\u002Fjson\"\n        },\n        json=event,\n        verify=not os.environ.get(\"SKIP_TLS_VERIFY\", \"\").lower() == \"true\",  # Set SKIP_TLS_VERIFY=true for self-signed certs in lab environments\n    )\n    return response.status_code == 200\n\ndef push_iocs_to_blocklist(iocs, firewall_api):\n    \"\"\"Push extracted IOCs to blocking infrastructure\"\"\"\n    for ip in iocs.get(\"ips\", []):\n        requests.post(\n            f\"{firewall_api}\u002Fblock\",\n            json={\"type\": \"ip\", \"value\": ip, \"action\": \"block\", \"source\": \"malware_pipeline\"}\n        )\n    for domain in iocs.get(\"domains\", []):\n        requests.post(\n            f\"{firewall_api}\u002Fblock\",\n            json={\"type\": \"domain\", \"value\": domain, \"action\": \"sinkhole\", \"source\": \"malware_pipeline\"}\n        )\n```\n\n### Step 6: Orchestrate the Full Pipeline\n\n```python\ndef run_malware_pipeline(sample_path, config):\n    \"\"\"Execute full malware analysis pipeline\"\"\"\n    collector = MalwareCollector()\n    screener = MalwarePreScreener(config[\"vt_key\"])\n    submitter = SandboxSubmitter(config[\"cuckoo_url\"])\n    generator = VerdictGenerator()\n\n    # Step 1: Hash and pre-screen\n    hashes = collector.compute_hashes(sample_path)\n    pre_screen = screener.pre_screen(hashes[\"sha256\"])\n\n    # Step 2: Submit to sandbox if unknown\n    sandbox_report = None\n    if pre_screen[\"needs_sandbox\"]:\n        task_id = submitter.submit_to_cuckoo(sample_path)\n        sandbox_report = submitter.wait_for_analysis(task_id)\n\n    # Step 3: Generate verdict\n    verdict = generator.generate_verdict(pre_screen, sandbox_report)\n    verdict[\"sha256\"] = hashes[\"sha256\"]\n    verdict[\"threat_label\"] = pre_screen.get(\"virustotal\", {}).get(\"threat_label\", \"Unknown\")\n\n    # Step 4: Push to SIEM\n    push_to_splunk(verdict, config[\"splunk_url\"], config[\"splunk_token\"])\n\n    # Step 5: Block if malicious\n    if verdict[\"verdict\"] == \"MALICIOUS\":\n        push_iocs_to_blocklist(verdict[\"iocs\"], config[\"firewall_api\"])\n\n    screener.close()\n    return verdict\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Dynamic Analysis** | Executing malware in a sandbox to observe runtime behavior (process creation, network, file system changes) |\n| **Static Analysis** | Examining malware without execution (hash lookup, string analysis, PE header inspection) |\n| **Sandbox Evasion** | Techniques malware uses to detect sandbox environments and alter behavior to avoid analysis |\n| **IOC Extraction** | Automated process of identifying network indicators, file artifacts, and registry changes from sandbox reports |\n| **Multi-AV Scanning** | Submitting samples to multiple antivirus engines (VirusTotal) for consensus-based detection |\n| **Verdict** | Final classification of a sample: Malicious, Suspicious, Potentially Unwanted, or Clean |\n\n## Tools & Systems\n\n- **Cuckoo Sandbox**: Open-source automated malware analysis platform with behavioral analysis and network capture\n- **Joe Sandbox**: Commercial sandbox with deep behavioral analysis, YARA matching, and MITRE ATT&CK mapping\n- **Any.Run**: Interactive sandbox service allowing real-time manipulation during analysis for debugging evasive malware\n- **VirusTotal**: Multi-engine scanning service providing 70+ AV results and behavioral analysis reports\n- **CAPE Sandbox**: Community-maintained Cuckoo fork with enhanced payload extraction and configuration dumping\n\n## Common Scenarios\n\n- **Email Attachment Triage**: Auto-submit quarantined email attachments, generate verdict in \u003C5 minutes\n- **EDR Quarantine Processing**: Batch-process files quarantined by endpoint security for detailed analysis\n- **Incident Investigation**: Submit suspicious binaries found during IR for malware family identification and IOC extraction\n- **Threat Intel Enrichment**: Analyze samples from threat feeds to extract C2 infrastructure and update blocking\n- **Zero-Day Detection**: Sandbox catches novel malware missed by signature-based AV through behavioral analysis\n\n## Output Format\n\n```\nMALWARE ANALYSIS REPORT — Pipeline Submission\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nSample:       invoice_march.docx\nSHA256:       a1b2c3d4e5f6a7b8...\nFile Type:    Microsoft Word Document (macro-enabled)\n\nPre-Screening:\n  VirusTotal:    34\u002F72 malicious (Emotet.Downloader)\n  MalwareBazaar: Tags: emotet, macro, downloader\n\nSandbox Analysis (Cuckoo):\n  Score:         9.2\u002F10 (MALICIOUS)\n  Signatures:\n    - Macro executes PowerShell download cradle (severity: 8)\n    - Process injection into explorer.exe (severity: 9)\n    - Connects to known Emotet C2 server (severity: 9)\n\nExtracted IOCs:\n  C2 IPs:       185.234.218[.]50:8080, 45.77.123[.]45:443\n  Domains:       update-service[.]evil[.]com\n  Dropped Files: payload.dll (SHA256: b2c3d4e5...)\n  Registry:      HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\Update\n\nVERDICT: MALICIOUS (Emotet Downloader) — Confidence: HIGH\nACTIONS:\n  [DONE] IOCs pushed to Splunk threat intel\n  [DONE] C2 IPs blocked on firewall\n  [DONE] Domain sinkholed on DNS\n  [DONE] Hash blocked on endpoint\n```\n",{"name":5,"tags":49,"author":52,"domain":42,"license":15,"version":53,"nist_csf":54,"subdomain":59,"description":60,"mitre_attack":61},[31,32,43,40,50,51,28,27],"virustotal","cuckoo","mahipal","1.0",[55,56,57,58],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations","Builds an automated malware submission and analysis pipeline that collects suspicious files from endpoints and email gateways, submits them to sandbox environments and multi-engine scanners, and generates verdicts with IOCs for SIEM integration. Use when SOC teams need to scale malware analysis beyond manual sandbox submissions for high-volume alert triage.\n",[62,63,64,65,66],"T1204.002","T1566.001","T1027","T1055","T1497","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fbuilding-automated-malware-submission-pipeline",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":8,"skillName":5,"commands":78,"prompt":88,"zipAvailable":89},[79,82,85],{"tool":80,"command":81},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-automated-malware-submission-pipeline",{"tool":83,"command":84},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-automated-malware-submission-pipeline",{"tool":86,"command":87},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-automated-malware-submission-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-automated-malware-submission-pipeline\u002FSKILL.md",true,[91,96,102,108],{"path":92,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-automated-malware-submission-pipeline\u002FLICENSE",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fapi-reference.md","REFERENCE","参考文档",1976,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-automated-malware-submission-pipeline\u002Freferences\u002Fapi-reference.md",{"path":103,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fagent.py","SCRIPT","脚本",7987,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-automated-malware-submission-pipeline\u002Fscripts\u002Fagent.py",{"path":109,"resourceType":110,"resourceTypeDesc":111,"sizeBytes":112,"sourceHtmlUrl":113},"SKILL.md.tmpl","OTHER","其他",1386,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002Funfreeze\u002FSKILL.md.tmpl",[115,141,165,193,219,246],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":122,"publishedAt":44},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[121],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[123,124,125,126,127,42,128,129,130,131,132,133,134,27,135,136,137,138,139,140],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","pr","code","artifacts","ci","supply-chain","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":148,"publishedAt":44},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[147],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[149,137,150,151,127,152,42,130,153,154,155,156,157,158,159,160,161,162,163,164],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":175,"publishedAt":44},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[171,174],{"categoryNo":172,"categoryName":173,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[159,176,177,178,179,42,180,181,153,182,183,184,185,186,187,188,189,190,191,192],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":200,"publishedAt":44},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[199],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[201,202,203,42,204,205,206,207,208,209,210,211,212,213,214,215,156,216,217,218],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":226,"publishedAt":44},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[225],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[227,228,229,42,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":247,"name":248,"nameZh":6,"description":249,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":250,"categories":251,"keywords":253,"publishedAt":44},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[252],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[127,254,42,41,255,256,31,257,258,259,260,188,261,189,262,263,264,265,266,267],"triaging security incident","file","ioc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]