Skip to content
SkillModel-led2,191 tokens in use

ctf-malware

A quick reference for malware analysis CTF challenges: obfuscated scripts, PE and .NET samples, C2 traffic, YARA rules, shellcode and memory forensics.

3,753 stars on the repository MIT Licenseljagiello/ctf-skills · ctf-malware
npx skills add ljagiello/ctf-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing ctf-malware costs

103tokens idle
2,191tokens in use
12,203tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldeclared and detectednetworkdeclared and detectedwrites filesdeclared

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter15/15
  • Structure17/25
  • Examples9/15
  • Output7/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Reaches the network−5

    does this on the machine, as the frontmatter declares

    SKILL.md, line 20
  • Runs shell commands−2

    does this on the machine, as the frontmatter declares

    SKILL.md, line 20

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity88
  • Maintenance48
  • Community56
  • Maturity32
  • Momentum40

ctf-malware is the malware and network analysis skill of the ctf-skills collection. It gives an agent an index of analysis techniques for capture-the-flag challenges that ship a malicious sample, a script or a packet capture, with each topic linking to a supporting file.

The skill covers static and dynamic analysis commands, script deobfuscation, PE and .NET inspection, command-and-control traffic and custom protocols, YARA rules, shellcode and memory forensics. It states that samples are to be run only in an isolated, disposable virtual machine.

What You Get

  • A prerequisites list for Python packages and system tools used in analysis
  • Quick-start commands for static analysis, PE inspection, tracing, network indicators and YARA scans
  • Short technique entries that link to four detailed reference files
  • Pivot rules that send crackme-style or forensics-style work to the reverse and forensics skills
  • A reminder to run samples only in an isolated, disposable virtual machine

Common Use Cases

  • Deobfuscating a JavaScript or PowerShell loader to read the code it runs
  • Decoding command-and-control traffic in a packet capture from a challenge
  • Extracting the configuration from a .NET or PyInstaller sample
  • Finding injected code in a memory dump with Volatility

What Makes It Unique

The skill is limited to malware behavior in CTF settings: how samples hide themselves, how they talk to their servers and how analysts recover configuration and indicators. It names the point at which a challenge is really a crackme or a forensics task and sends the agent to the matching skill, and it includes an MCP integration file for disassembler and debugger servers.

Under The Hood

The skill is instructions only, with no scripts of its own. It tells the agent to install analysis packages, run tools such as strings, strace, ltrace, tshark, yara and Volatility on samples, and write YARA rules and decoding scripts. Some entries involve dynamic analysis, where a sample is executed, and calling messaging APIs with a token found in a sample; the skill says to do this only in an isolated virtual machine. Its frontmatter allows shell, file writes, web fetch and web search.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers