Code Monkey home page Code Monkey logo

kraken's Introduction


Warning

I have been reviewing the Kraken-Client code and since this was my first ever react app, its old, clunky and it needs major improvement (the server needs some work too). In the next few weeks/months I will do my best to rewrite it in either updated React or in another framework. Please feel free to continue using this as is, if you have any trouble please continue to raise issues and provide feedback! Thanks!


Kraken: A multi-platform distributed brute-force password cracking system

What is Kraken

Kraken is an online distributed brute force password cracking tool. It allows you to parallelize dictionaries and crunch word generator based cracking across multiple machines both as a web app in a web browser and as a standalone electron based client. Kraken aims to be easy to use, fault tolerant and scalable.

I wrote Kraken because I wanted to learn more about offensive security and to write an easy solution to overcome the limitation of using a single device when attempting distribute brute force workloads.

Installation

Server and Browser Client

Kraken is a dockerized application using docker-compose which will launch the db (Postgres), s3 compliant file storage (Minio), the server and the browser client. You can find the docker-compose file at the root directory of the repository. You can deploy it using the following command:

docker-compose up

Kraken's Browser Client should be accessible at:

Note: To run the Browser Client from a remote machine, you MUST use HTTPS for both server url and browser url. Eg. If you are hosting the server on 192.168.1.2, then browser client will be available at https://192.168.1.2:8443 and the server url should be https://192.168.1.2:8443/api

To upload password lists or dictionaries, upload them to Minio Console at localhost:9001. View steps below for a detailed guide Otherwise, you can generate word lists dynamically using crunch. See crunch options and how to use them here: crunch man page

Kraken's server runs on localhost:5000 and also hosts swagger documentation at localhost:5000/swagger.

Portable Desktop Client

The desktop client is an electron based portable application and can be run on Mac, Windows and Linux. Due to sensitive permissions required to function, it is highly recommended that you compile and it yourself by cloning the repo and using :

cd kraken-client
npm install
npm run electron-start
Windows

Note: Window EXE portable client needs to run in the folder with its hashcat dependencies. Hashcat files can be dowloaded from their home page or here. Ive included a compressed zip file with the portable executable and required hashcat files. They can be downloaded:

Linux

Releases include a Linux AppImage which only requires hashcat to be installed.

Install hashcat:

sudo apt-get install hashcat

You will have to give AppImage permission via properties to execute.

Adding WordLists to Kraken

To add your wordlists to minio, here are the steps:

  1. [UI way] Access your minio console at http://localhost:9001/. Should land you here:

image

  1. Log in with u:admin p:password (default; can be changed). A 'kraken' bucket should be present like so:

image

  1. Hit 'Browse' to see what files are available and add the wordlists you with 'Upload'

image

  1. Either wait up to 5 minutes for the server to pick it up or restart the server. You'll know the server has picked up the list when via log. Note: Large lists take a while to index.

image

  1. The wordlist should show up when creating the request

image

Note

This guide is on-going but please feel free to raise an issue or contact me for any help required.

kraken's People

Contributors

arcaneiceman avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kraken's Issues

Docker-compose

Have error getting it up and running
System ubuntu 20.04,
root@ubuntu-s-1vcpu-2gb-fra1-01:/opt/kraken# docker-compose up
Creating minio ... error
Creating postgres ...

ERROR: for minio Cannot start service s3: error while creating mount source path '/opt/krCreating postgres ... done

ERROR: for s3 Cannot start service s3: error while creating mount source path '/opt/kraken/kraken-server/s3': mkdir /opt/kraken: read-only file system
ERROR: Encountered errors while bringing up the project.
root@ubuntu-s-1vcpu-2gb-fra1-01:/opt/kraken#

Correct order of execution

Hi, sorry to bother, to be honest its not very clear to me what or in what order to acces what. On the side of building the platform its very intuitive, you did an amazing job, back to the issue I already have my cap files, dump files, dictionaires ready to upload but where I tried on the address given on the console but flags me an error when trying to browse my files, went to the other address and well couldnt find how to upload the files.

