
CyberChef is an open-source, browser-based application for performing data transformations and cyber operations. It supports encoding schemes like Base64 and hexadecimal, encryption algorithms including AES, DES, and Blowfish, hash generation, data compression, character encoding conversion, and network parsing for IPv6 and X.509 certificates. Operations chain together as "recipes" that can be saved and shared.
This article explains how to deploy CyberChef on a Linux server using Docker Compose. It covers directory setup, environment configuration, Traefik reverse proxy integration for automatic HTTPS, and demonstrates the application with a sample data transformation.
Before you begin, you need to:
cyberchef.example.com).CyberChef runs as a stateless container that serves static web assets. Traefik handles TLS termination and automatic certificate provisioning through Let's Encrypt.
Create the project directory and navigate into it.
CyberChef is stateless and requires no persistent data directories. The only volume used is for Traefik's TLS certificates.
Create a .env file to store environment variables.
Add the following configuration:
Replace:
cyberchef.example.com with your registered domain name.admin@example.com with your email address for Let's Encrypt notifications.Save and close the file.
Traefik automatically discovers the CyberChef container through Docker labels and routes HTTPS traffic based on the configured domain. Let's Encrypt certificates are provisioned and renewed automatically.
Create the Docker Compose file.
Add the following manifest:
Save and close the file.
In the above manifest:
80 and 443 to Traefik, allowing it to receive incoming web traffic.80 internally so Traefik can forward requests without exposing the port directly to the host network.letsencrypt named volume retains TLS certificates between container restarts./var/run/docker.sock) enables Traefik to detect and configure routes for running containers automatically.Start the containers in detached mode.
Verify that both containers are running.
Output:
View the logs for the services.
For more information on managing Docker Compose stack, see the How To Use Docker Compose article.
CyberChef is a client-side application with no authentication or persistent state. All operations execute in the browser, and recipes can be exported as URLs or JSON files.
Open your web browser and navigate to CyberChef at https://cyberchef.example.com, replacing cyberchef.example.com with your configured domain name.
Verify the interface loads with four panels.
The interface contains:
CyberChef processes data by applying operations sequentially. The following example decodes a Base64-encoded string.
Paste the following Base64 string into the Input panel.
Search for From Base64 in the Operations panel and drag it into the Recipe area.
Click Bake to execute the transformation.
Output:
The decoded output confirms that CyberChef processes transformations correctly.
You have successfully deployed CyberChef on your server using Docker Compose with Traefik for automatic HTTPS. The setup provides secure browser access to a powerful data transformation toolkit without requiring authentication or server-side storage. CyberChef supports hundreds of operations for encoding, encryption, compression, and analysis that execute entirely in the browser. For more information, refer to the official CyberChef documentation.
0 Comments
Be the first to comment and share your perspective with the community.