1
0
mirror of synced 2024-11-17 19:47:12 +01:00
The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
Go to file
2017-11-26 20:13:49 +00:00
.github Updated ISSUE_TEMPLATE.md 2017-02-07 20:30:44 +00:00
docs Added docs to GH Pages 2017-09-13 15:21:31 +00:00
src Fix linting in PGP operations 2017-11-26 20:13:49 +00:00
test Added Snefru hashing operation 2017-09-27 15:33:14 +00:00
.babelrc Modified babel to target Node 6.5 2017-08-08 14:47:48 +00:00
.eslintignore Switched to val-loader and compiling MetaConfig 2017-09-17 13:47:33 +01:00
.eslintrc.json Added 'Disassemble x86' operation 2017-10-04 22:35:44 +01:00
.gitignore Switched to val-loader and compiling MetaConfig 2017-09-17 13:47:33 +01:00
.npmignore Added more keywords and bug link to package.json 2017-04-27 10:43:11 +00:00
.travis.yml Updated all dependencies and set node version to 8.4 to fix docstrap bug in travis builds (until it is fixed) 2017-09-14 10:20:16 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-16 15:32:55 +01:00
Gruntfile.js Updated the dev server to work on external interfaces 2017-09-22 16:05:15 +00:00
LICENSE Initial commit 2016-11-28 10:42:58 +00:00
package-lock.json Merge branch 'master' of github.com:gchq/CyberChef 2017-10-05 16:29:09 +00:00
package.json Add operation "Generate PGP Key Pair" 2017-11-25 16:00:33 +00:00
postcss.config.js Added modern browser warning for theme support 2017-05-18 23:29:04 +01:00
README.md Removed devDependencies badge from README.md 2017-10-05 16:33:20 +00:00
webpack.config.js Merged upstream master 2017-09-17 14:53:17 +01:00

CyberChef

Build Status dependencies Status npm

The Cyber Swiss Army Knife

CyberChef is a simple, intuitive web app for carrying out all manner of "cyber" operations within a web browser. These operations include simple encoding like XOR or Base64, more complex encryption like AES, DES and Blowfish, creating binary and hexdumps, compression and decompression of data, calculating hashes and checksums, IPv6 and X.509 parsing, changing character encodings, and much more.

The tool is designed to enable both technical and non-technical analysts to manipulate data in complex ways without having to deal with complex tools or algorithms. It was conceived, designed, built and incrementally improved by an analyst in their 10% innovation time over several years. Every effort has been made to structure the code in a readable and extendable format, however it should be noted that the analyst is not a professional developer.

Live demo

CyberChef is still under active development. As a result, it shouldn't be considered a finished product. There is still testing and bug fixing to do, new features to be added and additional documentation to write. Please contribute!

Cryptographic operations in CyberChef should not be relied upon to provide security in any situation. No guarantee is offered for their correctness.

A live demo can be found here - have fun!

How it works

There are four main areas in CyberChef:

  1. The input box in the top right, where you can paste, type or drag the data you want to operate on.
  2. The output box in the bottom right, where the outcome of your processing will be displayed.
  3. The operations list on the far left, where you can find all the operations that CyberChef is capable of in categorised lists, or by searching.
  4. The recipe area in the middle, where you can drag the operations that you want to use and specify arguments and options.

You can use as many operations as you like in simple or complex ways. Some examples are as follows:

Features

  • Drag and drop
    • Operations can be dragged in and out of the recipe list, or reorganised.
    • Files can be dragged over the input box to load them directly.
  • Auto Bake
    • Whenever you modify the input or the recipe, CyberChef will automatically “bake” for you and produce the output immediately.
    • This can be turned off and operated manually if it is affecting performance (if the input is very large, for instance).
    • If any bake takes longer than 200 milliseconds, auto bake will be switched off automatically to prevent further performance issues.
  • Breakpoints
    • You can set breakpoints on any operation in your recipe to pause execution before running it.
    • You can also step through the recipe one operation at a time to see what the data looks like at each stage.
  • Save and load recipes
    • If you come up with an awesome recipe that you know youll want to use again, just click save and add it to your local storage. It'll be waiting for you next time you visit CyberChef.
    • You can also copy a URL which includes your recipe and input which can be shared with others.
  • Search
    • If you know the name of the operation you want or a word associated with it, start typing it into the search field and any matching operations will immediately be shown.
  • Highlighting
  • Save to file and load from file
    • You can save the output to a file at any time or load a file by dragging and dropping it into the input field (note that files larger than about 500kb may cause your browser to hang or even crash due to the way that browsers handle large amounts of textual data).
  • CyberChef is entirely client-side
    • It should be noted that none of your input or recipe configuration is ever sent to the CyberChef web server - all processing is carried out within your browser, on your own computer.
    • Due to this feature, CyberChef can be compiled into a single HTML file. You can download this file and drop it into a virtual machine, share it with other people, or use it independently on your desktop.

Browser support

CyberChef is built to support

  • Google Chrome 40+
  • Mozilla Firefox 35+
  • Microsoft Edge 14+

Contributing

An installation walkthrough, how-to guides for adding new operations and themes, descriptions of the repository structure, available data types and coding conventions can all be found in the project wiki pages.

Licencing

CyberChef is released under the Apache 2.0 Licence and is covered by Crown Copyright.