# Strawberry Security Scanner Configuration # Database settings (leave empty for XDG default: ~/.local/share/strawberry/database.db) db_path= # YARA settings yara_rules_path=/etc/strawberry/rules # Refuse to start if no rules compile (a scanner without rules detects nothing) require_rules=true # Daemon settings daemonize=false # pid_file/log_file are not implemented yet; under systemd, logs go to the journal pid_file=/run/strawberry.pid log_file= # Monitoring settings # (prefers libbpf exec tracepoints on supported Linux builds and otherwise falls back to procfs polling) enable_bpf_monitoring=true # Scan processes that are already running at startup (both backends). scan_existing_processes_on_start=true # Control socket used by the desktop app, the CLI (--status, --rescan, ...) # and strawberry-mcp. Members of control_group may connect. control_socket_path=/run/strawberry/control.sock control_group=strawberry # Largest file an on-demand scan (scan-fd / strawberry_scan_paths) will read. scan_max_bytes=67108864 # Largest executable image read for a process scan (larger ones are counted # as images_too_large and skipped). process_scan_max_bytes=268435456 # Rule feeds + allowlist live next to the database by default # (/var/lib/strawberry/policy.json and /var/lib/strawberry/feeds/), and are # managed from the desktop app (Rules / Allowlist tabs) or `strawberry --policy-set`. policy_path= feeds_dir= # Optional root-only file with a GitHub token: raises the GitHub API limit the # rule updater uses from 60 to 5000 requests/hour (only needed on shared IPs). github_token_file= # Resource governor: how hard Strawberry may work on this machine. # efficient - laptops / busy desktops: 1 scan worker, 16 MB/s background # reads, exec checks fall back to hash/IOC-only when busy # balanced - default # aggressive - servers with spare capacity: no read pacing, never degrades # Background work (startup inventory, rescans, memory scans, correlation, # rule reloads) waits while the host is under pressure (PSI) and always runs # at least once per background_max_deferral_s. Program launches are never # delayed by the governor. scan_profile=balanced # Per-scan YARA timeout in seconds (0 = profile: 5 / 10 / 30). scan_timeout_seconds=0 # How often the governor samples CPU, memory and pressure (ms). governor_tick_ms=1000 # Background read budget in MiB/s (0 = profile, -1 = unlimited). max_scan_rate_mb_s=0 background_max_deferral_s=300 # Daemon memory budget in MiB (0 = profile; capped by the systemd MemoryMax). memory_budget_mb=0