CyberChef

CyberChef is a web-application developed by GCHQ that's been called the “Cyber Swiss Army Knife”.

Utilities · CyberChef

Details

IDCyberChef
ProviderOpen Source
CategoryUtilities
From Version6.0.0
Docker Imagedemisto/cyberchef:1.0.0.10133006
Supported ModulesAgentix XSIAM

README

CyberChef is a web-application developed by GCHQ that’s been called the “Cyber Swiss Army Knife”.

Configure CyberChef in Cortex

Parameter Description Required
Server URL (e.g. https://prod.apifor.io/) URL or your CyberChef server or https://prod.apifor.io/ True
API Key API key if you use https://prod.apifor.io/ False
Trust any certificate (not secure)   False
Use system proxy settings   False
Local execution Uses the cyberchef node package for local execution of your commands False

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

cyberchef-bake


Bake you recipe!

Base Command

cyberchef-bake

Input

Argument Name Description Required
input input data to be used in baking. Required
recipe recipe how to bake. use JSON formatting. For example: { “op”: “to decimal”, “args”: { “delimiter”: “Colon” } }. Required
outputType Optional argument to define outputType. . Optional

Context Output

Path Type Description
CyberChef.Bake string Output of the bake

Command Example

!cyberchef-bake input="One, two, three, four." recipe="{\"op\": \"to decimal\"}"

!cyberchef-bake input="79 110 101 44 32 116 119 111 44 32 116 104 114 101 101 44 32 102 111 117 114 46" recipe="{\"op\": \"from decimal\"}" outputType=string

Human Readable Output

image

cyberchef-magic


CyberChef Magic function

Base Command

cyberchef-magic

Input

Argument Name Description Required
input The input data for the recipe. Currently accepts strings. Required
args Arguments for the magic operation. Optional

Context Output

Path Type Description
CyberChef.Magic string Output of the Magic operation

Command Example

!cyberchef-magic input="79 110 101 44 32 116 119 111 44 32 116 104 114 101 101 44 32 102 111 117 114 46"

Human Readable Output

image

Configuration parameters

  • local_execution — Local execution
  • url — Server URL (e.g. https://prod.apifor.io/)
  • apikey — API Key
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings

Commands (2)

  • cyberchef-bake

    Bake you recipe!

  • cyberchef-magic

    CyberChef Magic function.

This integration works with the CyberChef server published here: https://github.com/gchq/CyberChef-server or you can also use the https://prod.apifor.io service. 

If you decide to use api for service (https://prod.apifor.io) you need to register:
https://prod.apifor.io/account/register?email=youremailhere

Then follow the instructions to get your api key.