Back to Skills

ctf-malware

Provides malware analysis and network traffic techniques for CTF challenges. Use when analyzing obfuscated scripts, malicious packages, custom crypto protocols, C2 traffic, PE/.NET binaries, RC4/AES encrypted communications, YARA rules, shellcode analysis, memory forensics for malware (Volatility malfind, process injection detection), anti-analysis techniques (VM/sandbox detection, timing evasion, API hashing, process injection, environment checks), or extracting malware configurations and indic

1,989stars252forksUpdated 5/14/2026

Security Assessment

Critical Risk(0/100)

Detected risks:

Secret Exposure([c2-and-protocols.md] password =, [c2-and-protocols.md] TOKEN =)
Sensitive File Access([scripts-and-obfuscation.md] .env)
Command Injection([scripts-and-obfuscation.md] subprocess.Popen, [scripts-and-obfuscation.md] subprocess.run)
Privilege Escalation([scripts-and-obfuscation.md] sudo, [c2-and-protocols.md] sudo)
Security Score0/100

About ctf-malware

The ctf-malware skill is designed to support malware analysis and network traffic investigations specifically within Capture The Flag (CTF) challenge environments. It helps users systematically dissect potentially malicious files, obfuscated scripts, and network communications to uncover hidden behaviors, configurations, or indicators of compromise. By consolidating a wide range of techniques into a single skill, it reduces the overhead of manually gathering tools and reference methods, enabling analysts to focus on identifying malware behavior, detecting anti-analysis mechanisms, and extracting actionable intelligence.

This skill provides a comprehensive suite of capabilities, including static and dynamic analysis of PE and .NET binaries, deobfuscation of JavaScript and PowerShell scripts, identification of junk code patterns, memory forensics using Volatility, shellcode analysis, and the creation or application of YARA rules. It also includes methods for analyzing encrypted communications (RC4, AES), custom command-and-control protocols, and malware network traffic patterns. Anti-analysis techniques such as virtual machine or sandbox detection, API hashing, process injection, and timing evasion are also addressed. Quick start commands and installation instructions for necessary Python packages and Linux/macOS tools are provided to streamline workflow.

Typical users include CTF participants, cybersecurity researchers, malware analysts, and reverse engineers who need to dissect complex malware samples or investigate network-based threats in controlled challenge environments. The skill is particularly useful when tackling obfuscated scripts, encrypted payloads, suspicious binaries, or when performing targeted memory and network forensics. It also serves as a reference for pivoting to related skills like reverse engineering, digital forensics, or OSINT investigations depending on the nature of the challenge.

FAQ

Which environments is ctf-malware compatible with?

ctf-malware requires a filesystem-based agent like Claude Code with bash, Python 3, and internet access for installing necessary tools. Linux and macOS platforms are supported with recommended package installations.

What tools and packages do I need to install to use this skill?

Python packages such as yara-python, pefile, capstone, oletools, unicorn, pycryptodome, volatility3, and dissect.cobaltstrike are required. On Linux, tools like strace, ltrace, tshark, binwalk, and binutils should be installed, and on macOS, Wireshark, binwalk, binutils, and Ghidra are recommended.

Can this skill handle non-malware challenges?

If the sample is not truly malicious, such as normal crackmes or packed binaries without malware behavior, it is recommended to pivot to skills like /ctf-reverse, /ctf-forensics, or /ctf-osint depending on the challenge focus.

Does ctf-malware perform dynamic analysis safely?

Dynamic analysis commands are intended to be run in sandboxed or controlled environments to prevent potential damage. Users should ensure proper isolation when executing suspicious files.

Is this skill user-invocable?

No, the skill is marked as user-invocable 'false', meaning it is intended for automated or backend use rather than direct invocation by end users.

All Files

4 files
scripts-and-obfuscation.md15.4 KB
View
c2-and-protocols.md10.5 KB
View
pe-and-dotnet.md3.0 KB
View
SKILL.md8.2 KB
View

Install ctf-malware

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill