Aller au contenu

YARA · Volexity threat-intel

VOLEXITY_Susp_Php_Call_User_Func

Webshells using call_user_func() function against an object from a file input or POST variable.

Suspect / chasseVolexity threat-intelBSD 2-Clause LicenseCompile avec YARA-X
Auteur
threatintel@volexity.com
Date
2021-06-16
Modifiée
2024-07-30
Score / Qualité
65 / 80

Ce que détecte cette règle

Webshells using call_user_func() function against an object from a file input or POST variable.

Elle définit 1 motifs (1 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

susp-php-call-user-func.yarBSD 2-Clause License
rule VOLEXITY_Susp_Php_Call_User_Func : FILE
{
	meta:
		description = "Webshells using call_user_func() function against an object from a file input or POST variable."
		author = "threatintel@volexity.com"
		id = "48c7857e-7dda-5e3f-b82c-7d34c251f083"
		date = "2021-06-16"
		modified = "2024-07-30"
		reference = "https://zhuanlan.zhihu.com/p/354906657"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L183-L205"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "40b053a2f3c8f47d252b960a9807b030b463ef793228b1670eda89f07b55b252"
		logic_hash = "46c999da97682023861e58f9cd2c8651480db990a0361c1985c6d5c35b5bf0ea"
		score = 65
		quality = 80
		tags = "FILE"
		os = "win,linux"
		os_arch = "all"
		scan_context = "file"
		severity = "high"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 5582
		version = 4

	strings:
		$s1 = "@call_user_func(new C()" wide ascii

	condition:
		$s1
}

Chaînes (1 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"@call_user_func(new C()"wide ascii

Condition

$s1

En clair (Heuristique)

  • Le motif $s1 doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • 40b053a2f3c8f47d252b960a9807b030b463ef793228b1670eda89f07b55b252

Licence et attribution

Auteur : threatintel@volexity.com

Dépôt source : Volexity threat-intel @ 3a9d0b5245

Licence : BSD 2-Clause License (indiquée dans les métadonnées de la règle)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Mention de copyright : Copyright 2022 by Volexity, Inc.

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 48c7857e-7dda-5e3f-b82c-7d34c251f083

Métadonnées

oswin,linux
os_archall
scan_contextfile
severityhigh
rule_id5582
version4

Tags:FILE