From b2203611428c4d3b46a2c3818d389a7d7e5f4a34 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 7 Oct 2020 19:06:07 +0300 Subject: [PATCH 1/2] Added password reset tutorial to FAQ --- docs/content/FAQ/_index.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/content/FAQ/_index.md b/docs/content/FAQ/_index.md index 258cd4c0a..85e751259 100644 --- a/docs/content/FAQ/_index.md +++ b/docs/content/FAQ/_index.md @@ -9,6 +9,7 @@ Here are some of the most common questions we receive about the Infection Monkey - [Where can I get the latest Monkey version? 📰](#where-can-i-get-the-latest-monkey-version) - [How long does a single Monkey run for? Is there a time limit?](#how-long-does-a-single-monkey-run-for-is-there-a-time-limit) +- [How to reset the password?](#how-to-reset-the-password) - [Should I run the Monkey continuously?](#should-i-run-the-monkey-continuously) - [Which queries does Monkey perform to the Internet exactly?](#which-queries-does-monkey-perform-to-the-internet-exactly) - [Where can I find the log files of the Monkey and the Monkey Island, and how can I read them?](#where-can-i-find-the-log-files-of-the-monkey-and-the-monkey-island-and-how-can-i-read-them) @@ -35,6 +36,23 @@ If you want to see what has changed between versions, refer to the [releases pag The Monkey shuts off either when it can't find new victims, or when it has exceeded the quota of victims as defined in the configuration. +## How to reset the password? + +On your first access of Monkey Island server, you'll be prompted to create an account. If you forgot the credentials you + entered or just want to change them, you need to manually alter the `server_config.json` file. On Linux, this file is + located on `/var/monkey/monkey_island/cc/server_config.json`. On windows, it's based on your install directory (typically + `C:\Program Files\Guardicore\Monkey Island\monkey_island\cc\server_config.json`). Reset the contents of this file back to + +```json +{ + "server_config": "password", + "deployment": "windows" +} +``` +Leave the deployment option unchanged (it might be "vmware" or "linux" in your case). Then reset the Island process +(`sudo systemctl restart monkey-island.service` for linux, restart program for windows). Go to the island's URL and create +a new account. + ## Should I run the Monkey continuously? Yes! This will allow you to verify that no new security issues were identified by the Monkey since the last time you ran it. From 816c1089de641e163635516a3530e7c53d5a0d27 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 8 Dec 2020 16:08:59 +0200 Subject: [PATCH 2/2] Clarified password reset procedure, especially the part abaout leaving deployment option unchanged --- docs/content/FAQ/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/FAQ/_index.md b/docs/content/FAQ/_index.md index 85e751259..f76c0f3b1 100644 --- a/docs/content/FAQ/_index.md +++ b/docs/content/FAQ/_index.md @@ -41,7 +41,8 @@ The Monkey shuts off either when it can't find new victims, or when it has excee On your first access of Monkey Island server, you'll be prompted to create an account. If you forgot the credentials you entered or just want to change them, you need to manually alter the `server_config.json` file. On Linux, this file is located on `/var/monkey/monkey_island/cc/server_config.json`. On windows, it's based on your install directory (typically - `C:\Program Files\Guardicore\Monkey Island\monkey_island\cc\server_config.json`). Reset the contents of this file back to + `C:\Program Files\Guardicore\Monkey Island\monkey_island\cc\server_config.json`). Reset the contents of this file + leaving the **deployment option unchanged** (it might be "vmware" or "linux" in your case): ```json { @@ -49,9 +50,8 @@ On your first access of Monkey Island server, you'll be prompted to create an ac "deployment": "windows" } ``` -Leave the deployment option unchanged (it might be "vmware" or "linux" in your case). Then reset the Island process -(`sudo systemctl restart monkey-island.service` for linux, restart program for windows). Go to the island's URL and create -a new account. + Then reset the Island process (`sudo systemctl restart monkey-island.service` for linux, restart program for windows). + Finally, go to the Island's URL and create a new account. ## Should I run the Monkey continuously?