# Linux Agent instructions

This page includes instructions on deploying the BAS Agent for the Linux platform.

# Requirements

The BAS agent is supported on Red Hat Enterprise Linux versions 8 and 9.

# Downloading the BAS Agent

You can download as many instances of the Agent as you'd like for your environment. To download the Agent, log into the NetSPI Platform's BAS module and take the following steps.

  1. Navigate to BAS -> Agents in the NetSPI Platform's left navigation.

    Agent Navigation

    This displays the Agents page.

    Agent Page

  2. Select the Download Agent drop-down list and then Download Linux Agent.

# Set up the BAS Agent

This section provides instructions on setting up the downloaded BAS Agent.

  1. Navigate to the directory that contains the Agent executable. In the example below, the Agent file is located in the "Downloads" directory. By default, the file will not be executable.

  2. To enable the Agent file's execution, enter the following command at the command line:

    chmod +x ./NetSPI-BAS-Agent

    Enable Execute Bit

  3. Enter the following command To start the Agent.

    ./NetSPI-BAS-Agent

# Removing the BAS Agent

The Breach and Attack Simulation agent is not a persistent installation.

To remove the Agent, simply delete the binary from the endpoint.