CyberChef

How to Install CyberChef on Ubuntu 24.04 LTS

CyberChef is a versatile web application designed for encryption, encoding, decoding, compression, and data analysis tasks. Commonly called the “Cyber Swiss Army Knife,” it’s widely used for malware analysis, programming, CTF challenges, and general data manipulation. Running CyberChef locally ensures privacy and offline functionality while giving you full control over sensitive data.

Understanding CyberChef: Features and Benefits

CyberChef provides an intuitive, browser-based interface for complex data operations without requiring advanced programming skills. It supports a wide range of transformations, including Base64, XOR, AES, hashing, hexdumps, and compression operations. Users can combine operations into reusable “recipes,” streamlining repetitive workflows and enabling secure data processing offline.

 

This guide explains how to install and run CyberChef on Ubuntu 24.04 using a simple automated setup.

 

Step 1: Update System and Install Required Packages

Begin by updating your system packages and installing essential dependencies like unzip, curl, and Python3.

sudo apt update && sudo apt install unzip curl python3 -y

 

Step 2: Create the CyberChef Directory

Set up the directory where CyberChef will be installed.

sudo mkdir -p /opt/cyberchef
sudo chown www-data:www-data /opt/cyberchef

 

 

Step 3: Download CyberChef

Download the CyberChef release package directly from the official GitHub repository.

cd /opt/cyberchef
sudo curl -L -o CyberChef_v10.19.4.zip https://github.com/gchq/CyberChef/releases/download/v10.19.4/CyberChef_v10.19.4.zip

 

Step 4: Unzip CyberChef Files

Extract the downloaded archive and adjust the permissions.

sudo unzip CyberChef_v10.19.4.zip
sudo chown -R www-data:www-data /opt/cyberchef

 

Step 5: Create a Systemd Service for CyberChef

 To make CyberChef run automatically as a background service, create a systemd unit file:

sudo nano /etc/systemd/system/cyberchef.service

Add the following content:

[Unit]
Description=CyberChef Web Server
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/python3 -m http.server 8080 --directory /opt/cyberchef
WorkingDirectory=/opt/cyberchef
Restart=always
RestartSec=5
User=www-data
Group=www-data

[Install]
WantedBy=multi-user.target

 

Save and close the file.

 

Step 6: Enable and Start CyberChef Service

Reload systemd, enable the service to start on boot, and then launch it:

sudo systemctl daemon-reload
sudo systemctl enable cyberchef
sudo systemctl start cyberchef

Check that it’s running:

sudo systemctl status cyberchef

 

Step 7: Access CyberChef Web Interface

Once started, open your web browser and go to:

http://<your-server-ip>:8080/CyberChef_v10.19.4.html

You’ll now have full access to the CyberChef interface from your Ubuntu server.

 

Conclusion

You’ve successfully installed CyberChef on Ubuntu 24.04.
It’s now running as a lightweight web service accessible on port 8080, allowing you to perform a wide variety of data operations securely and conveniently from any browser.

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

ERPNext v15

Last Updated: 31 August 2025Applies to: Ubuntu 24.04 LTS (fresh server recommended)Skill Level:...

Open-EMR v7.0.3

Last Updated: 31 August 2025Applies to: Ubuntu 24.04 LTS (fresh server recommended)Skill Level:...

ERPNext v14

Last Updated: 31 August 2025Applies to: Ubuntu 24.04 LTS (fresh server recommended)Skill Level:...

WordPress

1. Overview WordPress is the most popular open-source blogging system and CMS on the Web. It...

Joomla

How to Install Joomla on Ubuntu 24.04   Joomla is a free and open-source content management...