/cybersec-toolkit:ctf-stegofrom cybersec-toolkit
Solves steganography CTF challenges by detecting hidden data in images (PNG/JPG/BMP), audio (WAV/MP3), video, and text files using tools like zsteg, steghide, exiftool, binwalk, and stegseek.
Ships in cybersec-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pre-flight. Confirm the event rules allow AI assistance (
authorization-gate). Start withsuggest_for_ctforguided_assessment. Commands below are CLI notation: run them withrun_tool/run_pipelineusing registry names (list_tools), andrun_scriptonly for real logic. If policy blocks a command, tell the operator; do not fall back to the client shell. A tool that is not in the registry is a recommendation to the user (approval-gated install), not a bare command.
Read an unvalidated imagePer CLAUDE.md: reading a corrupt image poisons the conversation. Validate first:
run_tool("file", "/path/to/image")
run_tool("identify", "/path/to/image") # ImageMagick
# or run_script:
# from PIL import Image; img = Image.open(path); print(img.size, img.mode)
Only Read the image after both checks pass.
run_tool("file", "<file>")
run_pipeline([{"tool": "xxd", "args": "<file>"}, {"tool": "head", "args": "-30"}])
run_tool("exiftool", "<file>") # metadata — flag often hides here
run_pipeline([{"tool": "strings", "args": "<file>"}, {"tool": "grep", "args": "-i -e ctf -e flag -e key -e pass"}, {"tool": "head"}])
run_tool("binwalk", "<file>") # multi-file polyglots
Always check metadata first. ~30% of intro stego is just exiftool.
| Technique | Tool / approach |
|---|---|
| LSB in pixels | zsteg (PNG/BMP), stegsolve |
| EOF data after IEND/EOI | binwalk -e, manual hex |
| JPG specific | steghide extract -sf <file> (often with empty pass), stegseek for brute |
| PNG color planes | stegsolve (visual layer toggle) |
| LSB matching, custom | zsteg -a, then write custom Python with PIL |
| Polyglot (file with valid headers for multiple formats) | binwalk, foremost |
| File appended after IEND chunk (PNG) | pngcheck -v, manual carve |
| Modified/extra chunks | pngcheck -v, pngcsum |
| Width/height tampering (PNG) | edit IHDR width/height, recalc CRC — tweakpng style |
# zsteg covers most LSB cases for PNG/BMP
run_tool("zsteg", "-a image.png")
# steghide brute (jpg/wav/bmp); wordlist path: see security-wordlists (the misc module unpacks rockyou when SecLists is installed)
run_tool("stegseek", "image.jpg /opt/SecLists/Passwords/Leaked-Databases/rockyou.txt")
# stegsolve is a GUI git clone (not run_tool); the operator toggles layers manually
| Technique | Tool |
|---|---|
| LSB in samples | wavsteg, custom python |
| Steghide payload | steghide, stegseek |
| Spectrogram (visual hidden in freq domain) | audacity view spectrogram, sonic-visualiser |
| DTMF tones | multimon-ng -a DTMF, manual tone analysis |
| Morse | listen by ear, then morse-decoder or manual |
| SSTV (slow-scan TV in audio) | qsstv, slowrx |
# Spectrogram via sox
sox audio.wav -n spectrogram -o spec.png
# Then validate spec.png before reading (see step 0)
# DTMF
multimon-ng -a DTMF audio.wav
# Extract frames
ffmpeg -i video.mp4 -vf fps=1 frames/frame_%04d.png
# Per-frame stego
for f in frames/*.png; do zsteg -a "$f" 2>/dev/null | grep -i "flag\|ctf"; done
# Audio track
ffmpeg -i video.mp4 -vn audio.wav
# Then audio analysis
| Technique | Tool |
|---|---|
| Zero-width characters | zwsp-steg, manual unicode inspect |
| Whitespace stego | snow, stegsnow |
| Homoglyph substitution | unicode normalize + diff |
| Base-N nested encodings | ciphey, manual |
| Bacon / null cipher | manual + dcode.fr |
# Show every character including invisibles
python3 -c "import sys; [print(repr(c), hex(ord(c))) for c in open(sys.argv[1]).read()]" file.txt
pdf-parser, peepdf, qpdf --qdf — check streams, annotations, JS, attachmentsoletools (olevba, oleid), oledump, unzip the .docx/.xlsxzbarimg, zxing — also try partial QR reconstructionexiftool + strings + binwalk -e always firstzsteg -a (PNG/BMP) OR stegseek (JPG)stegsolve GUI for visual analysiszsteg existsRead before validation (see step 0)Use the writeup-template skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub 26zl/cybersec-toolkit --plugin cybersec-toolkit880 skills in this plugin
/acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD5/SHA) during acquisition. Use when imaging a suspect drive, USB device, or memory card for investigation, preserving volatile disk evidence during incident response, or producing a verified copy for legal or law-enforcement proceedings before any destructive analysis./add-toolUse when adding a new cybersecurity tool to this installer. Walks through editing the right module file, adding to tools_config.json, running validators, and syncing MCP server data if needed. Triggers on phrases like "add tool", "add <toolname>", "register a new tool", "include X in the installer"./Other plugins' skills for the same job