CyberChef

From Elvis Wiki
Revision as of 18:23, 17 December 2024 by PSimetzberger (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Cyberchef is a tool that is used to execute various encoding, encryption, data processing and transformation tasks. It was created by the GCHQ (Government Communications Headquarters) and is also known as the "Cyber Swiss Army Knife", because of its wide variety of operations. A link to a online version can be found in the Readme file in the official github repository [1].

Installation

The whole tool can be downloaded using docker. The following command pulls the latest version of the program and starts a container. The webpage can then be seen on the localhost on port 8080 on the browser.

  • docker run -it -p 8080:80 ghcr.io/gchq/cyberchef:latest

Alternatively, the program can be build directly. For this the repository needs to be cloned and within the folder the following commands need to be executed.

  • docker build --tag cyberchef --ulimit nofile=10000 .
  • docker run -it -p 8080:80 cyberchef

How to use

The webpage has 4 important parts.The first one is the Operations tab. There is a list of all functions that can be executed. Double clicking on a function adds it to the second tab called recipe. Alternatively, the function can be dragged into the recipe tab This tab contains a list of all functions that will be executed. The input will go through all functions from top to bottom and the output of the function above will be the input of the function below. The third tab is for the input. Here the user can paste whatever input they want to process. The last tab is for the output. The result of the last function will be posted here. The tool also allows to save and load recipes.

Cyberchef [2]


References

  1. Cyberchef. Available: https://github.com/gchq/CyberChef. Accessed: Oct. 10, 2024
  2. Cyberchef Webpage Available: https://gchq.github.io/CyberChef/ Accessed: Oct. 10, 2024