[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESR0NQSQEFWZDXY5TF09A9":3,"skill-same:01M6ESR0NQSQEFWZDXY5TF09A9":106},{"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":28,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":14,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":6,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6ESR0NQSQEFWZDXY5TF09A9","analyzing-ransomware-leak-site-intelligence",null,"Monitor and analyze ransomware group data leak sites (DLS) to track victim postings, extract threat intelligence on group tactics, and assess sector-specific ransomware risk for proactive defense.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"intelligence","analyzing","ransomware","site","analyzing ransomware leak site intelligence","leak-site-monitoring","de","cm","analyze","defense","victim-tracking","dls","cybersecurity","extortion","data-leak","leak-site","data","threat-intelligence","monitoring","threat intelligence","2026-11-10 10:12:30",false,"---\nname: analyzing-ransomware-leak-site-intelligence\ndescription: Monitor and analyze ransomware group data leak sites (DLS) to track victim\n  postings, extract threat intelligence on group tactics, and assess sector-specific\n  ransomware risk for proactive defense.\ndomain: cybersecurity\nsubdomain: threat-intelligence\ntags:\n- ransomware\n- leak-site\n- data-leak\n- extortion\n- threat-intelligence\n- leak-site-monitoring\n- dls\n- victim-tracking\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- ID.RA-01\n- ID.RA-05\n- DE.CM-01\n- DE.AE-02\nmitre_attack:\n- T1657\n- T1486\n- T1567.002\n- T1591\n---\n# Analyzing Ransomware Leak Site Intelligence\n\n## Overview\n\nRansomware groups operating under double-extortion models maintain data leak sites (DLS) on Tor hidden services where they post victim names, stolen data samples, and countdown timers to pressure payment. In H1 2025, 96 unique ransomware groups were active, listing approximately 535 victims per month. Monitoring these sites provides intelligence on active threat groups, targeted sectors, geographic patterns, and emerging ransomware families. This skill covers safely collecting DLS intelligence, extracting structured data, tracking group activity trends, and producing sector-specific risk assessments.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing ransomware leak site intelligence\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `requests`, `beautifulsoup4`, `pandas`, `matplotlib` libraries\n- Tor proxy (SOCKS5) for accessing .onion sites or commercial DLS monitoring feeds\n- Understanding of ransomware double-extortion business model\n- Familiarity with major ransomware families (Qilin, Akira, LockBit, BlackCat, Clop)\n- Access to ransomware tracking feeds (Ransomwatch, RansomLook, DarkFeed)\n\n## Key Concepts\n\n### Double Extortion Model\n\nModern ransomware groups encrypt victim data AND exfiltrate it before encryption. Leak sites serve as public pressure: victims are listed with a countdown timer, partial data samples, and file trees. If ransom is not paid, full data is published. Some groups have moved to triple extortion, adding DDoS threats or contacting victims' customers directly.\n\n### DLS Intelligence Value\n\nLeak sites provide: victim identification (company name, sector, country), attack timeline (when listed, deadline, data published), data volume estimates, group capability assessment (sectors targeted, attack frequency, operational tempo), and trend analysis (new groups emerging, groups rebranding, law enforcement takedowns).\n\n### Safe Collection Practices\n\nNever directly access DLS sites in a production environment. Use purpose-built monitoring services (Ransomwatch, DarkFeed, KELA, Flashpoint), Tor-isolated research VMs, commercial threat intelligence platforms, or community-maintained datasets. All analysis should be conducted in isolated environments with proper authorization.\n\n## Workflow\n\n### Step 1: Ingest Ransomware Leak Site Data from Public Feeds\n\n```python\nimport requests\nimport json\nimport pandas as pd\nfrom datetime import datetime, timedelta\nfrom collections import Counter\n\nclass RansomwareIntelCollector:\n    \"\"\"Collect ransomware DLS intelligence from public tracking sources.\"\"\"\n\n    RANSOMWATCH_API = \"https:\u002F\u002Fraw.githubusercontent.com\u002Fjoshhighet\u002Fransomwatch\u002Fmain\u002Fposts.json\"\n    RANSOMWATCH_GROUPS = \"https:\u002F\u002Fraw.githubusercontent.com\u002Fjoshhighet\u002Fransomwatch\u002Fmain\u002Fgroups.json\"\n\n    def __init__(self):\n        self.posts = []\n        self.groups = []\n\n    def fetch_ransomwatch_data(self):\n        \"\"\"Fetch ransomware victim posts from ransomwatch.\"\"\"\n        resp = requests.get(self.RANSOMWATCH_API, timeout=30)\n        if resp.status_code == 200:\n            self.posts = resp.json()\n            print(f\"[+] Loaded {len(self.posts)} victim posts from ransomwatch\")\n        else:\n            print(f\"[-] Failed to fetch posts: {resp.status_code}\")\n\n        resp = requests.get(self.RANSOMWATCH_GROUPS, timeout=30)\n        if resp.status_code == 200:\n            self.groups = resp.json()\n            print(f\"[+] Loaded {len(self.groups)} ransomware group profiles\")\n\n        return self.posts\n\n    def get_recent_victims(self, days=30):\n        \"\"\"Get victims posted in the last N days.\"\"\"\n        cutoff = datetime.now() - timedelta(days=days)\n        recent = []\n        for post in self.posts:\n            try:\n                discovered = datetime.fromisoformat(\n                    post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n                )\n                if discovered.replace(tzinfo=None) >= cutoff:\n                    recent.append(post)\n            except (ValueError, TypeError):\n                continue\n        print(f\"[+] {len(recent)} victims in last {days} days\")\n        return recent\n\n    def get_group_activity(self, group_name):\n        \"\"\"Get all posts by a specific ransomware group.\"\"\"\n        group_posts = [\n            p for p in self.posts\n            if p.get(\"group_name\", \"\").lower() == group_name.lower()\n        ]\n        print(f\"[+] {group_name}: {len(group_posts)} total victims\")\n        return group_posts\n\ncollector = RansomwareIntelCollector()\ncollector.fetch_ransomwatch_data()\nrecent = collector.get_recent_victims(days=30)\n```\n\n### Step 2: Analyze Group Activity and Trends\n\n```python\ndef analyze_group_trends(posts, top_n=15):\n    \"\"\"Analyze ransomware group activity trends.\"\"\"\n    group_counts = Counter(p.get(\"group_name\", \"unknown\") for p in posts)\n    monthly_activity = {}\n\n    for post in posts:\n        try:\n            date = datetime.fromisoformat(\n                post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n            )\n            month_key = date.strftime(\"%Y-%m\")\n            group = post.get(\"group_name\", \"unknown\")\n            if month_key not in monthly_activity:\n                monthly_activity[month_key] = Counter()\n            monthly_activity[month_key][group] += 1\n        except (ValueError, TypeError):\n            continue\n\n    analysis = {\n        \"total_posts\": len(posts),\n        \"unique_groups\": len(group_counts),\n        \"top_groups\": group_counts.most_common(top_n),\n        \"monthly_totals\": {\n            month: sum(counts.values())\n            for month, counts in sorted(monthly_activity.items())\n        },\n        \"monthly_top_groups\": {\n            month: counts.most_common(5)\n            for month, counts in sorted(monthly_activity.items())\n        },\n    }\n\n    print(f\"\\n=== Ransomware Group Activity ===\")\n    print(f\"Total victims tracked: {analysis['total_posts']}\")\n    print(f\"Active groups: {analysis['unique_groups']}\")\n    print(f\"\\nTop {top_n} Groups:\")\n    for group, count in analysis[\"top_groups\"]:\n        print(f\"  {group}: {count} victims\")\n\n    return analysis\n\ntrends = analyze_group_trends(collector.posts)\n```\n\n### Step 3: Sector and Geographic Risk Assessment\n\n```python\ndef assess_sector_risk(posts, target_sector=None, target_country=None):\n    \"\"\"Assess ransomware risk for specific sector or geography.\"\"\"\n    sector_data = {}\n    country_data = {}\n\n    for post in posts:\n        # Extract sector if available (not all feeds include this)\n        sector = post.get(\"sector\", post.get(\"industry\", \"unknown\"))\n        country = post.get(\"country\", \"unknown\")\n\n        if sector not in sector_data:\n            sector_data[sector] = {\"count\": 0, \"groups\": Counter(), \"recent\": []}\n        sector_data[sector][\"count\"] += 1\n        sector_data[sector][\"groups\"][post.get(\"group_name\", \"\")] += 1\n\n        if country not in country_data:\n            country_data[country] = {\"count\": 0, \"groups\": Counter()}\n        country_data[country][\"count\"] += 1\n        country_data[country][\"groups\"][post.get(\"group_name\", \"\")] += 1\n\n    # Sector risk scoring\n    total = len(posts)\n    risk_assessment = {\n        \"total_victims\": total,\n        \"sectors\": {},\n        \"countries\": {},\n    }\n\n    for sector, data in sorted(sector_data.items(), key=lambda x: -x[1][\"count\"]):\n        pct = (data[\"count\"] \u002F total * 100) if total > 0 else 0\n        risk_assessment[\"sectors\"][sector] = {\n            \"victim_count\": data[\"count\"],\n            \"percentage\": round(pct, 1),\n            \"top_groups\": data[\"groups\"].most_common(5),\n            \"risk_level\": (\n                \"critical\" if pct > 15\n                else \"high\" if pct > 8\n                else \"medium\" if pct > 3\n                else \"low\"\n            ),\n        }\n\n    for country, data in sorted(country_data.items(), key=lambda x: -x[1][\"count\"]):\n        pct = (data[\"count\"] \u002F total * 100) if total > 0 else 0\n        risk_assessment[\"countries\"][country] = {\n            \"victim_count\": data[\"count\"],\n            \"percentage\": round(pct, 1),\n            \"top_groups\": data[\"groups\"].most_common(5),\n        }\n\n    return risk_assessment\n\nrisk = assess_sector_risk(collector.posts)\n```\n\n### Step 4: Track Emerging and Rebranding Groups\n\n```python\ndef track_new_groups(posts, lookback_days=90):\n    \"\"\"Identify newly emerged ransomware groups.\"\"\"\n    group_first_seen = {}\n    for post in posts:\n        group = post.get(\"group_name\", \"\")\n        try:\n            date = datetime.fromisoformat(\n                post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n            )\n            if group not in group_first_seen or date \u003C group_first_seen[group][\"first_seen\"]:\n                group_first_seen[group] = {\n                    \"first_seen\": date,\n                    \"first_victim\": post.get(\"post_title\", \"\"),\n                }\n        except (ValueError, TypeError):\n            continue\n\n    cutoff = datetime.now() - timedelta(days=lookback_days)\n    new_groups = {\n        group: info for group, info in group_first_seen.items()\n        if info[\"first_seen\"].replace(tzinfo=None) >= cutoff\n    }\n\n    # Count total victims per new group\n    for group in new_groups:\n        victims = [p for p in posts if p.get(\"group_name\") == group]\n        new_groups[group][\"total_victims\"] = len(victims)\n        new_groups[group][\"avg_per_month\"] = round(\n            len(victims) \u002F max(1, lookback_days \u002F 30), 1\n        )\n\n    print(f\"\\n=== New Groups (last {lookback_days} days) ===\")\n    for group, info in sorted(new_groups.items(), key=lambda x: -x[1][\"total_victims\"]):\n        print(f\"  {group}: {info['total_victims']} victims, \"\n              f\"first seen {info['first_seen'].strftime('%Y-%m-%d')}\")\n\n    return new_groups\n\nnew_groups = track_new_groups(collector.posts, lookback_days=90)\n```\n\n### Step 5: Generate Intelligence Report\n\n```python\ndef generate_ransomware_intel_report(trends, risk, new_groups):\n    \"\"\"Generate ransomware threat intelligence report.\"\"\"\n    report = f\"\"\"# Ransomware Threat Intelligence Report\nGenerated: {datetime.now().isoformat()}\n\n## Executive Summary\n- **Total victims tracked**: {trends['total_posts']}\n- **Active ransomware groups**: {trends['unique_groups']}\n- **New groups (last 90 days)**: {len(new_groups)}\n\n## Top Active Groups\n| Rank | Group | Victims |\n|------|-------|---------|\n\"\"\"\n    for i, (group, count) in enumerate(trends[\"top_groups\"][:10], 1):\n        report += f\"| {i} | {group} | {count} |\\n\"\n\n    report += \"\\n## New Emerging Groups\\n\"\n    for group, info in sorted(new_groups.items(), key=lambda x: -x[1][\"total_victims\"])[:10]:\n        report += f\"- **{group}**: {info['total_victims']} victims since {info['first_seen'].strftime('%Y-%m-%d')}\\n\"\n\n    report += \"\\n## Sector Risk Assessment\\n\"\n    report += \"| Sector | Victims | % | Risk Level |\\n|--------|---------|---|------------|\\n\"\n    for sector, data in list(risk[\"sectors\"].items())[:10]:\n        report += f\"| {sector} | {data['victim_count']} | {data['percentage']}% | {data['risk_level'].upper()} |\\n\"\n\n    report += \"\"\"\n## Recommendations\n1. Monitor DLS feeds daily for your organization and supply chain partners\n2. Prioritize patching vulnerabilities exploited by top active groups\n3. Implement offline backup strategy to reduce extortion leverage\n4. Conduct tabletop exercises for ransomware scenario response\n5. Share indicators with sector ISACs and threat sharing communities\n\"\"\"\n    with open(\"ransomware_intel_report.md\", \"w\") as f:\n        f.write(report)\n    print(\"[+] Report saved: ransomware_intel_report.md\")\n    return report\n\ngenerate_ransomware_intel_report(trends, risk, new_groups)\n```\n\n## Validation Criteria\n\n- Ransomware victim data ingested from public tracking feeds\n- Group activity trends analyzed with monthly breakdowns\n- Sector and geographic risk assessment produced\n- New and emerging groups identified with activity metrics\n- Intelligence report generated with actionable recommendations\n- All collection conducted through authorized public sources\n\n## References\n\n- [Ransomwatch GitHub](https:\u002F\u002Fgithub.com\u002Fjoshhighet\u002Fransomwatch)\n- [SOCRadar: Top Ransomware Statistics 2025](https:\u002F\u002Fsocradar.io\u002Fblog\u002Ftop-20-ransomware-statistics-to-know-2025\u002F)\n- [Bitsight: Ransomware & Deep Web Trends](https:\u002F\u002Fwww.bitsight.com\u002Funderground\u002Fransomware)\n- [Sophos: Threat Intelligence Report 2025](https:\u002F\u002Fwww.sophos.com\u002Fen-us\u002Fblog\u002Fthreat-intelligence-executive-report-volume-2025-number-6)\n- [H-ISAC: Ransomware Data Leak Sites Report](https:\u002F\u002Fwww.aha.org\u002Fh-isac-green-reports\u002F2025-08-26-h-isac-tlp-ransomware-data-leak-sites-report-august-26-2025)\n- [CYFIRMA: Weekly Intelligence Reports](https:\u002F\u002Fwww.cyfirma.com\u002Fnews\u002Fweekly-intelligence-report-16-january-2026\u002F)\n","# Analyzing Ransomware Leak Site Intelligence\n\n## Overview\n\nRansomware groups operating under double-extortion models maintain data leak sites (DLS) on Tor hidden services where they post victim names, stolen data samples, and countdown timers to pressure payment. In H1 2025, 96 unique ransomware groups were active, listing approximately 535 victims per month. Monitoring these sites provides intelligence on active threat groups, targeted sectors, geographic patterns, and emerging ransomware families. This skill covers safely collecting DLS intelligence, extracting structured data, tracking group activity trends, and producing sector-specific risk assessments.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing ransomware leak site intelligence\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `requests`, `beautifulsoup4`, `pandas`, `matplotlib` libraries\n- Tor proxy (SOCKS5) for accessing .onion sites or commercial DLS monitoring feeds\n- Understanding of ransomware double-extortion business model\n- Familiarity with major ransomware families (Qilin, Akira, LockBit, BlackCat, Clop)\n- Access to ransomware tracking feeds (Ransomwatch, RansomLook, DarkFeed)\n\n## Key Concepts\n\n### Double Extortion Model\n\nModern ransomware groups encrypt victim data AND exfiltrate it before encryption. Leak sites serve as public pressure: victims are listed with a countdown timer, partial data samples, and file trees. If ransom is not paid, full data is published. Some groups have moved to triple extortion, adding DDoS threats or contacting victims' customers directly.\n\n### DLS Intelligence Value\n\nLeak sites provide: victim identification (company name, sector, country), attack timeline (when listed, deadline, data published), data volume estimates, group capability assessment (sectors targeted, attack frequency, operational tempo), and trend analysis (new groups emerging, groups rebranding, law enforcement takedowns).\n\n### Safe Collection Practices\n\nNever directly access DLS sites in a production environment. Use purpose-built monitoring services (Ransomwatch, DarkFeed, KELA, Flashpoint), Tor-isolated research VMs, commercial threat intelligence platforms, or community-maintained datasets. All analysis should be conducted in isolated environments with proper authorization.\n\n## Workflow\n\n### Step 1: Ingest Ransomware Leak Site Data from Public Feeds\n\n```python\nimport requests\nimport json\nimport pandas as pd\nfrom datetime import datetime, timedelta\nfrom collections import Counter\n\nclass RansomwareIntelCollector:\n    \"\"\"Collect ransomware DLS intelligence from public tracking sources.\"\"\"\n\n    RANSOMWATCH_API = \"https:\u002F\u002Fraw.githubusercontent.com\u002Fjoshhighet\u002Fransomwatch\u002Fmain\u002Fposts.json\"\n    RANSOMWATCH_GROUPS = \"https:\u002F\u002Fraw.githubusercontent.com\u002Fjoshhighet\u002Fransomwatch\u002Fmain\u002Fgroups.json\"\n\n    def __init__(self):\n        self.posts = []\n        self.groups = []\n\n    def fetch_ransomwatch_data(self):\n        \"\"\"Fetch ransomware victim posts from ransomwatch.\"\"\"\n        resp = requests.get(self.RANSOMWATCH_API, timeout=30)\n        if resp.status_code == 200:\n            self.posts = resp.json()\n            print(f\"[+] Loaded {len(self.posts)} victim posts from ransomwatch\")\n        else:\n            print(f\"[-] Failed to fetch posts: {resp.status_code}\")\n\n        resp = requests.get(self.RANSOMWATCH_GROUPS, timeout=30)\n        if resp.status_code == 200:\n            self.groups = resp.json()\n            print(f\"[+] Loaded {len(self.groups)} ransomware group profiles\")\n\n        return self.posts\n\n    def get_recent_victims(self, days=30):\n        \"\"\"Get victims posted in the last N days.\"\"\"\n        cutoff = datetime.now() - timedelta(days=days)\n        recent = []\n        for post in self.posts:\n            try:\n                discovered = datetime.fromisoformat(\n                    post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n                )\n                if discovered.replace(tzinfo=None) >= cutoff:\n                    recent.append(post)\n            except (ValueError, TypeError):\n                continue\n        print(f\"[+] {len(recent)} victims in last {days} days\")\n        return recent\n\n    def get_group_activity(self, group_name):\n        \"\"\"Get all posts by a specific ransomware group.\"\"\"\n        group_posts = [\n            p for p in self.posts\n            if p.get(\"group_name\", \"\").lower() == group_name.lower()\n        ]\n        print(f\"[+] {group_name}: {len(group_posts)} total victims\")\n        return group_posts\n\ncollector = RansomwareIntelCollector()\ncollector.fetch_ransomwatch_data()\nrecent = collector.get_recent_victims(days=30)\n```\n\n### Step 2: Analyze Group Activity and Trends\n\n```python\ndef analyze_group_trends(posts, top_n=15):\n    \"\"\"Analyze ransomware group activity trends.\"\"\"\n    group_counts = Counter(p.get(\"group_name\", \"unknown\") for p in posts)\n    monthly_activity = {}\n\n    for post in posts:\n        try:\n            date = datetime.fromisoformat(\n                post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n            )\n            month_key = date.strftime(\"%Y-%m\")\n            group = post.get(\"group_name\", \"unknown\")\n            if month_key not in monthly_activity:\n                monthly_activity[month_key] = Counter()\n            monthly_activity[month_key][group] += 1\n        except (ValueError, TypeError):\n            continue\n\n    analysis = {\n        \"total_posts\": len(posts),\n        \"unique_groups\": len(group_counts),\n        \"top_groups\": group_counts.most_common(top_n),\n        \"monthly_totals\": {\n            month: sum(counts.values())\n            for month, counts in sorted(monthly_activity.items())\n        },\n        \"monthly_top_groups\": {\n            month: counts.most_common(5)\n            for month, counts in sorted(monthly_activity.items())\n        },\n    }\n\n    print(f\"\\n=== Ransomware Group Activity ===\")\n    print(f\"Total victims tracked: {analysis['total_posts']}\")\n    print(f\"Active groups: {analysis['unique_groups']}\")\n    print(f\"\\nTop {top_n} Groups:\")\n    for group, count in analysis[\"top_groups\"]:\n        print(f\"  {group}: {count} victims\")\n\n    return analysis\n\ntrends = analyze_group_trends(collector.posts)\n```\n\n### Step 3: Sector and Geographic Risk Assessment\n\n```python\ndef assess_sector_risk(posts, target_sector=None, target_country=None):\n    \"\"\"Assess ransomware risk for specific sector or geography.\"\"\"\n    sector_data = {}\n    country_data = {}\n\n    for post in posts:\n        # Extract sector if available (not all feeds include this)\n        sector = post.get(\"sector\", post.get(\"industry\", \"unknown\"))\n        country = post.get(\"country\", \"unknown\")\n\n        if sector not in sector_data:\n            sector_data[sector] = {\"count\": 0, \"groups\": Counter(), \"recent\": []}\n        sector_data[sector][\"count\"] += 1\n        sector_data[sector][\"groups\"][post.get(\"group_name\", \"\")] += 1\n\n        if country not in country_data:\n            country_data[country] = {\"count\": 0, \"groups\": Counter()}\n        country_data[country][\"count\"] += 1\n        country_data[country][\"groups\"][post.get(\"group_name\", \"\")] += 1\n\n    # Sector risk scoring\n    total = len(posts)\n    risk_assessment = {\n        \"total_victims\": total,\n        \"sectors\": {},\n        \"countries\": {},\n    }\n\n    for sector, data in sorted(sector_data.items(), key=lambda x: -x[1][\"count\"]):\n        pct = (data[\"count\"] \u002F total * 100) if total > 0 else 0\n        risk_assessment[\"sectors\"][sector] = {\n            \"victim_count\": data[\"count\"],\n            \"percentage\": round(pct, 1),\n            \"top_groups\": data[\"groups\"].most_common(5),\n            \"risk_level\": (\n                \"critical\" if pct > 15\n                else \"high\" if pct > 8\n                else \"medium\" if pct > 3\n                else \"low\"\n            ),\n        }\n\n    for country, data in sorted(country_data.items(), key=lambda x: -x[1][\"count\"]):\n        pct = (data[\"count\"] \u002F total * 100) if total > 0 else 0\n        risk_assessment[\"countries\"][country] = {\n            \"victim_count\": data[\"count\"],\n            \"percentage\": round(pct, 1),\n            \"top_groups\": data[\"groups\"].most_common(5),\n        }\n\n    return risk_assessment\n\nrisk = assess_sector_risk(collector.posts)\n```\n\n### Step 4: Track Emerging and Rebranding Groups\n\n```python\ndef track_new_groups(posts, lookback_days=90):\n    \"\"\"Identify newly emerged ransomware groups.\"\"\"\n    group_first_seen = {}\n    for post in posts:\n        group = post.get(\"group_name\", \"\")\n        try:\n            date = datetime.fromisoformat(\n                post.get(\"discovered\", \"\").replace(\"Z\", \"+00:00\")\n            )\n            if group not in group_first_seen or date \u003C group_first_seen[group][\"first_seen\"]:\n                group_first_seen[group] = {\n                    \"first_seen\": date,\n                    \"first_victim\": post.get(\"post_title\", \"\"),\n                }\n        except (ValueError, TypeError):\n            continue\n\n    cutoff = datetime.now() - timedelta(days=lookback_days)\n    new_groups = {\n        group: info for group, info in group_first_seen.items()\n        if info[\"first_seen\"].replace(tzinfo=None) >= cutoff\n    }\n\n    # Count total victims per new group\n    for group in new_groups:\n        victims = [p for p in posts if p.get(\"group_name\") == group]\n        new_groups[group][\"total_victims\"] = len(victims)\n        new_groups[group][\"avg_per_month\"] = round(\n            len(victims) \u002F max(1, lookback_days \u002F 30), 1\n        )\n\n    print(f\"\\n=== New Groups (last {lookback_days} days) ===\")\n    for group, info in sorted(new_groups.items(), key=lambda x: -x[1][\"total_victims\"]):\n        print(f\"  {group}: {info['total_victims']} victims, \"\n              f\"first seen {info['first_seen'].strftime('%Y-%m-%d')}\")\n\n    return new_groups\n\nnew_groups = track_new_groups(collector.posts, lookback_days=90)\n```\n\n### Step 5: Generate Intelligence Report\n\n```python\ndef generate_ransomware_intel_report(trends, risk, new_groups):\n    \"\"\"Generate ransomware threat intelligence report.\"\"\"\n    report = f\"\"\"# Ransomware Threat Intelligence Report\nGenerated: {datetime.now().isoformat()}\n\n## Executive Summary\n- **Total victims tracked**: {trends['total_posts']}\n- **Active ransomware groups**: {trends['unique_groups']}\n- **New groups (last 90 days)**: {len(new_groups)}\n\n## Top Active Groups\n| Rank | Group | Victims |\n|------|-------|---------|\n\"\"\"\n    for i, (group, count) in enumerate(trends[\"top_groups\"][:10], 1):\n        report += f\"| {i} | {group} | {count} |\\n\"\n\n    report += \"\\n## New Emerging Groups\\n\"\n    for group, info in sorted(new_groups.items(), key=lambda x: -x[1][\"total_victims\"])[:10]:\n        report += f\"- **{group}**: {info['total_victims']} victims since {info['first_seen'].strftime('%Y-%m-%d')}\\n\"\n\n    report += \"\\n## Sector Risk Assessment\\n\"\n    report += \"| Sector | Victims | % | Risk Level |\\n|--------|---------|---|------------|\\n\"\n    for sector, data in list(risk[\"sectors\"].items())[:10]:\n        report += f\"| {sector} | {data['victim_count']} | {data['percentage']}% | {data['risk_level'].upper()} |\\n\"\n\n    report += \"\"\"\n## Recommendations\n1. Monitor DLS feeds daily for your organization and supply chain partners\n2. Prioritize patching vulnerabilities exploited by top active groups\n3. Implement offline backup strategy to reduce extortion leverage\n4. Conduct tabletop exercises for ransomware scenario response\n5. Share indicators with sector ISACs and threat sharing communities\n\"\"\"\n    with open(\"ransomware_intel_report.md\", \"w\") as f:\n        f.write(report)\n    print(\"[+] Report saved: ransomware_intel_report.md\")\n    return report\n\ngenerate_ransomware_intel_report(trends, risk, new_groups)\n```\n\n## Validation Criteria\n\n- Ransomware victim data ingested from public tracking feeds\n- Group activity trends analyzed with monthly breakdowns\n- Sector and geographic risk assessment produced\n- New and emerging groups identified with activity metrics\n- Intelligence report generated with actionable recommendations\n- All collection conducted through authorized public sources\n\n## References\n\n- [Ransomwatch GitHub](https:\u002F\u002Fgithub.com\u002Fjoshhighet\u002Fransomwatch)\n- [SOCRadar: Top Ransomware Statistics 2025](https:\u002F\u002Fsocradar.io\u002Fblog\u002Ftop-20-ransomware-statistics-to-know-2025\u002F)\n- [Bitsight: Ransomware & Deep Web Trends](https:\u002F\u002Fwww.bitsight.com\u002Funderground\u002Fransomware)\n- [Sophos: Threat Intelligence Report 2025](https:\u002F\u002Fwww.sophos.com\u002Fen-us\u002Fblog\u002Fthreat-intelligence-executive-report-volume-2025-number-6)\n- [H-ISAC: Ransomware Data Leak Sites Report](https:\u002F\u002Fwww.aha.org\u002Fh-isac-green-reports\u002F2025-08-26-h-isac-tlp-ransomware-data-leak-sites-report-august-26-2025)\n- [CYFIRMA: Weekly Intelligence Reports](https:\u002F\u002Fwww.cyfirma.com\u002Fnews\u002Fweekly-intelligence-report-16-january-2026\u002F)\n",{"name":5,"tags":54,"author":55,"domain":41,"license":15,"version":56,"nist_csf":57,"subdomain":46,"description":7,"mitre_attack":62},[31,44,43,42,46,34,40,39],"mahipal","1.0",[58,59,60,61],"ID.RA-01","ID.RA-05","DE.CM-01","DE.AE-02",[63,64,65,66],"T1657","T1486","T1567.002","T1591","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill analyzing-ransomware-leak-site-intelligence",{"tool":81,"command":82},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill analyzing-ransomware-leak-site-intelligence",{"tool":84,"command":85},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill analyzing-ransomware-leak-site-intelligence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence\u002FSKILL.md",true,[89,94,100],{"path":90,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence\u002FLICENSE",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fapi-reference.md","REFERENCE","参考文档",2344,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence\u002Freferences\u002Fapi-reference.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fagent.py","SCRIPT","脚本",6881,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-ransomware-leak-site-intelligence\u002Fscripts\u002Fagent.py",[107,146,155,164,186,212],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":126,"publishedAt":49},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[114,117,120,123],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":124,"categoryName":125,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000034","行政与办公人员",[109,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":147,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":154,"publishedAt":49},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[150,151,152,153],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":26,"taxonomyTypeDesc":27},[109,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],{"skillNo":156,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":163,"publishedAt":49},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[159,160,161,162],{"categoryNo":115,"categoryName":116,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":26,"taxonomyTypeDesc":27},[109,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":49},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[171,172,173,174,175,176,177,178,179,180,181,182,183,184,185],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":193,"publishedAt":49},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[192],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[194,195,196,197,198,199,200,201,202,203,204,138,139,205,206,207,208,209,210,211],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":228,"publishedAt":49},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[218,221,224,225],{"categoryNo":219,"categoryName":220,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":222,"categoryName":223,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":226,"categoryName":227,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者",[229,230,231,232,233,234,235,236,135,237,138,139,140,238,239,240,241,242,185,243],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]