# VirtualBox: AttackBridge installation guide for Windows

Hardware requirements:

1. Resources: at least 4 cores, 16 gb ram, 40 gb of free disk space;
2. CPU capable of hardware virtualisation;

Prerequisites:

1. vcredist 2019 (<https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022>);
2. python for windows (<https://www.python.org/downloads/windows/>);
3. python win32 bindings (pip install pywin32 --upgrade).

To run AttackBridge in a Linux VM it needs to met following prerequisites:

* a modern Ubuntu LTS Linux installation (24.04);
* at least 2 CPU cores;
* 6 GB or more of RAM;
* at least 30 GB of free disk space;
* a network adapter in a Bridge mode to be capable of ARP discovery and to have an ability to accept incoming connections.

The following guide will provide instructions for VirtualBox:

* Please verify you have installed the following:
  1. Microsoft Visual C++ 2019 redistributable package (x64): <https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022>
  2. Python for windows: <https://www.python.org/downloads/windows/>
  3. python win32 bindings (pip install pywin32 --upgrade)

<figure><img src="/files/oIQZOlpOevWBMhjTTMyx" alt=""><figcaption></figcaption></figure>

* Install VirtualBox: navigate to <https://www.virtualbox.org/wiki/Downloads>, then click on package for “Windows hosts”, then open downloaded file:

<figure><img src="/files/w30BCO2ancUwysAEA5c4" alt=""><figcaption></figcaption></figure>

* Proceed with an installation using defaul values. You can safely close main VirtualBox window, if you chosen to run it after an installation.
* Open <https://multipass.run/download/windows> link in your web browser; then run downloaded file “multipass-\<version>-win64.exe”

<figure><img src="/files/HFJd2EUk08oROd8L2zqi" alt=""><figcaption></figcaption></figure>

* Proceed with an installation, remember to choose “Oracle VM VirtualBox” at the Hypervisor selection step.

<figure><img src="/files/ms0Gz5KlSrdC6kKs6qRi" alt=""><figcaption></figcaption></figure>

* Please look up your network connection name, it would be useful for the next step:

<figure><img src="/files/b39SzcmMhJUEgutgrYYn" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/bvFDCTOPg7jq97mgY4HP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tMEGYt0JuilvyRykfsfd" alt=""><figcaption></figcaption></figure>

* Open a command line prompt ( Press “Win” key, then type “cmd”, then press “Enter”). In this step you’ll need the network adapter name from the previous step to configure the network adapter that would be used for bridging (right on the first command). You should copy and paste these commands one by one:

```jsx
multipass set local.bridged-network="Ethernet"
multipass launch --name primary
multipass stop primary
multipass set local.primary.cpus=2
multipass set local.primary.memory=6G
multipass set local.primary.disk=30G
multipass set local.primary.bridged=true
multipass start primary
```

<figure><img src="/files/F0l1NijNMdZp3sRcxhRs" alt=""><figcaption></figcaption></figure>

* Now you can open Linux shell with “multipass shell” command:

```jsx
multipass shell
```

<figure><img src="/files/HRzreggyKyVp0dUKi7x1" alt=""><figcaption></figcaption></figure>

* Copy and paste this two lines to your terminal, one by one:

```jsx
curl -fsSL [<https://get.docker.com>](<https://get.docker.com/>) -o [get-docker.sh](<http://get-docker.sh/>)
sudo sh ./get-docker.sh
```

<figure><img src="/files/NrXQ4YN0onyJN5Db5hP4" alt=""><figcaption></figcaption></figure>

* docker should be installed, and you can check if it functions properly with the following command:

```jsx
sudo docker run hello-world
```

<figure><img src="/files/sjdKbj3xNqQ7L95xYjrG" alt=""><figcaption></figcaption></figure>

* Now that the system has been updated and docker is installed, it is ready for your AttackBridge script. Simply paste your script into the terminal once you're ready.

<figure><img src="/files/GwOQc2Gigcw9aFrCTSIW" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sxipher.gitbook.io/docs/virtualbox-attackbridge-installation-guide-for-windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
