Skip to content

Proposal: Inline Causal Prevention for Falco Modern eBPF Probe #3922

@LemonScripter

Description

@LemonScripter

Proposal: Inline Causal Prevention for Falco Modern eBPF Probe

Hello Falco Community,

Currently, Falco is primarily a detection-focused tool. While external response engines (like Falco Talon) provide prevention capabilities, they are reactive and occur after the suspicious event has already taken place.

The Problem: Autonomous/Orphaned Executions

We are observing an increase in autonomous execution attempts in containerized workloads where a process initiates a sensitive syscall (e.g., execve of a shell) without a verifiable, event-driven causal chain. Traditional identity-based filtering allows these if the process is authorized, leading to a "Semantic Gap."

Proposal: Inline Causal Enforcement

I propose extending Falco's Modern eBPF Probe with Digital Causal Closure (DCC). By leveraging eBPF LSM hooks (specifically bprm_check_security), we can perform nanosecond-latency verification of the causal lineage of a process.

Proof of Concept

I have developed a PoC showing how a Causal Prevention module can be integrated into libsinsp and the Falco drivers:
https://github.com/LemonScripter/falco-causal-bridge

Key Features:

  1. Physical Prevention: Blocks execution with -EPERM in the kernel if no valid causal token is found.
  2. Causal Enrichment: Adds causal.verified fields to Falco events for fine-grained rule evaluation.
  3. Hardware-Anchored: Backed by formal research on Causal Operating Systems (DOI: 10.5281/zenodo.20384700).

I would love to discuss how this could become an optional "Prevention Module" for users who require hard enforcement for autonomous workloads.

Best regards,

MetaSpace BioOS Team
metaspace.bio | admin@metaspace.bio

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions