Aller au contenu

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Py_Dustpan_Pyloader

Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload.

APT / acteurDustpanVolexity threat-intelBSD 2-Clause LicenseCompile avec YARA-X
Auteur
threatintel@volexity.com
Date
2023-07-21
Modifiée
2024-08-02
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload.

Famille de malware associée : Dustpan.

Elle définit 11 motifs (11 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

apt-malware-py-dustpan-pyloader.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Py_Dustpan_Pyloader : STORMBAMBOO FILE MEMORY
{
	meta:
		description = "Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload."
		author = "threatintel@volexity.com"
		id = "446d2eef-c60a-50ed-9ff1-df86b6210dff"
		date = "2023-07-21"
		modified = "2024-08-02"
		reference = "TIB-20231221"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-08-02 StormBamboo/rules.yar#L236-L270"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		logic_hash = "bb3a70dad28181534e27abbbd618165652c137264bfd3726ae4480c642493a3b"
		score = 75
		quality = 80
		tags = "STORMBAMBOO, FILE, MEMORY"
		os = "all"
		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 = 9530
		version = 4

	strings:
		$s_1 = "def count_md5(src)"
		$s_2 = "urllib.request.urlretrieve(image_url,main)"
		$s_3 = "m1 != '4c8a326899272d2fe30e818181f6f67f'"
		$s_4 = "os.path.split(os.path.realpath(__file__))[0]"
		$s_5 = "r_v = os.system('curl '+ini_url+cc)"
		$s_6 = "b41ef5f591226a0d5adce99cb2e629d8"
		$s_7 = "1df495e7c85e59ad0de1b9e50912f8d0"
		$s_8 = "tasklist | findstr mediainfo.exe"
		$url_1 = "http://dl1.5kplayer.com/youtube/youtube_dl.png"
		$url_2 = "http://dl1.5kplayer.com/youtube/youtube.ini?fire="
		$path_1 = "C:\\\\ProgramData\\\\Digiarty\\\\mediainfo.exe"

	condition:
		3 of ( $s_* ) or any of ( $url_* ) or $path_1
}

Chaînes (11 motifs)

IdentifiantTypeValeurModificateurs
$s_1texte"def count_md5(src)"
$s_2texte"urllib.request.urlretrieve(image_url,main)"
$s_3texte"m1 != '4c8a326899272d2fe30e818181f6f67f'"
$s_4texte"os.path.split(os.path.realpath(__file__))[0]"
$s_5texte"r_v = os.system('curl '+ini_url+cc)"
$s_6texte"b41ef5f591226a0d5adce99cb2e629d8"
$s_7texte"1df495e7c85e59ad0de1b9e50912f8d0"
$s_8texte"tasklist | findstr mediainfo.exe"
$url_1texte"http://dl1.5kplayer.com/youtube/youtube_dl.png"
$url_2texte"http://dl1.5kplayer.com/youtube/youtube.ini?fire="
$path_1texte"C:\\\\ProgramData\\\\Digiarty\\\\mediainfo.exe"

Condition

3 of ( $s_* ) or any of ( $url_* ) or $path_1

En clair (Heuristique)

  • Au moins un motif de ( $url_* ) doit être trouvé.
  • Au moins 3 motifs de ( $s_* ) doivent être trouvés.
  • Le motif $path_1 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

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: 446d2eef-c60a-50ed-9ff1-df86b6210dff

Métadonnées

osall
os_archall
scan_contextfile,memory
severitycritical
rule_id9530
version4

Tags:STORMBAMBOOFILEMEMORY

Plus de règles Dustpan