Reverse Engineering Assistance
Analysis Workflow
- Initial survey: Get function list, extract strings, identify imports and exports, map binary structure
- Key function analysis: Decompile main/entry functions, analyze control flow, identify critical operations, classify functions by purpose
- Data flow mapping: Trace data through functions, identify data structures, map global state, analyze stack layouts
- 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
1---
2name: assisting-reverse-engineering
3description: 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.
4metadata:
5 source: https://skillmd.com/skills/aibot88/assisting-reverse-engineering
6---
7
8# Reverse Engineering Assistance
9
10## Analysis Workflow
11
121. **Initial survey**: Get function list, extract strings, identify imports and exports, map binary structure
132. **Key function analysis**: Decompile main/entry functions, analyze control flow, identify critical operations, classify functions by purpose
143. **Data flow mapping**: Trace data through functions, identify data structures, map global state, analyze stack layouts
154. **Behavior understanding**: Identify protocol handlers, understand input/output patterns, map to known functionality, reconstruct high-level logic
16
17## Key Capabilities
18
19- Function identification: entry points and main functions, common library functions, custom application logic, function classification
20- Data structure analysis: strings and constants, data structures (structs, arrays), global variables, stack layouts
21- Pattern recognition: common algorithms (sorting, hashing), protocol implementations, obfuscation techniques, anti-debugging code
22- Code reconstruction: high-level logic reconstruction, control flow patterns, error handling, mapping to source concepts
23
24## Output Format
25
26Report 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.
27
28## Quality Criteria
29
30- **Accuracy**: Correct identification of functionality
31- **Completeness**: Cover all key aspects
32- **Clarity**: Clear explanations of behavior
33- **Actionability**: Highlight areas needing review
34
35## See Also
36
37- `patterns.md` - Detailed analysis patterns and techniques
38- `examples.md` - Example analysis cases and output formats
39- `references.md` - Tools and best practices