7 ms·
CyberChef – Cyber Swiss Army Knife
- nyxxie 7y agoWow I actually thought of building a tool similar to this for CTFs, specifically this feature: https://github.com/gchq/CyberChef/wiki/Automatic-detection-of-encoded-data-using-CyberChef-Magic https://github.com/gchq/CyberChef/wiki/Automatic-detection-o... This is REALLY cool. Basically given an unknown string or file from something CTF-y you can run this tool on it to look for low-hanging fruit like it being e.g. base64 encoded.
- tptacek 7y agoThis is a really old reversing trick, for what it's worth; for instance, pulling gzips out of firmware images, or spotting zipped Java images. You can also often identify cryptography primitives from their ASN.1 OID strings. There are a bunch of tools that do stuff like this.
- virtualmic 7y agoYes, I use this one regularly: https://github.com/ReFirmLabs/binwalk https://github.com/ReFirmLabs/binwalk (Binwalk is a fast, easy to use tool for analyzing, reverse engineering, and extracting firmware images)
- boarnoah 7y agoIts a brilliant tool, has replaced visiting 3 or 4 different mini sites to do some basic conversions etc.. EDIT: Other thing to note, is you can define, a set of operations, ex: https://gchq.github.io/CyberChef/#recipe=ROT13(true,true,13) https://gchq.github.io/CyberChef/#recipe=ROT13(true,true,13) and get a shareable link
- floki999 7y agoWhy would anyone use a third-party web service to carry out cyber analysis? These tasks are easy enough to do/code.
- United857 7y agoYou can easily download the code and host your own instance.
- andylynch 7y agoIt even runs locally from files - doesn’t need network access at all.
- cos2pi 7y agohttps://news.ycombinator.com/item?id=9224 https://news.ycombinator.com/item?id=9224 seems relevant here.
- invokestatic 7y agoI may be just naive, but I trust and regularly use both Cyberchef and NSA’s Ghidra. I think it’s very unlikely that these tools are backdoored (and Cyberchef runs completely in-browser).
- buildzr 7y agoIf you've ever looked at the way the NSA treats exploits, remote access software and such, they're very careful about deploying them against people who may be able to detect and analyze them themselves. Putting such things in public code like that which would both directly point the finger at them and possibly turning secrets into widespread knowledge in the security community would be... incredibly stupid.
- deleted 7y ago[deleted]
- floki999 7y agoOk, fair enough, I appreciate the answers to my question - why on earth would I get docked 4 points for asking a question is a mystery though.. whoever you are.
- 7y ago
- yeahdef 7y agogreat site, been using it for years
- NikolaeVarius 7y agoThis tool is great. Very useful for CTFs
- downtown_ 7y agohttps://github.com/usdAG/cstc https://github.com/usdAG/cstc this implements This as a burp plugin. A few Colleagues developed this and released it two weeks ago at defcon
- sdinsn 7y agoReally nice, thanks for sharing
- lukifer 7y agoThis is just about the greatest thing ever, thanks for sharing.
- motohagiography 7y agoSo much fun! At first glance, only feature requests I might have added when I did this sort of work would be in for audio spectrographs in the multimedia section. Useful for finding stego, embedded thumbnails, hidden channels etc, and a generalized malicious ZIP parser that deals with the myriad of nasties packers can use. The demand to scale this capability within an agency like that makes it worth while to build tools like this, wonder whatother easter eggs are in there beyond alert msgs. Brits, so cheeky.
- octosphere 7y agoIt's funny looking at some of the contributors to this. Some of the accounts seem to be vague, single-duty accounts made for the express purpose of contributing code to CyberChef and nothing else. I admire their OPSEC (From: https://github.com/gchq/CyberChef/graphs/contributors https://github.com/gchq/CyberChef/graphs/contributors) https://github.com/n1474335 https://github.com/n1474335 https://github.com/j433866 https://github.com/j433866 https://github.com/d98762625 https://github.com/d98762625 https://github.com/s2224834 https://github.com/s2224834 https://github.com/GCHQ77703 https://github.com/GCHQ77703
- Fnoord 7y agoMakes me wonder what GitHub can see (e-mail addresses, IP addresses). I also wonder if it is possible to use code analysis to figure out who these people are. Not that it is relevant for me, just curious...
- TAForObvReasons 7y agoGitHub can see what you send it. If you're concerned about leaking IP data, use a VPN and a remote box for git operations.
- justanotherhn 7y agoPerhaps OP is referring to traking based on the coding? I.E. if you had all the code repos from an individual and ran some sort of pattern reconition software to cross refrence thigs like folder structure, layout of the code, frequency and time of uploads, function & variable naming techniques, etc. This reminds me of a technique called eBiomentrics[0] [0] https://medium.com/datadriveninvestor/keystroke-dynamics-what-is-it-be396a263bf2 https://medium.com/datadriveninvestor/keystroke-dynamics-wha...
- Fnoord 7y agoYes that is what I was referring to. I forgot the exact name for it. It is akin to (hand)writing analysis, but for code.
- anewguy9000 7y agonice! so is any of the input feeding back to GCHQ?
- rtempaccount1 7y agoshouldn't be it's purely client-side. And of course, if you don't trust them, just stick a proxy in-line and watch for traffic.
- Fnoord 7y agoIf you don't trust it you can use it in a VM without network access, or something like Qubes (essentially the same). Personally, I use Opensnitch (a personal firewall like Little Snitch) on Kali Linux, but it isn't foolproof.
- rtempaccount1 7y agoI use this a lot for basic things like base64 decoding. Of course, nothing you can't do with A.N. programming language, but handy for quick checks.
- rglover 7y agoThis is awesome! Not sure if OP put this together, but thank you.
- ixtli 7y agoExtremely cool.
- jdrosenthal 7y agoSome great operations in there. Especially [Other > XKCD Random Number] https://gchq.github.io/CyberChef/#recipe=XKCD_Random_Number()&input=SW5wdXQ https://gchq.github.io/CyberChef/#recipe=XKCD_Random_Number(... "RFC 1149.5 specifies 4 as the standard IEEE-vetted random number."
- flixic 7y agoThere’s also Numberwang function.
- ken 7y agoThis looks kind of neat (and not too dissimilar to my own software -- see bio), though I can't seem to make it work (or "Bake"?). It also reminds me of OpenRefine, another very cool online data processing tool with a slightly different focus.
- kim031 7y agoYou need to drag specific operation(s) from Operations and drop them into Recipe. And then supply input(s) in Input tab. You can also check the Auto Bake icon in the bottom.
- ken 7y agoAh, that's it! I discovered that I could add operations by double-clicking them, but I was so intent on trying to find a "type some raw input" operation that I completely missed the "Input tab".
- weinzierl 7y agoCryptool is similar and I think older. At least I remember that I have used the desktop version in the 90s. While I appreciate that they made a web version I think they scattered their efforts to create different versions too much so that the project suffered regarding features and quality. [1] https://www.cryptool.org/en https://www.cryptool.org/en
- xwdv 7y agoWhat’s the CLI version of this? It’s too cumbersome to click around in a GUI.
- kim031 7y agoNode API - https://github.com/gchq/CyberChef/wiki/Node-API https://github.com/gchq/CyberChef/wiki/Node-API
- ken 7y agoIt's fascinating to me (as someone who has written a similar system) that everybody, almost without exception, makes this leap. If the problem is that clicking is too cumbersome, then add better keyboard support. That's the solution to the problem as stated. You don't need to throw out the whole UI for that, and there's lots of things a GUI can do that a CLI can't. I haven't been able to determine if this is the common reaction because people simply assume a GUI can't have good keyboard support, or because they're making an excuse for some unstated other reason.
- delinka 7y agoI think lost of folks don't think about a GUI having good keyboard support. I recall wowing a Windows admin in the late 90s by using the keyboard to navigate a mouseless Windows 'server.' macOS seems to have eschewed good keyboard support for operating the GUI -- Steve Jobs insisted on a single button mouse because two buttons were two complicated; I could assume he would have disliked the idea of operating without point-and-click by only using the 100+ keys on a keyboard. I've witnessed many 'admins' in IT departments all to happy to point and click around their Windows AD admin interfaces without ever even thinking to ask if something faster is available. My point here is that, anecdotally, the keyboard users and the mouse users apparently don't overlap much. This leads to keyboard users just wanting "CLI everywhere!" without consideration for a GUI with good keyboard support. I think you make an excellent point (that honestly didn't occur to me): If the problem is that clicking is too cumbersome, then add better keyboard support. It's an open source code base - we can certainly bring ourselves to bear on scratching this itch.
- stjohnswarts 7y ago
- integricho 7y agoIt reminds me of SnD Reverser Tool[1], although compared to this, SnD RT has a bit more constrained scope in what it does, but it's also a standalone exe of just ~150KB. such a shame it's no longer being developed... [1] https://tuts4you.com/download/1923/ https://tuts4you.com/download/1923/
- marctrem 7y agoThis has been posted many times to HN [0]. Is there something making it newsworthy this time? [0] https://hn.algolia.com/?query=cyberchef&sort=byPopularity&prefix&page=0&dateRange=all&type=story https://hn.algolia.com/?query=cyberchef&sort=byPopularity&pr...
- myroon5 7y agohttps://xkcd.com/1053/ https://xkcd.com/1053/
- marctrem 7y agoIt's definitely not about making fun of people – It's about expecting novelty and not finding any. After all, `news` is in the url! I am wondering why people don't do the due diligence of searching if a tool/article has not already been posted before submitting a duplicate item. I am sorry if you did interpret this as `trying to make fun of people` – This is not my intention. I still would like to know why duplicate entries are welcomed/accepted on a news aggregator (honest question)!
- PhasmaFelis 7y agoIn this particular case, it's been posted only three times this year, and the first two had only 2 or 3 points, meaning that hardly anyone saw them--I know I didn't. I wouldn't have learned about this if not for the repost. I don't see anything wrong with reposting perennially useful stuff at reasonable intervals. Maybe twice in as many months is too much in general, but it seems to have worked out all right.
- stjohnswarts 7y agoI've never seen this before, and am glad that I have. One of the ten thousand I guess and I visit hacker news at least a few times a week. There are tons of new stuff on here everyday. No use complaining about a repost
- DanBC 7y agoOnly one of those previous submissions has substantial discussion which makes it not a dupe for HN.