Cybrary ForgeCYBRARY / FORGE

Forge Chef (CyberChef)

v10.19.4GCHQ / CyberChef community

The cyber Swiss army knife. Build a recipe from encoding, cipher, hashing, parsing, extraction and analysis operations, drop data in one end and read the result out of the other — Base64, Base32, hex, hexdump, URL and HTML encoding, UTF-16LE, XOR (including single-byte brute force), RC4, ROT13/47, Atbash, Vigenère, MD5/SHA-1/SHA-256/SHA-512/HMAC/CRC-32, JWT decode, JSON/XML/CSV handling, IOC extraction and defanging, PowerShell -EncodedCommand unwrapping, entropy and file-type detection. The Magic tab suggests recipes for an unknown blob. Digests are real implementations, so a hash computed here matches the one in a vendor report.

Category
Data decoding, cryptanalysis & analysis
Package
cyberchef
Runs on
Linux · Windows
Commands
cyberchef, chefctl, forge-chef
Console
http://chef.range.local:8000

Every operation is a pure function over the data you paste or open from the simulated disk. There is no upload, no lookup service and no script execution — the recipe can only transform bytes already in the tab.

Install it

The scripts below install the real GCHQ / CyberChef community package on your own machine — read them first, and run them somewhere you are allowed to change. Inside the range, one press puts the simulated package on your next machine.

Linux installer (shell script)
install-cyberchef.sh
Windows installer (PowerShell)
Install-cyberchef.ps1
On a range machine
Add it to your kit and every machine you launch comes with it.

On Linux

Debian, Ubuntu, Kali (apt)

  1. Refresh the package lists
    sudo apt update
  2. Install Forge Chef (CyberChef)
    sudo apt install -y cyberchef

RHEL, Fedora (dnf)

  1. Install Forge Chef (CyberChef)
    sudo dnf install -y cyberchef

    Package names drift between distributions; search first if this one misses.

Arch (pacman)

  1. Install Forge Chef (CyberChef)
    sudo pacman -S --noconfirm cyberchef

Alpine (apk)

  1. Install Forge Chef (CyberChef)
    sudo apk add cyberchef

    Package names drift between distributions; search first if this one misses.

Check it worked

  1. Confirm it landed on PATH
    which cyberchef
  2. Check the version
    cyberchef --version

    The range reports 10.19.4.

Remove it

  1. Take it off again
    sudo apt remove --purge cyberchef

On Windows

Windows Package Manager (winget)

  1. Search the catalog
    winget search cyberchef
  2. Install Forge Chef (CyberChef)
    winget install --id cyberchef -e

    Package names drift between distributions; search first if this one misses.

Chocolatey (choco)

  1. Install Forge Chef (CyberChef)
    choco install cyberchef -y

    Run the shell as administrator.

Check it worked

  1. Confirm it resolves
    where cyberchef
  2. Check the version
    cyberchef --version

    The range reports 10.19.4.

Remove it

  1. Take it off again
    winget uninstall --id cyberchef

Inside the range

  1. Tick it on the launch screen

    Under Forge Chef (CyberChef)'s category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.

  2. Or install it from a range terminal
    sudo apt install -y cyberchef

    The simulated package manager seeds the same binaries, config and receipt the shelf toggle does.

  3. Everything here is simulated

    No software is downloaded and nothing executes — the range answers from authored fixtures.

Labs that use Forge Chef (CyberChef)

No lab locks this one on yet — tick it on the launch screen and take it into any scenario.