Skip to content

Derekt2/Yara_Strelka_Training

Repository files navigation

YARA Strelka Training

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.

Prerequisites

  • docker
  • docker-compose

Setup

  1. Clone this repo.
  2. Clone the modified Strelka repo (https://github.com/phutelmyer/strelka).
  3. Modify YaraShare location in forked Strelka docker-compose.
  4. Run docker network create net to create the network the two repositories will communicate on.
  5. Rename prod.env.example to .env and set values accordingly.
  6. Ensure ~/YaraShare on the host has accessible permissions.
  7. Run docker-compose up while in the current working directory for the Strelka repo.
  8. Run docker-compose -f build/docker-compose.yml up while in the current working directory for the Strelka repo.

Usage

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:

  1. Visit http://localhost:8080/guacamole
  2. Login with default credentials (guacadmin:guacadmin)
  3. Setup a new connection to 127.0.0.1 port 2222 using the credentials specified in the .env file.

Warning

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published