Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_Litellm_Supplychain_Mar26

Detects malicious indicators used in LiteLLM supply chain attack

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Marius Benthin
Date
2026-03-28
Modified
2026-05-15
Score / Quality
80 / 85

What this rule detects

Detects malicious indicators used in LiteLLM supply chain attack

It defines 3 patterns (3 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

mal-litellm-supplychain-mar26.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_Litellm_Supplychain_Mar26 : FILE
{
	meta:
		description = "Detects malicious indicators used in LiteLLM supply chain attack"
		author = "Marius Benthin"
		id = "a6ea2621-af92-591c-89e1-5be6efe9f6b8"
		date = "2026-03-28"
		modified = "2026-05-15"
		reference = "https://github.com/BerriAI/litellm/issues/24512"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_teampcp_mar26.yar#L1-L17"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "71e35aef03099cd1f2d6446734273025a163597de93912df321ef118bf135238"
		logic_hash = "4bf25020a0daebda3731a23e6a4191e0d83ff746a2482b6e0394d4c6a8f5c4b0"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "exec(base64.b64decode("
		$s2 = "litellm." base64
		$s3 = "subprocess.DEVNULL"

	condition:
		filesize < 500KB and all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$s1text"exec(base64.b64decode("
$s2text"litellm."base64
$s3text"subprocess.DEVNULL"

Condition

filesize < 500KB and all of them

In plain words (Heuristic)

  • The file must be smaller than 500KB (a cheap guard that skips large files).
  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Sample hashes

Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).

  • 71e35aef03099cd1f2d6446734273025a163597de93912df321ef118bf135238

Licence & attribution

Author: Marius Benthin

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: a6ea2621-af92-591c-89e1-5be6efe9f6b8

Tags:FILE