{
  "api_version": "1.0.0",
  "slug": "codex-malware-triage-skills-flare-vm",
  "url": "https://reversedwithai.com/p/codex-malware-triage-skills-flare-vm",
  "markdown_url": "https://reversedwithai.com/p/codex-malware-triage-skills-flare-vm.md",
  "json_url": "https://reversedwithai.com/p/codex-malware-triage-skills-flare-vm.json",
  "title": "Wrote reusable Codex CLI skills for malware unpacking and IOC extraction in FLARE-VM",
  "tagline": "Two Codex skills, iterated until errors dropped from 20 to 4.",
  "summary": "Codex CLI ran inside an isolated FLARE-VM guest against four known malware samples; iterating on two skills cut one skill's commands from 31 to 9 and errors from 20 to 4.",
  "target": {
    "name": "Malware samples (Cerber, Hydra, NetWire, PolyRansom)",
    "type": "malware",
    "type_label": "Malware (defensive)"
  },
  "platform": "Windows",
  "models": [],
  "tools": [
    "Codex CLI",
    "FLARE-VM",
    "capa",
    "FLOSS"
  ],
  "outcome": "research",
  "outcome_label": "Research",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "J.W. McKiddy",
    "url": null
  },
  "sources": {
    "repository": "https://github.com/hackersifu/reverse-engineering-skills",
    "writeup": "https://www.joshuamckiddy.com/blog/ai-skills",
    "discussions": [],
    "all": [
      "https://github.com/hackersifu/reverse-engineering-skills",
      "https://www.joshuamckiddy.com/blog/ai-skills"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/codex-malware-triage-skills-flare-vm.webp",
    "credit": "Image: joshuamckiddy.com"
  },
  "commit_history": {
    "commits": 20,
    "ai_commits": 0,
    "ai_days": 0,
    "first_ai_commit": null,
    "last_ai_commit": null,
    "credited_models": []
  },
  "added_at": "2026-10-14T00:00:43+00:00",
  "updated_at": "2026-10-14T00:00:43+00:00",
  "sources_reviewed_at": "2026-10-14T00:00:43+00:00",
  "reviewed_by": "editor",
  "human_notes": "Early runs failed on missing tools, PowerShell quoting and ripgrep's no-match exit code. The author added preflight checks, \"no invention\" rules and a pause before any execution, and tightened the skills after each run.",
  "reproduce": null,
  "body_md": "J.W. McKiddy wrote two OpenAI Codex CLI skills for malware triage, `re-unpacker` and `re-ioc-extraction`, and tested them inside an isolated FLARE-VM guest on four known samples: Cerber5, Hydra, NetWire and PolyRansom. Over three runs the unpacker skill went from 31 commands and 20 errors to 9 commands and 4 errors.\n\n### How it was done\n\nEach skill is a folder with a `SKILL.md` that Codex loads only when needed. The unpacker skill stays static first: hashes, file type, strings and FLOSS, a UPX test and capa. It produces an unpacking plan and pauses for an engineer's approval before anything would need executing. The IOC skill outputs a Markdown table and a strict YAML list, keeping only indicators with an exact evidence line and making no enrichment or guesses.\n\nThe first runs hit environment friction: missing or unexpected tool variants, PowerShell quoting and globbing, fragile one-liners, and ripgrep returning exit code 1 for \"no matches\". McKiddy added preflight tool checks, simpler commands and PowerShell-safe defaults, and used a \"Codex Run Stats\" prompt after each run to count commands and errors from the log.\n\n### Results\n\nThe unpacker assessed Cerber5 and Hydra as likely not packed, NetWire as obfuscated but statically analysable, and PolyRansom as likely packed, and focused its plan on PolyRansom. IOC extraction errors stayed high across runs (18, 19 and 17), and output included certificate URLs with trailing junk, which the skill labelled incomplete rather than presenting as clean. McKiddy's main lesson is that most of the work lies in making the skills portable across shells. The skills are published in the author's reverse-engineering-skills repository.",
  "ai_use_excerpts": null
}
