Aller au contenu

YARA · CAPE Sandbox (CAPEv2)

CAPE_Cargobayloader

CargoBay Loader

MalwareCargobayCAPE Sandbox (CAPEv2)GNU General Public License v3.0Compile avec YARA-X
Auteur
kevoreilly
Date
2023-02-20
Score / Qualité
75 / 70

Ce que détecte cette règle

CargoBay Loader

Famille de malware associée : Cargobay.

Cibles : PE Windows.

Elle définit 2 motifs (0 texte, 2 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

cargobayloader.yarGNU General Public License v3.0
rule CAPE_Cargobayloader : FILE
{
	meta:
		description = "CargoBay Loader"
		author = "kevoreilly"
		id = "5b347863-0bea-55d2-aaf3-b3d6e604be89"
		date = "2023-02-20"
		modified = "2023-02-20"
		reference = "https://github.com/kevoreilly/CAPEv2"
		source_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/CargoBayLoader.yar#L1-L13"
		license_url = "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
		hash = "75e975031371741498c5ba310882258c23b39310bd258239277708382bdbee9c"
		logic_hash = "1d5c4ca79f97e1fac358189a8c6530be12506974fc2fb42f63b0b621536a45c9"
		score = 75
		quality = 70
		tags = "FILE"
		cape_type = "CargoBay Loader"

	strings:
		$jmp1 = {40 42 0F 00 0F 82 [2] 00 00 48 8D 15 [4] BF 04 00 00 00 41 B8 04 00 00 00 4C 8D [3] 4C 89 F1 E8}
		$jmp2 = {84 DB 0F 85 [2] 00 00 48 8D 15 [4] 41 BE 03 00 00 00 41 B8 03 00 00 00 4C 8D 7C [2] 4C 89 F9 E8}

	condition:
		uint16( 0 ) == 0x5A4D and all of them
}

Chaînes (2 motifs)

IdentifiantTypeValeurModificateurs
$jmp1hex{40 42 0F 00 0F 82 [2] 00 00 48 8D 15 [4] BF 04 00 00 00 41 B8 04 00 00 00 4C 8D [3] 4C 89 F1 E8}
$jmp2hex{84 DB 0F 85 [2] 00 00 48 8D 15 [4] 41 BE 03 00 00 00 41 B8 03 00 00 00 4C 8D 7C [2] 4C 89 F9 E8}

Condition

uint16( 0 ) == 0x5A4D and all of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de la règle 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

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

  • 75e975031371741498c5ba310882258c23b39310bd258239277708382bdbee9c

Licence et attribution

Auteur : kevoreilly

Dépôt source : CAPE Sandbox (CAPEv2) @ 6b15e76f28

Licence : GNU General Public License v3.0 (licence du dépôt)

Mention de copyright : Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.

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: 5b347863-0bea-55d2-aaf3-b3d6e604be89

Métadonnées

cape_typeCargoBay Loader

Tags:FILE

  • MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
  • MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07