# Kraker | Distributed Password Brute-Force System That Focused On Easy Use

**URL:** <https://onehack.st/t/kraker-distributed-password-brute-force-system-that-focused-on-easy-use/176771>\
**Category:** Tools & Scripts\
**Tags:** tools, cracking, freebies, tips-tricks\
**Created:** [March 27, 2021, 2:33pm UTC](https://onehack.st/t/kraker-distributed-password-brute-force-system-that-focused-on-easy-use/176771 "2021-03-27T14:33:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [March 27, 2021, 2:33pm UTC](https://onehack.st/t/kraker-distributed-password-brute-force-system-that-focused-on-easy-use/176771/1 "2021-03-27T14:33:05Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/e/6/e6edccd7e81fcf3458e3f631447615967808c069.jpeg)

**Kraker** is a distributed password brute-force system that allows you to run and manage the hashcat on different servers and workstations, focused on easy of use. There were two main goals during the design and development: to create the most simple tool for distributed hash cracking and make it fault-tolerant.

**Kraker** consists of two main components - a server and an agent, which communicate through a REST API. You can read about their installation and configuration below.

**Kraker** continues to be in development, so the new functionality, documentation, and updates will be released as they become available. If you have suggestions for improvement or want to participate in the development or find bugs - feel free to open issues, pull requests, or contact us: [@\_w34kp455](https://twitter.com/w34kp455) and [@\_asSheShouldBe](https://twitter.com/asSheShouldBe).

# Setup

Here you can find a manual on how to setup your own server, build an agent from the source and run it. You always can download a Release that is already built and run it.

## Server

Server is written on Laravel and provides a web interface for creating brute force tasks and also serves for managing agents.

### Setup

```auto
sudo apt update
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
rm get-docker.sh
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo systemctl enable docker

sudo docker-compose build app
sudo docker-compose up -d
sudo docker-compose exec app composer install
sudo docker-compose exec app php artisan key:generate
sudo docker-compose exec app php artisan migrate
sudo docker-compose exec app php artisan db:seed --class=HashtypeSeeder
sudo docker-compose exec app php artisan db:seed --class=UserSeeder

```

Navigate the server IP address and enter the next credentials:

- Login: admin
- Password: kraker

## Agent

It is written in .NET Core 5 and works on any OS where this framework is available - Linux, Windows, MacOS (not tested yet). The agent is responsible for performing brute-force tasks that it receives from the server.

### Setup

For the agent to work on the host, you need to install .NET Core 5, which can be downloaded from the following link:

> **[Download .NET 5.0 (Linux, macOS, and Windows) | .NET](https://dotnet.microsoft.com/en-us/download/dotnet/5.0)**
>
> .NET 5.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

- Linux - [https://docs.microsoft.com/ru-ru/dotnet/core/install/linux](https://docs.microsoft.com/ru-ru/dotnet/core/install/linux)
- Windows -[https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-5.0.4-windows-x64-installer](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-5.0.4-windows-x64-installer)

### Build from source

1. Install .NET Core 5 SDK. Linux example:

```auto
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update 
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y dotnet-sdk-5.0

```

[![](https://github.com/zzzteph/Kraker/raw/main/docs/pics/dotnet_install.gif?raw=true)](https://github.com/zzzteph/Kraker/blob/main/docs/pics/dotnet_install.gif?raw=true)

1. To compile agent from source code, go to agent folder and run the next command: `dotnet build --configuration Release`. After that in `Kracker.App/bin/Release/net5.0` folder you will get the built project.
2. You need to download **hashcat** from the official page at [https://hashcat.net/hashcat/](https://hashcat.net/hashcat/), unpack it into the agent’s folder.
3. Modify `appsettings.json` in `Kracker.App/bin/Release/net5.0` and put **ServerURL** and **Hashcat.Path** like:

```auto
{
        "HashCat":{
        "Path": "/home/admin/Kraker/agent/Kracker.App/bin/Release/net5.0/hashcat/hashcat.bin", //hashcat path 
                "SilencePeriodBeforeKill": 5, //default - 60 minutes
                "RepeatedStringsBeforeKill": 100, //defaut 1000 strings
                "NeedForce": true,
                "Options": "--quiet --status --status-timer=1 --machine-readable --logfile-disable --restore-disable --outfile-format=2"
        },
        "ServerUrl": "http://8.8.8.8/", //server url
        "InventoryCheckPeriod": 600,
        "HearbeatPeriod": 15
}

```

1. Create a folder **wordlist** and **rule** and put there your favorite wordlist and rules.
2. Run **Kraker.app.exe** or use command `dotnet run Kraker.app.dll`
3. You can copy-paste the agent folder from server to server for easy setup. Happy cracking!

[![](https://github.com/zzzteph/Kraker/raw/main/docs/pics/agent_setup.gif?raw=true)](https://github.com/zzzteph/Kraker/blob/main/docs/pics/agent_setup.gif?raw=true)

### Using release

In release you can find:

- pre-installed hashcat [https://hashcat.net/hashcat/](https://hashcat.net/hashcat/)
- rules from [https://github.com/ttmyst/tmyst\_rules](https://github.com/ttmyst/tmyst_rules)

Running agent from release:

1. Install .NET Core 5 runtime.
2. Modify `appsettings.json` in `Kracker.App/bin/Release/net5.0` and put **ServerURL** and **Hashcat.Path**.
3. Put your favorite wordlist and rules in **wordlist** and **rule** folders. You can find lots of **wordlists** on [https://weakpass.com](https://weakpass.com/).
4. Run **Kraker.app.exe** or use command `dotnet Kraker.app.dll`

## GitHub:

> **[GitHub - zzzteph/kraker: Kraker is a distributed password brute-force...](https://github.com/zzzteph/kraker)**
>
> Kraker is a distributed password brute-force system that focused on easy use.
