SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.14720 · 2024

Incorporating Gradients to Rules: Towards Lightweight, Adaptive Provenance-based Intrusion Detection

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
lexuswang/captain canonical 6 of 6
FunctionStatusWhere it lives
check_node Ran lexuswang/captain/node-level-gt.py
code served (permissive licence) · get_code("7d32ba6259cc23ac")
extract_benign_substructure Ran lexuswang/captain/adversarial/extract_benign_structrue.py
code served (permissive licence) · get_code("c7ad99a8fc6331f4")
get_network_feature_vector Ran lexuswang/captain/feature/NetFlowObjFeatures.py
code served (permissive licence) · get_code("5931bd095a603941")
get_target Ran lexuswang/captain/model/target_label.py
code served (permissive licence) · get_code("9cdd54cb086862b8")
ipaddr_to_list Ran lexuswang/captain/feature/NetFlowObjFeatures.py
code served (permissive licence) · get_code("298b1b78a59cd040")
load_graph Ran lexuswang/captain/train_by_benign.py
code served (permissive licence) · get_code("75352af881cc33e5")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As cyber attacks grow increasingly sophisticated and stealthy, it becomes more imperative and challenging to detect intrusion from normal behaviors. Through fine-grained causality analysis, provenance-based intrusion detection systems (PIDS) demonstrated a promising capacity to distinguish benign and malicious behaviors, attracting widespread attention from both industry and academia. Among diverse approaches, rule-based PIDS stands out due to its lightweight overhead, real-time capabilities, and explainability. However, existing rule-based systems suffer low detection accuracy, especially the high false alarms, due to the lack of fine-grained rules and environment-specific configurations. In this paper, we propose CAPTAIN, a rule-based PIDS capable of automatically adapting to diverse environments. Specifically, we propose three adaptive parameters to adjust the detection configuration with respect to nodes, edges, and alarm generation thresholds. We build a differentiable tag propagation framework and utilize the gradient descent algorithm to optimize these adaptive parameters based on the training data. We evaluate our system using data from DARPA Engagements and simulated environments. The evaluation results demonstrate that CAPTAIN enhances rule-based PIDS with learning capabilities, resulting in improved detection accuracy, reduced detection latency, lower runtime overhead, and more interpretable detection procedures and results compared to the state-of-the-art (SOTA) PIDS.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.14720")
get_code_for_paper("2404.14720")
have("2404.14720")

Connect an agent — have() is free.