Aller au contenu

YARA · ESET malware-ioc

ESET_Apt_Windows_Invisimole_C2

InvisiMole C&C servers

APT / acteurInvisimoleESET malware-iocBSD 2-Clause LicenseCompile avec YARA-X (avertissements)
Auteur
ESET Research
Date
2021-05-17
Score / Qualité
75 / 78

Ce que détecte cette règle

InvisiMole C&C servers

Famille de malware associée : Invisimole.

Cibles : PE Windows.

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

Inclut les imports et 1 règle(s) dont elle dépend nécessaires pour la compiler seule.

apt-windows-invisimole-c2.yarBSD 2-Clause License
private rule ESET_Invisimole_Blob_PRIVATE
{
	meta:
		description = "Detects InvisiMole blobs by magic values"
		author = "ESET Research"
		id = "6a179d91-50f1-5400-b141-0f162efd2431"
		date = "2021-05-17"
		modified = "2021-05-17"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L34-L52"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "8bddaf874da58fbe6362498f8979b511f39531fe2b98d4be8c099bdafb6d0067"
		score = 75
		quality = 80
		tags = ""
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$magic_old_32 = {F9 FF D0 DE}
		$magic_old_64 = {64 FF D0 DE}
		$magic_new_32 = {86 DA 11 CE}
		$magic_new_64 = {64 DA 11 CE}

	condition:
		($magic_old_32 at 0 ) or ( $magic_old_64 at 0 ) or ( $magic_new_32 at 0 ) or ( $magic_new_64 at 0 )
}

rule ESET_Apt_Windows_Invisimole_C2 : FILE
{
	meta:
		description = "InvisiMole C&C servers"
		author = "ESET Research"
		id = "9279c8cd-2c16-5f90-a7f5-e668d57c805b"
		date = "2021-05-17"
		modified = "2021-05-17"
		reference = "https://github.com/eset/malware-ioc/"
		source_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/invisimole/invisimole.yar#L257-L297"
		license_url = "https://github.com/eset/malware-ioc/blob/17baf44964a77368e9149f4f593eb098beddf1c5/LICENSE"
		logic_hash = "aff8456ce7a9ebe875c02e51c09b77ee7b1fddfc11d4ad236e12c8c5240a01a8"
		score = 75
		quality = 78
		tags = "FILE"
		license = "BSD 2-Clause"
		version = "1"

	strings:
		$s1 = "46.165.220.228" ascii wide
		$s2 = "80.255.3.66" ascii wide
		$s3 = "85.17.26.174" ascii wide
		$s4 = "185.193.38.55" ascii wide
		$s5 = "194.187.249.157" ascii wide
		$s6 = "195.154.255.211" ascii wide
		$s7 = "153.re" ascii wide fullword
		$s8 = "adstat.red" ascii wide
		$s9 = "adtrax.net" ascii wide
		$s10 = "akamai.sytes.net" ascii wide
		$s11 = "amz-eu401.com" ascii wide
		$s12 = "blabla234342.sytes.net" ascii wide
		$s13 = "mx1.be" ascii wide fullword
		$s14 = "statad.de" ascii wide
		$s15 = "time.servehttp.com" ascii wide
		$s16 = "upd.re" ascii wide fullword
		$s17 = "update.xn--6frz82g" ascii wide
		$s18 = "updatecloud.sytes.net" ascii wide
		$s19 = "updchecking.sytes.net" ascii wide
		$s20 = "wlsts.net" ascii wide
		$s21 = "ro2.host" ascii wide fullword
		$s22 = "2ld.xyz" ascii wide fullword
		$s23 = "the-haba.com" ascii wide
		$s24 = "82.202.172.134" ascii wide
		$s25 = "update.xn--6frz82g" ascii wide

	condition:
		(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $s21 and any of them
}

Chaînes (25 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"46.165.220.228"ascii wide
$s2texte"80.255.3.66"ascii wide
$s3texte"85.17.26.174"ascii wide
$s4texte"185.193.38.55"ascii wide
$s5texte"194.187.249.157"ascii wide
$s6texte"195.154.255.211"ascii wide
$s7texte"153.re"ascii wide fullword
$s8texte"adstat.red"ascii wide
$s9texte"adtrax.net"ascii wide
$s10texte"akamai.sytes.net"ascii wide
$s11texte"amz-eu401.com"ascii wide
$s12texte"blabla234342.sytes.net"ascii wide
$s13texte"mx1.be"ascii wide fullword
$s14texte"statad.de"ascii wide
$s15texte"time.servehttp.com"ascii wide
$s16texte"upd.re"ascii wide fullword
$s17texte"update.xn--6frz82g"ascii wide
$s18texte"updatecloud.sytes.net"ascii wide
$s19texte"updchecking.sytes.net"ascii wide
$s20texte"wlsts.net"ascii wide
$s21texte"ro2.host"ascii wide fullword
$s22texte"2ld.xyz"ascii wide fullword
$s23texte"the-haba.com"ascii wide
$s24texte"82.202.172.134"ascii wide
$s25texte"update.xn--6frz82g"ascii wide

Condition

(( uint16( 0 ) == 0x5A4D ) or ESET_Invisimole_Blob_PRIVATE ) and $s21 and any of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins un motif de la règle doit être trouvé.
  • Dépend de la règle ESET_Invisimole_Blob_PRIVATE.
  • Le motif $s21 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

Licence et attribution

Auteur : ESET Research

Dépôt source : ESET malware-ioc @ 17baf44964

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

“BSD 2-Clause”

Mention de copyright : Copyright (c) 2014-2018 ESET spol. s r.o.

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: 9279c8cd-2c16-5f90-a7f5-e668d57c805b

Métadonnées

version1

Tags:FILE

Plus de règles Invisimole