title: LiteLLM or MCP Gateway Spawning Unexpected Shell or Network Utility Child Process id: 94a1c310-4b12-4d89-9a01-202611160401 status: experimental description: > Detects LiteLLM proxy or Model Context Protocol (MCP) server processes spawning OS shells or network transfer utilities (excluding normal Prisma schema migrations at LiteLLM startup), indicative of MCP tool-wrapper command injection. Scope to server and container tiers. author: Odin by Brandefense date: 2026-11-16 logsource: category: process_creation product: linux detection: selection_parent_img: ParentImage|endswith: - '/litellm' - '/mcp-server' - '/mcp_server' - '/fastmcp' selection_parent_cmd: ParentCommandLine|contains: - 'litellm --' - 'litellm_proxy' - 'fastmcp run' selection_child_bins: Image|endswith: - '/sh' - '/bash' - '/dash' - '/zsh' - '/perl' - '/php' - '/nc' - '/ncat' - '/socat' - '/curl' - '/wget' selection_child_py: Image|contains: '/python' condition: (selection_parent_img or selection_parent_cmd) and (selection_child_bins or selection_child_py) falsepositives: - Developer workstations running local stdio MCP Python tool plugins level: medium tags: - attack.initial_access - attack.t1190 - attack.execution - attack.t1059 --- title: Archival or Network Exfiltration Utility Referencing Coding-Agent Credential Stores id: 94b2d421-5c23-4e90-8b12-202611160402 status: experimental description: > Detects archival, file-transfer, or exfiltration utilities passing local CLI coding-agent session directories, router environment files, or shell snapshots in process argv (for example tar, zip, scp, rsync, or curl targeting .claude, .cursor, .codex, or .aider stores). Pair with Linux auditd openat watches (-w /root/.claude/ -p r -k ai_cli_cred_read) to catch direct Python or Go file reads. author: Odin by Brandefense date: 2026-11-16 logsource: category: process_creation product: linux detection: selection_archivers: Image|endswith: - '/tar' - '/zip' - '/7z' - '/gzip' - '/scp' - '/sftp' - '/curl' - '/wget' - '/nc' - '/ncat' - '/base64' selection_paths: CommandLine|contains: - '/.claude/' - '/.cursor/' - '/.codex/' - 'agentrouter.env' - 'shell_snapshots/' - '.aider.chat.history.md' condition: selection_archivers and selection_paths falsepositives: - Authorized endpoint backup scripts archiving developer home directories level: medium tags: - attack.credential_access - attack.t1552.001 - attack.collection --- title: Autonomous Agent Iterative Exploit Revision Script Execution id: 94c3e532-6d34-4f01-9c23-202611160403 status: experimental description: > Detects script interpreters or direct executable invocations running machine-generated iterative revision files matching the .__rev naming convention observed across autonomous agent workspaces. author: Odin by Brandefense date: 2026-11-16 logsource: category: process_creation product: linux detection: selection_cmd: CommandLine|contains: '.__rev' selection_img: Image|contains: '.__rev' filter_benign_mgmt: Image: - '/usr/bin/rm' - '/bin/rm' - '/usr/bin/ls' - '/bin/ls' - '/usr/bin/cat' - '/bin/cat' - '/usr/bin/cp' - '/bin/cp' - '/usr/bin/mv' - '/bin/mv' - '/usr/bin/less' - '/bin/less' - '/usr/bin/more' - '/bin/more' - '/usr/bin/head' - '/bin/head' - '/usr/bin/tail' - '/bin/tail' - '/usr/bin/grep' - '/bin/grep' - '/usr/bin/diff' - '/bin/diff' - '/usr/bin/sed' - '/bin/sed' - '/usr/bin/awk' - '/bin/awk' - '/usr/bin/tar' - '/bin/tar' - '/usr/bin/rsync' - '/bin/rsync' - '/usr/bin/git' - '/bin/git' - '/usr/bin/stat' - '/bin/stat' - '/usr/bin/chmod' - '/bin/chmod' - '/usr/bin/chown' - '/bin/chown' - '/usr/bin/vim' - '/bin/vim' - '/usr/bin/nvim' - '/bin/nvim' - '/usr/bin/nano' - '/bin/nano' condition: (selection_cmd or selection_img) and not filter_benign_mgmt falsepositives: - Rare custom build pipelines using double-underscore revision suffixes level: medium tags: - attack.execution - attack.t1059