I know its a cracking tool, but does it has more features? i just might not be understanding the README english its not my first language, anyways thanks for your time and your tool, nice day!

Can't register

Hello!
I am unable to register, getting "Network Error"

lots of little bugs, and a few feature requests

running on the windows client v1.0.2


bugs bugs and more bugs

  • when a working is running, switch to help tab (or other tabs) worker goes away, https://i.imgur.com/P661676.png but still shows in "your workers", goes offline after a few minutes

  • email verification/password reset is very VERY delayed..

  • window can not be resized, leaving a scroll bar that is useless and just plain annoying

  • appears to be a delay from opening a pcap file to when it shows on the window

  • appears to be some sort of error in verification the ssid of a pcap file, only one of my pcap files seams to work properly. (could be a bug in the way i captured it, haven't looked into it yet)

  • question mark on the crunch settings does nothing

  • large delay of values between the 3 windows "YOUR ACTIVE REQUESTS" "YOUR WORKERS" and "WORKER"


Feature requests

  • ability to select your own word list file?

  • support for txt files containing hash

  • cpu worker support

  • ability to change name of workers

  • a single link (to an all in one client download) or a command to easily start a worker on another pc

  • max 12 characters for a name? why is that?

  • worker utilization/info

  • a way to view hashcat output for easy error hunting


finial thoughts

i love this and all the work that you have already put into it, i would be happy to give you a hand and learn along the way.

keep up the great work with this project, it has a huge amount of potential!

Impossible to register client

Hello !

I have installed the server with docker and all OK, but I can't register with the client because I have a "Network Error", How I solve the issue please ?

thx 4 all

Running headless?

Stupid question, but is there a way to run the client (the "cracking" end) headlessly, for example on a number of ec2/etc systems without window managers? Is this a planned feature? Just put in the server info in a config and let it run?

Cannot register/login on a local instance

Hi',

May be i misunderstood the purpose of this application.
I cloned it, build it and launched it. I saw nothing in ./config to be changed
Once i launch the instance i got onto the classic index page.
Trying to login like "just testing this button" and :

ร—
TypeError: Cannot read property 'replace' of undefined
Login.render
src/containers/Login/Login.js:81
  78 | <SocialLoginWrapper
  79 |     autoCleanUri
  80 |     provider='github'
> 81 |     gatekeeper={process.env.REACT_APP_API_URL.replace("/api", "") + '/gatekeeper/github'}
     | ^  82 |     appId='c3748a4951a1807e6eef'
  83 |     redirect='https://kraken.work/login'
  84 |     onLoginSuccess={(authObject) => this.socialAuthenticate('github', authObject)}
View compiled

Login.render
http://localhost:3001/static/js/main.chunk.js:10376:87
  10373 | })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_SocialLoginWrapper_SocialLoginWrapper__WEBPACK_IMPORTED_MODULE_2__["default"], {
  10374 |   autoCleanUri: true,
  10375 |   provider: "github",
> 10376 |   gatekeeper: Object({"NODE_ENV":"development","PUBLIC_URL":""}).REACT_APP_API_URL.replace("/api", "") + '/gatekeeper/github',
        |                                                                                   ^  10377 |   appId: "c3748a4951a1807e6eef",
  10378 |   redirect: "https://kraken.work/login",
  10379 |   onLoginSuccess: authObject => this.socialAuthenticate('github', authObject),

Forwarding port through SSH to get http access on localhost:3001. VM can access web but strict firewall. Just access, no return and opening some ports on internet. Why ? This is a local instance, no need to.

Is this software mandatory linked to kraken.work ?
This is not a local solution allowing me to use some servers through lan access to launch hashcat ?

Thanks for the work !

Feature request : Add interface to add workers (like IP, ssh port, keys or local keys, etc) to remotely

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.