Yara Station- Managment portal for LoKi scanner

Overview

Yara Station- Managment portal for LoKi scanner

Yara station is a managment portal designed to facilitate the use of (Neo23x0 / Loki scanner).

it was created to act as a workaround solution for orgnizations that do not have an enterprise solution to manage thier yara scanning activities.

The idea is to use loki scanner as the base for all scanning activities, and to parse and aggregate all the results in a centralized database to facilitie the following:

1. Storing/archiving yara results.
2. Creating dashboards
3. Scanning clients/servers centrally (comming soon)

How-To Run Yara Station

Run (Option 1 - Using Docker) Recomended:

sudo apt update
sudo apt install docker-compose
git clone https://github.com/NumLocK15/yarastation/
cd yarastation/
sudo docker-compose -f docker-compose-deploy.yml up -d

That is it :) .. Now you can access the portal on http://localhost

Run (Option 2 - Running it directly without docker)

#download the code
git clone https://github.com/NumLocK15/yarastation/
cd  yarastation/app

#setup the virtual environemt and download requirments
sudo apt update
sudo apt install virtualenv
sudo virtualenv env
source env/bin/activate
pip3 install -r requirements-standalone.txt 

## Important Steps:
1) replace core/setting.py with core/setting-standalone.py by renaming the latter.
2) locate core/urls.py and remove setting.debug section

# Create tables in db
python manage.py makemigrations
python manage.py migrate

# Start the application 
python manage.py runserver 0.0.0.0:8015 --insecure

That is it :) .. Now you can access the portal on http://localhost:8015

Notes:

  1. in the standalone version the app will create and run on SQLite instance rather than postgres which is used in the docker, which may cause concurrency issues. you can also link to any other existing database in your environment (read django documentioans)

Managing Agent installtion

Step (1): Generate the authorization token:

(On docker-compose installation)
# Run the following commands
docker exec -it yarastation_app_1 chmod +x generate_token_scripts/generate_token.sh
docker exec -it yarastation_app_1 generate_token_scripts/generate_token.sh
docker exec -it yarastation_app_1 cat /app/generate_token_scripts/agent_token.txt
# copy the generated token as it will be used in later stages. 

Step (2): install the agent:

(Option 1: running the agent as an executable.)
1) unzip the release version of the agent in a location of your choosing (PS: this will be your installation folder and it should not be moved)
2) Generate the config file (ys_config.txt) by running generate_config.ps1..
3) Run the executable using the command prompt and give the location of the config as an argument (example: yarastation_agent.exe "C:\ys_config.txt")
DONE!! now you can manage your system from the server.

(Option 2: running the agent as an service.) (Recomended)
1) unzip the release version of the agent in a location of your choosing (PS: this will be your installation folder and it should not be moved)
2) execute the powershell script "install_yarastation_agent.ps1" follow the commands then finish.
3) go to windows services, find yarastation and start the service. 
DONE!! now you can manage your system from the server.

Agent Archtecture:

Disclaimer

The portal is still in the earlly development phases, it is recommended to run it in a controlled environemnt that does not have internet access.

Roadmap

1. (live) Provide support for Uploading/Parsing loki results
2. (live) Provide support for managment agents to run scans from a centralized location
3. (Coming soon - Testing phases) Agent Support for UNIX systems
4. (Coming soon - still collecting data) Provide support for Uploading/Parsing results from different sources (e.g. Thor scanner, EDRs etc.)

Screenshots

You might also like...

Admin portal for the community-profiles web app

cp-admin Admin portal for the community-profiles web app. Created with Strapi and postgresql backend. Hosted with Azure App Services. Strapi Instructi

Nov 4, 2022

CA9.io Portal Seed Server. Makes sure the project files are always accessable.

Torrent Seed Server What is this about? This project helps users of CA9.io Metaverse to keep their files and addons permanently available. Since we us

Feb 3, 2022

✨ Dramaland: Um portal de notícias, resenhas e opinião do mundo da dramaturgia coreana

✨ Dramaland: Um portal de notícias, resenhas e opinião do mundo da dramaturgia coreana

Tabela de Conteúdo Tabela de Conteúdo Sobre o Projeto Feito Com Contribuição Licença Contato Sobre o Projeto Dramaland é um portal de notícias, resenh

Nov 21, 2022

Dyte's documentation portal built with Docusaurus.

Dyte's documentation portal built with Docusaurus.

Dyte Docs Dyte's documentation portal, built with Docusaurus. Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About the

Jan 1, 2023

Un experimento personal con el portal del Centro de Documentación de la Imagen de Santander.

Un experimento personal con el portal del Centro de Documentación de la Imagen de Santander.

Retrosantander Un experimento personal con el portal del Centro de Documentación de la Imagen de Santander (CDIS) y sus contenidos. Por Jaime Gómez-Ob

Dec 11, 2022

A modern and fashion-forward retail portal.

Atelier Atelier is an ecommerce product detail page built for a fictional clothing company as an exercise in front-end development. It contains three

Aug 30, 2022

FeatureProbe UI/Portal

FeatureProbe UI FeatureProbe applications suite includes a customer UI/Portal. It is optional to install, but we highly recommend using it as the mana

Dec 29, 2022

A portal for finding and posting jobs. Assignment for internship.

A portal for finding and posting jobs. Assignment for internship.

Naukri Dundho A portal for finding and posting jobs. Assignment for internship. 💡 Explore the docs » • Report Bug • Request Feature • Backend Documan

Sep 14, 2022

A all around note taking and viewing portal for students as well as teachers.

Notetal Portal to notes for students and teachers. With Notetal you can take notes as well as view notes taken by others. Features Powerful Editor: A

Jun 13, 2022
Comments
  • Feedback for YaraStation

    Feedback for YaraStation

    Hi NumLocK15,

    With the agent version, improvements can be made to the interface for the end user to enter parameters for the loki.exe software to work.

                    process.StartInfo = new System.Diagnostics.ProcessStartInfo(@tempDownloadLocation + "\\" + loki);
                    **process.StartInfo.Arguments = "**--noprocscan --allhds**";**
    

    In addition, the scans with loki.exe should not be limited to yara rules, they can be determined by end users in IOCs such as hash, file name.

    I am forwarding these to your side as feedback.

    Thank you for your hard work. Best regards

    opened by kaanyeniyol 1
Releases(v0.0.1-alpha)
Owner
Simple Guy... with no Bio
null
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Add GeoIP && UA-Parser support for Grafana Loki

loki-enhance-middleware loki-enhance-middleware hijacks log push requests sent to loki and modifies it. Deploy docker-compose.yaml services: loki:

WangLei 5 Dec 10, 2022
A project aimed at consuming the Where is ISS? api to track the current position of International Space Station.

ISS Tracker This project aims to create a website which tracks the live position of the Internation Space Station using this API. Issues: Call the api

Microsoft Learn Student Chapter, TIET 4 Oct 21, 2022
client-side prototype pullution vulnerability scanner

JSPanda JSpanda is client-side prototype pollution vulnerability scanner. It has two key features, scanning vulnerability the supplied URLs and analyz

Red Section 46 Dec 25, 2022
Port Scanner with Javascript (NodeJs)

port-scanner Installation npm install pscanner example: const portScan = require("pscanner"); const main = async () => { const isOpen = await port

Pesar 45 Oct 14, 2022
A community-led token scanner for Replit utilizing its own APIs.

Replit Token Scanner A community-led project that aims to scan published Repls to find secrets and invalidate them. Usage This repo contains the scann

Ray 18 Nov 6, 2022
Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

sfdx-scan-pull-request Runs sfdx-scanner on a pull request and generates in-line comments with the findings. Inputs category Categor(ies) of rules to

Mitchell spano 27 Jan 7, 2023
Foxpage portal, server apis and plugins

Low-code, made simple and fast Try live demo Foxpage is a lightweight front-end low-code framework. Features ??️ Visualization. Provides visual page e

Foxpage 165 Dec 31, 2022
Website and contest portal for SolidHack.

Solid Website This is the source code for the solid website: https://solidjs.com/ Getting started The website is built with Solid. In order to get goi

Solid 2 May 20, 2022