CmdID

CmdID / Rules / Linux

LiteLLM / TeamPCP Supply Chain Attack Indicators

A Sigma rule for process creation on Linux, from SigmaHQ’s emerging threats rules, by Swachchhanda Shrawan Poudel (Nextron Systems).

high 3 ATT&CK techniques 3 programs it names

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection_curl:
    CommandLine|contains|all:
      - 'models.litellm.cloud'
      - 'X-Filename: tpcp.tar.gz'
    Image|endswith: '/curl'
  selection_pth_package:
    CommandLine|contains|all:
      - 'exec(base64.b64decode(''aW1wb3J0'
      - 'kI2NF9TQ1JJUFQgPSAiYV'
    Image|contains: '/python3'
  selection_sysmon_service:
    CommandLine|contains|all:
      - 'systemctl'
      - '--user'
      - 'sysmon'
    ParentImage|contains: '/python3'
  selection_tar:
    CommandLine|contains|all:
      - 'tpcp.tar.gz'
      - 'payload.enc'
      - 'session.key.enc'
    Image|endswith: '/tar'
  condition: 1 of selection_*

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Swachchhanda Shrawan Poudel (Nextron Systems), under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1195.002Supply Chain Compromise: Compromise Software Supply Chain
T1543.002Create or Modify System Process: Systemd Service
T1560.001Archive Collected Data: Archive via Utility