Command Palette

Search for a command to run...

Назад к скиллам
скилл № 93554

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от 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 CPUID for 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 the BeingDebugged flag or the NtGlobalFlag, bypassing standard Windows API hooks on IsDebuggerPresent().
  • 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 VirtualProtect changes the region to PAGE_EXECUTE_READ.

Rootkits & EDR Evasion

  • Direct System Calls (Syswhispers): Bypassing user-land EDR API hooks (e.g., hooked NtAllocateVirtualMemory in ntdll.dll) by manually pushing the syscall number into EAX and executing the syscall instruction 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 EPROCESS active 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.
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить malware-analysis-internals с