← Back to SOC feed Coverage →

Detects malicious indicators used in LiteLLM supply chain attack

yara CRITICAL signature-base
florian-rothlitellm_supplychain
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-06T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt identifies adversaries leveraging compromised LiteLLM dependencies to inject malicious indicators that facilitate supply chain compromise and potential lateral movement within cloud environments. Proactive hunting for these specific artifacts is essential in Azure Sentinel to detect early-stage infiltration before attackers can exploit trusted software updates to establish persistence or exfiltrate sensitive data.

YARA Rule

rule MAL_LiteLLM_SupplyChain_Mar26 {
   meta:
      description = "Detects malicious indicators used in LiteLLM supply chain attack"
      author = "Marius Benthin"
      date = "2026-03-28"
      reference = "https://github.com/BerriAI/litellm/issues/24512"
      hash = "71e35aef03099cd1f2d6446734273025a163597de93912df321ef118bf135238"
      score = 80
      id = "a6ea2621-af92-591c-89e1-5be6efe9f6b8"
   strings:
      $s1 = "exec(base64.b64decode("
      $s2 = "litellm." base64
      $s3 = "subprocess.DEVNULL"
   condition:
      filesize < 500KB
      and all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

References

False Positive Guidance

False Positive Scenarios for “Detects Malicious Indicators Used in LiteLLM Supply Chain Attack”

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/mal_teampcp_mar26.yar