title: Pip VCS Unencrypted HTTP or Staged Bare Git Package Installation id: 65a8c310-4d22-4b19-8a01-65c10e48a201 status: experimental description: Detects pip or Python package-manager invocations fetching source repositories over cleartext git+http URLs or referencing staged evil-node and exp1-exp5 bare Git repositories. author: Odin by Brandefense date: 2026-11-25 logsource: category: process_creation product: linux detection: selection_pip_proc: CommandLine|contains: - 'pip install' - 'pip3 install' - '-m pip install' selection_vcs_target: CommandLine|contains: - 'git+http://' - 'evil-node' - 'exp1.git' - 'exp2.git' - 'exp3.git' - 'exp4.git' - 'exp5.git' filter_ci_hosts: ComputerName: - 'app-ci-01.corp.example' condition: (selection_pip_proc and selection_vcs_target) and not filter_ci_hosts falsepositives: - Designated internal build runners pulling legacy internal mirrors before TLS migration level: high tags: - attack.initial-access - attack.execution - attack.t1195.001 - attack.t1059.006 --- title: Git Clone Option Injection or Clean and Smudge Filter Command Registration id: 65a8c310-4d22-4b19-8a01-65c10e48a202 status: experimental description: Detects Git CLI invocations containing CVE-2022-24439 remote option-injection flags or registering clean, smudge, fsmonitor, or ext-protocol shell commands. author: Odin by Brandefense date: 2026-11-25 logsource: category: process_creation product: linux detection: selection_git_bin: Image|endswith: - '/git' selection_dangerous_args: CommandLine|contains: - '--upload-pack=' - 'protocol.ext.allow' - 'core.fsmonitor' - '.smudge' - '.clean' filter_mirror_hosts: ComputerName: - 'pkg-mirror-01.corp.example' condition: (selection_git_bin and selection_dangerous_args) and not filter_mirror_hosts falsepositives: - Approved Git LFS mirror servers configuring git-lfs smudge and clean filters level: high tags: - attack.execution - attack.t1195.001 - attack.t1059.006 --- title: Staged Repository install.py Wrapper and Second-Stage Python Loader Execution id: 65a8c310-4d22-4b19-8a01-65c10e48a203 status: experimental description: Detects Python interpreter execution of staged repository install.py wrappers or second-stage boot.py, boot2.py, agent2.py, and :9999/slw loader paths. author: Odin by Brandefense date: 2026-11-25 logsource: category: process_creation product: linux detection: selection_py_bin: Image|endswith: - '/python' - '/python3' selection_staged_paths: CommandLine|contains: - '/evil-node/install.py' - '/exp1/install.py' - '/exp2/install.py' - '/exp3/install.py' - '/exp4/install.py' - '/exp5/install.py' - '/boot2.py' - '/agent2.py' - ':9999/slw' - ':8088/cb/' filter_lab_hosts: ComputerName: - 'sec-lab-01.corp.example' condition: (selection_py_bin and selection_staged_paths) and not filter_lab_hosts falsepositives: - Isolated malware-analysis sandboxes replaying captured loader wrappers level: high tags: - attack.execution - attack.command-and-control - attack.t1059.006 - attack.t1571