Aller au contenu

YARA · Volexity threat-intel

VOLEXITY_Webshell_Java_Realcmd

Detects the RealCMD webshell, one of the payloads for BEHINDER.

Web shellVolexity threat-intelBSD 2-Clause LicenseCompile avec YARA-X
Auteur
threatintel@volexity.com
Date
2022-06-01
Modifiée
2024-07-30
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects the RealCMD webshell, one of the payloads for BEHINDER.

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

webshell-java-realcmd.yarBSD 2-Clause License
rule VOLEXITY_Webshell_Java_Realcmd : FILE MEMORY
{
	meta:
		description = "Detects the RealCMD webshell, one of the payloads for BEHINDER."
		author = "threatintel@volexity.com"
		id = "60b30ccc-bcfa-51e6-a3f5-88037d19213e"
		date = "2022-06-01"
		modified = "2024-07-30"
		reference = "https://github.com/Freakboy/Behinder/blob/master/src/main/java/vip/youwe/sheller/payload/java/RealCMD.java"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-06-02 Active Exploitation Of Confluence 0-day/indicators/yara.yar#L61-L84"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "a9a30455d6f3a0a8cd0274ae954aa41674b6fd52877fafc84a9cb833fd8858f6"
		logic_hash = "e09f2a23674fd73296dd4d1fabf1a2c812bfe69ff02abc96a4be35af6a18e512"
		score = 75
		quality = 80
		tags = "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 = 6786
		version = 4

	strings:
		$fn1 = "runCmd" wide ascii fullword
		$fn2 = "RealCMD" ascii wide fullword
		$fn3 = "buildJson" ascii wide fullword

	condition:
		all of ( $fn* )
}

Chaînes (3 motifs)

IdentifiantTypeValeurModificateurs
$fn1texte"runCmd"wide ascii fullword
$fn2texte"RealCMD"ascii wide fullword
$fn3texte"buildJson"ascii wide fullword

Condition

all of ( $fn* )

En clair (Heuristique)

  • Tous les motifs de ( $fn* ) 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).

  • a9a30455d6f3a0a8cd0274ae954aa41674b6fd52877fafc84a9cb833fd8858f6

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: 60b30ccc-bcfa-51e6-a3f5-88037d19213e

Métadonnées

osall
os_archall
scan_contextfile,memory
severitycritical
rule_id6786
version4

Tags:FILEMEMORY