assisting-reverse-engineering

majiayu000's avatarfrom majiayu000

Provides reverse engineering analysis support including function identification, data structure analysis, and behavior understanding. Use when analyzing unknown binaries, understanding program structure, or investigating binary behavior.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026

When & Why to Use This Skill

This Claude skill provides comprehensive support for reverse engineering and binary analysis, enabling users to systematically decompose unknown executables. It streamlines the process of function identification, data structure mapping, and behavior understanding, helping security researchers and developers reconstruct high-level logic from low-level code patterns.

Use Cases

  • Malware Analysis: Investigating suspicious binaries to identify malicious behavior, command-and-control protocols, and persistence mechanisms.
  • Vulnerability Research: Analyzing closed-source software to discover security flaws, memory corruption issues, or logic vulnerabilities.
  • Legacy Code Recovery: Reconstructing program logic and data structures from old binaries when the original source code is lost or unavailable.
  • Interoperability Engineering: Understanding proprietary file formats or communication protocols to build compatible third-party integrations.
nameassisting-reverse-engineering
descriptionProvides reverse engineering analysis support including function identification, data structure analysis, and behavior understanding. Use when analyzing unknown binaries, understanding program structure, or investigating binary behavior.

Reverse Engineering Assistance

Analysis Workflow

  1. Initial survey: Get function list, extract strings, identify imports and exports, map binary structure
  2. Key function analysis: Decompile main/entry functions, analyze control flow, identify critical operations, classify functions by purpose
  3. Data flow mapping: Trace data through functions, identify data structures, map global state, analyze stack layouts
  4. Behavior understanding: Identify protocol handlers, understand input/output patterns, map to known functionality, reconstruct high-level logic

Key Capabilities

  • Function identification: entry points and main functions, common library functions, custom application logic, function classification
  • Data structure analysis: strings and constants, data structures (structs, arrays), global variables, stack layouts
  • Pattern recognition: common algorithms (sorting, hashing), protocol implementations, obfuscation techniques, anti-debugging code
  • Code reconstruction: high-level logic reconstruction, control flow patterns, error handling, mapping to source concepts

Output Format

Report with: binary_summary (type, architecture, language, compiler), key_functions (entry_points, protocol_handlers, utility_functions), data_structures, strings_of_interest, behavior_analysis (protocols, ports, functionality), recommendations.

Quality Criteria

  • Accuracy: Correct identification of functionality
  • Completeness: Cover all key aspects
  • Clarity: Clear explanations of behavior
  • Actionability: Highlight areas needing review

See Also

  • patterns.md - Detailed analysis patterns and techniques
  • examples.md - Example analysis cases and output formats
  • references.md - Tools and best practices