Skip to the content.

Quick Start Guide

Get started with SIB in under 5 minutes.

← Back to Home


60-Second Demo

git clone https://github.com/matijazezelj/sib.git
cd sib
cp .env.example .env
make install
make demo

Open Grafana at http://localhost:3000 and watch the dashboards light up!


Understanding the Demo

The make demo command generates realistic security events across all MITRE ATT&CK categories. The demo spins up a temporary container and triggers various Falco rules.

Demo Coverage

Tactic Events Generated
Credential Access Shadow file access, /etc/passwd reads
Execution Shell spawning, script execution
Persistence Cron job creation, systemd manipulation
Defense Evasion Log clearing, history deletion
Discovery System enumeration, network scanning
Impact Crypto miner detection
Container Escape Docker socket access, namespace breakout
Lateral Movement SSH key access, authorized_keys reads
File Integrity /etc/ file modifications

Demo Options

# Full comprehensive demo (~30 events with 3s delays)
make demo

# Quick demo (1-second delays)
make demo-quick

# Single test alert
make test-alert

Exploring the Dashboards

Security Overview

Navigate to Dashboards → Security Overview

Security Overview

This dashboard shows:

Events Explorer

Navigate to Dashboards → Events Explorer

Events Explorer

Features:

MITRE ATT&CK Coverage

Navigate to Dashboards → MITRE ATT&CK Coverage

MITRE ATT&CK Dashboard

This dashboard maps all detections to the ATT&CK framework:

Fleet Overview

Navigate to Dashboards → Fleet Overview

Fleet Overview

Monitor multiple hosts:


Verifying the Pipeline

Run the pipeline test to ensure everything is working:

./scripts/test-pipeline.sh

This script:

  1. Checks if all containers are running
  2. Generates a test event
  3. Verifies the event reaches VictoriaLogs
  4. Confirms Grafana can query the event

Expected output:

[1/7] Service Health Check
---
✓ sib-falco: healthy
✓ sib-sidekick: healthy
✓ sib-victorialogs: healthy
✓ sib-victoriametrics: healthy
✓ sib-grafana: healthy

[2/7] Network Connectivity
---
✓ Falco -> Sidekick: OK
✓ VictoriaLogs API: Ready
✓ Grafana API: Ready
...

The script continues through metrics targets, test events, log data verification and triggered rules, then prints access URLs.

Note: If you’re using the Grafana stack (STACK=grafana), the output will show “Loki” instead of “VictoriaLogs”.


Common Commands

# Check status of all services
make status

# Quick health check
make health

# Diagnose common issues
make doctor

# View logs from all services
make logs

# View logs from specific service
make logs-falco
make logs-sidekick
make logs-storage
make logs-grafana

# Restart all services
make restart

# Stop all services
make stop

# Start all services
make start

# Open Grafana in browser
make open

# Show all endpoints
make info

# Backup & Restore
make backup               # Create timestamped backup of configs, rules, and dashboards
make restore BACKUP=backups/<name>  # Restore from a backup directory

What Gets Detected?

Out of the box, SIB catches:

Category Examples
Credential Access Reading /etc/shadow, SSH key access
Container Security Shells in containers, privileged operations
File Integrity Writes to /etc, sensitive config changes
Process Anomalies Unexpected binaries, shell spawning
Persistence Cron modifications, systemd changes
Cryptomining Mining processes, pool connections
Defense Evasion Log clearing, timestomping
Discovery System enumeration, network scanning
Lateral Movement SSH from containers, remote file copy
Exfiltration Curl uploads, DNS tunneling indicators

Next Steps

Now that you’ve seen SIB in action:

  1. Add custom rules — See Custom Rules below
  2. Deploy to fleet — Fleet Management
  3. Enable AI analysis — AI Analysis
  4. Update threat intel — Run make update-threatintel

Custom Rules

Add your own detection rules in detection/config/rules/custom_rules.yaml:

- rule: Detect Cryptocurrency Mining
  desc: Detect cryptocurrency mining processes
  condition: >
    spawned_process and 
    proc.name in (xmrig, minerd, cpuminer)
  output: "Crypto miner detected (user=%user.name cmd=%proc.cmdline)"
  priority: CRITICAL
  tags: [cryptomining, mitre_impact]

After adding rules:

make restart

Rules in other files copied into detection/config/rules/ are not loaded automatically: either append them to custom_rules.yaml, or add the file path to rules_files in detection/config/falco.yaml.template and re-run make install-detection.


Configuring Alert Outputs

Send alerts to Slack, PagerDuty, and more. Do not edit alerting/config/config.yaml: it is regenerated from .env on every make install-alerting. Set the output variables in .env, or put advanced outputs in alerting/config/custom-outputs.yaml (copy from custom-outputs.yaml.example; it is appended to the generated config and never overwritten):

# .env
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXX/YYY/ZZZ
SLACK_MINIMUM_PRIORITY=warning
PAGERDUTY_ROUTING_KEY=your-routing-key
PAGERDUTY_MINIMUM_PRIORITY=critical
# Telegram needs both values (an incomplete pair fails make install-alerting)
TELEGRAM_TOKEN=123456789:replace-with-bot-token
TELEGRAM_CHAT_ID=-1001234567890
TELEGRAM_MINIMUM_PRIORITY=warning

Then run make install-alerting to regenerate the config. It also fails if Falcosidekick can’t read the generated config (check the file’s group matches SIDECAR_CONFIG_GID in .env).

These outputs forward every Falco event, including command lines and paths. For aggregate alerts (a sensor gone silent, a full disk, bursts) see Grafana Alerts, which can notify Slack, a webhook or Telegram.

Falcosidekick supports 50+ outputs. See the Falcosidekick documentation for all options.


← Back to Home Fleet Management →