Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Flagpro

Detects Flagpro

MalwareFlagproditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 75

Ce que détecte cette règle

Detects Flagpro

Famille de malware associée : Flagpro.

Cibles : PE Windows.

Elle définit 10 motifs (8 texte, 0 hex, 2 regex).

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

Source de la règle

malware-win-flagpro.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Flagpro : FILE
{
	meta:
		description = "Detects Flagpro"
		author = "ditekSHen"
		id = "da1bf899-feb5-5ed0-956e-c20bc3565a6e"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9032-L9049"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c5e5944426b7be690ad62dd0d98a8fc6f8135cab0dbdd8a5aaf1670491eda59d"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "download...." fullword ascii
		$s2 = "~MYTEMP" fullword wide
		$s3 = ".?AVCV20_LoaderApp@@" fullword ascii
		$s4 = ".?AVCV20_LoaderDlg@@" fullword ascii
		$s5 = "ExecYes" fullword ascii
		$s6 = /<BODY ID=CV\d+_LoaderDlg BGCOLOR=/ ascii
		$n1 = "://139.162.87.180" wide
		$n2 = "://172.104.109.217" wide
		$n3 = "://org.misecure.com/index.html" wide
		$b1 = /(get all|click|close|maybe|get_outerHTML|download\d) (finished|pass|ok|windows|failed)!/ fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( 1 of ( $n* ) and ( 2 of ( $s* ) or 1 of ( $b* ) ) ) or ( 2 of ( $s* ) and 1 of ( $b* ) )
}

Chaînes (10 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"download...."fullword ascii
$s2texte"~MYTEMP"fullword wide
$s3texte".?AVCV20_LoaderApp@@"fullword ascii
$s4texte".?AVCV20_LoaderDlg@@"fullword ascii
$s5texte"ExecYes"fullword ascii
$s6regex/<BODY ID=CV\d+_LoaderDlg BGCOLOR=/ascii
$n1texte"://139.162.87.180"wide
$n2texte"://172.104.109.217"wide
$n3texte"://org.misecure.com/index.html"wide
$b1regex/(get all|click|close|maybe|get_outerHTML|download\d) (finished|pass|ok|windows|failed)!/fullword ascii

Condition

uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( 1 of ( $n* ) and ( 2 of ( $s* ) or 1 of ( $b* ) ) ) or ( 2 of ( $s* ) and 1 of ( $b* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 4 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $n* ) doivent être trouvés.
  • Au moins 2 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $b* ) 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

Références

Licence et attribution

Auteur : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: da1bf899-feb5-5ed0-956e-c20bc3565a6e

Tags:FILE

Plus de règles Flagpro