The purpose of this training is to act as an environment for users to build YARA rules and submit files to Strelka for practicals given during (FIRSTCon 2021's Workshop: Using YARA & Strelka to Identify & Detect Malware).
This repository includes the following technologies: - Guacamolee: Remote access for users - Postgres: Managing users - OpenSSH: Server users will access
In addition to this repository, users should also stand up a modified version of Strelka that was slightly modified to communicate with the OpenSSH server.
docker
docker-compose
- Clone this repo.
- Clone the modified Strelka repo (https://github.com/phutelmyer/strelka).
- Modify
YaraShare
location in forked Strelka docker-compose. - Run
docker network create net
to create the network the two repositories will communicate on. - Rename
prod.env.example
to.env
and set values accordingly. - Ensure
~/YaraShare
on the host has accessible permissions. - Run
docker-compose up
while in the current working directory for the Strelka repo. - Run
docker-compose -f build/docker-compose.yml up
while in the current working directory for the Strelka repo.
With setup complete, you will have both the remote server and Strelka running on the same docker network. Users can now access the SSH server with the following steps:
- Visit http://localhost:8080/guacamole
- Login with default credentials (guacadmin:guacadmin)
- Setup a new connection to
127.0.0.1
port2222
using the credentials specified in the .env file.
In its current form, the SSH server was unable to be built / accessed on a Mac OSX test environment. This project was successfully built and tested on Ubuntu.