malware-analysis-internals
Use this skill when the user says 'anti-debugging techniques', 'unpack malware', 'API hooking internals', 'process injection detection', 'write YARA rules'…
от j4flmao★ 47 звёзд на GitHub
Установить malware-analysis-internals в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Malware Analysis Internals
Purpose
Explain how malware evades analysis (anti-debug, packers, injection, rootkit theory) so defenders can defeat those evasions and write IOCs, YARA rules, and EDR behavioral signatures. Analysis for defense; it does not author malicious code.
Agent Protocol
Trigger
User phrases: "anti-debugging techniques", "unpack malware", "api hooking internals", "rootkit stealth", "YARA rule concept".
Input Context
- Sample family/behavior under analysis.
- Available sandbox/EDR telemetry.
Output Artifact
Behavioral analysis plus defeat technique and YARA/IOC concepts.
Response Format
Technique: {evasion}
How to defeat: {analysis countermeasure}
Detection: {YARA concept / telemetry}
[!WARNING] DISCLAIMER: EDUCATIONAL & DEFENSIVE PURPOSES ONLY This skill is strictly for analyzing and dissecting malicious software to write IOCs (Indicators of Compromise), YARA rules, and update EDR behavioral signatures.
1. Skill Context
Focus: Anti-analysis tricks, packers/crypters, API hooking, process injection, rootkit theory. Triggers: anti-debugging techniques, unpack malware, api hooking internals, rootkit stealth
2. Deep Dissection Mechanics
The agent must explain how malware authors attempt to evade detection and how to defeat those evasions.
Anti-Debugging & Anti-VM
- Environment Checks: Malware querying
CPUIDfor hypervisor bits, checking for specific MAC addresses (OUI), or looking for VMware/VirtualBox specific drivers and registry keys. - PEB (Process Environment Block): Manually traversing the PEB in assembly (e.g.,
mov eax, fs:[30h]) to check theBeingDebuggedflag or theNtGlobalFlag, bypassing standard Windows API hooks onIsDebuggerPresent(). - Timing Attacks: Using
rdtsc(Read Time-Stamp Counter) to measure execution time. If execution takes too long, it assumes a human analyst is stepping through a debugger.
Packers & Unpacking Theory
- Mechanics: The true payload is compressed/encrypted and packed inside a "stub". Upon execution, the stub allocates memory (
VirtualAlloc), decrypts the payload into that memory, resolves necessary APIs, and jumps to the Original Entry Point (OEP). - Defeating Packers: Setting hardware breakpoints (DR registers) on execution of the newly allocated memory regions, or dumping the process memory when
VirtualProtectchanges the region toPAGE_EXECUTE_READ.
Rootkits & EDR Evasion
- Direct System Calls (Syswhispers): Bypassing user-land EDR API hooks (e.g., hooked
NtAllocateVirtualMemoryinntdll.dll) by manually pushing the syscall number intoEAXand executing thesyscallinstruction directly, staying entirely under the radar of Ring-3 security tools. - Kernel-Level Evasion (Ring 0): DKOM (Direct Kernel Object Manipulation). Unlinking a malicious process from the
EPROCESSactive process links list, making it invisible to Task Manager and standard APIs while still receiving CPU cycles.
3. Output Format
- Provide the low-level API chains used by malware (e.g.,
CreateToolhelp32Snapshot->Process32First->OpenProcess). - Explain how to bypass the anti-analysis trick (e.g., patching the binary, manipulating EFLAGS).
- Provide YARA rule concepts for the discussed behaviors.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл malware-analysis-internals?
Use this skill when the user says 'anti-debugging techniques', 'unpack malware', 'API hooking internals', 'process injection detection', 'write YARA rules', 'EDR evasion telemetry'. Dissects malware behavior to produce IOCs, YARA rules, and EDR behavioral signatures. Defensive and educational only. Do NOT use for: authoring malware, reverse engineering of arbitrary software (use security/reverse-engineering), or detection-rule authoring (use security/detection-engineering).
Как установить скилл malware-analysis-internals?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл malware-analysis-internals запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…