Skip to content
/ odef Public template

This is a public template repository for the Open Detection Engineering Framework

License

Notifications You must be signed in to change notification settings

wealthsimple/odef

Repository files navigation

Open Detection Engineering Framework Repo

GitHub commit activity GitHub Release Date GitHub contributors GitHub pull requests GitHub last commit

Purpose

This is a template repository, it can be forked and customized to the needs of your organization. The repository provides the framework concepts and the adaptation is normally tailored based on the specific requirements. In some cases, there could be integration with ci/cd pipelines in other cases it can be used to only document and store security content and enable and promote knowledge sharing.

Goals

  1. The goal of the repository is to become a central security content knowledge management base where the content is stored, organized, shared, and interacted with.
  2. The goal of the python application is to assist with the process of detection documentation and can be extended to run unittests, quality checks, and more.
  3. The repository also hosts the open detection engineering framework which can be used as a reference to tailor and craft internal processes accordingly.

Important links

Start here -> Open Detection Engineering Framework
ODEF Detection Template
ODEF Detection YML
ODEF Hunt YML
Example Detection

How to Install and Run the Project

  • Use the template to create a new repository under your organization

  • Clone it locally to your development machine

  • Next, create virtual virtual environment

virtualenv venv 

Or if you don't use virtualenv

python3 -m venv {name of venv}

More information on venv

  • Activate your virtual environment
source venv/bin/activate
  • Then install the requirements
pip install -r requirements.txt
  • Run the python app
python main.py
  • Follow the process and once completed ensure that all files are present and your detection is well documented

How to contribute

There are two ways to contribute to the repository and the community. Via discussions where you can raise topics of interest that will help the detection engineering community or by submitting issues or PRs to push your change to the repository.

Discussions

Feel free to start discussions on topics that you believe can help and support the community. Please make sure to follow the rules (No Spam / Advertising, Do not post “offensive” posts, links or images. Do not cross post questions. Remain respectful of other members at all times.) and github code of conduct

PRs & Issues

Feel free to submit an issue for any enhancements or bugs that you see, even better if you can submit a pull request with the fix or enhancement that you introduced. For issues/pr make sure to provide sufficient details and information about your change or request.

Project Folder Structure

There are several folders that are important in the project and will be explained below

Folders

  1. Root folder - Contains the project and number of helper files.
  2. HUNTS - Subfolder under this folder are meant to organize and contain complex hunts.
  3. DETECTIONS - The folder where all detections are organized. Each detection should have a subfolder containing.
  4. IOC - The folder where indicators of compromise are stored.
  5. Tests - Standard folder for storing unittest.
  6. MitreMap - Contains a file used to report TTPs that have been covered.
  7. screenshots - Storing screenshots or other artefact that are to be displayed as part of documentation.
  8. DataDictionary - Storing data dictionaries for different data sets and indexes that are utilized.
  9. Docs - Contains documentation related to ODEF

About

This is a public template repository for the Open Detection Engineering Framework

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages