Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Joego

JoeGo ransomware payload

MalwareditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekSHen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

JoeGo ransomware payload

Targets: Windows PE.

It defines 12 patterns (12 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-joego.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Joego : FILE
{
	meta:
		description = "JoeGo ransomware payload"
		author = "ditekSHen"
		id = "23d38bcd-e66d-5ff1-ad6a-3e6432d83562"
		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#L827-L847"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3ddf3506aefb3cd1845f9daa689848a02a2422ca98c5c984bc918cc7ea2b2677"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.JoeGo"

	strings:
		$go = "Go build ID:" ascii
		$s1 = "%SystemRoot%\\system32\\%v." ascii
		$s2 = "REG ADD HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run /V" ascii
		$s3 = "/t REG_SZ /F /D %userprofile%\\" ascii
		$s4 = "(sensitive) [recovered]" ascii
		$s5 = "/dev/stderr/dev/stdout/index.html" ascii
		$s6 = "%userprofile%\\SystemApps" ascii
		$s7 = "p=<br>ACDTACSTAEDTAESTAKDTAKSTAWSTA" ascii
		$cnc1 = "/detail.php" ascii
		$cnc2 = "/checkin.php" ascii
		$cnc3 = "/platebni_brana.php" ascii
		$cnc4 = "://nebezpecnyweb.eu/" ascii

	condition:
		uint16( 0 ) == 0x5a4d and $go and ( all of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $cnc* ) ) )
}

Strings (12 patterns)

IdentifierTypeValueModifiers
$gotext"Go build ID:"ascii
$s1text"%SystemRoot%\\system32\\%v."ascii
$s2text"REG ADD HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run /V"ascii
$s3text"/t REG_SZ /F /D %userprofile%\\"ascii
$s4text"(sensitive) [recovered]"ascii
$s5text"/dev/stderr/dev/stdout/index.html"ascii
$s6text"%userprofile%\\SystemApps"ascii
$s7text"p=<br>ACDTACSTAEDTAESTAKDTAKSTAWSTA"ascii
$cnc1text"/detail.php"ascii
$cnc2text"/checkin.php"ascii
$cnc3text"/platebni_brana.php"ascii
$cnc4text"://nebezpecnyweb.eu/"ascii

Condition

uint16( 0 ) == 0x5a4d and $go and ( all of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $cnc* ) ) )

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in ( $s* ) must match.
  • At least 3 patterns in ( $s* ) must match.
  • At least 1 patterns in ( $cnc* ) must match.
  • Pattern $go must be present.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: ditekSHen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 23d38bcd-e66d-5ff1-ad6a-3e6432d83562

Metadata

clamav_sigMALWARE.Win.Ransomware.JoeGo

Tags:FILE