ranilojohn/claude-blue/defensive-tool-cyberchef

Claude Code and agent skill by ranilojohn/claude-blue

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

CyberChef (GCHQ) for decoding and analysis: client-side processing model, using the downloadable offline build for sensitive data, URL-embedded input risk when sharing recipe links, recipes for PowerShell -EncodedCommand (Base64 + UTF-16LE), gzip/deflate payloads, XOR brute force, hex/charcode/URL decoding, defanging and extracting IOCs (URLs, IPs, domains, emails), JWT and X.509 parsing, timestamp conversion, regex extraction, entropy and file-type detection, Magic operation, subsections/regis…

Install

npx vskill@latest install ranilojohn/claude-blue/defensive-tool-cyberchef

SKILL.md

The same SKILL.md was published earlier as ranilojohn/claude-blue/defensive-tool-cyberchef.

CyberChef

CyberChef runs operations entirely in the browser (JavaScript) — no server-side processing. That makes it safe for most analysis, but where you load it from and how you share links still matter. Version observed: 11.5.0.

Quick Workflow

  1. Use a local/offline copy (download build ZIP or self-host) for sensitive or incident data
  2. Paste input; drag operations; check output at each step
  3. Save recipes (JSON) in your team repo for reuse
  4. Extract and defang IOCs before pasting into tickets/chat
  5. Never execute decoded output; treat it as hostile text

1. Safety

RiskPractice
Hosted instance availability/integritySelf-host or offline build; verify release checksum from the official GitHub release
Sharing linksCyberChef URLs can embed input and recipe (#recipe=...&input=... Base64) — strip input before sharing; never paste incident URLs into public channels
Rendering operationsAvoid "Render HTML"/"Render Image"/"Render Markdown" on hostile content in an analyst browser; use an isolated VM
ClipboardDecoded payloads may contain malicious commands — don't paste into terminals
Large filesBrowser memory limits — use Node API or Python for very large inputs

2. Core Recipes

TaskRecipe
PowerShell -encFrom Base64 → Decode text (UTF-16LE (1200))
Compressed + Base64 (IO.Compression.GzipStream/DeflateStream)From Base64 → Gunzip (or Raw Inflate) → Decode text if UTF-16
Char code arrays ([char]72,101,...)Regular expression (extract numbers) → From Charcode (Comma, base 10)
Hex blobsFrom Hex (Auto delimiter)
URL encodingURL Decode
XOR single-byteXOR Brute Force (key length 1, look for "MZ", "http", "This program") → XOR with key
Reverse stringsReverse
ROT/CaesarROT13 / ROT47 brute
IOC extractionExtract URLs / Extract IP addresses / Extract domains / Extract email addresses → Defang URL / Defang IP Addresses
JWTJWT Decode (no signature verification without key — JWT Verify with secret/public key)
CertificatesParse X.509 certificate (PEM/DER)
TimestampsFrom UNIX Timestamp, Windows Filetime to UNIX Timestamp, Translate DateTime Format
File typeDetect File Type, Entropy, Strings, Extract Files
Unknown encodingMagic (depth 3, intensive mode) — then rebuild a deterministic recipe
Multi-stageSubsection (apply ops to regex matches), Register (capture keys), Fork/Merge, Jump/Label for loops

Example saved recipe (PowerShell gzip stager):

json
[
{ "op": "Regular expression", "args": ["User defined", "[A-Za-z0-9+/=]{100,}", true, true, false, false, false, false, "List matches"] },
{ "op": "From Base64", "args": ["A-Za-z0-9+/=", true, false] },
{ "op": "Gunzip", "args": [] },
{ "op": "Decode text", "args": ["UTF-8 (65001)"] }
]

3. Automation (Node API)

bash
npm install cyberchef
javascript
const chef = require("cyberchef");
const out = chef.bake("SQBFAFgA...", [chef.fromBase64, { op: chef.decodeText, args: ["UTF-16LE (1200)"] }]);
console.log(out.toString());

Use in SOAR/enrichment pipelines to decode command lines automatically (defensive-soar-automation).


4. Analysis Tips

  • Work iteratively: decode one layer, inspect, then add the next
  • Keep the original input; note each layer in the case (layer 1: Base64, layer 2: gzip, …)
  • After decoding, look for: URLs/IPs (C2), file paths, AMSI/ETW bypass strings, reflective loading ([Reflection.Assembly]::Load), additional encoded blobs
  • Hash any extracted binary (SHA2) and check reputation by hash rather than uploading

Engagement Cheatsheet

text
offline/self-hosted build → paste input → layer-by-layer (Base64 → Gunzip/Inflate → UTF-16LE) → Magic for unknowns then deterministic recipe
→ extract + defang IOCs → hash extracted files → save recipe JSON → strip input from shared links → Node API in SOAR

Key References

  • github.com/gchq/CyberChef (releases, wiki); CyberChef Node API docs
  • Related: defensive-malware-triage, defensive-phishing-triage, defensive-tool-safety

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ranilojohn/claude-blue/defensive-tool-cyberchef/badge)](https://verified-skill.com/skills/ranilojohn/claude-blue/defensive-tool-cyberchef)

Something wrong with this skill or its page? Tell us.