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.
- 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.
- 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.
- The repository also hosts the open detection engineering framework which can be used as a reference to tailor and craft internal processes accordingly.
Start here -> Open Detection Engineering Framework
ODEF Detection Template
ODEF Detection YML
ODEF Hunt YML
Example Detection
-
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}
- 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
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.
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
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.
There are several folders that are important in the project and will be explained below
- Root folder - Contains the project and number of helper files.
- HUNTS - Subfolder under this folder are meant to organize and contain complex hunts.
- DETECTIONS - The folder where all detections are organized. Each detection should have a subfolder containing.
- IOC - The folder where indicators of compromise are stored.
- Tests - Standard folder for storing unittest.
- MitreMap - Contains a file used to report TTPs that have been covered.
- screenshots - Storing screenshots or other artefact that are to be displayed as part of documentation.
- DataDictionary - Storing data dictionaries for different data sets and indexes that are utilized.
- Docs - Contains documentation related to ODEF