Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFIR ELK - Elastic Stack for DFIR Investigations

Ressources

Prerequisites

Docker must be installed on the system. To do so, you can use the installation script.

sudo bash install_docker.sh

Setup

  1. Start the DFIR-ELK. sudo docker compose up
  2. Connect to Kibana: http://localhost:5601

Folder Structure

This project is based on a certain folder structure.

Filebeat / Filebeat Inputs

The directory filebeat/filebeat_inputs contains .yml files defining how filebeat handles the different log ingests. In case a new log type should be ingested, there must be a corresponding filebeat input according to the following template:

- type: log
  paths:
    - /ingest/LOGNAME/*/*/*/*/*
    - /ingest/LOGNAME/*/*/*/*
    - /ingest/LOGNAME/*/*/*
    - /ingest/LOGNAME/*/*
    - /ingest/LOGNAME/*
  exclude_files: [ 'readme.txt', '\.gz$', '\.bz2$', '\.zip$', '\.md$' ]
  close_inactive: 5m
  fields_under_root: true
  fields:
    type: LOGNAME

where LOGNAME is a descriptive name of the log source.

Ingest

This is the folder used by Filebeat to ingest new log files.

  • azure: This folder accepts logs from the Azure Active Directory collected with the collection skript from Invictus Incident Response.
    • SignInLogs: JSON formatted
    • AuditLogs: JSON formatted
  • evtxecmd: This folcer accepts csv outputs from the EZ-Tool EvtxECmd
  • hayabusa: This folder expects csv files generated by Hayabusa.
  • microsoft365: This folder accepts logs from Microsoft365 collected with the collection skript from Invictus Incident Response.
    • AdminAuditLog: CSV formatted
    • MailboxAuditLog: CSV formatted
    • MessageTrace: CSV formatted
    • UAL: CSV formatted

Logstash

This folder contains the logstash pipeline.

  • 000X: Inputs
  • 100X / 200X: Preprocessing
  • 300X: Filtering
  • 400X: Postprocessing
  • 500X: Output

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages