Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Lcpdot

Detects LCPDot

MalwareLcpdotditekSHen 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 LCPDot

Famille de malware associée : Lcpdot.

Cibles : PE Windows.

Elle définit 12 motifs (9 texte, 3 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

malware-win-lcpdot.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Lcpdot : FILE
{
	meta:
		description = "Detects LCPDot"
		author = "ditekSHen"
		id = "e4db3784-7fb0-58bd-997e-788f409445cd"
		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#L4318-L4337"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b0f77f17976c38a69c2ff0d84002f2db29a4d25873309259519115b5f2b210ff"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" fullword wide
		$s2 = "Cookie: SESSID=%s" fullword ascii
		$s3 = "Cookie=Enable" fullword ascii
		$s4 = "Cookie=Enable&CookieV=%d&Cookie_Time=32" fullword ascii
		$s5 = ".?AVTShellCodeRuner@@" fullword ascii
		$s6 = ".?AVTHashEncDecoder@@" fullword ascii
		$s7 = ".?AVTWebAddressList@@" fullword ascii
		$s8 = "WinMain.dll" fullword ascii
		$s9 = "HotPlugin" wide
		$o0 = { 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
		$o1 = { 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
		$o2 = { c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

	condition:
		uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}

Chaînes (12 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"fullword wide
$s2texte"Cookie: SESSID=%s"fullword ascii
$s3texte"Cookie=Enable"fullword ascii
$s4texte"Cookie=Enable&CookieV=%d&Cookie_Time=32"fullword ascii
$s5texte".?AVTShellCodeRuner@@"fullword ascii
$s6texte".?AVTHashEncDecoder@@"fullword ascii
$s7texte".?AVTWebAddressList@@"fullword ascii
$s8texte"WinMain.dll"fullword ascii
$s9texte"HotPlugin"wide
$o0hex{ 4c 89 6c 24 08 4c 89 34 24 44 8d 77 01 44 8d 6f }
$o1hex{ 8b f0 e8 58 34 00 00 48 8b f8 48 85 c0 74 0c 48 }
$o2hex{ c7 44 24 30 47 49 46 38 c7 44 24 34 39 61 27 00 }

Condition

uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $o* ) doivent être trouvés.
  • Au moins 6 motifs de ( $s* ) doivent être trouvés.
  • Au moins 3 motifs de ( $s* ) 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: e4db3784-7fb0-58bd-997e-788f409445cd

Tags:FILE