# hackers-target-litellm-ragflow-and-kestra-ai-infrastructure-to-s — KQL variant (derived from hackers-target-litellm-ragflow-and-kestra-ai-infrastructure-to-s.sigma via sigma convert)
# source-sha256: f7279eea52dbd7c3941331efa962c4ec758492bfcb82dbecf1fa9276fb0a7b93 v1
(EventID == 1 and (CommandLine contains "/proc/1/environ" or CommandLine contains "cat /proc/1/environ" or CommandLine contains "strings /proc/1/environ")) or (EventID == 1 and (CommandLine contains "OPENAI_API_KEY" or CommandLine contains "ANTHROPIC_API_KEY" or CommandLine contains "LITELLM_MASTER_KEY" or CommandLine contains "AZURE_API_KEY" or CommandLine contains "GEMINI_API_KEY" or CommandLine contains "DATABASE_URL")) or (EventID == 1 and (CommandLine contains "psql" or CommandLine contains "pg_dump" or (CommandLine contains "SELECT " and CommandLine contains " FROM model_config") or (CommandLine contains "SELECT " and CommandLine contains " FROM virtual_key") or CommandLine contains "litelimit.postgresql"))
