analyzing-ransomware-encryption-mechanisms

analyzing-ransomware-encryption-mechanisms is a skill for Claude Code, Codex from autohandai/community-skills. It costs 79 tokens per session (3,138 once invoked), scanned A, a copy of analyzing-ransomware-encryption-mechanisms, Apache-2.0.

A guide to examining how ransomware encrypts files, manages keys, and implements algorithms such as AES, RSA, and ChaCha20.

In plain words
What is it for?
Use it to reverse-engineer ransomware, compare encrypted and original files, classify encryption methods, and assess possible decryptors.
Why use it?
It helps determine whether flawed encryption or a known weakness might allow recovery without paying the ransom.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to reverse-engineer ransomware, compare encrypted and original files, classify encryption methods, and assess possible decryptors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add autohandai/community-skills --skill analyzing-ransomware-encryption-mechanisms
Clone the repo
git clone --depth 1 https://github.com/autohandai/community-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyzing-ransomware-encryption-mechanisms

README.md
[![agentmods](https://agentmods.dev/badge/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms/github.svg)](https://agentmods.dev/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms)
Your own site
<a href="https://agentmods.dev/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyzing-ransomware-encryption-mechanisms

Your own site · 80×15
<a href="https://agentmods.dev/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/analyzing-ransomware-encryption-mechanisms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.03138
Opus 5.5 $0.00032 $0.01255
Sonnet 5.5 $0.00016 $0.00628
Haiku 4.5 $0.00008 $0.00314

Measured 2mo ago against content hash 8f6c6e2f3a48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

analyzing-ransomware-encryption-mechanisms scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to analyzing-ransomware-encryption-mechanisms — 48 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

analyzing-ransomware-encryption-mechanisms/SKILL.md · 328 lines

How it starts

The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyzing Ransomware Encryption Mechanisms

When to Use

  • A ransomware infection has occurred and recovery requires understanding the encryption scheme used
  • Assessing whether decryption is possible without paying the ransom (implementation flaws, known decryptors)
  • Reverse engineering ransomware to identify the encryption algorithm, key derivation, and key storage mechanism
  • Developing a decryptor tool when a weakness in the ransomware's cryptographic implementation is identified
  • Classifying a ransomware sample by its encryption approach to attribute it to a known family

Do not use for production data recovery operations without first verifying the decryption method on test copies of encrypted files.

Prerequisites

  • Ghidra or IDA Pro for reverse engineering the ransomware binary
  • Python 3.8+ with pycryptodome library for testing encryption/decryption routines
  • Sample encrypted files and their corresponding plaintext originals (known-plaintext pairs)
  • Access to the ransomware binary (unpacked if applicable)
  • Familiarity with symmetric (AES, ChaCha20) and asymmetric (RSA) cryptographic algorithms
  • NoMoreRansom.org database for checking existing free decryptors

Workflow

Step 1: Identify the Encryption Algorithm

Determine which cryptographic algorithm the ransomware uses:

# Check for Windows Crypto API usage in imports
import pefile

pe = pefile.PE("ransomware.exe")

crypto_apis = {
    "CryptAcquireContextA": "Windows CryptoAPI",
    "CryptAcquireContextW": "Windows CryptoAPI",
    "CryptGenKey": "Windows CryptoAPI key generation",
    "CryptEncrypt": "Windows CryptoAPI encryption",
    "CryptImportKey": "Windows CryptoAPI key import",
    "BCryptOpenAlgorithmProvider": "Windows CNG (modern crypto)",
    "BCryptEncrypt": "Windows CNG encryption",
    "BCryptGenerateKeyPair": "Windows CNG asymmetric key gen",
}

print("Crypto API Imports:")
for entry in pe.DIRECTORY_ENTRY_IMPORT:
    for imp in entry.imports:
        if imp.name and imp.name.decode() in crypto_apis:
            print(f"  {entry.dll.decode()} -> {imp.name.decode()}: {crypto_apis[imp.name.decode()]}")

Read the full file on GitHub · 328 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 328 lines · 79 tokens per session scan A 8f6c6e2f3a48

Subscribe to this mod's changes

analyzing-ransomware-encryption-mechanisms is a skill published in the GitHub repository autohandai/community-skills (14 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 79 tokens to every session and 3,138 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to analyzing-ransomware-encryption-mechanisms, differing in 48 lines, and is treated as a copy.

Related

analyzing-ransomware-encryption-mechanisms compared with skills from other repositories

analyzing-ransomware-encryption-mechanisms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyzing-ransomware-encryption-mechanismsautohandai/community-skillsSkill144mo agoApache-2.0A79Claude Code, Codex
analyzing-ransomware-encryption-mechanisms26zl/cybersec-toolkitSkill1135d agoMITA79Claude Code
analyzing-ransomware-encryption-mechanismskillvxk/cybersecurity-skills-zhSkill637mo agoApache-2.0A102Claude Code
analyzing-ransomware-encryption-mechanismsmarysatasselshaped667/skills-collection-1Skill11mo agoMITA79Claude Code, Codex
analyzing-ransomware-encryption-mechanismsYoungmaidainon/Agent-Level-UpSkill43mo agoMITA79Claude Code, Codex
analyzing-ransomware-encryption-mechanismspinkpixel-dev/skills-collection-1Skill93mo agoApache-2.0A79Claude Code, Codex
analyzing-ransomware-encryption-mechanismsMikaru0Mystic/sectinelSkill135mo agoApache-2.0A79Claude Code