Aller au contenu

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Py_Upstyle

Detect the UPSTYLE webshell.

APT / acteurVolexity threat-intelBSD 2-Clause LicenseCompile avec YARA-X (avertissements)
Auteur
threatintel@volexity.com
Date
2024-04-11
Modifiée
2024-04-12
Score / Qualité
75 / 80

Ce que détecte cette règle

Detect the UPSTYLE webshell.

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

YARA-X indique : warning[duplicate_pattern_value]: duplicate pattern value

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

Source de la règle

apt-malware-py-upstyle.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Py_Upstyle : UTA0218 FILE MEMORY
{
	meta:
		description = "Detect the UPSTYLE webshell."
		author = "threatintel@volexity.com"
		id = "45726f35-8b3e-5095-b145-9e7f6da6838b"
		date = "2024-04-11"
		modified = "2024-04-12"
		reference = "TIB-20240412"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-04-12 Palo Alto Networks GlobalProtect/indicators/rules.yar#L1-L34"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "3de2a4392b8715bad070b2ae12243f166ead37830f7c6d24e778985927f9caac"
		hash = "0d59d7bddac6c22230187ef6cf7fa22bca93759edc6f9127c41dc28a2cea19d8"
		hash = "4dd4bd027f060f325bf6a90d01bfcf4e7751a3775ad0246beacc6eb2bad5ec6f"
		logic_hash = "51923600b23d23f4ce29eac7f5ab9f7e1ddb45bed5f6727ddec4dcb75872e473"
		score = 75
		quality = 80
		tags = "UTA0218, FILE, MEMORY"
		os = "linux"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 10429
		version = 2

	strings:
		$stage1_str1 = "/opt/pancfg/mgmt/licenses/PA_VM"
		$stage1_str2 = "exec(base64."
		$stage2_str1 = "signal.signal(signal.SIGTERM,stop)"
		$stage2_str2 = "exec(base64."
		$stage3_str1 = "write(\"/*\"+output+\"*/\")"
		$stage3_str2 = "SHELL_PATTERN"

	condition:
		all of ( $stage1* ) or all of ( $stage2* ) or all of ( $stage3* )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$stage1_str1texte"/opt/pancfg/mgmt/licenses/PA_VM"
$stage1_str2texte"exec(base64."
$stage2_str1texte"signal.signal(signal.SIGTERM,stop)"
$stage2_str2texte"exec(base64."
$stage3_str1texte"write(\"/*\"+output+\"*/\")"
$stage3_str2texte"SHELL_PATTERN"

Condition

all of ( $stage1* ) or all of ( $stage2* ) or all of ( $stage3* )

En clair (Heuristique)

  • Tous les motifs de ( $stage1* ) doivent être trouvés.
  • Tous les motifs de ( $stage2* ) doivent être trouvés.
  • Tous les motifs de ( $stage3* ) doivent être trouvés.

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

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).

  • 3de2a4392b8715bad070b2ae12243f166ead37830f7c6d24e778985927f9caac
  • 0d59d7bddac6c22230187ef6cf7fa22bca93759edc6f9127c41dc28a2cea19d8
  • 4dd4bd027f060f325bf6a90d01bfcf4e7751a3775ad0246beacc6eb2bad5ec6f

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: 45726f35-8b3e-5095-b145-9e7f6da6838b

Métadonnées

oslinux
os_archall
scan_contextfile,memory
severitycritical
rule_id10429
version2

Tags:UTA0218FILEMEMORY