HyperSec XDR Data Engine

Hunt Overview

High Level Framework

Hunt Framework.drawio

The Hunt Framework is an integral component of the XDR system, designed to empower security teams by facilitating the creation, scheduling, and execution of cyber detection logic across various customer databases. This document details the framework, focusing on its components, functionality, and the innovative checkpointing mechanism that ensures effective and efficient hunt operations.

TODO: Migrate confluence page content: https://hypersec.atlassian.net/wiki/spaces/HYPXDR/pages/1642889217/Hunt+Framework

Checkpointing

Checkpointing is a pivotal feature of the Hunt Framework, designed to ensure efficient execution of hunts by tracking their progress across runs. This mechanism helps avoid redundant data processing and ensures that each hunt resumes from where it left off, particularly beneficial in case of failures or interruptions.

The process of checkpointing is best understood through a detailed look at its execution flow across four specific runs:

Hunt Checkpoint Workflow

Runs 1

Run 2

Run 3

Run 4

Significance of Checkpointing

Checkpointing plays a critical role in maintaining efficiency in hunt operations, especially across distributed query engines, by offering:

Deployment and Operations

Implementing hunt operations and the checkpointing feature requires careful planning and setup. Key steps include configuring hunt YAML files, deploying the Hunt Scheduler, and ensuring executable rules are accurately defined and tested.

It’s recommended that users regularly review hunt outcomes, adjust configurations as necessary, and monitor system performance to ensure the Hunt Framework continues to deliver optimal results in detecting and responding to cyber threats.

Hunt Scheduling Workflow

Hunt Scheduling Workflow

Event Loop Initialization

Coroutines and Tasks

Distribution of Work

Threading Pool Execution

Concurrency and Parallelism

Task Distribution

Event Loop Management