An alert fires on a PowerShell command that ends in a long block of gibberish. A phishing email contains a link that is mostly percent signs. A log file shows a timestamp that is just a ten-digit number. None of it is hard to understand once it is decoded. The hard part is knowing which decoding to apply. CyberChef makes that fast, visual and repeatable.
CyberChef describes itself as a simple, intuitive web app for carrying out all manner of "cyber" operations within a web browser. Its README explains that it was conceived, designed and built by an analyst at GCHQ in their 10% innovation time over several years, and it is now published on GitHub under the Apache 2.0 licence.
Its key design choice matters for security work: according to the project, none of your recipe or input, text or files, is ever sent to the CyberChef web server. All processing happens in your browser, on your own computer. You can also download CyberChef and run it locally, in a virtual machine or on a closed network.
Recipes can be saved, and the page URL updates to include your recipe, so you can share an exact analysis with a colleague by sending a link. Be careful: if your input is in the URL too, so is your data.
1. Encoded PowerShell. Attackers often hide PowerShell commands with the -EncodedCommand option, which takes Base64-encoded text in UTF-16LE format. The recipe is From Base64 followed by Decode text set to UTF-16LE. Try it on this harmless example:
VwByAGkAdABlAC0ATwB1AHQAcAB1AHQAIAAnAEgAZQBsAGwAbwAgAGYAcgBvAG0AIABDAHkAYgBlAHIAIABJAG4AcwBpAGcAaAB0ACcA
It decodes to Write-Output 'Hello from Cyber Insight'. Real samples often contain another layer inside, such as more Base64 or compressed data, so keep adding operations until the output is readable.
2. Scrambled links. Phishing links are often percent-encoded to hide where they really go. URL Decode reveals them; Extract URLs pulls every link out of an email's raw source. Before sharing a suspicious link in a report or chat, run Defang URL, which turns https://evil.com into a form that cannot be clicked by accident.
3. Pulling indicators out of a mess. Paste a log file, email header or threat report, then use Extract IP addresses, Extract domains or Extract email addresses to get a clean list you can search for elsewhere, for example in your SIEM or on VirusTotal.
4. Hex, compression and XOR. Data in investigations is often stored as hex, compressed with gzip, or lightly obscured with XOR. From Hex, Gunzip and XOR handle these, and Magic can often spot the right combination for you.
5. Timestamps and hashes. From UNIX Timestamp turns a number like 1785139200 into a readable date. SHA2 and other hashing operations let you calculate a file's hash in the browser to check it against threat intelligence.
CyberChef is the tool security people reach for dozens of times a week without thinking about it. Open it now, paste in the example above, and build the two-step recipe. Then try Magic on something you do not recognise. Within an hour you will have a toolkit that turns most "what on earth is this?" moments into a ten-second job.
Cyber Insight | Tool Spotlight · Season 1
Making cybersecurity easier to understand, one issue at a time.
Free and open-source security tools: what they do and where they fall short.
Have a question or a suggestion? Prepare an email below. Feedback is private and is sent only when you press Send in your email app.
Likes and claps are your personal reactions on this device.
You can also email Poorna directly.
Your feedback stays private. Nothing is sent from this page automatically.
I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.