Automated tool for detection of exploitable vulnerabilities.
Introduction
K2HackBot is an offering of K2 Cyber Security Inc, that works in conjunction with the K2 Platform to automatically find exploitable vulnerabilities in Web applications and APIs.
By running K2HackBot on your server where your web application or APIs are running, you can quickly find exploitable vulnerabilities.
K2HackBot tool generates use cases by crawling Web application/APIs or using test cases from Swagger documentation. The use cases are leveraged to find vulnerabilities that can be exploited. Details are provided for each exploitable vulnerability that includes vulnerable URL/APIs, location of the vulnerability along with proof of the exploit.
The K2HackBot tool is shipped as a Linux bundle.
Requirements
Linux System
Firefox
Docker
Note: Depending upon the OS, the K2HackBot provide the steps to install the Firefox on your machine at run time for the underprivileged user (non-root).For the root user, Firefox will be installed implicitly if not found on the machine.
In case if the K2HackBot utility fails to install Firefox for any reason, then please make sure to install it manually.
Installation Instructions
Step 1: Download K2HackBot Bundle
Download the latest K2HackBot tar from the below URL:
tar --no-same-owner -xf ${PATH_TO_K2HACKBOT_BUNDLE}
cd ${PATH_TO_UNTAR_K2HACKBOT_DIRECTORY};
bash install.sh;
Complete!
Pre-requisite 'firefox' installed using OS package manager 'dnf'
Executable ./bin/k2hackbot created.
Environment setup completed for K2HackBot
[IMPORTANT] K2HackBot has been added to your env PATH via /root/.bashrc file.
[IMPORTANT] For current shell, please run this command : export PATH=/K2HackBot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin or spwan a new shell to use the tool
k2hackbot [command] [options]
k2hackbot --version
k2hackbot --help
k2hackbot [command] --help
k2hackbot scan-web-application --help
CLI > Environment > Configuration file > Default
$ cd <PATH_TO_UNTAR_K2HACKBOT_DIRECTORY>
$ ls logs
2021-10-13_08:25:00.976282