Skip to content

JJediny/LocalObserve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Security Observability & Threat Detection Pipeline

A complete, high-performance, and automated security monitoring solution leveraging Falco, OSquery, ClamAV, and OpenObserve.

Architecture Note: This project originally evaluated Grafana, Loki, and Alloy for telemetry aggregation. After rigorous benchmarking and usability testing, we determined to proceed exclusively with OpenObserve and the OpenTelemetry (OTEL) Collector due to its superior performance, unified analytics, and native VRL parsing capabilities. Legacy Loki configurations have been archived to docker-compose.loki.yaml for reference.

Features

  • Kernel-Level Behavioral Analysis: Powered by Falco, monitoring syscalls for container escapes, rootkits, and privilege escalation.
  • Deep System Telemetry & FIM: Powered by OSquery, actively hunting for persistence mechanisms, unauthorized SSH keys, and modifying critical system files (.bashrc, /etc/shadow).
  • Signature & YARA Threat Intel: Powered by ClamAV, synchronized dynamically with MalwareBazaar/Abuse.ch community YARA rules to detect active malware campaigns and staging scripts.
  • AI Hardware Monitoring: Integrated NVIDIA DCGM Exporter to observe GPU telemetry for AI workload anomalies.
  • MITRE ATT&CK Mapping: Automated alignment of security events to the MITRE STIX JSON framework via OpenObserve Enrichment Tables.
  • Infrastructure as Code: Taskfile-driven automation for testing rules (osqtool), updating signatures, and bi-directional syncing of dashboards.

Setup Instructions

This repository is fully containerized and optimized for Linux hosts.

1. Start the Core Security Stack

To start the default core services (Falco, OpenObserve, OTEL Collector, and DCGM):

docker compose up -d

To enable on-demand ClamAV scanning as well:

docker compose --profile scan up -d clamav clamav-scanner

2. Verify Security Infrastructure (Test Harnesses)

We use go-task to manage operations. Run the test suite to validate your deployment configurations against real schemas and kernel calls:

task test

For host-side emulation with CALDERA stockpile abilities plus OpenTelemetry trace verification:

task bootstrap-caldera
task list-safe-caldera-abilities
task test-host-emulation

Direct invocation uses the module form:

uv run python -m pytest tests/test_caldera_otel_integration.py --run-stack --run-host-emulation -v

To run a payload-backed safe ability directly:

uv run python tools/caldera_otel_harness.py run-ability --bootstrap --ability-id a0676fe1-cd52-482e-8dde-349b73f9aa69 --verify-trace

3. Sync Threat Intel & Dashboards

Pull the latest YARA rules and ensure your OpenObserve instance is hydrated with our custom dashboards:

task update-yara
task sync-oo-import

Localhost Access

OpenObserve (Unified Observability Platform)


Documentation Index

Detailed architectural decisions, tuning parameters, and setup guides are available in the /docs directory:

About

100% Free, Open-source local-first Linux Desktop Monitoring and Logging

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors