Download & Install STINGAR Application
Before you start, enter information about your STINGAR server in the box below.
STINGAR_HOSTNAME: Do not include the https prefix.
Then follow the instructions below...
You need to be logged onto your STINGAR server: STINGAR_HOSTNAME as STINGAR_ADMIN_USER.
ssh STINGAR_ADMIN_USER@STINGAR_HOSTNAME
While logged onto this server as STINGAR_ADMIN_USER, follow the instructions below to step through the process to download STINGAR & run a script to install & configure it.
Download QuickStart Script
The STINGAR QuickStart script is available in Forewarned's public github repository. The script will prompt you for configuration specs and will then do all the work to download, install & configure your implementation of STINGAR. When done, you will be able to enter your STINGAR server hostname in a browser (https://STINGAR_HOSTNAME) to access your running implementation of STINGAR. Run the following command to download the script:
The command above creates a directory named 'stingar' in the home directory of STINGAR_ADMIN_USER.
Install container runtime
From the stingar directory, install Docker (Ubuntu/Debian) or Podman (RHEL-family):
sudo ./scripts/install_prerequisites.sh
Log out and back in, then verify with Verify Software Installation.
Install Basic SSL
To implement simple SSL certification for STINGAR, you may choose to create public/private keys for STINGAR using the following commands: First, from within the stingar directory, create a 'certs' directory in which the keys will be stored.
Verify that the two expected files were created in the certs directory:
You should find these 2 files in that directory:
- cert.pem
- key.pem
To install permanent certificates
See more details https://communityhoneynetwork.readthedocs.io/en/stable/certificates/
Run the QuickStart Script
You should have the container runtime and Python 3 installed (see Install Required Software).
Run the configuration script and respond to the prompts:
python3 configure_stingar.py
A sample script session is shown below (Input values for a default configuration appear in blue.)
Please enter your SSL certificate path. [./certs]:[Return]
Do you wish to enable Syslog logging to a remote Syslog server? (y/n): [n] [Return]
Do you wish to enable logging to a remote CIFv3 server? (y/n): [n] [Return]
QuickStart Script Results
Upon completion, the script creates:
- stingar.env
- nginx.conf
- docker-compose.yml
- .stingar-runtime
Proceed to Launch STINGAR.